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

Reply
 
Thread Tools
Module CMPS: PhotoPost vBGallery Details »»
Module CMPS: PhotoPost vBGallery
Version: 2.6, by Zachariah Zachariah is offline
Developer Last Online: Jan 2020 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.8 Rating:
Released: 09-14-2006 Last Update: 08-27-2007 Installs: 134
Template Edits
 
No support by the author.

/* ----------------- 8/28/2007 6:41pm -----------------

Add Gallery Images to your vBAdvanced CMPS 3.x
Do you have PhotoPost vBGallery v2.0 + installed ?

Looking @ changes in the gallery. This hack will work with vbgallery 2.2, 2.3 out of the box.
- you can get a patch if you have 2.0, 2.1 - here.

Tested on:
- vBulletin 3.6.8
- PhotoPost vBGallery v2.3
- vBadvanced CMPS v3.0 RC1

1 query added to CMPS

Zachariah @ http://www.szone.us/

EX: 3 CMPS blocks 3 different settings
http://www.szone.us/index.php?id=gallery

--------------------------------------------------*/


Change Log
===========
2.6
- Added option for module title.
- Added option for module link.
- Added option to choose from thumbnail, normal, origianal


2.5
- Added Template: adv_portal_vbgallery_imagebit
- Edited Template: adv_portal_vbgallery_nav - added search dropdown
- Edited Template: adv_portal_vbgallery - changed to work with standard CMPS wrapper
- Multi-Modules can be used on the same page using the same php file with different settings
EX: 3 CMPS blocks 3 different settings http://www.szone.us/index.php?id=gallery


2.2
- reworked to work on CMPS 3.0

2.1
- Package added to: imagegallery.module
- Block settings per CMPS page
- Permissions fixed


2.0
- adv_gallery_images -> ppgal_images

1.9
- Added vb3.6

1.8
- Added functions_gallery_store.php
- Added column span support

1.7
- Install w/ product in 1 file.
- Killed the need for FORUMHOME template edit.
- AdminCP options to change the hack settings
- Added: Parts of the gallery's Nav bar w/ dropdowns
(My Stuff*, What's New, What's Popular,Search) to the hack with on/off option.

* My Stuff will not be seen if you are a guest.

1.6
- Added: If the gallery is off or disabled the hack not show up.
- Added: templates to support the hack vs. gallery templates
(allows you to customize the templates for the look and feel you want vs. mess up the way your gallery templates look.)


1.5
- <If> usergroup can not see thunbnails FORUMHOME edit will not show up.

1.4
- Removed Phrase to name gallery <table> now use $vba_options[gallery_title]
- Added 3 prases in "global" - filesize,category,dimensions

1.3
- Display images from specific categories.

1.2
- added Phrase support

Show Your Support

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

Comments
  #52  
Old 10-22-2006, 09:46 PM
ZGeek ZGeek is offline
 
Join Date: Jan 2003
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

me too!
Reply With Quote
  #53  
Old 10-22-2006, 10:09 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The tables have changed in vBGallery 2.0.
The prefix of tables changed from adv_gallery_ to ppgal_.
  • adv_gallery_categories --> ppgal_categories
  • adv_gallery_customfields --> ppgal_customfields
  • adv_gallery_customfields_entries --> ppgal_customfields_entries
  • adv_gallery_ecards --> ppgal_ecards
  • adv_gallery_exif --> ppgal_exif
  • adv_gallery_favorites --> ppgal_favorites
  • adv_gallery_filetypes --> ppgal_filetypes
  • adv_gallery_images --> ppgal_images
  • adv_gallery_moderator --> ppgal_moderator
  • adv_gallery_permissions --> ppgal_permissions
  • adv_gallery_posts --> ppgal_posts
  • adv_gallery_rate --> ppgal_rate
  • adv_gallery_search --> ppgal_search
  • adv_setting --> ppgal_setting
  • adv_settinggroup --> ppgal_settinggroup
  • adv_gallery_subscribecat --> ppgal_subscribecat
  • adv_gallery_subscribeimage --> ppgal_subscribeimage


EX: Ver. 1.0, 1.0.1, 1.0.2, 1.0.3, 2.0B1/B2
Code:
FROM " . TABLE_PREFIX . "adv_gallery_images
Is now: Ver 2.0 +
Code:
FROM " . TABLE_PREFIX . "ppgal_images
Please take note if you have problems with old hacks or want to work on new projects.
Reply With Quote
  #54  
Old 10-23-2006, 01:07 AM
johnstires johnstires is offline
 
Join Date: Mar 2006
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This code change is for the vbgallery_block.php file. It fixed it for me. Thanks! Anyone have the vertical template for this?
Reply With Quote
  #55  
Old 10-23-2006, 06:06 AM
elsupremo elsupremo is offline
 
Join Date: Sep 2005
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for that fix, it did work.
Unfortunately, another problem has come up.

If I am logged in under my administrator account, the site loads and the portal shows up fine.

