PDA

View Full Version : Forum Home Enhancements - vBGallery - Forum Home


Zachariah
09 Aug 2006, 15:00
/* -----------------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 (http://www.gzhq.net/forums/)

- 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.)

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

Zachariah
09 Aug 2006, 15:01
1st Post - FAQ's

08-15-06

Update: (no version change)
- Fixed last reply
- Fixed reply count
- Fixed error with php5x

re-upload:
includes/vbgallery/forumhome_complete.php

Betablocker
09 Aug 2006, 15:03
Good man :)

Goes to install...

Work great cheers :cool:

cclaerhout
09 Aug 2006, 15:31
Third post ;)

projectego
09 Aug 2006, 15:34
Very cool! Thanks Zachariah. :)

Zachariah
09 Aug 2006, 15:35
Re download
- XML was missing a few settings.

MotoUp
09 Aug 2006, 16:34
Sweet! I've been waiting for this! Thanks a ton.

Where do I go to change the color of the navbar? Or for that matter, add a background image for the navbar?

EDIT: Nevermind, finally found the templates.

Freakpyromaniac
09 Aug 2006, 17:13
Is this also working with photopost Pro ???

KevNJ
09 Aug 2006, 17:32
No coloum span vertical ? Thought you mentioned in another thread that would be included in the next version.

Ill install when I get home. Looking forward to this.

Thanks!

Zachariah
09 Aug 2006, 18:09
No coloum span vertical ? Thought you mentioned in another thread that would be included in the next version.

Ill install when I get home. Looking forward to this.

Thanks!

Column Span
How many columns of images would you like to show?

Set to '1' one

DJ XtAzY
09 Aug 2006, 18:38
i got this error msg

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/vbgallery/forumhome_complete.php on line 166

also no matter what i do, when the images has comments/replies to it, it always ends up showing 0 on forumhome. It shows up fine in vbgallery, but not in forumhome =[

i have checked that i have the Replies boxes ticked in vbgallery admin and have replies counts towards their post, but it just dont show the correct # of replies on forumhome

Zachariah
09 Aug 2006, 19:07
i got this error msg

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/vbgallery/forumhome_complete.php on line 166

also no matter what i do, when the images has comments/replies to it, it always ends up showing 0 on forumhome. It shows up fine in vbgallery, but not in forumhome =[

i have checked that i have the Replies boxes ticked in vbgallery admin and have replies counts towards their post, but it just dont show the correct # of replies on forumhome

Ahh - PHP5x error

try this:
/includes/vbgallery/forumhome_complete.php on line 166

replace:
$privatecatids = iif(empty($privatecatids), $vba_options['gallery_homeexcats'], array_merge((array)$privatecatids, (array)$vba_options['gallery_homeexcats']));

DJ XtAzY
09 Aug 2006, 19:39
Ahh - PHP5x error

try this:
/includes/vbgallery/forumhome_complete.php on line 166

replace:
$privatecatids = iif(empty($privatecatids), $vba_options['gallery_homeexcats'], array_merge((array)$privatecatids, (array)$vba_options['gallery_homeexcats']));
works like a charm

woody200456
09 Aug 2006, 20:10
EDIT: Never Mind :P

PixelFx
09 Aug 2006, 20:34
very nice :D

Tork64
09 Aug 2006, 20:55
sweet! and thanks

Edit: lol, okay i take it you need to buy vbgallery to install this right ? If so where i can buy it from.

Zachariah
09 Aug 2006, 21:35
sweet! and thanks

Edit: lol, okay i take it you need to buy vbgallery to install this right ? If so where i can buy it from.

Untill a price sheet is made. (http://www.photopost.com/forum/showthread.php?t=121701)

Tyegurl
09 Aug 2006, 22:03
does this have personal galleries?

Neal-UK
09 Aug 2006, 22:50
I'm getting this, my site is on the root:

Warning: Unknown(./includes/vbgallery/forumhome_complete.php): failed to open stream: No such file or directory in /index.php(485) : eval()'d code on line 45

Warning: Unknown(./includes/vbgallery/forumhome_complete.php): failed to open stream: No such file or directory in /index.php(485) : eval()'d code on line 45

Fatal error: (null)(): Failed opening required './includes/vbgallery/forumhome_complete.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nealpar2/public_html/index.php(485) : eval()'d code on line 45

EDIT: This was because I was a numpty and uploaded the files to the wrong server! Working now!

MotoUp
10 Aug 2006, 18:20
Not sure if I'm doing something wrong or not, but When I enable Last Post under the image, it shows never even after I post a reply.

bandoftheweek
10 Aug 2006, 21:12
Will this work with 3.5?

Zachariah
10 Aug 2006, 21:25
Will this work with 3.5?
- I think the XML file will not work. I will update the 3.5x ver soon :)

P.Jackson
10 Aug 2006, 21:36
im still using the 3.5 addon for this hack and still works :D only thing that dont work properly is Users posts show as guests

MotoUp
10 Aug 2006, 21:36
Not sure if I'm doing something wrong or not, but When I enable Last Post under the image, it shows never even after I post a reply.
Well, I've looked at everything I can possibly think of, and can't find that I'm doing anything wrong, but it still doesn't show the last post...any ideas?

Freakpyromaniac
10 Aug 2006, 21:45
Is this also for Photopost pro...Thats the one i have. And on the photo post site i see anyware a Vbgallery product..

bonjurkes
10 Aug 2006, 22:40
do i need to install photopost pro for this hack?

I uploaded files upload product make edit and got an error like


Database error in vBulletin 3.6.0:

Invalid SQL:

SELECT administrator.*,
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
language.phrasegroup_cphome AS phrasegroup_cphome,
language.phrasegroup_cpglobal AS phrasegroup_cpglobal,
language.phrasegroup_adv_gallery AS phrasegroup_adv_gallery,
language.phrasegroup_global AS phrasegroup_global,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep

FROM user AS user
LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN administrator AS administrator ON (administrator.userid = user.userid) INNER JOIN language AS language ON (language.languageid = IF(user.languageid = 0, 3, user.languageid))

WHERE user.userid = 1;

MySQL Error : Unknown column 'language.phrasegroup_adv_gallery' in 'field list'


did i forget doing someting?

and at index.php

Warning: main(./includes/functions_gallery.php): failed to open stream: No such file or directory in /includes/vbgallery/forumhome_complete.php on line 16

Fatal error: main(): Failed opening required './includes/functions_gallery.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*/public_html/forum/includes/vbgallery/forumhome_complete.php on line 16

MotoUp
10 Aug 2006, 22:55
I believe it's just for vbGallery, not Pro.

sensimilla
11 Aug 2006, 00:10
I believe it's just for vbGallery, not Pro.


Exactly, its for a completely different product.

icemanic
11 Aug 2006, 03:49
i seem to be having a problem editting the forums/includes/init.php file, once i make the edit, the forum cant connect to database and all sorts of weird problems just when i add that one line

