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
vBGallery - Forum Home Details »»
vBGallery - Forum Home
Version: 1.8, by Zachariah Zachariah is offline
Developer Last Online: Jan 2020 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.0 Rating:
Released: 08-08-2006 Last Update: 08-14-2006 Installs: 134
Uses Plugins Template Edits
Code Changes Additional Files  
No support by the author.

/* -----------------8/9/2006 6:20am -----------------
Add Gallery Images to your Forum Index v1.8

Tested on:
vBulletin 3.6
PhotoPost vBGallery v2.0 Beta

Zachariah - http://www.gzhq.net

// ---------------------------------------------------------

DEMO

- Feedback Please :squareeyed:

Overview:
  • import Product XML
  • 1 file edit
  • 2 file uploads
  • 1 image upload
  • Adds 1 Query to FORUMHOME

Hack includes:
- Hack Active (yes / no)
- Enable Navbar (yes / no)
- Image Count (number of images)
- Image Order (Random, Newest, Most Views, Most Comment, Highest Rated)
- Column Span (Choice of column count accross)
- Locations (Above Header, Below Header, Under Navbar, Above What's going on, Inside What's going on, Below What's going on, Custom)
- Exclude Catagories
- Only Catagories
- On/Off options for all of the "info" per image
- If gallery is not active hack will vanish (all usergroups)
- Admin will get "Alert: The gallery is currently turned off!" on FORUMHOME
- If gallery settings of a usergroup does not see "thumbnails" the hack will vanish
- No Template edits

Change Log
===========
1.8 - 8/9/2006
- Column Span: Choice of column count across.
- Locations: (were should be displayed on the forumhome)
  • Above Header
  • Below Header
  • Under Navbar
  • Above What's going on
  • Inside What's going on
  • Below What's going on
  • Custom
Select "Custom" and place $vbgallery in FORUMHOME template for custom location.


1.7 Beta 2 - 01.17.06
- Fixed usergroups not able to see the hack
- Fixed sort order problems

1.7
- Install w/ product and 2 edits 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.)

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

Show Your Support

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

Comments
  #102  
Old 10-11-2006, 12:39 AM
dbarry dbarry is offline
 
Join Date: Jan 2003
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tried installing this one, I'm getting this error:
Database error in vBulletin 3.6.1:

Invalid SQL:

SELECT imageid, images.title, images.description, filename, thumbname, originalname, extension, images.catid ,images.userid, images.username, images.title, images.description, images.dateline, images.views, images.lastpostdateline, images.lastpostuserid, images.lastpostusername, votenum, votetotal
FROM adv_gallery_images AS images

WHERE valid = 1


ORDER BY dateline DESC
LIMIT 1;

MySQL Error : Table 'electrak_forum.adv_gallery_images' doesn't exist Error Number : 1146
Reply With Quote
  #103  
Old 10-11-2006, 04:45 PM
da420 da420 is offline
 
Join Date: Nov 2005
Posts: 1,232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Zachariah, thanks for this.

One problem,
Everything seems to work fine when logged in. When showing as an unregistered user it is giving a database error. It only seems to be happening when unregistered, but when logged in it works perfectly. Any suggestions?
Reply With Quote
  #104  
Old 10-13-2006, 04:19 AM
RMS-Chef RMS-Chef is offline
 
Join Date: Aug 2003
Location: MA, USA
Posts: 326
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dbarry
Tried installing this one, I'm getting this error:
Database error in vBulletin 3.6.1:

Invalid SQL:

SELECT imageid, images.title, images.description, filename, thumbname, originalname, extension, images.catid ,images.userid, images.username, images.title, images.description, images.dateline, images.views, images.lastpostdateline, images.lastpostuserid, images.lastpostusername, votenum, votetotal
FROM adv_gallery_images AS images

WHERE valid = 1


ORDER BY dateline DESC
LIMIT 1;

MySQL Error : Table 'electrak_forum.adv_gallery_images' doesn't exist Error Number : 1146
I had the same issue. After a little research on the photopost.com release thread I noticed that with the vBGallery v2.0 GOLD release that there are quite a few database table name changes (if not all of them).
Quote:
Originally Posted by PhotoPost.com vBGallery v2.0 GOLD Release Thread
In order to not conflict with other vBAdvanced products the tables of the gallery have been renamed. 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

When you upgrade this will stop hacks in your site that use the gallery's old tables. Please disable or repair the add-ons in your site before upgrade.
I imagine users that are running the v2.0 betas with the older database table names are not having this issue but users like us that have installed the latest v2.0 GOLD with the new table names are out of luck with the hack until Zach updates it.

EDIT:
It appears that an updated version has been released by Zach on the PhotoPost forums HERE as it lists the vBGallery version as "v2.0 GOLD". The README.TXT in that download confirms this with the latest version notes. I am out of time tonight but will attempt to install that one tomorrow.
Reply With Quote
  #105  
Old 10-13-2006, 05:34 PM
detalhe's Avatar
detalhe detalhe is offline
 
Join Date: Jan 2005
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Didn't find any updates of this hack there..
Reply With Quote
  #106  
Old 10-13-2006, 05:55 PM
RMS-Chef RMS-Chef is offline
 
Join Date: Aug 2003
Location: MA, USA
Posts: 326
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by detalhe
Didn't find any updates of this hack there..
Log in on your verified customer account there and you will.
Reply With Quote
  #107  
Old 10-13-2006, 06:07 PM
da420 da420 is offline
 
Join Date: Nov 2005
Posts: 1,232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by da420
Hey Zachariah, thanks for this.

One problem,
Everything seems to work fine when logged in. When showing as an unregistered user it is giving a database error. It only seems to be happening when unregistered, but when logged in it works perfectly. Any suggestions?
This was fixed by finding and deleting "$privatecatids" out of the gallery_block.php file under modules.
Reply With Quote
  #108  
Old 10-13-2006, 11:39 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This will not be needed in vBGallery 2.1 +

:rambo: :ninja: :banana:
Reply With Quote
  #109  
Old 10-17-2006, 11:10 AM
detalhe's Avatar
detalhe detalhe is offline
 
Join Date: Jan 2005
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RMS-Chef
Log in on your verified customer account there and you will.

Now I did, when I looked for it first it wasn't there

Anyway, just installed it without problems, admicp shows correctly and hack is active but no images show on forum :alien:
Reply With Quote
  #110  
Old 10-26-2006, 01:00 PM
TRR TRR is offline
 
Join Date: Jan 2005
Location: San Antonio, TX
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yow. does this not work with the "Right Side Column 1.0.2" mod? When I install, it blows up my forum home page. Pictures are all over the place, various bits of html, and other general oddities and foolery.
Reply With Quote
  #111  
Old 11-01-2006, 11:32 PM
Jaxx Jaxx is offline
 
Join Date: Mar 2003
Location: Seattle, Wa
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm. I started getting a bunch of these:

Quote:
Database error in vBulletin 3.6.2:

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 ppgal_images AS images

WHERE Array valid = 1


ORDER BY RAND()
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 'valid = 1


ORDER BY RAND()
LIMIT 1' at line 4
Error Number : 1064
I just updated from 3.07 to 3.62.
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 02:43 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.21136 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
  • (6)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
  • (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