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)

Allan 12-27-2005 07:54 PM

Hey Calorie, great job as usual ;)

Three questions for you :p

1- Which are the differences between the pro version and the lite version ?

2- Will it have change or addition with the current version ?

3- A final version it is close ?

StarBuG 12-28-2005 07:26 PM

Hi

I think that selecting "no one" as category should be optional for the admin.
I myself donĀ“t want pictures outside of categories.
There should be an error "please select a category" or something.

Would that be possible?

calorie 12-28-2005 09:06 PM

@Allan: thanks, see post518

@StarBuG: in PhotoPlog's upload.php and edit.php files try:
Code:

// find the following:

        if ($photoplog_file_catid < 0)
        {
                $photoplog_file_catid = 0;
        }

// replace with the following:

        if ($photoplog_file_catid < 0)
        {
                photoplog_output_error($vbphrase['photoplog_no']." ".$vbphrase['photoplog_category']);
        }


Allan 12-28-2005 09:53 PM

File attach: French Language for version 1.0.6.1 ;)

KayDEE 12-29-2005 08:37 AM

Very nice addon calorie :)

Any idea how to apply a "specific" custom style to the gallery, so it better fits to vB ?
Would be very nice to have it in the "PhotoPlog Settings".

KayDEE 12-29-2005 09:00 AM

@StarBug
To remove the "no one" option, open functions.php and comment out the following lines with // at the beginning of the line.

Code:

        if ($parentid < 0)
        {
                $list_cats = array("-1" => $vbphrase['photoplog_no_one']);
        }

That way there will be just the "category names" in the dropdown menu.

StarBuG 12-29-2005 11:28 AM

Thank you.

I like the no one category because then the user has to decide which category fits and not upload all pictures into the first cat.

Is there a possibility to display more then 5 photos in the File List?

KayDEE 12-29-2005 11:56 AM

@StarBug

Open the PhotoPlog's index.php and search for

Code:

                        sanitize_pageresults($photoplog_file_tot, $photoplog_page_num, $photoplog_per_page, 5, 5);
fit the last 2 number to your needs ...

For example:

Code:

                        sanitize_pageresults($photoplog_file_tot, $photoplog_page_num, $photoplog_per_page, 10, 10);
will display 10 pics in File List on gallery home

calorie 12-29-2005 03:09 PM

@KayDEE: thanks, are you looking to have one style on the board and another style on the gallery?

kgirl 12-29-2005 03:22 PM

Quote:

Originally Posted by calorie
@Lamby1973: that 'bad open' message only happens when the following in edit or upload fails.
Code:

$photoplog_handle = @fopen($photoplog_directory_name."/index.html","w")

// try taking off the @ to see what error message PHP gives


I was getting this error too, and I'd set the chmod correctly, and its not in safe mode.

What caused it was that the PhotoPlog Directory and Upload Directory in the ACP weren't set to to the correct paths. I've adjusted them and it works.


All times are GMT. The time now is 09:07 PM.

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.02329 seconds
  • Memory Usage 1,744KB
  • 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
  • (5)bbcode_code_printable
  • (1)bbcode_quote_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