Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
<?php include("http://www.url.com/file.html"); ?>
http://www.url.com/collection/album/filename/ changed to http://www.url.com/collection/album/caption/
Posted By: phpnovice1. I need to use a php include to insert an html file into one of my templates, because it is accessed by multiple websites in addition to my gallery.Most likely, your server does not allow "URL wrappers", that is, it does not let you include remote files that are called using a URL instead of a server path. What you need is to include the server path instead of the URL which is different on every server, but most often is something like:
The code I am attempting to use is<?php include("http://www.url.com/file.html"); ?>
<?php include('/home/yoursite.com/www/file.html'); ?>
<?php include('/home/username/public_html/file.html'); ?>
Posted By: phpnovice2. In Plogger 1.0b3, I made a change to the php functions, found in another thread here, which changed the filename to the caption in the rewrite URLs.This should already be included in r-594. If you have a caption, it should display that, otherwise it falls back on the filename using the function get_picture_caption().http://www.url.com/collection/album/filename/ changed to http://www.url.com/collection/album/caption/
Posted By: phpnovice3. Is there a hack to change the links in the generated RSS feed to the rewrite URLs, rather than the default ones generated by the Plogger script?This can be done, but first I need to know if you are using the index.php that came with Plogger or if you are including Plogger within another file on your site and, if so, let me know what the URL of that file is.
Posted By: phpnovice4. Is there a hack to force the breadcrumb to not display or remain hidden on the front page of the gallery, but keep the code for it in the header.php file?So you want the actual breadcrumb code to appear in the source code, but not display? You could either comment this out in your theme file or change your CSS to display: none; for the breadcrumb div tag.
Posted By: phpnovice5. Is there a way to force Plogger to refresh or regenerate all the thumbnail images? Specifically, without changing the thumbnail file names? I manually updated some of my images through FTP, but of course, the corresponding thumbnails did not change. I tried setting the thumbnail image size to something else and back in the admin panel, but that did not work. After I tried that, the thumbnails actually would not return to the smaller size I wanted, and I had to download them to my computer and manually edit and reupload them. My install does not seem to consistently refresh the thumbnails if I update the Options with a new image size.That is odd. I just tested on my server installation of r-594 and it worked like a charm. I uploaded the new image and saved over the old one. Then I went to Admin -> Options and changed the size of Small Thumbnails and Intermediate Thumbnails, saved the options, then changed them back and saved. Then I refreshed the front-end gallery and both the small and intermediate thumbnails were re-generated (which is what the script is supposed to do). Do you have a link to your gallery?
Posted By: phpnoviceThis should already be included in r-594. If you have a caption, it should display that, otherwise it falls back on the filename using the function get_picture_caption().
Posted By: phpnoviceThis can be done, but first I need to know if you are using the index.php that came with Plogger or if you are including Plogger within another file on your site and, if so, let me know what the URL of that file is.
Posted By: phpnoviceSo you want the actual breadcrumb code to appear in the source code, but not display? You could either comment this out in your theme file or change your CSS to display: none; for the breadcrumb div tag.
Posted By: phpnoviceThat is odd. I just tested on my server installation of r-594 and it worked like a charm. I uploaded the new image and saved over the old one. Then I went to Admin -> Options and changed the size of Small Thumbnails and Intermediate Thumbnails, saved the options, then changed them back and saved. Then I refreshed the front-end gallery and both the small and intermediate thumbnails were re-generated (which is what the script is supposed to do). Do you have a link to your gallery?
Posted By: phpnoviceThebreadcrumbsdisplay the caption. Therewrite URLdisplays the file name, minus extension. I would like the rewrite URL to display the caption.Sorry, I misread your post. You should only have to do step #2 in this post -> http://www.plogger.org/forum/discussion/2125/cruftfree-urls/#Item_6
Posted By: phpnoviceI am using Plogger as a stand alone installation on its own website. I have not altered the index.php.Open plog-rss.php and you should see this code (around line 92):
//$pagelink = $config["address"].plogger_get_picture_url();
// XXX: Below won't look nice with mod_rewrite, but plogger_get_picture_url
// returns wrong filename, needs to be fixed - still needs to be fixed as this does not always work as wanted either
$pagelink = $config['gallery_url'].'?level=picture&id='.plogger_get_picture_id();
// remove plog-rss from the end, if present .. is there a better way to determine the full url?
$is_rss = strpos($config['baseurl'], 'plog-rss.php');
if ($is_rss !== false) {
$config['baseurl'] = substr($config['baseurl'], 0, $is_rss);
}
$pagelink = plogger_get_picture_url();
Posted By: phpnoviceIdeally, I would like the breadcrumb to display on the collection, album, and photo pages, butnotthe front page of the site where there is nothing to navigate, i.e. the top level.Around the HTML code that you want to do this to (i.e. the breadcrumbs) add the following information (most likely in header.php in your theme folder):
<?php if ($GLOBALS['plogger_level'] != 'collections') { ?>
-- HTML code --
<?php } ?>
Posted By: phpnoviceDoes this board have a private message function? I would rather not link to my gallery since it is still under a lot of construction.You can use the "Whisper" function to add a specific person or comma separated list in the "Whisper your comments" box on your reply. Only this person and administrators / moderators will be able to view it. Or you can email me at sidtheduck SPLAT gmail DOT com
Posted By: sidtheduckPosted By: phpnoviceThebreadcrumbsdisplay the caption. Therewrite URLdisplays the file name, minus extension. I would like the rewrite URL to display the caption.Sorry, I misread your post. You should only have to do step #2 in this post ->http://www.plogger.org/forum/discussion/2125/cruftfree-urls/#Item_6
1 to 7 of 7