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)

lordnex 12-15-2005 08:15 PM

Gah .. i seem to have the database problem others have.

vBulletin 3.5.1:

Invalid SQL:
SELECT *,
(SELECT COUNT(*) FROM photoplog_ratecomment WHERE fileid = 1) 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 = 1) AS ave
FROM photoplog_ratecomment
WHERE fileid = 1
AND moderate = 0
ORDER BY dateline DESC
LIMIT 1;

MySQL Error : You have an error in your SQL syntax near 'SELECT COUNT(*) FROM photoplog_ratecomment WHERE fileid = 1) AS num,
' at line 2
Error Number : 1064
Date : Thursday, December 15th 2005 @ 02:05:53 PM



I checked the "view PHP info" in the admin CP to check on what version of mysql and it's 3.23.58 according to the print out. It's a unix system from what I understand and my webhosts seem to be twits at times. I fear asking them to upgrade the version ... :D
It worked up to the categories before, just installed the 1.0.4 patch and got this error. Yay for outdated computers!

lordnex 12-15-2005 08:17 PM

Oh.. also, will we be able to, in the future, restrict categories based on usergroups? So we can make a category that specifically is forbidden to everyone but one or two groups of users?

calorie 12-16-2005 10:23 AM

@nitro: you need to do the globals thing, plus use the variable in a PhotoPlog template if said variable is not part of your vB header, navbar, or footer already.

FYI: PhotoPlog 1.0.4.1 released: divided queries, template changes, pound in letter bar, who's online, not sure what the future holds. See the README.txt in the new ZIP archive for upgrade instructions.

StarBuG 12-16-2005 10:47 AM

Thank you.

Works great

descriptions for the tcat bars would be cool.
For memberinfo and the 5 random pics in the photoplog index ;)

allstar55 12-16-2005 10:53 AM

Quote:

Originally Posted by calorie
@nitro: you need to do the globals thing, plus use the variable in a PhotoPlog template if said variable is not part of your vB header, navbar, or footer already.

FYI: PhotoPlog 1.0.4.1 released: divided queries, template changes, pound in letter bar, who's online, not sure what the future holds. See the README.txt in the new ZIP archive for upgrade instructions.

Updatet:
http://www.nfs-center.de/showroom/index.php

Please make in next version in File List Information only ~30 characters, rest with ....
In Upload Area, max kb filesize specify for users.

Bugs:
I can't see not all stars full.


otherwise nice work :)

mikelbeck 12-16-2005 10:54 AM

Works great! Thanks!

calorie 12-16-2005 01:00 PM

@allstar55: what browser are you using (see attachment)?

Sinistra 12-16-2005 01:21 PM

I am having a problem with the admin CP adding catagories. my Vb version is 3.5.2

lordnex 12-16-2005 02:55 PM

Works fantastic now except any comments that I place say "Not Available" .. any ideas on that one?

calorie 12-16-2005 03:00 PM

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

@lordnex: check category and user permissions for allowing/viewing comments.


All times are GMT. The time now is 02:41 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.02845 seconds
  • Memory Usage 1,736KB
  • 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
  • (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