what am i doing wrong??????? someone help me!!!!!

wEbAddEr
11 Aug 2006, 23:02
i seem to be having a problem editting the forums/includes/init.php file, once i make the edit, the forum cant connect to database and all sorts of weird problems just when i add that one line

what am i doing wrong??????? someone help me!!!!!

same with my forum :confused:

thablewprnt
12 Aug 2006, 10:26
It really makes me sick when people put up these seemingly cool hacks. But never give proper instructions for people who don't do this everyday!

I didn't see a file call init.php to edit. Does that mean to open the folder and edit the files that are "in it"?! Also the instructions don't say what directories the files should go.
Please excuse my frustration, but I have been working on my board day and night for two weeks straight, and when I don't have easy to follow instructions for mods, that just makes my day even longer.

I give myself some credit for the things I have accomplished, because I literally just picked this up two weeks ago. But most of you guys give instructions that assume a person has prior knowledge, and understands all the tech talk, and jargon.
That's like giving a person a can of paint, and saying...OKaaay....run along now, and go put a new clear coat on your Mercedes! :mad:

Neal-UK
12 Aug 2006, 10:45
It really makes me sick when people put up these seemingly cool hacks. But never give proper instructions for people who don't do this everyday!

I didn't see a file call init.php to edit. Does that mean to open the folder and edit the files that are "in it"?! Also the instructions don't say what directories the files should go.
Please excuse my frustration, but I have been working on my board day and night for two weeks straight, and when I don't have easy to follow instructions for mods, that just makes my day even longer.

I give myself some credit for the things I have accomplished, because I literally just picked this up two weeks ago. But most of you guys give instructions that assume a person has prior knowledge, and understands all the tech talk, and jargon.
That's like giving a person a can of paint, and saying...OKaaay....run along now, and go put a new clear coat on your Mercedes!

connect to your server, navigate to the INCLUDES folder and download the INIT.PHP file inside that folder and open it in wordpad or notepad and edit it as it says.

Then upload it again back to the INCLUDES folder.

Folder: includes
File: init.php (Inside "includes" folder)

redstaing.net
12 Aug 2006, 18:41
HMMM
MySQL Error : Unknown column 'language.phrasegroup_adv_gallery' in 'field list'
Error Number : 1054
Date : Saturday, August 12th 2006 @ 07:39:58 PM

bonjurkes
12 Aug 2006, 19:26
you can use it with photopost, otherwise it wont work.

you can buy photopost for 59 bucks

uninstalled...

Zachariah
12 Aug 2006, 22:23
you can use it with photopost, otherwise it wont work.

you can buy photopost for 59 bucks

uninstalled...

Correct

Reason @ the top of the thread:

Add Gallery Images to your Forum Index v1.8

Tested on:
vBulletin 3.6
PhotoPost vBGallery v2.0

dt~
13 Aug 2006, 14:05
uninstalled.

parajsa
15 Aug 2006, 11:41
Hey there Zack is there any possibility to integrate this hack with the "Add PhotoPost vBGallery to each forum for vb3.5.4" and make them work as one?

thank u

Zachariah
15 Aug 2006, 16:06
Update: (no version change)
- Fixed last reply
- Fixed reply count
- Fixed error with php5x

re-upload:
includes/vbgallery/forumhome_complete.php

Delw
15 Aug 2006, 16:30
I installed it last night and it worked perfectly, mine was a new install since its on a test board. I added the requiered code to below like said in the instructions.

2)
=======================================================
Edit: php file|
================

**** If you have made this edit before from a different vBgallery hack you can skip this step.

- Edit:
forums/includes/init.php

- Find:
require_once(CWD . '/includes/class_core.php');

- Below Add:
require_once(CWD . '/includes/functions_gallery_store.php');


I dont have any other vbgallery hacks

MotoUp
15 Aug 2006, 17:42
Update: (no version change)
- Fixed last reply
- Fixed reply count
- Fixed error with php5x

re-upload:
includes/vbgallery/forumhome_complete.php
Thanks for the fix. It's greatly appreciated. :)

DJ XtAzY
15 Aug 2006, 19:09
finally the reply count is fixed.... wait for months lol

WEBclay
15 Aug 2006, 21:16
HMMM
MySQL Error : Unknown column 'language.phrasegroup_adv_gallery' in 'field list'
Error Number : 1054
Date : Saturday, August 12th 2006 @ 07:39:58 PM

Exactly the same error I have. Do I need something more to get this hack working?

Zachariah
15 Aug 2006, 23:57
Exactly the same error I have. Do I need something more to get this hack working?

Hello this is a ForumHome integration to PhotoPost vBGallery.
- It is not a full gallery product..

BETIServices
16 Aug 2006, 02:46
i seem to be having a problem editting the forums/includes/init.php file, once i make the edit, the forum cant connect to database and all sorts of weird problems just when i add that one line

what am i doing wrong??????? someone help me!!!!!

Same problem here:

MySQL Error : Unknown column 'language.phrasegroup_adv_gallery' in 'field list'

BETIServices
16 Aug 2006, 02:48
Hello this is a ForumHome integration to PhotoPost vBGallery.
- It is not a full gallery product..

Ooops! I guess that is why I get all those errors...

wolfyman
16 Aug 2006, 14:33
can you see individual users galleries with this?

Like, if a user uploaded a gallery of themself, how could I find it by looking at their profile?

Zachariah
16 Aug 2006, 15:00
can you see individual users galleries with this?

Like, if a user uploaded a gallery of themself, how could I find it by looking at their profile?

I created something that did that back in April.
I will look in my backup drives and post the code.

I am going to make some changes to kill the query @ a later date.

