PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old February 27th, 2007, 12:04 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Mar 2004
Posts: 76
Send a message via ICQ to kvnband Send a message via AIM to kvnband
Random Image on Vba CMPS index

Just upgraded a client's board last night to vb 3.6.4, and of course this broke vba gallery. So today I upgraded vba gallery, but now the random image code that he had present on the old installation isn't working. Here is that code:

Code:
Content visible to verified customers only.
I really need to get just a single random image to display on the vba cmps index as soon as possible. I've checked out the other threads, but they don't look like they're doing what I need.
Kevin
kvnband is offline   Reply With Quote
Old February 27th, 2007, 12:26 PM   #2 (permalink)
Senior Member
Verified Customer
 
Join Date: Mar 2006
Location: Yorkshire
Posts: 603
Not being funny but if you are getting paid should you not have thought about this before starting and have some idea what is needed to fix any issues...
Sybaris is offline   Reply With Quote
Old February 27th, 2007, 01:31 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Mar 2004
Posts: 76
Send a message via ICQ to kvnband Send a message via AIM to kvnband
You're right - you're not being funny. You're being unhelpful. I actually was not informed that he had vba gallery installed until this morning when he found that it was broken.
If there is anyone who actually has an idea of how to place a random photo on the vba cmps index page, and has something useful to say, unlike the jerk above this post, please reply...
kvnband is offline   Reply With Quote
Old February 27th, 2007, 04:05 PM   #4 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Find:
Code:
Content visible to verified customers only.
Change To:
Code:
Content visible to verified customers only.
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:
Content visible to verified customers only.
Is now: Ver 2.0 +
Code:
Content visible to verified customers only.
Please take note if you have problems with old hacks or want to work on new projects.
Zachariah is offline   Reply With Quote
Old February 27th, 2007, 04:56 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Mar 2004
Posts: 76
Send a message via ICQ to kvnband Send a message via AIM to kvnband
Awesome!
Thanks for the help man.
kvnband is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Random image on VBadvanced CMPS ivanko Photopost Pro How Do I...? 1 May 20th, 2006 04:06 PM
Random Image on VBA CMPS 2.0 panraf Photopost Pro How Do I...? 1 May 10th, 2006 07:36 AM
Add a random image block to my vBa CMPS front page? Sanjiyan How Do I? - vBulletin 3.0.X 4 February 6th, 2005 05:23 PM
VBA CMPS and Gallery: Random Image on Homepage? tunaman Before You Buy 1 January 11th, 2005 08:53 PM


All times are GMT -5. The time now is 09:14 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0