Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthormotz
    • CommentTimeFeb 7th 2009
     
    well.. i don't want users to download EVERYTHING in a few clicks... my bandwidth is low so i need them to download exactly what they need...

    how can i change this?
    •  
      CommentAuthorsidtheduck
    • CommentTimeFeb 8th 2009
     
    motz,

    To remove the collection download, just remove the following line from the 'collections.php' file in your theme folder:
    <?php echo plogger_download_checkbox(plogger_get_collection_id()); ?>
    same goes for if you want to remove it from albums, just remove it from the 'collection.php' folder
    •  
      CommentAuthormotz
    • CommentTimeFeb 8th 2009
     
    thanks man!
    •  
      CommentAuthormotz
    • CommentTimeFeb 9th 2009
     
    i did that and the checkboxes do not appear anymore...but i cannot see the titles of the pictures now! :(
    •  
      CommentAuthorsidtheduck
    • CommentTimeFeb 10th 2009
     
    hmmm ... the titles should be a different function, not integrated with the plogger_download_checkbox() function. You made sure to just delete that one line?
    •  
      CommentAuthormotz
    • CommentTimeFeb 10th 2009 edited
     
    <?php
    plogger_get_header();
    print '<div id="thumbnail_container">';
    if (plogger_has_albums()) {
    print '<ul class="slides">';

    while (plogger_has_albums()){
    plogger_load_album();
    $num_pictures = plogger_album_picture_count();

    print '<li class="thumbnail"><div class="tag"><a href="' . plogger_get_album_url() . '">';

    $desc = plogger_get_album_description();
    // generate XHTML with thumbnail and link to picture view.
    print '<img class="photos" src="'.plogger_get_album_thumb().'" title="'.$desc.'" alt="'.$desc.'" />';

    print '</a> <br />';

    print plogger_download_checkbox(plogger_get_album_id());

    print plogger_get_album_name().' <br /><div class="meta-header">(';
    print $num_pictures.' ';
    print ($num_pictures == 1) ? "picture" : "pictures";

    print ')</div></div></li>';

    }
    print'</ul>';
    }
    else
    {
    print "No pictures in this collection!";
    }
    print '</form></div>';
    plogger_get_footer();
    ?>
    •  
      CommentAuthormotz
    • CommentTimeFeb 10th 2009
     
    that's what i have :P
    •  
      CommentAuthorsidtheduck
    • CommentTimeFeb 10th 2009
     
    so what if you do this?
    <?php
    plogger_get_header();
    print '<div id="thumbnail_container">';
    if (plogger_has_albums()) {
    print '<ul class="slides">';

    while (plogger_has_albums()){
    plogger_load_album();
    $num_pictures = plogger_album_picture_count();

    print '<li class="thumbnail"><div class="tag"><a href="' . plogger_get_album_url() . '">';

    $desc = plogger_get_album_description();
    // generate XHTML with thumbnail and link to picture view.
    print '<img class="photos" src="'.plogger_get_album_thumb().'" title="'.$desc.'" alt="'.$desc.'" />';

    print '</a> <br />';

    print plogger_get_album_name().' <br /><div class="meta-header">(';
    print $num_pictures.' ';
    print ($num_pictures == 1) ? "picture" : "pictures";

    print ')</div></div></li>';

    }
    print'</ul>';
    }
    else
    {
    print "No pictures in this collection!";
    }
    print '</form></div>';
    plogger_get_footer();
    ?>
    •  
      CommentAuthormotz
    • CommentTimeFeb 11th 2009 edited
     
    i changed the collections.php with that code and now there's not one in the homepage... and it says something like "No pictures in this collection!"
    •  
      CommentAuthorsidtheduck
    • CommentTimeFeb 11th 2009 edited
     
    oh, sorry. The code you pasted was from 'collection.php', NOT 'collections.php'. I was assuming the code you pasted was for removing the checkboxes on the album list. You should paste the code above in the 'collection.php' file and that should work for you.

    I'll also look up the code for 'collections.php' and paste it here as well.
    •  
      CommentAuthorkimparsell
    • CommentTimeFeb 12th 2009
     
    motz -

    If you can restore the original code for your theme, all you need to do to remove the Downloads checkbox is to go to Admin>>Options and uncheck the box next to Allow Compressed Downloads. That will remove both the checkboxes and the Download Selected button from all pages in the gallery.
    •  
      CommentAuthormotz
    • CommentTimeFeb 12th 2009
     
    i think everything is ok now... but i don't see the names inside some album.... check this: http://www.xtrahentai.com/fate_stay_night/daily_life

    they don't have a title (i already added the title when uploading...) but the alt tags are ok. i don't know what's wrong,...
    •  
      CommentAuthorsidtheduck
    • CommentTimeFeb 12th 2009
     
    motz,

    I see names for all of your collections and albums. Is there something else supposed to be there?

    Also: NSFW! :P That would be nice next time. ;)
    •  
      CommentAuthormotz
    • CommentTimeFeb 12th 2009
     
    well.. i think before the name of each picture was diplayed below each thumbnail but now it doesn't appear, so if i rename a picture i cannot see any title below it...