/* ----------------- 4/27/2006 4:37PM -----------------
Add vBGallery count to Profile.

This simple little hack will allow you to show the image count from Photopost vBGallery to display in each profile with a link to show all images.

* 1 Plugin
* 1 Template edit
* 1 Query (added member.php)

rinkrat
16 Aug 2006, 15:51
I am getting an error after doing the edit to init.php. Something about "Can't load cookies - headers already loaded.

wolfyman
17 Aug 2006, 01:54
I created something that did that back in April.
I will look in my backup drives and post the code.

I am going to make some changes to kill the query @ a later date.

ahhhhh, cool. Lookign forward to it.

Kaleem
17 Aug 2006, 19:17
I have Photopost pro its gonna work with that ?

If not then do u have any thing like that to work with it :)

Neal-UK
17 Aug 2006, 22:33
try www.photopost.com as it's answered on there, working on mine www.burnleyweb.com/forum/

shadowevil
18 Aug 2006, 06:09
when carry out edit file init.php , it appears like this:
Database Error Database error
The Di…n � n 7XVN database has encountered a problem.
Please try the following:
* Load the page again by clicking the Refresh button in your web browser.
* Open the 7xvn.no-ip.info home page, then try to open another page.
* Click the Back button to try another link.
The 7xvn.no-ip.info forum technical staff have been notified of the error, though you may contact them if the problem persists.
We apologise for any inconvenience.

In file Readme.txt like this:
Overview:
import Product XML
1 file edit
2 file uploads
1 image upload
Adds 1 Query to FORUMHOME

But i haven't seen this support "Adds 1 Query to FORUMHOME". HELP ME! (>_<)

yesfans
24 Aug 2006, 02:23
This is not working for me. Fresh install for 3.6, never installed prev. I kept getting errors when I first installed it, it was looking for functions_gallery_store which I had instaleld in the correct places. If I removed _store from the files uploaded and xchanged in init also, the errors went away but nothign is comign up on my site. Its all turned on and all set to YES in the admin panel.

yesfans
24 Aug 2006, 02:30
Warning: main(./includes/functions_gallery.php) [function.main]: failed to open stream: No such file or directory in /includes/vbgallery/forumhome_complete.php on line 16

Fatal error: main() [function.require]: Failed opening required './includes/functions_gallery.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/edited/public_html/includes/vbgallery/forumhome_complete.php on line 16

yesfans
24 Aug 2006, 02:33
There is not file called functions_gallery.php with this add on. What am i missing?

Zachariah
24 Aug 2006, 02:44
@ yesfans
- Do you have Photopost vBGallery install in your system?

This is a hack to integrate the gallery.
This is not a gallery.

yesfans
24 Aug 2006, 02:54
I need that to make this one work?

yesfans
24 Aug 2006, 02:56
I did not have functions_gallery in the includes...

(./includes/functions_gallery.php)
But still NOTHING!

yesfans
24 Aug 2006, 12:23
@ yesfans
- Do you have Photopost vBGallery install in your system?

This is a hack to integrate the gallery.
This is not a gallery.


Where is this Photopost program? Link?

MotoUp
24 Aug 2006, 14:37
http://www.photopost.com/

Snake
25 Aug 2006, 14:18
Thank you for the 3.6 version! :D

rinkrat
25 Aug 2006, 15:51
I get this after editing a clean init.php


Unable to add cookies, header already sent.
File: /home/www/html/bbs/includes/init.php
Line: 1

classic-guitar
25 Aug 2006, 17:30
when carry out edit file init.php , it appears like this:


In file Readme.txt like this:


But i haven't seen this support "Adds 1 Query to FORUMHOME". HELP ME! (>_<)
Yes! I too have this problem!
Help me too!

sabillondesigns
29 Aug 2006, 00:34
is there other Gallery programs besides photopost? ($129.00 is out of my budget)

Zachariah
29 Aug 2006, 01:16
is there other Gallery programs besides photopost? ($129.00 is out of my budget)

PhotoPost vBGallery (http://www.photopost.com/forum/showthread.php?t=121701) is cheaper, but less options (http://www.photopost.com/compare.html) vs. PRO.

sabillondesigns
29 Aug 2006, 17:14
ah much reasonable price, thanks very much

Necrosaro420
02 Sep 2006, 17:15
I have never used this before....But can this be set so like I click a link, and then it takes you to all of the pictures?

What I want to do is, I run a video game site. I want to have a link in the nav bar that says like "Users Collections" And on that page, I want to have all the user's listed that have a gallery, so you can click the persons name, and then it takes you to the pictures that THEY have submitted and put up.

Is this possible with this? Thanks!

B3y0nd
04 Sep 2006, 04:51
Edit: Nevermind, fixed it.

I see that I have to have purchased vBgallery first. You should make this a little clearer on your start post.

I know it says:
Tested on:
vBulletin 3.6
PhotoPost vBGallery v2.0

....but to the average noob it looks like you might mean two different apps since they are on seperate lines. It looks like this might be a plug in to add a gallery to your site if someone hasn't heard of PhotoPost vBgallery before. Maybe put both lines on the same line so us ignorant noobs,like me, don't get confused. ;)

Uninstalled

juan71287
06 Sep 2006, 03:08
Is there any way to un install the PLUGIN if ur DATABSE goess broken and does not let you go to the unintall plugin page?

Hornstar
06 Sep 2006, 05:46
If I want to show this up on a certain page how would i do this, as i want it to show up on www.gamerzneeds.net/forums/gfx.html and not on the index page. (got a few problems with database errors right now but the site should be up soon)

juan71287
06 Sep 2006, 14:13
I wish I would have been smart and made a DB backup mine went to fritz :(

Zachariah
06 Sep 2006, 18:16
All you need to do to workaround a broken plugin is to edit forums/includes/config.php and add this code immediate after the first line saying <?php

define('DISABLE_HOOKS', true);
This will disable hooks and plugins until removed, so you should be back to the default vBulletin code.

You can then Uninstall.

firas
09 Sep 2006, 06:02
great...i really liked it:)

ang2el
09 Sep 2006, 16:28
how about this feature using in CMPS index page rather than forum page?

jenni_kitten
10 Sep 2006, 13:54
All you need to do to workaround a broken plugin is to edit forums/includes/config.php and add this code immediate after the first line saying <?php

define('DISABLE_HOOKS', true);
This will disable hooks and plugins until removed, so you should be back to the default vBulletin code.

You can then Uninstall.


This didn't work for me and now I'm really desperate to get my forum back up. The instructions for this plugin are badly explained, and the plugin's achievements themselves are really badly explained. I'm really beginning to regret ever installing this. Can anyone please help, I'm desperate...


EDIT: Ok, I got help with this, and uninstalled the entire thing after my database was down for a looong time.

But if anyone's reading this and considering installing this plugin, I'd say avoid it like the plague.

Zachariah
10 Sep 2006, 15:04
This didn't work for me and now I'm really desperate to get my forum back up. The instructions for this plugin are badly explained, and the plugin's achievements themselves are really badly explained. I'm really beginning to regret ever installing this. Can anyone please help, I'm desperate...

- "Works around a broken plugin"
http://www.vbulletin.org/forum/showpost.php?p=1069374&postcount=72

This will only disable the hooks / plugin system (http://www.vbulletin.com/docs/html/plugin_system).
This will not disable direct file edits you have made.

- There is nothing wrong with the instructions. Before you download the hack to install there is a list of items needed to install.
Tested on:
vBulletin 3.6
PhotoPost vBGallery v2.0

If you do not have those installed it will not work.


remove the code added in the 1 file edit
uninstall the XML product.


If you need help PM me.

R.Solutions
11 Sep 2006, 11:51
I had a problem with it, its messed up the board, but i'll look back into it.

IAWBody
14 Sep 2006, 18:12
Every time I install this I get:

Warning: Unknown(./includes/vbgallery/forumhome_complete.php): failed to open stream: No such file or directory in /index.php(485) : eval()'d code on line 1

Fatal error: (null)(): Failed opening required './includes/vbgallery/forumhome_complete.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/4/4/9/1828/1828/public_html/forum/index.php(485) : eval()'d code on line 1

exilera
14 Sep 2006, 18:17
Looks like you didn't upload all the mod files.

R.Solutions
24 Sep 2006, 17:15
My board doesnt work properly when i have this, i click a link in the admin cp and it goes to the index.php

I get a database error when i put

require_once(CWD . '/includes/functions_gallery_store.php');

in the init.php file.

If its not there, then its fine.

Okay got it, I read the instructions, and still noothing, the same thing, messed up.

R.Solutions
25 Sep 2006, 00:14
Any word on this?

GlobalFusion
26 Sep 2006, 14:43
Ditto.
After making the edit in init.php, the forums spit chips with a DB Error:


Database error in vBulletin 3.6.1:

Invalid SQL:

SELECT
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
language.phrasegroup_cfmdirectory AS phrasegroup_cfmdirectory,
language.phrasegroup_adv_gallery AS phrasegroup_adv_gallery,
language.phrasegroup_global AS phrasegroup_global,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep

FROM dfusion_user AS user
LEFT JOIN dfusion_userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN dfusion_usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN dfusion_language AS language ON (language.languageid = IF(user.languageid = 0, 1, user.languageid))

WHERE user.userid = 1;

MySQL Error : Unknown column 'language.phrasegroup_adv_gallery' in 'field list'
Error Number : 1054
Date : Tuesday, September 26th 2006 @ 11:28:36 PM
Script : http://some.url
Referrer : http://some.url
IP Address : My.IP
Username :
Classname : vB_Database


I am running:
vBulletin 3.6.1
PHP version 5.1.4
MySQL version 4.1.21-standard
PhotoPost Version Pro v5.2.1


Oh.. and then there is this:


Warning: require_once(./includes/functions_gallery.php) [function.require-once]: failed to open stream: No such file or directory in /includes/vbgallery/forumhome_complete.php on line 16

Fatal error: require_once() [function.require]: Failed opening required './includes/functions_gallery.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dfusion/public_html/forums/includes/vbgallery/forumhome_complete.php on line 16


But im looking into that atm.
[EDIT]

forumhome_complete.php - DOES exist in the forums/includes/vbgallery/ directory
./includes/functions_gallery.php - does NOT exist (./includes/functions_gallery_store.php does however)


[EDIT]

edited forumhome_complete to reflect functions_gallery_store.php location (instead of functions_gallery.php)
Below Edit Fixed above problem :) (now to tackle the DB issue...)

//Latest Images In ForumHome BEGIN

require_once('./includes/functions_gallery_store.php');
require_once('./includes/class_bbcode.php');

GlobalFusion
26 Sep 2006, 15:03
This File is causing my headaches....

functions_gallery_store.php:

<?php

// ################### PRE-CACHE TEMPLATES AND DATA ######################

if (PHP_VERSION < '5.0.0') {

// get special phrase groups
$phrasegroups = array_merge($phrasegroups, array(
'adv_gallery'
));

// get special data templates from the datastore
$specialtemplates = array_merge($specialtemplates, array(
'gallery_c_cache',
'adv_gallery_opt',
'gallery_ugroups',
));
}else{

/*
PHP5.x - ONLY
The behavior of array_merge() was modified in PHP 5.
Unlike PHP 4, array_merge() now only accepts parameters of type array.
However, you can use typecasting to merge other types.
*/

// get special phrase groups
$phrasegroups = array_merge((array)$phrasegroups, (array)array(
'adv_gallery'
));

// get special data templates from the datastore
$specialtemplates = array_merge((array)$specialtemplates, (array)array(
'gallery_c_cache',
'adv_gallery_opt',
'gallery_ugroups',
));
}
?>


Possibly the PHP5 Inclusion?

// get special phrase groups
$phrasegroups = array_merge((array)$phrasegroups, (array)array(
'adv_gallery'
));

GlobalFusion
26 Sep 2006, 15:45
I see you reading Zac. And im eagerly awaiting your reply... as im dead in the water atm (as far as the forumhome enhancement goes anyway.. :))

[edit]
But Alas... you have vanished.. and without a response... :(

Zachariah
26 Sep 2006, 16:03
@GlobalFusion
- This is not for PhotoPost Pro gallery. It is for PhotoPost vBGallery.

Try here for some Pro hacks (http://www.photopost.com/forum/forumdisplay.php?f=152)

GlobalFusion
26 Sep 2006, 16:30
ok. cheers Zac. Will have a look.

Hornstar
27 Sep 2006, 07:04
Is there anyway to get this positioned down the left hand side of the forumhome? as I am going to have a navigation system on the left hand side, and thought this would be nice to add in extra space.

Thanks.

Zachariah
27 Sep 2006, 14:09
Is there anyway to get this positioned down the left hand side of the forumhome? as I am going to have a navigation system on the left hand side, and thought this would be nice to add in extra space.

Thanks.

Location: Custom

Select "Custom" and place $vbgallery in FORUMHOME template for custom location.

midirtrider
27 Sep 2006, 17:46
noticed something weird..

in the vb options>vbgallery... this is what it says..

Imagebit Title
Here you may select to enable items that you would like to display with thumbnails. Yes No
Error:
1

for every option.. under every heading.. the headings are all there.. but the
"Here you may select to enable items that you would like to display with thumbnails. Yes No " is displayed under them all..

Plus when I try to run it on my board I am getting a database error..


I uninstalled the xml. file and removed the require_once(CWD . '/includes/functions_gallery_store.php'); from the init.php file and now my board is back to working fine..
is there a way I can fix this error.. Im a noob and really know very little about coding.

Draygonia
29 Sep 2006, 01:04
After I add this below the init.php file I get a huge error...

require_once(CWD . '/includes/functions_gallery_store.php');

That gives a database error, its kinda bad :( Also, where are the template edits in the readme file?

G_Man
29 Sep 2006, 02:26
Hey this thing doesn't work if you upload the files to wrong directory *blush*

After fixing MYSELF, everything is working beautifully.

Thanks, Zac. Love the additions and LOVE vbaGallery. :D :D :D

Zachariah
29 Sep 2006, 02:58
Hey this thing doesn't work if you upload the files to wrong directory *blush*

After fixing MYSELF, everything is working beautifully.

Thanks, Zac. Love the additions and LOVE vbaGallery. :D :D :D

oh man, I hear ya on the wrong folders. :banana:

austrekkers
29 Sep 2006, 07:45
Hmmm... first mod I've tried since just installing VB, and I've got problems. :surprised: Didn't think I could stuff it up, looks so easy. I ran the XML file, uploaded the files and edited the init.php. Now for all pages on the forum I get a "database error" page.

When I view the source, I get:

MySQL Error : Unknown column 'phrasegroup_adv_gallery' in 'field list'
Error Number : 1054

Help???

Zachariah
29 Sep 2006, 13:48
Hmmm... first mod I've tried since just installing VB, and I've got problems. :surprised: Didn't think I could stuff it up, looks so easy. I ran the XML file, uploaded the files and edited the init.php. Now for all pages on the forum I get a "database error" page.

When I view the source, I get:

MySQL Error : Unknown column 'phrasegroup_adv_gallery' in 'field list'
Error Number : 1054

Help???

Hi,

This is an add-on to a gallery already installed.
- It's not a gallery.

Neal-UK
29 Sep 2006, 13:54
http://www.talkbritain.co.uk/external/chav_01.jpg

:confused:

austrekkers
03 Oct 2006, 00:53
Hi,

This is an add-on to a gallery already installed.
- It's not a gallery.

How embarrasing. :surprised:

Can you tell me how to undo the install? :cry:

Zachariah
03 Oct 2006, 13:10
How embarrasing. :surprised:

Can you tell me how to undo the install? :cry:

http://www.vbulletin.org/forum/showpost.php?p=1071925&postcount=76

MikaP
08 Oct 2006, 10:06
Hello,

I get every time on my vbulletin 3.6.2, a vbulletin db error.

Doglet
09 Oct 2006, 07:57
Can you do this with PhotoPost Pro as well? I have the Featured Photos hack, but it is a bit restricted.

detalhe
10 Oct 2006, 20:45
Hello,

I get every time on my vbulletin 3.6.2, a vbulletin db error.

Same here, vb 3.6.2, error disapears after reverting the init.php edit :(

dbarry
11 Oct 2006, 02:39
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

da420
11 Oct 2006, 18:45
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?

RMS-Chef
13 Oct 2006, 06:19
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).

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 (http://www.photopost.com/forum/showthread.php?t=127460) 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.

detalhe
13 Oct 2006, 19:34
Didn't find any updates of this hack there..:p

RMS-Chef
13 Oct 2006, 19:55
Didn't find any updates of this hack there..:p
Log in on your verified customer account there and you will. ;)

da420
13 Oct 2006, 20:07
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.

Zachariah
14 Oct 2006, 01:39
This will not be needed in vBGallery 2.1 +

:rambo: :ninja: :banana:

detalhe
17 Oct 2006, 13:10
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:

TRR
26 Oct 2006, 15:00
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.

Jaxx
02 Nov 2006, 01:32
Hmm. I started getting a bunch of these:

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.

Jaxx
02 Nov 2006, 02:37
As an update, users were not able to log in, I was, as well as my supermods. Everyone else couldn't.

permissiosn are set. I disabled this and they were able to log in.

Ideas?

bonjurkes
02 Nov 2006, 19:51
is there a way to make the thumbs at forumhome bigger?

ABeautifulBrown
04 Nov 2006, 15:46
I think because I am using the Blaze template, it is not showing up on my forumhome. How can I add it in there?

Zachariah
04 Nov 2006, 17:34
I think because I am using the Blaze template, it is not showing up on my forumhome. How can I add it in there?

You should be able to select "custom" in the placement of the hack.

add: $vbgallery

In the forumhome template.

ABeautifulBrown
04 Nov 2006, 23:41
hey. I put that in the template and I set the placement to custom. I still don't see it though. It's supposed to be showing above my stats mod display but nothing shows. Any ideas? TIA!
www.sofreshforums.com

Roxie
05 Nov 2006, 00:06
hey. I put that in the template and I set the placement to custom. I still don't see it though. It's supposed to be showing above my stats mod display but nothing shows. Any ideas? TIA!
www.sofreshforums.com


Hey E! I've had this working for a while, so if you need help, let me know.

sunnycher
05 Nov 2006, 07:52
I'd love to put this on my forum.
Is it stable for 3.62?
I'm reading all the database errors here, I sure don't want to go through those again.
Any ideas if it's working with no problems?

lifesourcerec
05 Nov 2006, 14:25
I'd love to put this on my forum.
Is it stable for 3.62?
I'm reading all the database errors here, I sure don't want to go through those again.
Any ideas if it's working with no problems?

Well, this almost got me kicked off of my hoster because of the ineffient coding, so I removed it.

sunnycher
05 Nov 2006, 14:27
Thank you!!
I don't think I'll be installing it, I sure hate that too.
It's a nice hack!

lifesourcerec
05 Nov 2006, 20:50
Thank you!!
I don't think I'll be installing it, I sure hate that too.
It's a nice hack!

And I quote the message I received after trying to get this installed:


There were some developments this morning with your site that were causing crashes. This was apparently due to some photo gallery hack you had installed in your vBulletin install. I've needed to disable this, as it's both highly inefficient code and was resulting in degraded service for everyone. We've also determined your account to be using an excessive amount of CPU time and memory on the server. Your site is currently responsible for 10-20% of the CPU time and up to 33% of the memory usage on the system over the past few weeks.


Remove it and no longer having problems.

Zachariah
05 Nov 2006, 22:37
And I quote the message I received after trying to get this installed:



Remove it and no longer having problems.
how many images are in your database ?
- 15-20,000 ?

I do not have a problem
ForumHome
- Page generated in 0.28608 seconds with 16 queries || Load .02 - 1.12 max
- Categories: 60, Images: 1,346

VBUsers
05 Nov 2006, 22:53
i have this error when i follow your install text file

Warning: main(./includes/functions_gallery.php) [function.main (http://www.talkgfx.com/function.main)]: failed to open stream: No such file or directory in /includes/vbgallery/forumhome_complete.php on line 16

Fatal error: main() [function.require (http://www.talkgfx.com/function.require)]: Failed opening required './includes/functions_gallery.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/steve/public_html/talkgfx/includes/vbgallery/forumhome_complete.php on line 16

VBUsers
05 Nov 2006, 23:03
im also getting this


Database error in vBulletin 3.6.2:

Invalid SQL:

SELECT
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
language.phrasegroup_holiday AS phrasegroup_holiday,
language.phrasegroup_adv_gallery AS phrasegroup_adv_gallery,
language.phrasegroup_global AS phrasegroup_global,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep

FROM steve_user AS user
LEFT JOIN steve_userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN steve_usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN steve_language AS language ON (language.languageid = IF(user.languageid = 0, 1, user.languageid))

WHERE user.userid = 1;

MySQL Error : Unknown column 'language.phrasegroup_adv_gallery' in 'field list'
Error Number : 1054
Date : Sunday, November 5th 2006 @ 04:58:45 PM
Script : http://www.talkgfx.com/
Referrer : http://www.talkgfx.com/
IP Address : 000000000000
Username :
Classname : vb_database

Necrosaro420
05 Nov 2006, 23:31
Will this allow users to have their own section to post images?

Zachariah
05 Nov 2006, 23:49
AR Forums, Necrosaro420

- This is a add-on to show images from PhotoPost vBgallery. It is not a gallery.

ThunderBeast
18 Nov 2006, 18:08
with vbadvanced (portal).... can i have problem?

amaarvell
18 Nov 2006, 19:41
when i run this i get database errors and my forum falls apart
the init.php file i think causes it
my forum is installed in a folder ie www.amarvell.com/vb/
and i have had vb for 3 days now so not 100% on it
any ideas


Cheers

Carl

Zachariah
18 Nov 2006, 19:58
when i run this i get database errors and my forum falls apart
the init.php file i think causes it
my forum is installed in a folder ie www.amarvell.com/vb/
and i have had vb for 3 days now so not 100% on it
any ideas


Cheers

Carl

- This is a add-on to show images from PhotoPost vBgallery (http://www.photopost.com/compare.html). It is not a gallery.

lifesourcerec
19 Nov 2006, 02:59
how many images are in your database ?
- 15-20,000 ?

I do not have a problem
ForumHome
- Page generated in 0.28608 seconds with 16 queries || Load .02 - 1.12 max
- Categories: 60, Images: 1,346

0. I didn't even get it installed good.

dcasux
19 Nov 2006, 03:35
I installed your mod on vBgallery 2.1 and it came up with a database error.

Will you be updating your great plug-in to be compatable with gallery 2.1?

sunnycher
19 Nov 2006, 04:13
not sure what I did but this totally screwed me up LOL

ThunderBeast
19 Nov 2006, 12:29
- This is a add-on to show images from PhotoPost vBgallery (http://www.photopost.com/compare.html). It is not a gallery.


this mod....... is it not a gallery?????

Zachariah
19 Nov 2006, 15:32
I installed your mod on vBgallery 2.1 and it came up with a database error.

Will you be updating your great plug-in to be compatable with gallery 2.1?

vBGallery 2.1 does not need this hack. It's built in.
AdminCP => vBGallery => Modify Add-Ons

MillerLight
19 Nov 2006, 18:12
Zachariah,

I need to give you access to my server / forum so you can debug why this isnt working, thats if you can?

PM me if you can help?

John1uk
19 Nov 2006, 23:57
hi...i have installed this hack, but seem to get this message:

Warning: main(./includes/functions_gallery.php) [function.main]: failed to open stream: No such file or directory in /includes/vbgallery/forumhome_complete.php on line 16

Fatal error: main() [function.require]: Failed opening required './includes/functions_gallery.php' (include_path='.:/usr/local/lib/php') in /homepages/16/d67804049/htdocs/mm/forum/includes/vbgallery/forumhome_complete.php on line 16

would be very gratefull for any advice.

imported_infitech
20 Nov 2006, 04:54
will this work with the most recent versions of VBulletin and Photopost?

Zachariah
20 Nov 2006, 14:26
will this work with the most recent versions of VBulletin and Photopost?

No.

This works on Photopost vBGallery ver. 2.0 beta - 2.0 gold.

2.1 has it built in now.

DeeNice
24 Nov 2006, 08:50
Hey,

I.ve bought version 2.1 but i have one small question.
I use the Tangerine style and i want to display 4 pictures in one colum.
In the left header colum of this style under the advertising bar see attachment. when i use the $vbgallery it does not display what am i doing wrong?

I've added two attachments for a better understanding cause my english is not so good.

Zachariah
24 Nov 2006, 13:23
Hey,

I.ve bought version 2.1 but i have one small question.
I use the Tangerine style and i want to display 4 pictures in one colum.
In the left header colum of this style under the advertising bar see attachment. when i use the $vbgallery it does not display what am i doing wrong?

I've added two attachments for a better understanding cause my english is not so good.

You should have no need of this hack in 2.1 vBGallery.
- I have ran across this problem before.

The person had Left side column on forum home only (http://www.vbulletin.org/forum/showthread.php?t=117988) installed and the gallery images would not show up on their side block.

What I did to make it work:

1) your side bar is attached to phase_template this hook runs before forumhome_complete.

What I had to do to get it working is move plugin "PhotoPost vBGallery Forumhome" from hook location forumhome_complete to global_start.

2) I edited "PhotoPost vBGallery Forumhome"

Replaced:
require(DIR . '/includes/vbgallery/forumhome_complete.php');

With:

if (THIS_SCRIPT == 'index'){
require(DIR . '/includes/vbgallery/forumhome_complete.php');
}


3) place $vbgallery in the side block template.

DeeNice
26 Nov 2006, 18:19
1) your side bar is attached to phase_template

I dont know what you mean with the phase_template!
The leftcolum is a part of the Tangrine style and i kan only edit it in the header template. So i thought i could paste $vbgallery in there.

2) I did make the changes in "PhotoPost vBGallery Forumhome"


3) No luck cause it does not work.:(

What more or different most i do?

Greetings
DeeNice

da420
26 Nov 2006, 21:28
Uninstalled thanks to the sweetness of vBGallery 2.1 :)

DeeNice
26 Nov 2006, 22:12
What did you uninstalled the style?

da420
26 Nov 2006, 22:44
I uninstalled because with vBGallery 2.1 you don't need this hack. Comes built in, along with pictures in member profiles as well.

DeeNice
27 Nov 2006, 17:10
I know that vbgallery 2.1 has all this features. i just want to display the random fotogallery in my left coloum.

Zachariah
27 Nov 2006, 19:44
I know that vbgallery 2.1 has all this features. i just want to display the random fotogallery in my left coloum.

Set to "custom" on the location and place $vbgallery where you want them to appear.

DeeNice
27 Nov 2006, 21:57
Still not working. i will pm you my header template.

sunnycher
29 Nov 2006, 18:37
Parse error: syntax error, unexpected T_IF in /home/lgpphoto/public_html/forum/includes/init.php on line 1

I've done everything the directs say, I get this error?

DeeNice
01 Dec 2006, 09:02
$vbgallery it works!! in my side colum.

rinkrat
31 Jan 2007, 06:09
Database error in vBulletin 3.6.4:

Invalid SQL:

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

WHERE valid = 1


ORDER BY RAND()
LIMIT 4;

MySQL Error : Table 'booyah.adv_gallery_images' doesn't exist
Error Number : 1146
Date : Tuesday, January 30th 2007 @ 10:06:34 PM
Script : http://www.letsgokings.com/bbs/
Referrer :
Username : rinkrat
Classname : vb_databaseDatabase error in vBulletin 3.6.4:

Invalid SQL:

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

WHERE valid = 1


ORDER BY RAND()
LIMIT 4;

MySQL Error : Table 'booyah.adv_gallery_images' doesn't exist
Error Number : 1146
Date : Tuesday, January 30th 2007 @ 10:06:34 PM
Script : http://www.letsgokings.com/bbs/
Referrer :
Username : rinkrat
Classname : vb_database

rinkrat
31 Jan 2007, 06:09
Any idea how to fix that? ^^

Zachariah
31 Jan 2007, 15:37
rinkrat , what version of the vBGallery do you have installed ?

rinkrat
03 Feb 2007, 03:27
"Powered by PhotoPost vBGallery v2.0"

HMBeaty
03 Feb 2007, 03:38
I THINK, not sure though, the tables are now "ppgal_" for 2.0. I'm running 2.1 now though. So you may have to change the table prefix in the product

da420
03 Feb 2007, 04:14
This is a feature BUILT IN to v2.1 of vBGallery... so this hack is not necissary, as it's just a matter of activating an option within your vBGallery options in your admin panel on a default install of vBGallery 2.1.

zahrani
03 Feb 2007, 21:52
Thanks for hack,
I installed it and got this error:

Warning: main() [function.main]: Unable to access ./includes/functions_gallery.php in /includes/vbgallery/forumhome_complete.php on line 16

Warning: main(./includes/functions_gallery.php) [function.main]: failed to open stream: No such file or directory in /includes/vbgallery/forumhome_complete.php on line 16

Fatal error: main() [function.require]: Failed opening required './includes/functions_gallery.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user/public_html/vb/includes/vbgallery/forumhome_complete.php on line 16

and what is the defferent between it and Module CMPS: PhotoPost vBGallery?

Thanks

hantousha
04 Feb 2007, 09:08
I did everything fine, but when I edit the init.php file, I get a database error when browsing the main forum? Any idea what I am doing wrong?

waller99
05 Feb 2007, 03:03
I did everything fine, but when I edit the init.php file, I get a database error when browsing the main forum? Any idea what I am doing wrong?

I get the same problem. When I edit the init file I also get a database error..

rinkrat
05 Feb 2007, 04:55
I installed 2.1 and whenever I do the init.php edit then it starts kicking out errors about cookie already there or something.

giotmuadong
05 Feb 2007, 10:11
when i finished importing the product, i go to the main index
i got this:

"Warning: main(./includes/functions_gallery.php): failed to open stream: No such file or directory in \includes\vbgallery\forumhome_complete.php on line 16

Fatal error: main(): Failed opening required './includes/functions_gallery.php' (include_path='.;./includes;./pear') in c:\Inetpub\vhosts\babienhu.com\httpdocs\includes\vbgallery\forumhome_complete.ph p on line 16"

please help
thanks

zahrani
06 Feb 2007, 03:46
Hello..
Is there a solution for my problem?

Zachariah
06 Feb 2007, 03:50
Hello,

This is a add-on to a photo gallery "PhotoPost vBGallery" this is not a gallery.
- Do you have vBGallery installed ?

when i finished importing the product, i go to the main index
i got this:

"Warning: main(./includes/functions_gallery.php): failed to open stream: No such file or directory in \includes\vbgallery\forumhome_complete.php on line 16

Fatal error: main(): Failed opening required './includes/functions_gallery.php' (include_path='.;./includes;./pear') in c:\Inetpub\vhosts\babienhu.com\httpdocs\includes\vbgallery\forumhome_complete.ph p on line 16"

please help
thanks

giotmuadong
06 Feb 2007, 04:02
Hello,

This is a add-on to a photo gallery "PhotoPost vBGallery" this is not a gallery.
- Do you have vBGallery installed ?

no i didn't have it, i didn't know that this is an add on
can you give the link to the PhotoPost vBGallery
thanks in advance

ryans
18 Mar 2007, 12:40
I installed the product, did the file edits and it's not showing up. I'm using a custom template system so I'll have to edit a template and add the code.

I added $vbgallery to forumhome and it shows nothing.

So what template do I edit and what code do I add?

vbgallery 2.0 on vb3.6.0

Sinistra
18 Mar 2007, 12:47
good luck on getting support. I have been trying for 3 days to get him to answer why the module for the CMPS isn't working for me

ryans
18 Mar 2007, 12:50
I installed the product, did the file edits and it's not showing up. I'm using a custom template system so I'll have to edit a template and add the code.

I added $vbgallery to forumhome and it shows nothing.

So what template do I edit and what code do I add?

vbgallery 2.0 on vb3.6.0

figured it out, i had to go into vbulletin options, vgallery home and set it to custom. I was wondering wtf custom was. works now :)

khaales
16 Sep 2007, 01:32
hello ...
I am very confused now..
about 2 hours I was tried to solve this problem: from wher I must start? from what MOD.
I have VB 3.6.8 and I want to install e gallery like this MOD attachment pictures, but I cant find the firs thing I must do.
I try to install some of these mods but they has several errors.
I dont now what is CMPS.
see these MODs. they are very complicated. what are these?

[vB 3.6] vBGallery - Forum Home
[vB 3.6.8] Module CMPS3 vBGallery
vBGallery_cmps_35x
Module CMPS Add vBGallery Comments
highslide_vb
Photopost gallery highslide vB thumbnail integration.
VBgallery


some one tell me a simple answer and explain for me please...

mbkerk
21 Sep 2007, 07:07
I tried to install this and my forum is gone! It says "done" on the bottom of my browser, but all I have is a white page.

I uploaded the ".xml file" and that went as predicted. I edited the php file, and that is where all hell broke loose.

I used notepad to add the line that was mentioned to "add below" and saved the file. I uploaded it to the server, and that is when the forum disappeared.

I then went back and took that line back out, saved the init file again, and uploaded it to the server again. No luck. I cannot see the home page, or the admin screen to work on it!

Help please!

EDIT !!!

It was never really gone. I followed a link from an e-mail notification I got for a private message earlier today, and got to that page OK. When I tried to look at the home page, I got a blank white page again. I backed into the admin page from the private message page, and uninstalled the modification from the plug in area (xml file) and now things are normal again... whew! Scared the hell out of me!

Anyway, I love this mod, and would like to use it. Can someone tell me where I made a mistake and try to convince me to try the install again? Do I have to pay for the product before it is installed?

Thanks!

applyimage
30 Sep 2007, 01:04
Is there a way to approve deny images from thr admin cp? for example a member could upload offensive/sexual images and they would appear on my forum home rofl. Thanks for help, looks real good.

MotoUp
24 Oct 2007, 14:54
Hmmm, Winzip is saying this download is not a valid archive....is it just me having problems with it?

MotoUp
24 Oct 2007, 17:34
Any idea why only admins and mods can see it on forum home? I can't find permissions for it anywhere.

EDIT: I got it installed, but as soon as I overwrite the forumhome_complete.php file, the forum home says that the gallery is turned off. I checked, and it is active. If I leave the forumhome_complete.php from the gallery, the images show up, but only admins and moderators can see the images on the forum home. Any ideas?

Zachariah
25 Oct 2007, 01:25
Hey MotoUp,
What gallery version are you running ?

MotoUp
25 Oct 2007, 04:58
vBGallery 2.3. You helped me get it up and running awhile back after the upgrade went AWOL.

Zachariah
25 Oct 2007, 14:20
vBGallery 2.3. You helped me get it up and running awhile back after the upgrade went AWOL.

ya, all the days seem to bur together :rolleyes:
- You do not need this add-on as of 2.1+

AdminCP => vBgallery => Modify Add-Ons
- forumhome
- profile

MotoUp
25 Oct 2007, 14:45
Yeah, I agree, the days do run together! LOL

Ah, Okay, I thought this addon added that. Modify Add-Ons. It does work if someone is an admin or Moderator, but none of the regular registered users can see it. Any clue? Guessing it's permissions, but I can't figure out where to change it.

MotoUp
25 Oct 2007, 16:19
UPDATE: When I uninstalled the plugin, the images on the forum home went away, but it is enabled in the modify add-ons section...I'm cornfused. :confused:

If I reupload the forumhome_complete from the gallery directory instead of the file from the plugin, then I get an error.

GoTTi
26 Oct 2007, 05:13
i am getting a error with this:

Warning: unserialize() expects parameter 1 to be string, array given in /includes/vbgallery/forumhome_complete.php on line 19

GoTTi
26 Oct 2007, 05:19
nevermind

OmniBuzz
30 Oct 2007, 18:13
Screwed my board.
define('DISABLE_HOOKS', true); saved my board.
First time something like this happen to me with a mod. If you don't know what you are doing, stay away from this mod.

mighty mouse
12 Nov 2007, 15:06
I followed the directions exactly.

Once I add the line

require_once(CWD . '/includes/functions_gallery_store.php');

in the init.php I get a database error and all stops.

I then go back in the init.php and rem the line and I get this.

Warning: main(./includes/functions_gallery.php) [function.main]: failed to open stream: No such file or directory in /includes/vbgallery/forumhome_complete.php on line 16

Fatal error: main() [function.require]: Failed opening required './includes/functions_gallery.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mightys/public_html/forum/includes/vbgallery/forumhome_complete.php on line 16


I take everything out and all goes back to normal. What am I doing wrong or why won't it work?

mighty mouse
12 Nov 2007, 15:13
Nevermind. I am retarded. I thought this was a gallery. I don't have a gallery installed. Kind of hard to use a hack that adds gallery images to your home page when you don't even have a gallery.

/retarded

bandare
15 Nov 2007, 17:02
I'm lost. So we have to buy photopost or is there a specific mod called PhotoPost vBGallery v2.1??????

Maybe I am in the wrong thread....

semauae
22 Nov 2007, 10:31
thnx

I got this error


Warning: Unknown(): Unable to access ./includes/vbgallery/forumhome_complete.php in /index.php(537) : eval()'d code on line 150

Warning: Unknown(./includes/vbgallery/forumhome_complete.php): failed to open stream: No such file or directory in /index.php(537) : eval()'d code on line 150

Warning: Unknown(): Unable to access ./includes/vbgallery/forumhome_complete.php in /index.php(537) : eval()'d code on line 150

Warning: Unknown(./includes/vbgallery/forumhome_complete.php): failed to open stream: No such file or directory in /index.php(537) : eval()'d code on line 150

Fatal error: (null)() [function.require]: Failed opening required './includes/vbgallery/forumhome_complete.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/semauae/public_html/vb/index.php(537) : eval()'d code on line 150

aim4fun
27 Nov 2007, 17:18
data error
Table 'XXXXXXXXXXX.adv_gallery_images' doesn't exist

vBGallery v2.1
(vBulletin 3.6.8 Patch Level 2)

i can`t place the gallery in forum home
at least give me the code to add it in forum home
thanx bye

SSG.D
28 Nov 2007, 05:24
thnx

I got this error


Warning: Unknown(): Unable to access ./includes/vbgallery/forumhome_complete.php in /index.php(537) : eval()'d code on line 150

Warning: Unknown(./includes/vbgallery/forumhome_complete.php): failed to open stream: No such file or directory in /index.php(537) : eval()'d code on line 150

Warning: Unknown(): Unable to access ./includes/vbgallery/forumhome_complete.php in /index.php(537) : eval()'d code on line 150

Warning: Unknown(./includes/vbgallery/forumhome_complete.php): failed to open stream: No such file or directory in /index.php(537) : eval()'d code on line 150

Fatal error: (null)() [function.require]: Failed opening required './includes/vbgallery/forumhome_complete.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/semauae/public_html/vb/index.php(537) : eval()'d code on line 150

Shame on me for not seeing this was a upgrade/update( Sorry I did not see it): I'm now locked out of my forum and ACP. This is a first for me from any hack of VB and now 75 folks are wondering what I did wrong. After I uploaded the XML file as others have said > fatality sunk in.
Can somebody please tell me how to remove the Product .XML file of this hack from my Cpanel? So that I can start over? Just a note: Would be great to see a warning in bold to prevent this happening to others.

Thanks to anyone willing to help.

Zachariah
28 Nov 2007, 13:17
Shame on me for not seeing this was a upgrade/update( Sorry I did not see it): I'm now locked out of my forum and ACP. This is a first for me from any hack of VB and now 75 folks are wondering what I did wrong. After I uploaded the XML file as others have said > fatality sunk in.
Can somebody please tell me how to remove the Product .XML file of this hack from my Cpanel? So that I can start over? Just a note: Would be great to see a warning in bold to prevent this happening to others.

Thanks to anyone willing to help.

There is a global, code-level switch you can use to totally disable the plugin/hook system so that any plugins (including broken ones) do not run.

To disable the plugin/hook system completely without accessing the Admin CP options, you need to edit includes/config.php and add the following code:
define('DISABLE_HOOKS', true);
With this code in config.php, no plugins will run at all.

To re-enable the plugin system, remove the code again from config.php.

SSG.D
30 Nov 2007, 20:47
Thanks Zachariah! I got in, and purchased the latest PhotoPost the other day for VB, I uninstalled this hack for the time being and took out the one template mod and installed the photopost , everything seemed to be fine except... nothing shows in my vb options and nothing shows in my forums, so I removed the install file from the admincp folder and tried uploading it via add new add/import product. But still nothing Note: I do have vbgallery showing in the left side panel and I made sure to make it active and set the admin permissions and url/ file paths. Any idea's?

p.s I made sure to undo (define('DISABLE_HOOKS', true); Before the install
I sent a pm to you at photopost.com as well.

Thanks again:D

Slingblade61
20 Jan 2008, 19:02
This doesn't work on 3.7
Any chance of an upgrade?

Subah
20 Jan 2008, 22:32
This doesn't work on 3.7
Any chance of an upgrade?

You need the new vBGallery 2.4.2 for the 3.7

we_scooter
28 Jan 2008, 00:27
s this hack neeeds Photopost script installed?


??

blue6995
09 Mar 2008, 17:48
Is this going to be updated so it works with Vb 3.7? If it isn't, any idea how I can display the photos from vBGallery on the front page?

Zachariah
10 Mar 2008, 21:28
Is this going to be updated so it works Vb 3.7? If it isn't, any idea how I can display the photos from vBGallery on the front page?

There is no need of tis hack if your are playing with VBGallery 2.0+ it is built in.

blue6995
10 Mar 2008, 23:30
There is no need of tis hack if your are playing with VBGallery 2.0+ it is built in.

Thank you for your reply. I am using PhotoPost vBGallery 2.0 and I see what was wrong. I needed to edit the init.php file as shown in the readme file.

Where can I buy an updated version of vBGallery?