If I am logged in under a regular account or if I am logged out completely, I only get a database error and the site does not load.

Any help will be immensely appreciated - I installed and used this addition for a long time without any trouble under VB 3.5, and am hoping to continue using it under 3.6.

Thanks!
Reply With Quote
  #56  
Old 10-23-2006, 12:09 PM
TRR TRR is offline
 
Join Date: Jan 2005
Location: San Antonio, TX
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by joerns
Have created the module as per instructions, activated it and added it to the home page but nothing shows up - blank. Went into the CP and set the options to one column and one picture. The module is set to display in the right column. Wrecked my brain, but couldn't figure out what the problem may/could be. Any ideas? I'm running vBulletin 3.6.1, PhotoPost vBGallery v2.0 (vB 3.6) and vBadvanced CMPS v2.2.0 (vB 3.6.) I see you tested it on vBadvanced CMPS v2.2.1 (vB 3.6) but that does not seem to be availalbe for download on vbadvanced,.com yet?
Had the same problem until I updated the init.php file.
Reply With Quote
  #57  
Old 10-23-2006, 12:16 PM
TRR TRR is offline
 
Join Date: Jan 2005
Location: San Antonio, TX
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachariah
The tables have changed in vBGallery 2.0.
The prefix of tables changed from adv_gallery_ to ppgal_.
  • adv_gallery_categories --> ppgal_categories
  • adv_gallery_customfields --> ppgal_customfields
  • adv_gallery_customfields_entries --> ppgal_customfields_entries
  • adv_gallery_ecards --> ppgal_ecards
  • adv_gallery_exif --> ppgal_exif
  • adv_gallery_favorites --> ppgal_favorites
  • adv_gallery_filetypes --> ppgal_filetypes
  • adv_gallery_images --> ppgal_images
  • adv_gallery_moderator --> ppgal_moderator
  • adv_gallery_permissions --> ppgal_permissions
  • adv_gallery_posts --> ppgal_posts
  • adv_gallery_rate --> ppgal_rate
  • adv_gallery_search --> ppgal_search
  • adv_setting --> ppgal_setting
  • adv_settinggroup --> ppgal_settinggroup
  • adv_gallery_subscribecat --> ppgal_subscribecat
  • adv_gallery_subscribeimage --> ppgal_subscribeimage


EX: Ver. 1.0, 1.0.1, 1.0.2, 1.0.3, 2.0B1/B2
Code:
FROM " . TABLE_PREFIX . "adv_gallery_images
Is now: Ver 2.0 +
Code:
FROM " . TABLE_PREFIX . "ppgal_images
Please take note if you have problems with old hacks or want to work on new projects.

I am still new to this; where do I make the corrections so that I don't get the "table does not exist" error?
Reply With Quote
  #58  
Old 10-23-2006, 05:03 PM
elsupremo elsupremo is offline
 
Join Date: Sep 2005
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TRR
I am still new to this; where do I make the corrections so that I don't get the "table does not exist" error?
You need to open the vbgallery_block.php file included in the mod download. Find "adv_gallery_images" in the line of code given above and replace it with "ppgal_images". Save file, reupload to to server/forums/modules/.
Reply With Quote
  #59  
Old 10-26-2006, 10:09 PM
elsupremo elsupremo is offline
 
Join Date: Sep 2005
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by elsupremo
Thanks for that fix, it did work.
Unfortunately, another problem has come up.

If I am logged in under my administrator account, the site loads and the portal shows up fine.

If I am logged in under a regular account or if I am logged out completely, I only get a database error and the site does not load.

Any help will be immensely appreciated - I installed and used this addition for a long time without any trouble under VB 3.5, and am hoping to continue using it under 3.6.

Thanks!
I would still love some help with this problem...or at least a suggestion? I would hate to permanently lose the use of this mod!
Reply With Quote
  #60  
Old 11-02-2006, 10:46 PM
WZZZ's Avatar
WZZZ WZZZ is offline
 
Join Date: Sep 2006
Location: Moscow
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Invalid SQL:

SELECT imageid, images.title, images.description, filename, thumbname, originalname, extension, images.catid ,images.userid, images.username, images.title, images.dateline ,filesize, originalfilesize ,width, height, originalwidth, originalheight, images.views, images.posts, images.lastpostdateline, images.lastpostuserid, images.lastpostusername, votenum, votetotal
FROM forum_ppgal_images AS images

WHERE Array valid = 1


ORDER BY RAND()
LIMIT 4;

Ошибка MySQL : 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 'valid = 1


ORDER BY RAND()
LIMIT 4' at line 4
Reply With Quote
  #61  
Old 11-02-2006, 11:22 PM
Jaxx Jaxx is offline
 
Join Date: Mar 2003
Location: Seattle, Wa
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, you're not the only one getting that error WZZZ.

I had to disable it because my users couldnt' log in due to that.
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 01:17 AM.


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.04639 seconds
  • Memory Usage 2,321KB
  • 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
  • (1)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