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)

calorie 12-04-2005 11:29 PM

@bmoods: if you make a category or subcategory, it will show even if there are no files, sort of like how a forum shows even if it contains no posts.

@ChrisBaktis: it looks to be a loop. Maybe you have been affected by the category as its own parent now fixed bug. Run the following query and let me know what you see:
Code:

SELECT * FROM photoplog_categories WHERE catid = parentid;
@Allan: how does the BBcode not work? Can you make a screenshot for me to see?

ChrisBaktis 12-04-2005 11:38 PM

Quote:

Originally Posted by calorie
@bmoods: if you make a category or subcategory, it will show even if there are no files, sort of like how a forum shows even if it contains no posts.

@ChrisBaktis: it looks to be a loop. Maybe you have been affected by the category as its own parent now fixed bug. Run the following query and let me know what you see:
Code:

SELECT * FROM photoplog_categories WHERE catid = parentid;
@Allan: how does the BBcode not work? Can you make a screenshot for me to see?

I get this error:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'xrustysoaptraders.photoplog_categories' doesn't exist

calorie 12-05-2005 12:04 AM

Okay, download PhotoPlog again to make sure you have the latest version and in the readme file redo the install or upgrade instructions because a step or two got missed in there.

ChrisBaktis 12-05-2005 12:45 AM

Quote:

Originally Posted by calorie
Okay, download PhotoPlog again to make sure you have the latest version and in the readme file redo the install or upgrade instructions because a step or two got missed in there.

I downloaded - reinstalled and now when I go to the forums page it is down and I get this error


PHP Code:

Invalid SQL:
SELECT *
                    
FROM photoplog_fileuploads
                    WHERE moderate 
0
                    ORDER BY RAND
()
                    
LIMIT 5;

MySQL Error  Table 'xrustysoaptraders.photoplog_fileuploads' doesn't exist
Error Number : 1146
Date         : Sunday, December 4th 2005 @ 09:44:23 PM
Script       : http://rustysoaptraders.com/forums/index.php?
Referrer     : 
IP Address   : 
Username     : poongamer
Classname    : vb_database 


calorie 12-05-2005 02:19 AM

I'd guess that you used the upgrade XML instead of the install XML this time around, so the photoplog_fileuploads table wasn't created. Do the uninstall procedure as in the readme, and then do the new install procedure.

Allan 12-05-2005 04:46 AM

screenies ;)

calorie 12-05-2005 05:14 AM

Right, if a file is uploaded but no category is selected, then it shows 'not available' because there is no category name to show.

Allan 12-05-2005 09:51 AM

which is the relationship with the fact that the bbcodes are not taken into account when one does not select categories

calorie 12-05-2005 10:17 AM

Oh oh oh, I see what you mean. Yeah, when you set categories, there aren't options for 'No one / Not available' so nothing is done for BBcode, but if you edit the functions.php file...

Code:

        $do_html = false;
        $do_smilies = false;
        $do_bbcode = false;
        $do_imgcode = false;
        $do_parseurl = false;
        $do_comments = false;
        $do_ratings = false;

You can set the defaults to whatever, true or false, for the 'No one / Not available' category.

nitro 12-05-2005 05:27 PM

Now it has categories I have tried it on my test box. Full path is set, photoplog path is set in cp settings, photoplog page is taking sometime to load, it has no header (seems to be adding wierd doubleups to the paths: http://192.168.xxx.xxx/portal-35x/fo...logo_white.gif)

Maybe this is also linked to the cant load page when I try and select a category or upload page ?


All times are GMT. The time now is 04:56 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.02118 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
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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