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)

nitro 12-16-2005 10:08 PM

It seems the portals global.php is the file. Im pretty sure this is called via a plugin in vbulletin using require_once under global start with vbulletin for the product

The templates with the conditions in the above post is the navbar

The footer has the condition if $show['leftcolum'] then close left column tables /if

calorie 12-17-2005 02:00 AM

If $foo = "bar"; is set in global_start and $foo is used in navbar, then to have "bar" appear in PhotoPlog, global $foo; goes in the PhotoPlog functions. Without knowing your portal script, not sure what else to offer.

allstar55 12-17-2005 08:53 AM

Ok, i have a server problem.. script is ok.
But, can you import in next version, option to delete not used pictures?

Here in the ftp picture you can see it, all pictures are "deletet" per script.
But in the FTP you can see the old "deleted" pictures.

calorie 12-17-2005 02:54 PM

When the last comment issue was fixed, delete got broken for files with no comments, doh, so just manually delete files no longer in the photoplog_fileuploads table, and upgrade to v.1.0.4.4.
Code:

# run the following query via phpMyAdmin and view the list of file names

SELECT filename FROM photoplog_fileuploads;

# if a file in the PhotoPlog images directory is not on the list, then
# delete it from the PhotoPlog images directory via FTP

# DO NOT DELETE ANYTHING FROM THE photoplog_fileuploads TABLE


LJR 12-17-2005 03:30 PM

Okay, I just upgraded from 1.0.3 and I get the following SQL error. Looks like superfluous ) after the fileid in the query. Any suggestions? Thanks

Code:

Database error in vBulletin 3.5.2:

Invalid SQL:
SELECT *,
                                                                                        (SELECT COUNT(*) FROM photoplog_ratecomment WHERE fileid = 41) AS num,
                                                                                        (SELECT IF(SUM(photoplog_ratecomment.rating) > 0, SUM(photoplog_ratecomment.rating) / SUM(IF(photoplog_ratecomment.rating > 0, 1, 0)), 0) FROM photoplog_ratecomment WHERE fileid = 41) AS ave
                                                                                        FROM photoplog_ratecomment
                                                                                        WHERE fileid = 41
                                                                                        AND moderate = 0
                                                                                        ORDER BY dateline DESC
                                                                                        LIMIT 1;

MySQL Error  : You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT COUNT(*) FROM photoplog_ratecomment WHERE fileid = 41) A
Error Number : 1064
Date        : Saturday, December 17th 2005 @ 05:28:14 PM
Script      : http://www.ourspaceonthenet.com/osotn/community/photoplog/index.php
Referrer    : http://www.ourspaceonthenet.com/osotn/community/photoplog/index.php


LJR 12-17-2005 03:38 PM

Okay, this might be to do with me not upgrading to 1.0.3.1 and then from that to 1.0.4.4. Is there an archive where I can get hold of 1.0.3.1?

Sinistra 12-17-2005 03:51 PM

Quote:

Originally Posted by calorie
@Lord Katsuhito: what type of problem, or perhaps a screenshot might help?


I reuploaded everything it works now ^_^

calorie 12-17-2005 03:57 PM

@LJR: just follow the general upgrade instructions about 2/3 down the README.txt file, there's no need to go through all the steps.

wobbly 12-17-2005 04:18 PM

This is a great piece of coding. I installed without a hitch, nice work.

One question though. Is there anyway to add a module or something so you can see the latest images across the top of your forum?

calorie 12-17-2005 04:24 PM

Check the README.txt file, in the comments section.


All times are GMT. The time now is 01:57 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.02406 seconds
  • Memory Usage 1,745KB
  • 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)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