vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - PhotoPlog: The Lite Gallery (https://vborg.vbsupport.ru/showthread.php?t=101368)

chrisisonfire 12-26-2005 12:36 AM

Thanks calorie! I got this working earlier today, and I'm really impressed! I tweaked some of the templates so it looks more how I like - I'm really not a fan of fieldsets!
Well, I was wondering if I can allow other usergroups to create subcategories? What I would like is for my members to upload their own photosets in a new subcategory which they name. OR would have I have to make the subcategory for them, and they can upload their photos into that? The less moderation I have to do with this, the better!

calorie 12-26-2005 02:32 AM

@wrang: in /stars are rating_[0-5].gif but there is no rating_.gif image. If you have say phpMyAdmin, you can change the userid and username in the photoplog_fileuploads table and then via FTP move the files from your directory to inside the matching userid directory after upload, but the lite version doesn't have a move file to new user option or importer.

@chrisisonfire: glad it's now working. Only the admin can create categories in the lite version, but if you are looking to have user galleries, it's inherent in that going to your-domain.com/photoplog/index.php?u=X (X is same userid as in vB forum) will list that user's files. Post2 shows how to add a link to a user's PhotoPlog gallery in a postbit template.

sesmatik 12-26-2005 10:18 AM

Warning: chdir(): No such file or directory (errno 2) in /home/bauforum/public_html/forum/photoplog/settings.php on line 84

what is that ?

Warning: main(./global.php): failed to open stream: No such file or directory in /home/bauforum/public_html/forum/photoplog/settings.php on line 85

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bauforum/public_html/forum/photoplog/settings.php on line 85

chrisisonfire 12-26-2005 11:19 AM

Ok. :)

Also, a couple of things I'd like to achieve...

Firstly, one of my galleries lends itself to the default format of your gallery, with a thumb on the left and it's info next to it. However, with the rest of my galleries, I would really like to be able to inherit a layout the same as the 'Random Thumbs' category, with perhaps a 5x5 cell table with a thumb in each cell. Perhaps being able to select the gallery format using radio buttons and conditions via the Category Manager upon creation could achieve this? IMO, it'd be a valuable feature.

Also, I'd like to change the format of the comment box, so that the message isn't in a fieldset and the text format of the userid is exactly the same as it would appear in a forum post... but I couldn't find the code in the templates, the phrases or the comments.php file! How can I do this?

Thanks for being so devoted with your support. ;)

mvigod 12-26-2005 01:33 PM

Suggestion. After file is uploaded kill the original filesize if larger than X KB's. The resized images should be sufficient in a gallery application for most people. Perhaps make it an option. Otherwise if you allow 512k or 1MB uploads and a user uploads 100 images that could be 100MB of files for one user. If you delete the original file and keep only small/med/large thumbs then you are likely to end up with just 50k to 75k for all 3 sizes of images.

Without this the use of disk space will grow way to fast for boards of any reasonable size where the users are active photo posters.

Aside from that. Great job. <Clicks Install>

calorie 12-26-2005 04:12 PM

@sesmatik: see post3, use the following in PhotoPlog's config file:
Code:

define('PHOTOPLOG_FWD','/home/bauforum/public_html/forum');
@chrisisonfire: check out the file_bit, file_list, rate_bit, rate_list templates. While there isn't a layout format option in the lite version, you might find the following bit of code useful. If you move the <tr> </tr> from file_bit to file_list, and use the following after the fetch_template('photoplog_file_bit') line in PhotoPlog's index file, with some editing, you should be able to get a box of thumbs instead of a list.
Code:

if ($photoplog_cnt_bits % 5 == 0)
{
        $photoplog_file_bits .= "</tr><tr>";
}

@mvigod: thanks for the suggestion.

chrisisonfire 12-26-2005 05:30 PM

Well I'm rather interested in the Pro version, but it's still in beta and the price is unreleased. Some of the features that I read are quite appealing though, like batch upload and url upload, which I was thinking would be a great function to have earlier today. Will there be a format option in the Pro version? And when is it expected to be released?

calorie 12-26-2005 11:59 PM

While I did decide to produce a pro version, I'd rather not talk about pro details in this lite support thread. I'd like to keep this thread focused on lite support and not break a vBorg rule by crossing the line between pro discussion and self-promotion, but I'd be glad to answer pro questions elsewhere.

chrisisonfire 12-27-2005 12:04 AM

Fair enough. :)

You could make a new thread about Pro, or PM me. I'd join the Photoplog forums, but I don't like joining a forum if I know I'm not going to be particularly active, which I won't be.

So what have the future updates got in stall for PP Lite?

calorie 12-27-2005 06:11 PM

v.1.0.6 is intended as the final release of the lite series, save any bug fixes, but there is now a vertical thumbs vBa CMPS add-on at https://vborg.vbsupport.ru/showthread.php?t=103839


All times are GMT. The time now is 12:25 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02281 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete