Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
PhotoPlog: The Lite Gallery Details »»
PhotoPlog: The Lite Gallery
Version: 2.0.7, by calorie calorie is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Major Additions - Version: 3.7.x Rating:
Released: 11-22-2005 Last Update: 11-06-2010 Installs: 1560
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

PhotoPlog: The Lite Gallery

PhotoPlog Lite is a gallery script for GIF, JPG, and PNG images. PhotoPlog Lite comes with categories, permissions, comments, search, moderation. The installation takes care of phrases, templates, tables, etcetera. Just follow the README.txt file for installation.

There is a license agreement that I request that you abide. Thanks!

This thread is organized as follows:
  • Post1 contains this here release.
  • Post2 contains current add-ons.
  • Post3 contains onscreen errors.
Fine Print: see license agreement, no redistribution, copyright retained in full, right reserved to uncheck support box.

Requirements: vB 3.5.0+ (development initially based on having vB 3.5.4 though vB 3.6.0+ and vB 3.7.0+ should be okay, but not every version was personally tested) and MySQL 4.1+ (development based on having MySQL 4.1+ though MySQL 3+ may be okay, but not every version was personally tested) and PHP with GD2 and Safe Mode off

Does it work on vB 3.5 and vB 3.6 and vB 3.7? Yes, it should. See the requirements. Also, there are two product XML files, one for vB 3.5 and one for vB 3.6/3.7, so import the one that matches your vB version.

Live Demo and Official Support: http://www.photoplog.com/

Note on Official Support: With 70 some pages, assuming 15 posts per page, and over 1000 posts, all in one thread, official support for this mod is now held off-site. Apologies in advance for possibly having to register at yet another forum, but IMHO support would be better served elsewhere at this point.

All support requests, except perhaps for proven bugs, may be ignored if posted in this thread.

Comments, suggestions, etcetera are welcome, but please note that further modifications are not being planned, as this is intended as the final release of the lite series.

Fun Fact: PhotoPlog Lite v.2.0.6 had 4330 downloads plus 2262 downloads prior to CSRF protection plus 3031 downloads as of 06 Nov 2010!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #612  
Old 01-08-2006, 12:33 AM
centers centers is offline
 
Join Date: Jan 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey first i wane say WHAT A GREAT HACK hehe but i have a problem everything is working but if i click upload i get this message Sorry, center: Bad File center is my board username, my image dir is 777 what im doing wrong please help me man..
Reply With Quote
  #613  
Old 01-08-2006, 12:37 AM
nitro nitro is offline
 
Join Date: Nov 2001
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

File is probably outside the size limits for your vb usergroup think its in permissions you can change it.
Reply With Quote
  #614  
Old 01-08-2006, 12:50 AM
centers centers is offline
 
Join Date: Jan 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is not working too, im trying and trying for 4 hours now lol
Reply With Quote
  #615  
Old 01-08-2006, 01:58 AM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's either file size like nitro said, or it could be that your /tmp directory is not accessible, assuming you are trying to upload a gif, jpg, or png image.
Reply With Quote
  #616  
Old 01-08-2006, 02:01 AM
utw-Mephisto utw-Mephisto is offline
 
Join Date: Jan 2005
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by calorie
Okay, go run the following query in say phpMyAdmin and see if it returns a count:
[sql]
SELECT COUNT(*) FROM photoplog_fileuploads WHERE userid = 1;
[/sql]
Count = 1

Since Userid 1 is me and I just uploaded one file it is true
Reply With Quote
  #617  
Old 01-08-2006, 02:12 AM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In PhotoPlog's upload.php file find the following near the top:
Code:
require_once('./settings.php');
And afterwards place the following code temporarily:
Code:
echo "x".$permissions['photoplogmaxfilelimit']."x<br />";
echo "x".intval($permissions['photoplogmaxfilelimit'])."x<br />";
$temp_check = $db->query_first("SELECT COUNT(*) AS cnt
	FROM photoplog_fileuploads
	WHERE userid = ".intval($vbulletin->userinfo['userid'])."
");
echo "x".$temp_check['cnt']."x<br />";
exit();
Then call PhotoPlog's upload.php from a browser. What do you see?
Reply With Quote
  #618  
Old 01-08-2006, 02:14 AM
utw-Mephisto utw-Mephisto is offline
 
Join Date: Jan 2005
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by calorie
In PhotoPlog's upload.php file find the following near the top:
Code:
require_once('./settings.php');
And afterwards place the following code temporarily:
Code:
echo "x".$permissions['photoplogmaxfilelimit']."x<br />";
echo "x".intval($permissions['photoplogmaxfilelimit'])."x<br />";
$temp_check = $db->query_first("SELECT COUNT(*) AS cnt
	FROM photoplog_fileuploads
	WHERE userid = ".intval($vbulletin->userinfo['userid'])."
");
echo "x".$temp_check['cnt']."x<br />";
exit();
Then call PhotoPlog's upload.php from a browser. What do you see?

Quote:
x0x
x0x
x1x
Thats all I see
Reply With Quote
  #619  
Old 01-08-2006, 02:24 AM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is your Maximum File Limit set to for your usergroup? Still 100000? If so, run the following query. What do you see?
[sql]
SELECT usergroupid, photoplogmaxfilelimit FROM vb3_usergroup;
[/sql]
Reply With Quote
  #620  
Old 01-08-2006, 02:30 AM
utw-Mephisto utw-Mephisto is offline
 
Join Date: Jan 2005
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by calorie
What is your Maximum File Limit set to for your usergroup? Still 100000? If so, run the following query. What do you see?
[sql]
SELECT usergroupid, photoplogmaxfilelimit FROM vb3_usergroup;
[/sql]
Sorry for all your trouble and thanks for the support. However, the problem is solved.

We have several usergroups and one secondary usergroup had the setting to 0 ..

But shouldn't be the primary usergroup above the secondary permission wise ?

But again, thanks for the fast support ..
Reply With Quote
  #621  
Old 01-08-2006, 03:05 AM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

With primary and secondary usergroups and PhotoPlog, zero is like a buzzkill, overriding the other permission. If you change the zero to a one, the greater permission should then apply.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:05 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05809 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete