PDA

View Full Version : Add-On Releases - Module CMPS: PhotoPost vBGallery


Pages : [1] 2

Zachariah
09-14-2006, 10:00 PM
/* ----------------- 8/28/2007 6:41pm -----------------

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

Looking @ changes in the gallery. This hack will work with vbgallery 2.2, 2.3 out of the box.
- you can get a patch if you have 2.0, 2.1 - here (http://www.photopost.com/forum/showthread.php?t=131052).

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

1 query added to CMPS

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

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

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


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


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


2.2
- reworked to work on CMPS 3.0

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


2.0
- adv_gallery_images -> ppgal_images

1.9
- Added vb3.6

1.8
- Added functions_gallery_store.php
- Added column span support

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

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

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


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

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

1.3
- Display images from specific categories.

1.2
- added Phrase support

Zachariah
09-15-2006, 12:26 PM
Looking @ changes in the gallery. This hack will work with vbgallery 2.2, 2.3 out of the box.
- you can get a patch if you have 2.0, 2.1 - here (http://www.photopost.com/forum/showthread.php?t=131052).


*** How to Install:
======================

In your Admin Control Panel

1)
AdminCP => Plugins & Products => [Add/Import Product]
- Import Product:
- Browse "product-sz1_gallery_cmps.xml"
- [Import]

2)
Admincp => vBa CMPS => Download / Upload Module
Click [Browse]
Browse for the file "imagegallery.module"

3)
Settings can be set per page.
Admincp => vBa CMPS => edit/add Page
- Image Gallery

Betablocker
09-15-2006, 12:37 PM
Install clicked :cool:

maroceve
09-15-2006, 12:40 PM
hi ..i have this problem since i updated to 3.6 :[

Fatal error: Cannot redeclare empty_category() (previously declared in /home/maroceve/public_html/forums/includes/functions_gallery.php:2069) in /home/maroceve/public_html/forums/includes/local_links_include.php on line 2935

So i disabled the module.

Can you please help ?

Snake
09-15-2006, 12:41 PM
Awesome! It's finally here for 3.6.1. Thank you! :D

FleaBag
09-15-2006, 01:25 PM
About time punk! :P

SgtTechHead
09-15-2006, 01:39 PM
Thank You! *installed*

MotoUp
09-15-2006, 02:34 PM
What I want to do is only show "Posted by User" underneath the images in the module. What template do I edit to take the border off of the table that it includes when you turn on the user bit?

Installed! Thank you.

SgtTechHead
09-15-2006, 03:18 PM
I have installed and everything, with the exception of two items, seems to be working great.

When I choose to show "Last Post", or "Posts", in the options, it will not reflect any data. Even if a picture does have replies, the "Posts" always shows as zero, and the "Last Post" always appears blank.

Zachariah
09-15-2006, 03:52 PM
I have installed and everything, with the exception of two items, seems to be working great.

When I choose to show "Last Post", or "Posts", in the options, it will not reflect any data. Even if a picture does have replies, the "Posts" always shows as zero, and the "Last Post" always appears blank.

I'll take a look.

MotoUp
09-15-2006, 07:15 PM
What I want to do is only show "Posted by User" underneath the images in the module. What template do I edit to take the border off of the table that it includes when you turn on the user bit?
I've looked everywhere for this template and just can't find it. Any suggestions?

Zachariah
09-15-2006, 07:26 PM
It's not a template fix it is code.
- I'll have an update soon.

MotoUp
09-15-2006, 07:38 PM
Ah! Thanks Zach, appreciate it. Not a huge deal, I just got a wild hair is all. :)

SMO
09-15-2006, 10:16 PM
thx brotha...was looking forward to this

bolly.beats
09-16-2006, 12:08 AM
hiii thank you for this and someone help me in installin this please.. i downloaded zipp. When I do this changes in init.php file:

- Edit:
forums/includes/init.php

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

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

I get an error, but when i remove this :
- Below Add:
require_once(CWD . '/includes/functions_gallery_store.php');

when i remove code it starts working. Someone help me please.

MustangLisa
09-16-2006, 02:58 AM
I know it doesn't mention Photopost Pro, but will it work for that, or is there one for that? Thanks!

Zachariah
09-16-2006, 09:11 AM
I know it doesn't mention Photopost Pro, but will it work for that, or is there one for that? Thanks!

No Ma'am, this will not work with Pro.
- I have an old beta hack using Pro based on inc_feature.php. (used to output images to other places) I will dig that out of the archive and re-work it a bit.

bolly.beats
09-16-2006, 10:40 AM
somebody help me too plz :(

Zachariah
09-16-2006, 10:48 AM
somebody help me too plz :(

- 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.6.1
PhotoPost vBGallery v2.0 (vB 3.6)
vBadvanced CMPS v2.2.1 (vB 3.6)

Zachariah
09-16-2006, 11:28 AM
Ah! Thanks Zach, appreciate it. Not a huge deal, I just got a wild hair is all. :)

I try to pluck those by the handfull :knockedout:

Fixed :D

No version change

- Fixed reply count
- Fixed last comment

Replace:
forums/modules/vbgallery_block.php

SgtTechHead
09-16-2006, 02:31 PM
No version change

- Fixed reply count
- Fixed last comment

Replace:
forums/modules/vbgallery_block.php

Thank you sir! Appreciate it!

Metal-R-US
09-16-2006, 02:53 PM
Been getting following error since updating the module. Any idea why? I uploaded the file and re-imported the plugin. It doesn't happen all the time though.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.dateline ,filesize, originalfilesize ,width, height, originalwidth, originalheight, images.views, images.posts, images.lastpostdateline, images.lastpostuserid, images.lastpostusername, votenum, votetotal, categories.title AS cattitle
FROM vb_adv_gallery_images AS images
LEFT JOIN vb_adv_gallery_categories AS categories USING (catid)
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()

Error Number : 1064

SMO
09-16-2006, 04:18 PM
ya, i got that too just now. Was wondering bc it was working fine before

Metal-R-US
09-16-2006, 04:54 PM
I reverted to the 3.5.x code for now and I didn't get any database error notifications since....

Zachariah
09-16-2006, 06:22 PM
I need to relook @ privatecatids

WHERE $privatecatids valid = 1 $ignquery

For now remove bold.
- I did not test that part of the add-on in detail.
- I never hide things from users, Ill rework that a bit.

it almost works (http://www.gzhq.net/index.php?page=hacks) :D

gator777
09-16-2006, 07:16 PM
I was running the 3.5 version of your hack, and all was fine. When I installed the latest version, I got SQL errors. I installed and reinstalled, but it will not work without db errors. I am a big fan of this hack and your help would be appreciated.

lasto
09-16-2006, 07:51 PM
i have photopost installed

is vbgallery different ??

G_Man
09-16-2006, 08:26 PM
i have photopost installed

is vbgallery different ??


Yes. vbgallery is an older version that used to be owned by the peeps over at vba cmps. Used to be vbagallery. Photopost owns it now and they (mostly Zach here) supports vbgallery on the Photopost forums.

Pretty sure this is NOT compatible with Photopost Gallery.

*and nice Avatar Btw! :p *

bolly.beats
09-16-2006, 09:15 PM
- This is not a gallery, but a way to display the images from the gallery to your forums.

Do you have vBGallery installed ?




no I haven't please tell me how..??? it's all new to me :(

G_Man
09-16-2006, 09:44 PM
no I haven't please tell me how..??? it's all new to me :(

Click on his PhotoPost link in his Sig. That will take you to the Photopost site which in turn will let you compare both PhotoPost Gallery and PhotoPost vbGallery.

bolly.beats
09-17-2006, 04:34 AM
I have it installed now thank you so much for help :D

now is there anyway i can put it on homepage like here
http://forums.bollyjaan.com under Navbar or something?

the main page it http://forums.bollyjaan.com/gallery haven't put any image yet though.. will work on it tomorrow its night Sleepin time :p lol :D

thanxx again :D for this Great Hack :D

Zachariah
09-17-2006, 05:51 AM
I have it installed now thank you so much for help :D

now is there anyway i can put it on homepage like here
http://forums.bollyjaan.com under Navbar or something?

the main page it http://forums.bollyjaan.com/gallery haven't put any image yet though.. will work on it tomorrow its night Sleepin time :p lol :D

thanxx again :D for this Great Hack :D

Forumhome :)
https://vborg.vbsupport.ru/showthread.php?t=123490

bolly.beats
09-17-2006, 08:53 AM
thank you so much but now I get this error when I reply to any pic... only with the pic that has replies.. not in all posts. how do i fix it?
I also can't find this FROM adv_gallery_posts AS posts << template when i click on VBgallery edit template. May be that's the problem? I am not sure just saying.


Database error in vBulletin 3.6.1:

Invalid SQL:

SELECT posts.postid, posts.pagetext, posts.title, posts.userid, posts.username AS postusername, posts.dateline, posts.ipaddress AS ip, posts.iconid, posts.allowsmilie, posts.showsignature, user.*, userfield.* ,icon.title as icontitle, icon.iconpath ,avatar.avatarpath, NOT ISNULL(customavatar.filedata) AS hascustom, customavatar.dateline AS avatardateline, avatarrevision , level
FROM adv_gallery_posts AS posts
LEFT JOIN user AS user ON (posts.userid = user.userid)
LEFT JOIN userfield AS userfield ON (posts.userid = userfield.userid)
LEFT JOIN avatar AS avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN customavatar AS customavatar ON (customavatar.userid = user.userid)
LEFT JOIN icon AS icon ON (posts.iconid = icon.iconid)
LEFT JOIN reputationlevel AS reputationlevel ON (user.reputationlevelid = reputationlevel.reputationlevelid)

WHERE imageid = '4' AND posts.visible = 1
ORDER BY posts.dateline
LIMIT 0, 10;

MySQL Error : Unknown column 'level' in 'field list'
Error Number : 1054
Date : Sunday, September 17th 2006 @ 12:33:42 PM
Script : http://forums.bollyjaan.com/gallery/***...
Referrer : http://forums.bollyjaan.com/gallery/***...
IP Address : ******
Username : kk
Classname :***

KevNJ
09-17-2006, 08:01 PM
*clicks install*

finally upgraded to the newest version. lol

MotoUp
09-18-2006, 05:54 PM
When I replaced vbgallery_block.php, my portal wouldn't load. It gave a database error, but didn't give any information as to what happened. I put the old file back, and everything loads just fine...any ideas?

Slave
09-19-2006, 03:17 PM
When I replaced vbgallery_block.php, my portal wouldn't load. It gave a database error, but didn't give any information as to what happened. I put the old file back, and everything loads just fine...any ideas?
I've got something like this, although I've not tried yet using my old php file.

Everything is fine if I'm logged in, but if I log out then all I get when I go to cmps_index.php is a database error with no information. I also get this behaviour if I try to look at the page logged in as my non administrator user account

Deffo the gallery module causing the problem as when I disable it my cmps page is fine. A permissions problem?

Zachariah
09-19-2006, 06:26 PM
I've got something like this, although I've not tried yet using my old php file.

Everything is fine if I'm logged in, but if I log out then all I get when I go to cmps_index.php is a database error with no information. I also get this behaviour if I try to look at the page logged in as my non administrator user account

Deffo the gallery module causing the problem as when I disable it my cmps page is fine. A permissions problem?

Perhaps
- I'll take a poke @ it.

joerns
09-29-2006, 09:27 PM
Have created the module as per instructions, activated it and added it to the home page but nothing shows up - blank. Went into the CP and set the options to one column and one picture. The module is set to display in the right column. Wrecked my brain, but couldn't figure out what the problem may/could be. Any ideas? I'm running vBulletin 3.6.1, PhotoPost vBGallery v2.0 (vB 3.6) and vBadvanced CMPS v2.2.0 (vB 3.6.) I see you tested it on vBadvanced CMPS v2.2.1 (vB 3.6) but that does not seem to be availalbe for download on vbadvanced,.com yet?

bokas
09-29-2006, 10:36 PM
Hi. I get an error when i do this. Although I do have photopost gallery pro. Is there a module for pro? I read that you were going to see if you have one as someone else has asked. Thanks for any help. This is what i get below

- Edit:
forums/includes/init.php

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

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

hannie
10-03-2006, 11:27 AM
i'm getting




MySQL Error : Table 'hannie_vbulletinold.adv_gallery_images' doesn't exist
Error Number : 1146


can i just add this table in - if so whats the query??

hannie
10-06-2006, 06:36 AM
anyone?

Zachariah
10-06-2006, 11:34 AM
i'm getting

can i just add this table in - if so whats the query??

Do you have vBGallery installed ?

hannie
10-06-2006, 04:06 PM
yes PhotoPost vBGallery v2.0 is all working fine

hannie
10-07-2006, 10:30 AM
ok have narrowed it down to when i do this part...

- Edit:
forums/includes/init.php

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

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

thats when i get the database error come up. -- any ideas why?

dbabaev
10-12-2006, 12:50 AM
i also get 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 ,width, height, originalwidth, originalheight, images.views, images.posts, votenum, votetotal
FROM vb_adv_gallery_images AS images

WHERE valid = 1


ORDER BY RAND()
LIMIT 4;

MySQL Error : Table 'mbacale_msmba.vb_adv_gallery_images' doesn't exist

maroceve
10-12-2006, 09:29 AM
hi ..i have this problem since i updated to 3.6 :[


Fatal error: Cannot redeclare empty_category() (previously declared in /home/maroceve/public_html/forums/includes/functions_gallery.php:2069) in /home/maroceve/public_html/forums/includes/local_links_include.php on line 2935

So i disabled the module.

Can you please help ?


Thanks for letting me know ...Apparently this happens when i have both Links and download manager block and the gallery cmps block enabled....

smoknz28
10-14-2006, 10:47 PM
I own Photopost v5.2, but I've not heard of vB Gallery til now. I've gone to Photopost's website and am not finding anything on it....then again I do have terrible eyesight....

Thanks,
Mark

hannie
10-20-2006, 07:12 PM
I own Photopost v5.2, but I've not heard of vB Gallery til now. I've gone to Photopost's website and am not finding anything on it....then again I do have terrible eyesight....

Thanks,
Mark

http://www.photopost.com/compare.html

johnstires
10-22-2006, 01:47 AM
MySQL Error : Table 'hannie_vbulletinold.adv_gallery_images' doesn't exist
Error Number : 1146

I'm getting this error too. I have vbgallery 2.0 installed and vb 3.6.1

elsupremo
10-22-2006, 06:29 AM
I'm getting this error too. I have vbgallery 2.0 installed and vb 3.6.1

I get the exact same error. VBGallery 2.0 and VB 3.6.2

ZGeek
10-22-2006, 09:46 PM
me too!

Zachariah
10-22-2006, 10:09 PM
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
FROM " . TABLE_PREFIX . "adv_gallery_images
Is now: Ver 2.0 +
FROM " . TABLE_PREFIX . "ppgal_images

Please take note if you have problems with old hacks or want to work on new projects.

johnstires
10-23-2006, 01:07 AM
This code change is for the vbgallery_block.php file. It fixed it for me. Thanks! Anyone have the vertical template for this?

elsupremo
10-23-2006, 06:06 AM
Thanks for that fix, it did work.
Unfortunately, another problem has come up.

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

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

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

Thanks!

TRR
10-23-2006, 12:09 PM
Have created the module as per instructions, activated it and added it to the home page but nothing shows up - blank. Went into the CP and set the options to one column and one picture. The module is set to display in the right column. Wrecked my brain, but couldn't figure out what the problem may/could be. Any ideas? I'm running vBulletin 3.6.1, PhotoPost vBGallery v2.0 (vB 3.6) and vBadvanced CMPS v2.2.0 (vB 3.6.) I see you tested it on vBadvanced CMPS v2.2.1 (vB 3.6) but that does not seem to be availalbe for download on vbadvanced,.com yet?
Had the same problem until I updated the init.php file.

TRR
10-23-2006, 12:16 PM
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
FROM " . TABLE_PREFIX . "adv_gallery_images
Is now: Ver 2.0 +
FROM " . TABLE_PREFIX . "ppgal_images

Please take note if you have problems with old hacks or want to work on new projects.


I am still new to this; where do I make the corrections so that I don't get the "table does not exist" error?

elsupremo
10-23-2006, 05:03 PM
I am still new to this; where do I make the corrections so that I don't get the "table does not exist" error?

You need to open the vbgallery_block.php file included in the mod download. Find "adv_gallery_images" in the line of code given above and replace it with "ppgal_images". Save file, reupload to to server/forums/modules/.

elsupremo
10-26-2006, 10:09 PM
Thanks for that fix, it did work.
Unfortunately, another problem has come up.

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

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

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

Thanks!

I would still love some help with this problem...or at least a suggestion? I would hate to permanently lose the use of this mod!

WZZZ
11-02-2006, 10:46 PM
Invalid SQL:

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

WHERE Array valid = 1


ORDER BY RAND()
LIMIT 4;

Ошибка MySQL : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'valid = 1


ORDER BY RAND()
LIMIT 4' at line 4

Jaxx
11-02-2006, 11:22 PM
Wow, you're not the only one getting that error WZZZ.

I had to disable it because my users couldnt' log in due to that.

Zachariah
11-03-2006, 10:55 PM
I have a few things to update in this, Ill see about getting it done this weekend.

StuntFactoryX
11-04-2006, 05:09 PM
did the edits in post 52 and its working on 3.6.2

Jaxx
11-04-2006, 06:25 PM
:confused:
did the edits in post 52 and its working on 3.6.2

Cocko
11-05-2006, 06:01 PM
Does it work with Photopost Pro 5.5 ?

johnstires
11-07-2006, 08:48 PM
Why would I get a database error from someone's uploaded file:

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
FROM vbulletinppgal_images AS images

WHERE Array valid = 1


ORDER BY dateline DESC
LIMIT 4;

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 dateline DESC
LI' at line 4
Error Number : 1064
Date : Tuesday, November 7th 2006 @ 03:48:44 PM
Script : http://www.forum-of-friends.com/
Referrer : http://www.forum-of-friends.com/gallery/showimage.php?i=34&c=2
IP Address :
Username :
Classname : vB_Database

dennisuello
11-08-2006, 05:05 PM
Installed 3.6.3 and it diasppeared. I tried reinstalling the hack and it still doesn't work.

Zachariah
11-08-2006, 06:19 PM
Installed 3.6.3 and it diasppeared. I tried reinstalling the hack and it still doesn't work.

When you updated the forums it killed the edit to the fourms/includes/init.php file.

dennisuello
11-08-2006, 07:07 PM
thanks, i guess i missed that when i reinstalled it.

johnstires
11-12-2006, 01:12 PM
I have a few things to update in this, Ill see about getting it done this weekend.

Have you been able to get around to this update? I have no clue why my module would suddenly stop working and cause a sql error. I think the only thing I did was add a cetegory, and everything stopped working:

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
FROM vbulletinppgal_images AS images

WHERE Array valid = 1
AND images.catid IN (6)

ORDER BY dateline DESC
LIMIT 4;

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
AND images.catid IN (6)

ORDER BY dateline D' at line 4
Error Number : 1064
Date : Sunday, November 12th 2006 @ 08:07:57 AM
Script : http://www.forum-of-friends.com/
Referrer :

loonytune15
11-17-2006, 11:20 AM
this doesn't work with gallery 2.1

At least not for me anyhow..

Zachariah
11-17-2006, 11:35 AM
this doesn't work with gallery 2.1

At least not for me anyhow..

I have new update planed, is there any errors ?

Xil Ze
11-18-2006, 11:23 PM
this doesn't work with gallery 2.1

At least not for me anyhow..
same for me. i get the aforementioned error message.

Zachariah
11-22-2006, 11:59 AM
I am working on a new block.
- vs. 1 block with 1 set of settings it will have settings per VBA page.

johnstires
11-25-2006, 06:22 PM
Is anyone else getting a database error or am I the only one? I am completely baffled on why it would suddenly stop working for me. I can't translate the error. Is it because I am vbgallery 2.1? Any help would be much appreciated.

jlaine
11-25-2006, 09:20 PM
Is anyone else getting a database error or am I the only one? I am completely baffled on why it would suddenly stop working for me. I can't translate the error. Is it because I am vbgallery 2.1? Any help would be much appreciated.

I'm only getting it when I'm not logged in and viewing the main page now (and with regular users apparently, just got an e-mail on it), I just got it installed myself so I haven't started digging

The one other error was fixed by changing adv_gallery_images to ppgal_images in the php file, this one now that I'm getting would be after the aforementioned fix.

jcfuller
11-26-2006, 04:26 AM
I'm only getting it when I'm not logged in and viewing the main page now (and with regular users apparently, just got an e-mail on it), I just got it installed myself so I haven't started digging

The one other error was fixed by changing adv_gallery_images to ppgal_images in the php file, this one now that I'm getting would be after the aforementioned fix.

Same for me. :cross-eyed:

bolobala
11-27-2006, 01:45 PM
Installed!
But this images show in Forum Home not good, how can i arrange it into 1 row.
In my 4rum it just show into 3 rows
http://ngoichatnghenhac.biz/4rum/
Help me plz

Trana
11-27-2006, 06:44 PM
The one other error was fixed by changing adv_gallery_images to ppgal_images in the php file, this one now that I'm getting would be after the aforementioned fix.

Can someone please post a complete version of the module so we can fix this in the meantime?

I'm still not sure why changing the names of all the tables for the gallery only constitutes a x.1 increment in revision numbers.

Thanks for keeping vbg going though.

gator777
12-05-2006, 02:01 AM
Zach,

Any word on the fix? :)

TRR
12-15-2006, 01:03 PM
Been a while, so I am bumping. Any word on a fix? Thanks!

carpzone
12-28-2006, 01:35 PM
Yes the block works fine with the datbase call change.

But i get databse error when i'm not logged in.
The block only shows up ( and my website) when a users is registered.

Is there a fix to work this out ? ...

zetetic
12-31-2006, 02:43 PM
In case this wasn't clear to anyone, most of the db errors are the result of an incorrect table name in the vbgallery_block.php file.

Make sure to edit vbgallery_block.php

find:

adv_gallery_images

and change to:

ppgal_images

Save changes and upload the file to your server.

carpzone
12-31-2006, 06:12 PM
Hm Yes, I did change that database call fom ADV_..... to PPGAL_..... in the vbgalleryblock.

The block works only if logged in.
If i turn the block on for Unlogged visitors. My webpage dont open.

I get follow error by email


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.dateline, images.views, images.posts, images.lastpostdateline, images.lastpostuserid, images.lastpostusername, votenum, votetotal
FROM vb_ppgal_images AS images

WHERE Array valid = 1


ORDER BY dateline DESC
LIMIT 6;

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 dateline DESC
LIMIT ' at line 4
Error Number : 1064

zetetic
01-01-2007, 04:20 AM
Hmm, I spoke to soon. It works fine for me in Firefox, but using IE I get that same db error.

gunitman247
01-01-2007, 09:57 PM
any thing like this for photoplog?

johnstires
01-06-2007, 08:03 PM
Hmm, I spoke to soon. It works fine for me in Firefox, but using IE I get that same db error.

That fix worked for me in FF and IE7! Thanks!

gator777
01-07-2007, 09:41 AM
I'm unable to get this mod working no matter what I do. I've used this block for a long time, and I miss not having it on my site. I hope Zach has the time to fix it. For now, I am using the "Recent Comments Block" to fill the void. :confused:

I hope you read this Zach :)

johnstires
01-07-2007, 12:34 PM
I'm unable to get this mod working no matter what I do. I've used this block for a long time, and I miss not having it on my site. I hope Zach has the time to fix it. For now, I am using the "Recent Comments Block" to fill the void. :confused:

I hope you read this Zach :)

Make sure the table prefixes match up. That was my problem.

First, make sure to edit vbgallery_block.php

https://vborg.vbsupport.ru/showpost.php?p=1148089&postcount=82

AND

Make this change.

https://vborg.vbsupport.ru/showpost.php?p=1102332&postcount=52

gator777
01-07-2007, 11:47 PM
Make sure the table prefixes match up. That was my problem.

First, make sure to edit vbgallery_block.php

https://vborg.vbsupport.ru/showpost.php?p=1148089&postcount=82

AND

Make this change.

https://vborg.vbsupport.ru/showpost.php?p=1102332&postcount=52

Thanks for your help, but I'm still getting the error messages. I am using....

CMPS x2.2.1
VB v3.6.4
Photopost VB Gallery 2.1

All was goon until I installed Photopost VB Gallery 2.1. If I had know it was going to diable my block, I would not have upgraded to Photopost VB Gallery 2.1. :D

carpzone
01-21-2007, 10:29 AM
Hm Yes, I did change that database call fom ADV_..... to PPGAL_..... in the vbgalleryblock.

The block works only if logged in.
If i turn the block on for Unlogged visitors. My webpage dont open.

I get follow error by email


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.dateline, images.views, images.posts, images.lastpostdateline, images.lastpostuserid, images.lastpostusername, votenum, votetotal
FROM vb_ppgal_images AS images

WHERE Array valid = 1


ORDER BY dateline DESC
LIMIT 6;

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 dateline DESC
LIMIT ' at line 4
Error Number : 1064

Nobody has a clue what the problem is ?

SolPal
01-22-2007, 04:50 PM
will this work with PhotoPost 5.6 ?

thanks

da420
01-22-2007, 05:44 PM
Unlikely as this is for vBGallery....

Zachariah
01-29-2007, 01:25 PM
Change log:

v2.1

Whats New ?

* Package added to: imagegallery.module
* Independent Block settings
* Permissions fixed
* Imagebit Fields (check boxes )

** Independent Block settings
- This will allow you to have image block settings per CMPS page.

I would uninstall the old version of this hack before updates.
- The 1st series of hacks sat in the vBoptions menu area, this has it's settings within CMPS.

FleaBag
01-29-2007, 04:30 PM
Doesn't seem to show up for me Zach. Wasn't the old one a product requiring a file edit?

carpzone
01-29-2007, 04:32 PM
Thank u for ure hard work Zachariah :up:

This fixed the problem i had before

Jippie Yeah Go go go ....

Big Thanks for the second time !

carpzone
01-29-2007, 04:33 PM
Doesn't seem to show up for me Zach. Wasn't the old one a product requiring a file edit?

Did u activate it in ure mainpage settings ?

FleaBag
01-29-2007, 04:34 PM
I did yeah. Checked all permissions, page and module settings. All seems to be set up correctly. I used the old one prior to the table names getting changed with the Gallery update.

Zachariah
01-29-2007, 04:59 PM
FLEA !!!! what did you do man ... ? :D

I did not have a problem doing an update @ gzhq.net.
What's not working ?

You know you need to turn the module on per page and edit settings per page of CMPS not in vboptions anymore right ?

carpzone
01-29-2007, 05:09 PM
I did yeah. Checked all permissions, page and module settings. All seems to be set up correctly. I used the old one prior to the table names getting changed with the Gallery update.

Its better u delete ure old hack/modules after that import de new module via admincp.

I'm using :

Vb 3.6.4
Vbgallery 2.1
CMPS 2.2.1De module worls just fine for me

SMO
01-30-2007, 11:11 PM
how about vbgallery 2.0? will it function?

Zachariah
01-31-2007, 01:39 AM
how about vbgallery 2.0? will it function?

It should not have a problem. :)
If so yell and I'll patch it.

rinkrat
01-31-2007, 03:55 AM
Oh good, this is working for me again! :)

Betablocker
01-31-2007, 11:22 PM
Updated .....thank you :up:

curriertech
02-01-2007, 11:37 AM
Any chance of getting something like this for Photopost Pro 5.6.2 and vb 3.6.4?

Zachariah
02-01-2007, 02:40 PM
Any chance of getting something like this for Photopost Pro 5.6.2 and vb 3.6.4?

I thought about that.
I need to get with Chuck and get the current file used for thumbs output.

curriertech
02-01-2007, 02:48 PM
I thought about that.
I need to get with Chuck and get the current file used for thumbs output.

I think a lot of people would love it! I just implemented latest and random gallery images on my VBA page but it wasn't a very straightforward setup.

Trana
02-02-2007, 05:42 AM
Is it just me, or is it impossible to completely turn off the imagebit descriptors? When everything is unchecked it causes ALL the options to be on.

Trana
02-02-2007, 06:15 AM
One other question for Zacahariah....

Please note that this is not in relation to the post above, totally new question.

Let's say I want to show 4 images but have them scrolling. I already have the jscript working to scroll them, but this requires putting the images into 4 different variables in order to work out the <LI> layout.

Can you recommend a way to do this, or alternatively a way to slip in my <LI> coding? The fact that a lot of html is written into $imagebit is screwing it up, I just need the image itself as a variable to display, I can get the rest of it done within my own templates.

Any suggestions you can offer would be appreciated.

Thanks!

Zachariah
02-02-2007, 02:25 PM
Is it just me, or is it impossible to completely turn off the imagebit descriptors? When everything is unchecked it causes ALL the options to be on.

If you are editing a page there is a [default] check for the imagebit make sure that is off to use custom settings. If it is checked it will use the module default.

One other question for Zacahariah....

Please note that this is not in relation to the post above, totally new question.

Let's say I want to show 4 images but have them scrolling. I already have the jscript working to scroll them, but this requires putting the images into 4 different variables in order to work out the <LI> layout.

Can you recommend a way to do this, or alternatively a way to slip in my <LI> coding? The fact that a lot of html is written into $imagebit is screwing it up, I just need the image itself as a variable to display, I can get the rest of it done within my own templates.

Any suggestions you can offer would be appreciated.

Thanks!

I have plans of doing an ajax scroll.
I want to show as many images as there are in the query that requested the images.

EX: 1 block might show all the images in a gallery category vs. 4-8 value and need a refresh for more content. Maybe some mouse over effects as it scrolls by.

What are you playing with ? :D

Metal-R-US
02-02-2007, 05:32 PM
With the latest update I'm having the problem again that the block won't show up if I don't let unregistered members view my gallery. As soon as I open it for unregistered members it shows but this is undesired behavior for me. Can you help out?

Zachariah
02-02-2007, 05:53 PM
With the latest update I'm having the problem again that the block won't show up if I don't let unregistered members view my gallery. As soon as I open it for unregistered members it shows but this is undesired behavior for me. Can you help out?

I'll test it out.

Metal-R-US
02-02-2007, 07:33 PM
A thing I would like to add, which led me to believe it's a permissions issue in the first place, is that it concerns all usergroups but the admins. I didn't notice this myself, but one of my mods pointed it out. I tested it with users in several groups...

Trana
02-03-2007, 04:28 PM
I have plans of doing an ajax scroll.
I want to show as many images as there are in the query that requested the images.

EX: 1 block might show all the images in a gallery category vs. 4-8 value and need a refresh for more content. Maybe some mouse over effects as it scrolls by.

What are you playing with ? :D

I have it working with Web Effects from Opencube.com, but it is only for rotating the avatars of my recent donors. I would not recommend using Web Effects as it is not free and I have not found a way to make the cycling of images continuous, i.e. the picture area is empty at the beginning and end, it goes through some whitespace before it starts the images again.

Let me know what your using and I will try to play around with it. My main problem here is that the imagebit calculation and assembly is now done in the core VBA files. I don't want to make changes to those files as it will affect the rest of my site. Do I have this right?

Thanks!

Skavenger
02-11-2007, 04:54 AM
Can you please tell me the unistallation instruccions for the 1.9 version?
Then i could install this new version

Edit: is not working for me, i don't see the block :S

Skavenger
02-13-2007, 03:37 PM
It's working now!
The problem was that I forget editing the includes/init.php file after upgrading to 3.6.4 =P

Edit:
forums/includes/init.php

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

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

johnstires
02-17-2007, 04:00 AM
Is it possible to make 2 different modules for 2 separate page with this hack?

In vbgallery (not the vb gallery cmps addon) If I exclude a category in the Main Index Page Options, it breaks my cmps module and I get this error.


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
FROM vbulletinppgal_images AS images

WHERE Array valid = 1

AND images.catid NOT IN (2,3,7)
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

AND images.catid NOT IN (2,3,7)
ORDER BY RA' at line 4
Error Number : 1064
Date : Friday, February 16th 2007 @ 10:57:21 PM
Script : http://www.forum-of-friends.com/
Referrer : http://www.forum-of-friends.com/gallery/
IP Address : 68.175.122.30
Username : waltercat
Classname : vB_Database

bela-meaad
02-26-2007, 03:58 PM
Thanks

Sinistra
03-06-2007, 01:34 PM
I hve had problems installing this it dosen't show up and I have all the settings right help?

http://www.animeinsight.net

Jesakos
03-07-2007, 01:51 PM
i install the mod but i dont see any change.. only the link in navigation bar and when i press then nothing else :o

Zachariah
03-07-2007, 02:28 PM
It's working now!
The problem was that I forget editing the includes/init.php file after upgrading to 3.6.4 =P

http://www.photopost.com/forum/showpost.php?p=1190873&postcount=2

Sinistra
03-09-2007, 07:28 PM
Eather I did something wrong or its not showing up still.

http://www.animeinsight.net

berayiwu5
03-15-2007, 05:42 PM
Eather I did something wrong or its not showing up still.

http://www.animeinsight.net

Did you enable the module?

vBa CMPS --> Homepage (or whatever page you are using) --> Go --> Modules Enabled --> Make sure "Image Gallery" is checked.

Hostboard
03-18-2007, 09:10 PM
Not working with PP Pro I see.

Any time frame when you might get with Chuck and iron this out? This is something I really need to get working. Or maybe it does and the errors below are simple fixes/something I did wrong?


Warning: main(./includes/functions_gallery.php) [function.main (http://www.norra.us/function.main)]: failed to open stream: No such file or directory in /modules/vbgallery.php on line 17

Fatal error: main() [function.require (http://www.norra.us/function.require)]: Failed opening required './includes/functions_gallery.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/norraus/public_html/forums/modules/vbgallery.php on line 17

DuyNguyen
03-19-2007, 03:15 AM
I did follow the instruction and I got exactly the error above. What's wrong? Is there anybody can help me pls?

Zachariah
03-19-2007, 11:46 AM
Not working with PP Pro I see.

Any time frame when you might get with Chuck and iron this out? This is something I really need to get working. Or maybe it does and the errors below are simple fixes/something I did wrong?


Warning: main(./includes/functions_gallery.php) [function.main (http://www.norra.us/function.main)]: failed to open stream: No such file or directory in /modules/vbgallery.php on line 17

Fatal error: main() [function.require (http://www.norra.us/function.require)]: Failed opening required './includes/functions_gallery.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/norraus/public_html/forums/modules/vbgallery.php on line 17


I did follow the instruction and I got exactly the error above. What's wrong? Is there anybody can help me pls?

This is for Photopost vBGallery not Pro.
- I do not own the "Pro" program but have played with the code some.
- I'll see what I can do when I get a little time.

Sinistra
03-19-2007, 01:49 PM
Did you enable the module?

vBa CMPS --> Homepage (or whatever page you are using) --> Go --> Modules Enabled --> Make sure "Image Gallery" is checked.

That was already dried before I posted that last message still nothing.

I looked in the templates but there is nothing there for the gallery amd I missing something?

Hostboard
03-27-2007, 12:41 AM
Zachariah, sent you a PM but have not heard back. Willing to pay you to modify your add-on to work with Pro (I own a valid license). After it is working I gladly will allow you post it for public release so others that own pro can use it.

Zachariah
03-27-2007, 03:27 AM
Zachariah, sent you a PM but have not heard back. Willing to pay you to modify your add-on to work with Pro (I own a valid license). After it is working I gladly will allow you post it for public release so others that own pro can use it.

I was gone for a few days.
- I will have a little time to work on it after I get vBGallery 2.2 out.

It will not be a big deal to create.

Hostboard
03-27-2007, 12:34 PM
Thank you!

Metal-R-US
04-01-2007, 07:48 PM
With the latest update I'm having the problem again that the block won't show up if I don't let unregistered members view my gallery. As soon as I open it for unregistered members it shows but this is undesired behavior for me. Can you help out?

I'll test it out.

A thing I would like to add, which led me to believe it's a permissions issue in the first place, is that it concerns all usergroups but the admins. I didn't notice this myself, but one of my mods pointed it out. I tested it with users in several groups...I suppose this hasn't been addressed yet? Will this be taken into account for Gallery 2.2?

Metal-R-US
04-04-2007, 07:10 PM
Why do I get the feeling I'm being ignored? If you don't have an answer, just say it...

Zachariah
04-04-2007, 09:15 PM
Why do I get the feeling I'm being ignored? If you don't have an answer, just say it...

I have put a small hold on hacks.
I have a lot of time into vBGallery 2.2 and to put work into an add-on that may change when I am done is not productive.

I'll take a look at issues as soon as the new version is out.

zand
05-22-2007, 07:23 PM
Stopped working here when I upgraded to 3.0 RC1. Is this a bug or is just something wrong at my end?

sola
05-22-2007, 07:41 PM
Proper video playback please. Even free apps do that. We paid for this.

zand
05-22-2007, 08:37 PM
Proper video playback please. Even free apps do that. We paid for this.

You know this is just a mod for vBGallery and CMPS? This mod is completely free so if the free video playback referrs to vBGallery in general, you should post it in the PhotoPost forums.

DementedMindz
05-22-2007, 08:41 PM
video playback is not even a part of vBGallery unless you do file edits so I don't think there going to help you or support you on that one anyway since its not default.

TheProphet
05-24-2007, 02:26 PM
Is there an update for 3.0 vBadvanced comming?

gator777
05-25-2007, 12:01 AM
Is there an update for 3.0 vBadvanced comming?
We are waiting for Zach to make a fix, so hopefully we will see someting soon. It's just a matter of time now. :D

Zachariah
05-25-2007, 04:07 PM
I understand :)
- last few days or so I have been deep into system updates on my localhost DEV server.
- I'll take a look and see what changed on CMPS that stopped the plug from working.

I have a few other CMPS blocks not related w/ vBGallery that have no problems. It should not be to hard.

gator777
05-25-2007, 05:53 PM
I understand :)
- last few days or so I have been deep into system updates on my localhost DEV server.
- I'll take a look and see what changed on CMPS that stopped the plug from working.

I have a few other CMPS blocks not related w/ vBGallery that have no problems. It should not be to hard.
That is great new Zach. It is very much appreciated. :D

TheProphet
05-27-2007, 01:24 PM
Yes Zach, this is a great addon....

TheProphet
06-05-2007, 03:30 PM
Any update yet Zach?

SMO
06-13-2007, 03:57 AM
I understand :)
- last few days or so I have been deep into system updates on my localhost DEV server.
- I'll take a look and see what changed on CMPS that stopped the plug from working.

I have a few other CMPS blocks not related w/ vBGallery that have no problems. It should not be to hard.


how about vbg 2.0 as well. Can it be done with that version as well Z?

gator777
06-19-2007, 08:30 AM
Zach, have you abandoned this plugin? I know you must have a full plate, but it would be great to have this back and operational on my site. :D

Thanks again for all your hard word.

Zachariah
06-19-2007, 12:33 PM
I have it all working except extra info bits.

gator777
06-20-2007, 04:15 AM
I have it all working except extra info bits.
That's great news. Thanks Zach. :D

Kahuna900
06-29-2007, 05:13 AM
So does that mean we'll soon have a fix that will work in vb3.6.7?

zahidnextage
07-09-2007, 10:56 AM
Plz give me any idea about this file i have error in main page that missing this file "functions_gallery_store.php"
also let me know which changes we will do after upload module file
waiting for ur reply.

Skavenger
08-02-2007, 04:55 AM
I see this in the top of every page

Warning: unserialize() expects parameter 1 to be string, array given in \modules\vbgallery.php on line 20

Warning: unserialize() expects parameter 1 to be string, array given in \modules\vbgallery.php on line 21

Warning: unserialize() expects parameter 1 to be string, array given in \modules\vbgallery.php on line 22

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in \modules\vbgallery.php on line 25

how can I fix this?

sunnycher
08-05-2007, 01:27 PM
I've installed this but it's not showing. Not sure what I missed. Any ideas?

Skavenger
08-05-2007, 04:47 PM
I've installed this but it's not showing. Not sure what I missed. Any ideas?
maybe you missed to edit the includes/init.php file

sunnycher
08-05-2007, 04:53 PM
Thank you, I'll try that :)

ThreeVisual
08-07-2007, 08:22 AM
I just installed this, but I am getting this error:

Warning: array_keys() [function.array-keys]: The first argument should be an array in /includes/functions_gallery.php on line 452

Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 452

Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 979

Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 979

Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 979

Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 979


Any ideas what's happening?

Ricsca
08-07-2007, 10:39 AM
Dont work... :(


-----

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

Fatal error: require_once() [function.require]: Failed opening required './includes/functions_gallery.php' (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in /home/.ravana/ricsca/modificazionecorporea.com/forum/modules/vbgallery.php on line 17

---


In vbgallery.php the line 17

require_once('./includes/functions_gallery.php');

But in forum/includes , i dont have the file functions_gallery.php

Whay?

sunnycher
08-14-2007, 07:27 PM
I have vBadvanced CMPS v3.0 RC1, will it work with that?

Zachariah
08-15-2007, 01:00 AM
I have vBadvanced CMPS v3.0 RC1, will it work with that?

No but I have a beta I want to get people to test.

sunnycher
08-15-2007, 02:02 AM
Just let me know how I can help you Zach

maidos
08-15-2007, 06:51 PM
is it possible to not make the entire page refresh when u click on the next image, its quite annoying and was wondering if u could make ajax script to make it load the nexy image?

Zachariah
08-20-2007, 02:47 AM
1st post updated

Change Log
===========
2.5
- Added Template: adv_portal_vbgallery_imagebit
- Edited Template: adv_portal_vbgallery_nav - added search dropdown

- Edited Template: adv_portal_vbgallery - changed to work with standard CMPS wrapper

- Multi-Modules can be used on the same page using the same php file with different settings

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

SMO
08-20-2007, 03:12 AM
nothing shows for me z...

using ppgallery 2.0 and cmps 3.0rc1 and vb 368

also, the directions are asking for an xml? I didnt see one in the folder

Kahuna900
08-20-2007, 03:26 AM
Ditto, not working for me either, CMPS v3.0 RC1/VB 3.6.8. No XML file included and I'm getting the following error:

"Fatal error: Call to undefined function: make_image_fields() in vbgallery.php on line 141"

gator777
08-20-2007, 05:25 AM
Hi Zach. I followed your instructions, but I got the following error mesage:

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /modules/vbgallery.php on line 25

sensimilla
08-20-2007, 06:27 AM
Where are the templates ? Am I blind ? thanks for the update Zachariach.

ntrance
08-20-2007, 11:23 AM
Can you supply the beta so i can test it on CMPS v3.0 RC1

Zachariah
08-20-2007, 01:54 PM
Hello, I made a boo boo :D
- missing files

Please look @ the readme.txt as install directions have been changed.

The 1st post is updated - no new email sent.

gator777
08-20-2007, 02:38 PM
I applied your update, but I am still getting the following message:

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /modules/vbgallery.php on line 25

TheProphet
08-20-2007, 04:24 PM
I do get the same error message

Warning: array_merge() [function.array-merge]:
Argument #2 is not an array in /modules/vbgallery.php on line 25

Zachariah
08-20-2007, 04:48 PM
I applied your update, but I am still getting the following message:

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /modules/vbgallery.php on line 25

I do get the same error message

Warning: array_merge() [function.array-merge]:
Argument #2 is not an array in /modules/vbgallery.php on line 25


Ok this is looking for gallery options from the datastore and merging with CMPS options.
The options are added via. plugin from vbgallery. - THIS_SCRIPT = "adv_index" then add gallery options.

Q: The php files of your CMPS that display the image blocks are they default ?
define('THIS_SCRIPT', 'adv_index');

TheProphet
08-20-2007, 05:10 PM
All my cmps pages and templates are default so far..

Zachariah
08-20-2007, 05:16 PM
Looking @ changes in the gallery. This hack will work with vbgallery 2.2, 2.3 out of the box.
- you can get a patch if you have 2.0, 2.1 - here (http://www.photopost.com/forum/showthread.php?t=131052).

maidos
08-20-2007, 07:32 PM
so is it not possible to have ajax ?

Zachariah
08-20-2007, 08:01 PM
so is it not possible to have ajax ?
1 step @ a time :)
- I am working on one for the filmstrip (http://www.gzhq.net/gallery/showimage.php?i=2162&c=8) "hit << more .... more >>".

I'll have one for the CMPS block soon.

SMO
08-20-2007, 10:54 PM
I still dont see anything.

I think I have some "rogue" edition of vbg

maidos
08-21-2007, 06:02 AM
cool thanks i look forward to taht, so thanks :) do you have a release date for this?

ntrance
08-21-2007, 09:19 AM
Hello, I made a boo boo :D
- missing files

Please look @ the readme.txt as install directions have been changed.

The 1st post is updated - no new email sent.


Works now

Thanks for this awesome mod :)

Kahuna900
08-21-2007, 02:43 PM
ROCK ON!!!! It's back!!!

Thanks Zachariah!!!!!!

glorify
08-22-2007, 12:09 AM
Hey zac--

Great work. I upgraded to 3 rc1 when you made this available.

Anyway:

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

When I attempt this, I am copying the module, then changing the settings in the second module.

It works, kind of. It displays both the first and second on the same page. The second looks fine, but the first gets combined with the second.

Example: I have module 1: 4 pics vertical. Module 2: 4 pics horizontal.

When I add them both to the same page, I get (module 2) looking like this:

pic1 pic2 pic3 pic4

And (module one) gets combined and looks like this:

pic1 pic1 pic2 pic3 pic4
pic2
pic3
pic4

Am I just installing the second module wrong?

Zachariah
08-22-2007, 03:22 AM
What I did for more than one was to use the copy option.

vBa CMPS => Edit Modules => [Image Gallery]
- Copy Module

Change:
- Module Title
- Identifier ( this will add 1,2,3 depending on how many copies)

Image Gallery Options: (at bottom)
- set to what you need

glorify
08-22-2007, 10:51 AM
Copying the module, no problem. The add new portion--Add new what? I don't see anything in the PHP File Module Options for an identifier.

The only thing I could think of to make it work correctly would be to take vbagallery.php for a second module, rename it to vbagallery1.php, upload it, and use it for the second module. Is that the correct way of doing it?

Zachariah
08-22-2007, 12:46 PM
There were template changes, perhaps templates did not update.
Did you remove the old (cmps 2.x) version of this add-on before installing the new one ?

It is now using the standard CMPS wrapper vs. custom made one that was in all of the other versions.
In my current setup all 3 blocks use the same php file.


vBa CMPS => Edit Modules => [Image Gallery]
- Copy Module

(2 photos in one)
68882

Change:
- Module Title
- Identifier ( this will add 1,2,3 depending on how many copies , or make custom)

Image Gallery Options: (at bottom)
- set to what you need


Here is 4 blocks (http://www.gzhq.net/index.php?page=gallery2) that use the same php file.
? Most Viewed
- navbar, 6 images, 3 wide, views, category, name - (most viewed, all categories in gallery)

? Random Planes
- 8 images, 4 wide, views, category - (random, 1 category in gallery)

? This is who we are
- 1 image, category (random, 1 category in gallery)

? Random
- 4 image, 1 wide / 4 down (random, all categories in gallery)

glorify
08-23-2007, 12:52 AM
Followed exact (identifier changes, actually was doing it correctly from the start), checked the templates against the module file in the zip, uninstalled, reinstalled.

Still no worky, and I've ran a VBA site for a couple years now. Running one module works fine.

http://www.glorifythepast.com

Zachariah
08-23-2007, 02:28 AM
Followed exact (identifier changes, actually was doing it correctly from the start), checked the templates against the module file in the zip, uninstalled, reinstalled.

Still no worky, and I've ran a VBA site for a couple years now. Running one module works fine.

http://www.glorifythepast.com

Your site looks ok.
"Image Gallery" on the side. What did you change to make it work ?

glorify
08-23-2007, 03:49 AM
it works with one box. When I try multiples, is when I have the problems.

glorify
08-23-2007, 04:17 AM
Here is what happens when I add 2 on the same page. Notice the 1st box has it's pictures plus it has the same pics that are in the second.

MotoUp
08-23-2007, 04:44 PM
I installed the patch, and mde the file edit, but the module doesn't show up at all, and it is active. I tried uninstalling it completely and reverting to the 3.6.4 version I was using, and I geta database error.

I am using vB 3.6.8, and vBGallery 2.0. Any ideas?

Zachariah
08-23-2007, 07:55 PM
I'll install 2.0 and test it out w/ the patch. to see what the deal is.

glorify
08-23-2007, 11:35 PM
If you wanna poke around in my admincp, lemme know.

CORSO
08-23-2007, 11:41 PM
I have photopost pro 5.62, How i can do to use this hack???

Zachariah
08-24-2007, 01:10 AM
If you wanna poke around in my admincp, lemme know.

Ya shoot me an PM.

I have photopost pro 5.62, How i can do to use this hack???

This is for Photopost vBGallery not Pro. I will see about updating a CMPS for Pro.

MotoUp
08-24-2007, 12:47 PM
If you wanna poke around in my admincp, lemme know.

Ditto :D

Zachariah
08-24-2007, 05:58 PM
@ glorify

As I entered the site's AdminCP there is a "For Your Information" block @ the top.
- Out-of-Date Custom Templates Found!
There are currently 16 customized template(s) that need to be updated or reverted. Some sections of vBulletin may not function if you do not do this!

You have 2 styles:
- GTP Blue Wide
- GTP Powder Blue Wide

The templates shown on this page have been updated in the default template set since you customized them.

Not related to CMPS but for vBGallery: (please take a look @ these)
- ADV_GALLERY
- adv_gallery_imagebit
- ADV_GALLERY_SHOWIMAGE
- ADV_GALLERY_BROWSEIMAGES

Related to CMPS: (I reverted these)
- adv_portal_vbgallery_newestbits
- adv_portal_vbgallery_nav
- adv_portal_vbgallery

I uninstalled the image gallery block [edit image gallery - delete: remove vbgallery.php]
This still left some traces of templates in your styles.

I have one running in the center 2x4 and on one the side 1x8.

glorify
08-24-2007, 10:39 PM
OK. An idiot to think you were talking about the hack's templates and not the other templates. I had reverted the adv_portal templates that came with that hack.
Many thanks sir.

G

Zachariah
08-24-2007, 10:47 PM
OK. An idiot to think you were talking about the hack's templates and not the other templates. I had reverted the adv_portal templates that came with that hack. The cbgallery.php was a kicker as well.

Many thanks sir.

G

I always work with the code, and may not have been as detailed as I could of been.
- glad the site is up :)

Xil Ze
08-25-2007, 09:51 PM
i am getting the

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /modules/vbgallery.php on line 25

error as well. using cmps 3.6.4, vb gallery 2.1 (with zach's update), and cmps 3rc1. i've been looking around. is it connected to php 5?

Zachariah
08-28-2007, 07:37 PM
Change Log
===========
2.6
- Added option for module title.
- Added option for module link.
- Added option to choose from thumbnail, normal, original

MotoUp
08-28-2007, 07:47 PM
Well, I tried removing 2.5 and installing 2.6. Now, instead of it just not showing up, my CMPS won't even load....My users already miss this module a lot. Is there anything else you can think of that I can try?

Zachariah
08-28-2007, 07:54 PM
Well, I tried removing 2.5 and installing 2.6. Now, instead of it just not showing up, my CMPS won't even load....My users already miss this module a lot. Is there anything else you can think of that I can try?

Shoot me some AdminCP access in PM.

TheAllusionist
08-28-2007, 07:55 PM
Hey I just downloaded this or very similar from your website this weekend or so believed and it worked with gallery 2.3 and vBadvanced 3.0RC1, something I had really been missing. If this one is different from what was on your site this weekend, I might try it, however what I downloaded this weekend works great. I just wanted to thank you very much, I nominated it for the MOM Thanks again for your generosity.

Zachariah
08-28-2007, 07:58 PM
Hey I just downloaded this or very similar from your website this weekend or so believed and it worked with gallery 2.3 and vBadvanced 3.0RC1, something I had really been missing. If this one is different from what was on your site this weekend, I might try it, however what I downloaded this weekend works great. I just wanted to thank you very much, I nominated it for the MOM Thanks again for your generosity.

:) I updated all places this hack today. That was 2.5.
- This is 2.6.

TheAllusionist
08-28-2007, 08:04 PM
Thanks for letting me know, and thanks again! ;)

gator777
08-28-2007, 08:09 PM
Zach,

Thanks for the update, as always, but the images are distorted and displayed at the bottom.

Zachariah
08-28-2007, 08:12 PM
Zach,

Thanks for the update, as always, but the images are distorted and displayed at the bottom.

There were a lot of template changes.

Edit Modules
- Module Wrapper Template Options [x] NO

make sure this is selected.

Zachariah
08-28-2007, 08:18 PM
gator777 - I see only

» Image Gallery
- 1 image right hand side. (sort order 1)

IE6.x , FF 2.x - looks ok.

gator777
08-28-2007, 08:47 PM
I found the problem. The templates did not update my light theme (which I use)

adv_portal_vbgallery (could not locate)
adv_portal_vbgallery_imagebit (located in Custom Templates)
adv_portal_vbgallery_nav (located in Advanced CMPS Templates)
adv_portal_vbgallery_newestbits (located in Advanced CMPS Templates)

Once I found them, I manually copied them over to the other theme and got it to function properly. Also, I could not locate the adv_portal_vbgallery template.

Thanks for all your hard work Zach. :D

SMO
08-28-2007, 10:56 PM
Well, I tried removing 2.5 and installing 2.6. Now, instead of it just not showing up, my CMPS won't even load....My users already miss this module a lot. Is there anything else you can think of that I can try?

same here with that

Zachariah
08-29-2007, 12:12 AM
Well, I tried removing 2.5 and installing 2.6. Now, instead of it just not showing up, my CMPS won't even load....My users already miss this module a lot. Is there anything else you can think of that I can try?

I am using vB 3.6.8, and vBGallery 2.0. Any ideas?



In vBGallery 2.2 this was changed I see your @ 2.0

=======================================

Try this.

forums\modules\vbgallery.php

Find:

$categorycache =& $vbulletin->gallery_c_cache;
$galleryoptions =& $vbulletin->adv_gallery_opt;
$gallery_permissions =& $vbulletin->gallery_ugroups;

Change To:

$categorycache = unserialize($vbulletin->gallery_c_cache);
$galleryoptions = unserialize($vbulletin->adv_gallery_opt);
$gallery_permissions = unserialize($vbulletin->gallery_ugroups);

MotoUp
08-29-2007, 01:02 PM
Thanks for looking. I tried that, it didn't do anything either. Can you think of anything I can do to get it back to the older version?

dsmoke
08-29-2007, 09:38 PM
Does this only put images in vbadvanced or can you use this to put images under your nav bar in the regular forum as well?

Xil Ze
08-29-2007, 10:44 PM
Thanks for looking. I tried that, it didn't do anything either. Can you think of anything I can do to get it back to the older version?

the function names changed in vbgallery 2.2.

MotoUp
08-29-2007, 10:49 PM
I'm upgrading to 2.2, or trying anyway. I'll see what happens.

Trana
08-31-2007, 06:36 PM
Will it work for vbgallery 2.1?

Littlebit
09-01-2007, 11:03 PM
Thank you for this update Zachariah! And for all the time you've put into this for the cmps users :)

FleaBag
09-02-2007, 11:04 PM
Hi Zach. Specifying fields to display seems to have no effect. Also, when choosing newest, random still shows. Reinstalled it all a couple o' times. Any ideas?

zetetic
09-03-2007, 02:49 PM
Is there any way to exclude a gallery and all its sub-galleries without having to put the id of every sub-gallery in the "Exclude categories" field?

Zachariah
09-03-2007, 04:40 PM
Is there any way to exclude a gallery and all its sub-galleries without having to put the id of every sub-gallery in the "Exclude categories" field?
- Not yet, I have it planed :D

zetetic
09-03-2007, 04:46 PM
Cool, thanks! :)

Littlebit
09-08-2007, 08:38 PM
Just upgraded cmps and I'm getting this error:

Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 1014


What's the best place to edit in order to tell it what it needs?

Zachariah
09-08-2007, 09:21 PM
Just upgraded cmps and I'm getting this error:


Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 1014


What's the best place to edit in order to tell it what it needs?

There are 2 files in the hack, did you also import the XML product ?
- the error deals with you not getting data from category cache.

Littlebit
09-08-2007, 09:28 PM
Yeah, I did. It had been working up until after upgrading.
Hmmm, maybe I need to update cache with cmps. I'm going to uninstall and reinstall too.
Thanks for the quick lookin btw :)

Littlebit
09-08-2007, 09:34 PM
It's still there.
The new cmps has a Rebuild Module Cache in Diagnostics. I ran this as well, but it's still not getting data from category cache.

Zachariah
09-08-2007, 09:44 PM
You will want to do a full removal of the old CMPS gallery block.
- after removal, please look for templates they may have been left behind. adv_portal_vbgallery_*.*

Littlebit
09-08-2007, 09:54 PM
I removed all the adv_portal_vbgallery templates, uninstalled the module and uninstalled the product.
I then re-installed and I'm still getting the error for some reason. :confused:

Littlebit
09-09-2007, 01:15 AM
Update:
After going through all of the cmps default settings and saving, the error was no more :) All better.

rinkrat
09-09-2007, 04:45 AM
Mine worked before this update and now when I install it I get nothing as if it's not even there. I have it set up right with the preper permissions etc but nothing shows up even though it is listed as being there on the page. I completely uninstalled the old version and hand deleted all the templates and it still is not visible.

Any ideas?

dug320
09-09-2007, 08:38 PM
I am also having the same problem. Blank Page.

rinkrat
09-10-2007, 03:36 AM
My page is fine, there is just no thumbnails there even though it is on the page template as being turned on and the permissions are all set right.

R?st? Elmas
09-14-2007, 07:41 PM
vBadvanced CMPS v3.0 RC2 Update ?

rinkrat
09-14-2007, 07:51 PM
Yes

R?st? Elmas
09-14-2007, 08:59 PM
vBadvanced CMPS v3.0 RC2 Version

:S Error Caps :
http://img443.imageshack.us/img443/4817/errorwh1.jpg

Help Me Please

Zachariah
09-14-2007, 09:04 PM
vBadvanced CMPS v3.0 RC2 Version

:S Error Caps :

Help Me Please

There is a setting on the page that vbgallery Block is on.

AdminCP => vBa CMPS => Edit Pages
- The page :D
-- Main Options
--- Process PHP File Modules Within A Function
[ x ] YES

Take a look @ this setting please.

R?st? Elmas
09-14-2007, 09:11 PM
Very Thanx. :D

xRenegade85
09-17-2007, 02:38 PM
hi

i am wondering is it possible to install my photoshop 2.2 in the forum root? instead of in forumroot/gallery/ folder? because if i install it in a folder then a lot of scripts fail, for example if you are viewing the gallery and press the logout button the forum displays an error saying it cant find the login.php file, similar problems arise with other pages.

Thanks

Skavenger
09-19-2007, 10:36 PM
I see this error after upgrading to vBa 3 RC2

Warning: Invalid argument supplied for foreach() in \includes\functions_gallery.php on line 1014

Zachariah
09-20-2007, 12:00 AM
I see this error after upgrading to vBa 3 RC2
Warning: Invalid argument supplied for foreach() in \includes\functions_gallery.php on line 1014


There is a setting on the page that vbgallery Block is on.

AdminCP => vBa CMPS => Edit Pages
- The page
-- Main Options
--- Process PHP File Modules Within A Function
[ x ] YES

Take a look @ this setting please.

Skavenger
09-20-2007, 02:35 AM
Sorry, I dindn't see your post above before =P

Thanks, is working fine now =)

Wunderlust
10-05-2007, 06:05 AM
Will this work on Photopost Pro v6.0?

Zachariah
10-05-2007, 12:16 PM
Will this work on Photopost Pro v6.0?

No, but I have plans to design one for Pro.

JimmyJames
10-12-2007, 05:46 AM
I got the following error once I added the module to my page

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

Fatal error: main() [function.require]: Failed opening required './includes/functions_gallery.php' (include_path='.:/usr/share/php:/usr/share/pear') in /mnt/Target01/333535/333536/www.musicbygoat.com/web/content/modules/vbgallery.php on line 33

JimmyJames
10-15-2007, 11:40 PM
I got the following error once I added the module to my page

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

Fatal error: main() [function.require]: Failed opening required './includes/functions_gallery.php' (include_path='.:/usr/share/php:/usr/share/pear') in /mnt/Target01/333535/333536/www.musicbygoat.com/web/content/modules/vbgallery.php on line 33

Nevermind man......got vb gallery mixed up with photoplog:D

Thats why the file doesnt exist.

axi
10-25-2007, 04:22 PM
great hack zach works fine
but i chose to show post details, image description etc they wont show up..any deatils pls??

rickyreter
10-26-2007, 09:52 PM
Same here no text under images..any ideas please/

Pete

axi
10-27-2007, 06:01 AM
bump !

Zachariah
10-27-2007, 03:54 PM
bump !

Same here no text under images..any ideas please/

Pete

PHP 5.x on your servers ?

rickyreter
10-27-2007, 04:06 PM
It should not affect what php i have i have.5.2.3.for such a simple mod ..?Confused

rickyreter
10-27-2007, 04:08 PM
5.2.3

ConqSoft
10-27-2007, 04:21 PM
There is a setting on the page that vbgallery Block is on.

AdminCP => vBa CMPS => Edit Pages
- The page
-- Main Options
--- Process PHP File Modules Within A Function
[ x ] YES

Take a look @ this setting please.

Same error, don't see this setting though?

ConqSoft
10-27-2007, 04:24 PM
Nevermind. Found it. There's a Main Options at the top, but also an expandable Main Options at the bottom too. ;)

Zachariah
10-27-2007, 06:23 PM
It should not affect what php i have i have.5.2.3.for such a simple mod ..?Confused
There was a bug reported because of an older line of code.
It stops the Imagebit Fields from showing in PHP5.x.

I'll track it down and yell once the update is ready. (maybe in vBGallery 2.4)

axi
10-28-2007, 08:29 AM
PHP version 4.4.7
MySQL version 4.1.22-standard

rickyreter
10-30-2007, 12:50 PM
were on 2.6 now?

Damm..wanted this for me car site :(