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

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

Version: 3.5.4 Rating:
Released: 10-21-2005 Last Update: 05-27-2006 Installs: 129
Uses Plugins Template Edits
Code Changes Additional Files  
No support by the author.

/* -----------------12/31/2005 6:41pm -----------------

Add Gallery Images to your CMPS v1.8

This hack is an add-on to a gallery made by PhotoPost.com called vBGallery.
- This is not a gallery, but a way to display the images from the gallery to your forums.

Do you have vBGallery installed ?

Tested on:
- vBulletin 3.5.2
- PhotoPost vBGallery v1.0.2 (vB 3.5)
- vBadvanced CMPS v2.0.0 (vB 3.5)

Zachariah - http://www.gzhq.net

Product XML
1 file edit
Upload file
Create Module
Change settings

1 query added to CMPS

DEMO

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

Change Log
===========
1.8
- Added functions_gallery_store.php
- Added column span support

1.7
- Install w/ product in 1 file.
- 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.)

Show Your Support

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

Comments
  #372  
Old 12-07-2006, 03:32 AM
techenigma techenigma is offline
 
Join Date: Dec 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get the following error when I tried to install this:

Database error in vBulletin 3.6.4:

Invalid SQL:

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

WHERE valid = 1
AND images.catid IN (2)

ORDER BY RAND()
LIMIT 4;

MySQL Error : Table '***********.adv_gallery_images' doesn't exist
Error Number : 1146
Date : Thursday, December 7th 2006 @ 12:30:42 AM
Script : http://********/index2.php
Referrer :
IP Address : ***********
Username : ***********
Classname : vb_database

what on earth is causing that, the forums work, and my gallery works just the CMPS shows up as a big database error screen.
Reply With Quote
  #373  
Old 12-07-2006, 11:59 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by techenigma View Post
I get the following error when I tried to install this:

Database error in vBulletin 3.6.4:

Invalid SQL:

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

WHERE valid = 1
AND images.catid IN (2)

ORDER BY RAND()
LIMIT 4;

MySQL Error : Table '***********.adv_gallery_images' doesn't exist
Error Number : 1146
Date : Thursday, December 7th 2006 @ 12:30:42 AM
Script : http://********/index2.php
Referrer :
IP Address : ***********
Username : ***********
Classname : vb_database

what on earth is causing that, the forums work, and my gallery works just the CMPS shows up as a big database error screen.
I am working on something new for this hack. The tables have changed names.

EX: Ver. 1.0, 1.0.1, 1.0.2, 1.0.3, 2.0B1/B2
Code:
FROM " . TABLE_PREFIX . "adv_gallery_images
v 2.0 +, v1.1+
Code:
FROM " . TABLE_PREFIX . "ppgal_images
Reply With Quote
  #374  
Old 12-07-2006, 04:22 PM
techenigma techenigma is offline
 
Join Date: Dec 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so what do I have to change to make this work?
Reply With Quote
  #375  
Old 01-16-2007, 02:14 AM
+buG +buG is offline
 
Join Date: Jun 2002
Location: Bay Area CA
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by techenigma View Post
so what do I have to change to make this work?
Try going into the php (/modules/vbgallery_block.php) and searching for:

PHP Code:
FROM " . TABLE_PREFIX . "adv_gallery_images 
Replace with

PHP Code:
FROM " . TABLE_PREFIX . "ppgal_images 
That's all I did and the module works nicely, you'll have to really dig into it to repair the templates for the most current vb and gallery though.
Reply With Quote
  #376  
Old 03-01-2007, 08:35 PM
Jesakos's Avatar
Jesakos Jesakos is offline
 
Join Date: Nov 2005
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have this error

Code:
Warning: main(./includes/functions_gallery.php) [function.main]: failed to open stream: No such file or directory in /modules/vbgallery_block.php on line 17

Fatal error: main() [function.require]: Failed opening required './includes/functions_gallery.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gwgrirc/public_html/forum/modules/vbgallery_block.php on line 17
anyone know?

i use 3.6.5v
Reply With Quote
  #377  
Old 03-07-2007, 01:17 PM
Jesakos's Avatar
Jesakos Jesakos is offline
 
Join Date: Nov 2005
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone?
Reply With Quote
  #378  
Old 05-22-2007, 09:06 PM
Gayble's Avatar
Gayble Gayble is offline
 
Join Date: Nov 2005
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i get this error:

XML Error: not well-formed (invalid token) at Line 1

Some one help me?
Reply With Quote
  #379  
Old 12-08-2007, 07:08 PM
triff's Avatar
triff triff is offline
 
Join Date: Sep 2007
Location: Norway
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod and works perfectly!

Just one question: Is there anyway to stop the thumbnails linking to the gally? Just showing the thumbnails but no links?

SGL.
Reply With Quote
  #380  
Old 07-03-2009, 08:59 PM
mortydot mortydot is offline
 
Join Date: Jul 2007
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get this error after installation (following the txt instructions)

Warning: unserialize() expects parameter 1 to be string, array given in [path]/modules/vbgallery_block.php on line 20

Warning: unserialize() expects parameter 1 to be string, array given in [path]/modules/vbgallery_block.php on line 21

Warning: unserialize() expects parameter 1 to be string, array given in [path]/modules/vbgallery_block.php on line 22

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/modules/vbgallery_block.php on line 26
Reply With Quote
  #381  
Old 08-01-2010, 07:36 AM
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Posts: 893
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mortydot View Post
I get this error after installation (following the txt instructions)

Warning: unserialize() expects parameter 1 to be string, array given in [path]/modules/vbgallery_block.php on line 20

Warning: unserialize() expects parameter 1 to be string, array given in [path]/modules/vbgallery_block.php on line 21

Warning: unserialize() expects parameter 1 to be string, array given in [path]/modules/vbgallery_block.php on line 22

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/modules/vbgallery_block.php on line 26
I got the same exact Error
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 03:37 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.04995 seconds
  • Memory Usage 2,317KB
  • 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
  • (3)bbcode_code
  • (2)bbcode_php
  • (3)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
  • (2)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