PDA

View Full Version : Geek Gallery Popup 4.0


The Geek
10-21-2005, 10:00 PM
From the makers of lint and fuzz come the oh-so-popular-cant-live-with-out Mack that transformed the lives of all whom beheld it.

Yes, this is: Geek Gallery Popup for vBa and PhotoPost*

Gpop will allow your users to easily insert pictures from their gallery into their posts and private messages.

New features include:
Browse by category
Insert aligned images

Installation difficulty: About as hard as a sneeze
File edits: 0
Plugins: 0
template edits: 1

Known issues:
If the editor isnt selected, and you click a pic... it inserts the freaking pic in the page instead of the editor. Odd stuff. Im sure ill figure that out shortly.

*PhotoPost support is built in however please note that I dont have PP any longer and so I cant really test for it. Therefore, if you are a PP user, let me know if it works ;)

Please click install if you install it.

nJoy

The Geek
10-22-2005, 10:51 AM
Please note there is 1 or two minor pagination issues that I am currently sorting out. Nothing too major though.

Sorted ;)

agiacosa
10-22-2005, 11:01 AM
Please note there is 1 or two minor pagination issues that I am currently sorting out. Nothing too major though.

Sorted ;)

Hey Geek,

Bit of a problem here. When I click open, I get this error:

Warning: chdir(): No such file or directory (errno 2) in /geek-gallery-popup.php on line 196

Warning: main(gallery_global.php): failed to open stream: No such file or directory in /geek-gallery-popup.php on line 197

Fatal error: main(): Failed opening required 'gallery_global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aquatic3/public_html/forumapc/geek-gallery-popup.php on line 197

The Geek
10-22-2005, 11:09 AM
Hey Geek,

Bit of a problem here. When I click open, I get this error:

Warning: chdir(): No such file or directory (errno 2) in /geek-gallery-popup.php on line 196

Warning: main(gallery_global.php): failed to open stream: No such file or directory in /geek-gallery-popup.php on line 197

Fatal error: main(): Failed opening required 'gallery_global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aquatic3/public_html/forumapc/geek-gallery-popup.php on line 197

What do you have for your Gallery folder setting?

agiacosa
10-22-2005, 11:22 AM
What do you have for your Gallery folder setting?

gallery

My gallery installation is not within my forum root. It is on site root.

Snake
10-22-2005, 11:40 AM
Thanks fo this.

lazytown
10-22-2005, 12:55 PM
First: thanks so much for putting this up!

I'm having some problems. I believe this script assumes the gallery is located within the forum folder, but that isn't always the case... For example, in my
vba gallery is at: http://site.com/pictures
forum is at http://site.com/forum

I'm getting errors on line 202 and 203.

Thanks
-V

lazytown
10-22-2005, 01:02 PM
I had to use "../pictures" as the gallery folder setting.

Now the window pops up without errors and shows the pictures, but when I click them they do not insert into the post (in WYSIWYG editor). In the simple editor, when I click a picture it inserts "https://vborg.vbsupport.ru/" without any content.

-V

lazytown
10-22-2005, 01:12 PM
OK I had to revert a couple of geek templates (since the old ones were still there). It seems to work for the standard editor, but when I click an image in the popup for the WYSIWYG editor, nothing happens.

EDIT: HAD to update more templates... Now it all seems to work!
THANKS!

-V

tormodg
10-22-2005, 01:59 PM
Great Geek! We're working on our upgrade to vB 3.5 so this comes at the right time for us. :D

agiacosa
10-22-2005, 03:28 PM
OK I had to revert a couple of geek templates (since the old ones were still there). It seems to work for the standard editor, but when I click an image in the popup for the WYSIWYG editor, nothing happens.

EDIT: HAD to update more templates... Now it all seems to work!
THANKS!

-V
Hi,

What templates did you revert?

agiacosa
10-22-2005, 03:30 PM
I have the pop up working but in the WYSIWYG editor using IE, the photos pop in to the top of the template (page) and not in the post area.

martinchan
10-22-2005, 04:55 PM
Apparently, there are some script errors in the .php files if you are using Photopost. I got it corrected and working beautifully at my site.

Attached is the file I corrected.

The Geek
10-22-2005, 06:46 PM
Apparently, there are some script errors in the .php files if you are using Photopost. I got it corrected and working beautifully at my site.

Attached is the file I corrected.

Ill make some adjustments for different gallery locations tomorrow.

Martinchan. Thanks for that. As I dont have PP anymore, I couldnt test it and I didnt want to totally drop support for it.

Ill merge your changes into the release tomorrow.

Thanks again guys.

And please click install if you installed it ;)

martinchan
10-23-2005, 12:54 AM
Ill make some adjustments for different gallery locations tomorrow.

Martinchan. Thanks for that. As I dont have PP anymore, I couldnt test it and I didnt want to totally drop support for it.

Ill merge your changes into the release tomorrow.

Thanks again guys.

And please click install if you installed it ;)

Hey! Dun mention it...:) you did a great job....just a little contribution understanding that you dun have a PP on hand.

PennylessZ28
10-23-2005, 04:12 AM
Awesome, thank you so much. I loved the version for 3.0 and I'm glad it's here for v3.5

agiacosa
10-23-2005, 10:26 AM
Hey! Dun mention it...:) you did a great job....just a little contribution understanding that you dun have a PP on hand.

Is this working for folks using WYSIWYG editor in 3.5?

Jason McConnell
10-23-2005, 02:06 PM
Hey Geek... quick question. For the file location specification in vB Options, do you specify the url to those folders or the paths to those folders?

FleaBag
10-23-2005, 03:28 PM
I too have been awaiting this for 3.5. Nice on Sam! :)

ricker
10-24-2005, 02:39 AM
Thanks for the release! The only trouble I'm having is that in the popup, if I switch pages, I get a 404 error (not found). Any ideas?

Also, the link to "subscriptions" is wrong, it should be "payments.php" in 3.5.0

sensimilla
10-24-2005, 06:08 AM
hack of the month in my opinion :) thanks

I was using previous verion and I was waiting for that one!

thanks again

sensimilla

Warning: chdir(): No such file or directory (errno 2) in /geek-gallery-popup.php on line 202
Warning: main(gallery_global.php): failed to open stream: No such file or directory in /geek-gallery-popup.php on line 203
Fatal error: main(): Failed opening required 'gallery_global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/domain/public_html/forum/geek-gallery-popup.php on line 203

hmmm.... any ideas...?

gallery is in /gallery
files in /files

Thanks in advance for any help

edit: my bad.. I put the slash in front of gallery :)
it works like a charm now.. thanks again...

hack of the month ! :)

GrendelKhan{TSU
10-24-2005, 06:39 AM
ack!! I would love this hack but....I get this error when I click the link to the pop-up:

Warning: chdir(): No such file or directory (errno 2) in /geek-gallery-popup.php on line 202

Warning: main(gallery_global.php): failed to open stream: No such file or directory in /geek-gallery-popup.php on line 203

Fatal error: main(): Failed opening required 'gallery_global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mydbname/public_html/forums/geek-gallery-popup.php on line 203


im running 3.5 gold, VBadvanced gallery

any ideas?


edit:
@GrendelKhan{TSU

read my post :) remove slashing from gallery location.. just put gallery in Gallery folder name (ie. gallery or photo)

lol yah..that was my prob.
;) :p :D thanks!

sensimilla
10-24-2005, 06:44 AM
@GrendelKhan{TSU

read my post :) remove slashing from gallery location.. just put gallery in Gallery folder name (ie. gallery or photo)

GrendelKhan{TSU
10-24-2005, 07:15 AM
Thanks for the release! The only trouble I'm having is that in the popup, if I switch pages, I get a 404 error (not found). Any ideas?

Also, the link to "subscriptions" is wrong, it should be "payments.php" in 3.5.0


same problem. get 404 when go to another page. (ie: only first page works) :/

GoTTi
10-24-2005, 07:38 AM
im getting error


Warning: chdir(): No such file or directory (errno 2) in /geek-gallery-popup.php on line 202

Warning: main(gallery_global.php): failed to open stream: No such file or directory in /geek-gallery-popup.php on line 203

Fatal error: main(): Failed opening required 'gallery_global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/SITE/public_html/forums/geek-gallery-popup.php on line 203

GoTTi
10-24-2005, 07:41 AM
i think i have to change settings in the popup.php right? i dont understand your instructions ;/

GoTTi
10-24-2005, 07:43 AM
do we alter stuff here?


// START GEEKPOPUP SETTINGS
$gallery_db = $vbulletin->options['geekgallery_db'];
$photo_system = $vbulletin->options['geekgallery_system'];
$pp_prefix = $vbulletin->options['geekgallery_pp_prefix'];
$pp_ver = $vbulletin->options['geekgallery_pp_ver'];
$gallery_path = $vbulletin->options['bburl'] . '/' . $vbulletin->options['geekgallery_url'];
$data_folder = $vbulletin->options['geekgallery_data'];
$default_method = $vbulletin->options['geekgallery_default'];
$userid = $vbulletin->userinfo['userid'];
$media_ext = $vbulletin->options['geekgallery_media'];
$perpage = $vbulletin->options['geekgallery_perpage'] ? $vbulletin->options['geekgallery_perpage'] : 8;
$offsetwidth = $vbulletin->options['geekgallery_offsetwidth'] ? $vbulletin->options['geekgallery_offsetwidth'] : 1;
$offsetheight = $vbulletin->options['geekgallery_offsetheight'] ? $vbulletin->options['geekgallery_offsetheight'] : 1;


$gallery_files_path = $gallery_path. $data_folder ;
$gallery_db .= ".";
// END GEEKPOPUP SETTINGS


????i dont understand these settings. please clarify for me.

GrendelKhan{TSU
10-24-2005, 10:39 AM
do we alter stuff here?


nope.

don't put a "/" in front of "gallery" ;)

https://vborg.vbsupport.ru/showpost.php?p=803420&postcount=23
:)

Nutz
10-24-2005, 12:48 PM
Nice hack idea.

I think I've set it up right:
../gallery for the "Gallery folder" setting because my gallery is outside the forum dir
/files for the "Data Folder" setting.

The strange thing is the page keeps loading and eventually times out?
Any help?

Edit: It's vba by the way :)

Thanks,
Mat

Kihon Kata
10-24-2005, 01:11 PM
OMG, this rocks. The www.MakeupTalk.com users are peeing themselves

GoTTi
10-24-2005, 06:29 PM
what???????????

The Geek
10-24-2005, 09:42 PM
Hey guys, like a dumb butt I didnt put in paths for galleries outside of the forum directory. Ill get it in.. Im just really swamped (ill try to get it in tomorrow night).

Your settings are adjusted through vb options in your admincp... not via file editing.

Thanks for the kind words everyone.

Nutz
10-24-2005, 10:01 PM
OK thanks for the update geek :)

Thanks,
Mat

b6gm6n
10-24-2005, 10:25 PM
the file posted by the guy with photopost installed (as do i, v5.2.1) worked well, i had to alter the paths (folder name) to ../gallery but you only get the first page, a 404 on everthing else!

cheers

-b6

Kihon Kata
10-24-2005, 11:51 PM
what???????????

ya, he's swamped like a dumb butt. lol ;)

GrendelKhan{TSU
10-25-2005, 08:36 AM
Hey guys, like a dumb butt I didnt put in paths for galleries outside of the forum directory. Ill get it in.. Im just really swamped (ill try to get it in tomorrow night).

Your settings are adjusted through vb options in your admincp... not via file editing.

Thanks for the kind words everyone.


is this in reference to the getting a 404 error when trying to view page 2, 3 etc? (just checking).

The Geek
10-25-2005, 12:29 PM
is this in reference to the getting a 404 error when trying to view page 2, 3 etc? (just checking).

Most likely the reason for it. Just right click on the next page link and view properties to see where its trying to go to.

GrendelKhan{TSU
10-25-2005, 01:04 PM
Most likely the reason for it. Just right click on the next page link and view properties to see where its trying to go to.
ic ic.

but ack!! I went to go check it again....and now...

NO extra pages are coming up. :/ weird.. I only get a few images (or one) when I know there are many in the category. And no additional pages.

any ideas what happened? I haven't touched it since the first install. :ermm:

The Geek
10-26-2005, 08:02 AM
ic ic.

but ack!! I went to go check it again....and now...

NO extra pages are coming up. :/ weird.. I only get a few images (or one) when I know there are many in the category. And no additional pages.

any ideas what happened? I haven't touched it since the first install. :ermm:

Can you PM me a test account and URL so I can test uploading and stuff?

Thanks

billbensen
10-26-2005, 06:09 PM
Getting this error...
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in \gallery\gallery_global.php on line 27

I recall getting this a while ago, but can't remember how to kill it.

Thanks,

Bill

trilljester
10-27-2005, 10:14 PM
I'm getting 404 errors when trying to go to the second page of images and vbAgallery is installed in a folder called gallery under the main Forums folder.

Ted S
10-28-2005, 03:56 AM
Looking at the source it appears that the multiple page calls are going to http://www.xyz.com/forum/geek-gallery-popup.php&page=2&catid=0&ed=vB_Editor_001

Since the first operator is an & instead of a ?, some servers (like my own) are having a hissy fit and producing a 404 page.

Thanks for hacking this and for keeping PP support despite not using that product anymore.

trilljester
10-28-2005, 05:18 PM
Ted_s: Should I change the call to a ? while waiting for a fix for this problem?

ricker
10-28-2005, 05:23 PM
I'm getting 404 errors when trying to go to the second page of images and vbAgallery is installed in a folder called gallery under the main Forums folder.

Same here ... still.

Looking at the source it appears that the multiple page calls are going to http://www.xyz.com/forum/geek-galle...d=vB_Editor_001

Where exactly is the source?

Bellinis
10-29-2005, 04:08 PM
We used to have this on our previous board and I'm so happy it's available for vbulletin too :)
Great work !!!

I've just installed, but I do have a path problem.
I'm using photopost and my photopost directory is located in my root folder.

Apparently, there are some script errors in the .php files if you are using Photopost. I got it corrected and working beautifully at my site.

Attached is the file I corrected.

I used martinchan's modiefied file (thanks martinchan!) to make it work, but it still isn't working 100%. The pop-up works great, only the inserted URL for the photo's is incorrect.

It shows for example:
http://www.domain.com/board/../photopost/data/502/2textielfabriek2.jpg

So I need to get rid of the "/board" :)
How can I change this?

Bellinis
10-29-2005, 07:42 PM
Also I noticed I can't used the page selector: no matter which pagenumber I press, it keeps showing me the same pictures :( (or does this have something to do with my problem described above?).

I'd love to get this working :)

FASherman
10-30-2005, 04:12 AM
Definitely not what I've come to expect from The Geek.

Things I've noticed right off:

1. No variable specified to check for version 5. After
$pp_ver = $vbulletin->options['geekgallery_pp_ver'];
You need to add
$pp_five = $vbulletin->options['geekgallery_pp_is_five'];

2. Change $photo_prefix to $pp_prefix

3. Need to define $imageid
$imageid = $vbulletin->options['geekgallery_pp_is_five'];geekgallery_perpage

Even then, the selected image posts into the page, not the editor and the page number links go nowhere.

Normally, "The Geek" means not only quality, but really cool innovations. The idea for this one delivers on the latter, but the former isn't up to usual standards.

DefenceTalk
10-30-2005, 11:33 AM
I am getting this error:

Database error in vBulletin 3.5.0:

Invalid SQL:
SELECT count(imageid) total FROM defence_gallery.photos WHERE userid=7;

MySQL Error : Table 'defence_gallery.photos' doesn't exist
Error Number : 1146
Date : Sunday, October 30th 2005 @ 08:31:57 AM
Script : http://www.defencetalk.com/forums/geek-gallery-popup.php?ed=vB_Editor_001
Referrer :
Classname : vb_database

Bellinis
10-30-2005, 11:42 AM
I am getting this error:

For photopost use the file found here:
https://vborg.vbsupport.ru/showpost.php?p=802174&postcount=13

(but it still doesn't work 100%)

DefenceTalk
10-30-2005, 05:24 PM
For photopost use the file found here:
https://vborg.vbsupport.ru/showpost.php?p=802174&postcount=13

(but it still doesn't work 100%)

Thanks!

Yeah, I am now getting 404 errors when trying to view images on other pages (1, 2, 3, etc.). :ermm:

trilljester
10-31-2005, 04:27 AM
I disabled this extension until it's fixed. Sorry about that Geek.

The Geek
10-31-2005, 09:44 AM
Fasherman - maybe you noticed that in the Readme AND the first post that PP framework is there but cant even be tested as I dont have PP anymore? A little hard to make something error free when you cant even test it. Sheesh.

The path issue and ampersand issue will get sorted tonight although im now debating even releasing it here at all now.

Bellinis
10-31-2005, 10:03 AM
Geek, I appreciate your work a lot and I would really love to get this working for photopost. I could give you access to my photopost script so you could test out some things if you need to. Let me know :)

Cheers,

Bellinis

The Geek
10-31-2005, 10:16 AM
Ive updated the package to address a couple of issue raised here. Initial testing looks fine however AS I MENTIONED BEFORE: I dont freaking have PP anymore so I cant really test it and therefore am not fully supporting PP installations. Everyones constructive input for the PP side of things is very helpful so thank you (I may take you up on your offer Bellinis)

This update addresses the missing ? in the url and should address installations outside of the forum directory.
Please note that there is a new setting (Server path and FULL URL).

To upgrade, upload the latest contents of upload/forums content and re-import the product-gpop.xml file overwiritng the previous version).

Thanks.

GrendelKhan{TSU
10-31-2005, 11:25 AM
Can you PM me a test account and URL so I can test uploading and stuff?

Thanks

whoa sorry..been away and totally didn't see this. :(

anyway...maybe a moot point now. just uploaded the new version and have a totally different issue now:

it won't load. :/

when click open...the pop-up comes up and processes foreeevverr (1%...2%...5%.....7%..... etc) and after a while it just craps out and I get a "page cannot be found error"

ack!! :(

I'm gunna PM you now anyway so you can take a look. :)

DefenceTalk
10-31-2005, 02:06 PM
getting database errors even with the new updated files;

Invalid SQL:
SELECT count(imageid) total FROM defence_gallery.photos WHERE userid=7;

MySQL Error : Table 'defence_gallery.photos' doesn't exist
Error Number : 1146

thanks!!!

The Geek
10-31-2005, 03:06 PM
Are you sure you are using the latest file? I changed that line. Can you just check at the top of the code for that page to see if it says 4.01?

Thanks

DefenceTalk
10-31-2005, 05:33 PM
Yup, this is what I got:


<?
################################################## ################################
## ##
## Geek Gallery Popup (gpop) 4.01 ##
## installer, upgrader, uninstaller and dishwasher ##
## You could be scolded and publicly humiliated by altering or stealing my code##
## Copyright 2005 by The Geek. Code may not be used in whole ##
## or part without my written permission. You may not distribute this ##
## or any of my files without my written permission. If you do, ##
## you could face imprisonment on some desolate island far from civilization ##
## dweeb. ##
## This pretty box for example is mine. If you copy or modify this pretty box, ##
## my suits will be on you like... well - like suits. Only poorly tailored ##
## cheap suits. People may make fun of you for such cheap suits. ##
## ##
## geek-gallery-popup.php ##
## Last file chage 22.10.05 ##
## ##
## Copyright ?2005 vBGeek. All Rights Reserved. ##
## This file may not be redistributed in whole or significant part. ##
## http://www.thevbgeek.com (http://www.thevbgeek.com/) ##
################################################## ################################
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'Geek-Gallery');
// ######################### REQUIRE BACK-END ############################
$globaltemplates = array(
'geek-photo-popup',
'geek-photo-row'
);
$phrasegroups = array('Geek_Gallery_Popup');
$specialtemplates = array(
'gallery_c_cache',
'gal_mod_cache',
'adv_gallery_opt',
'gallery_ugroups');
require_once('./global.php');

thanks

trilljester
10-31-2005, 06:27 PM
Re-enabled and working great! Thanks TheGeek for your contribution, it's a great addon!

moonclamp
10-31-2005, 08:25 PM
Without sounding dumb ... where do I find the settings that I am supposed to change?

moonclamp
10-31-2005, 08:40 PM
Without sounding dumb ... where do I find the settings that I am supposed to change?OK found it (my bad)

But now I'm getting this error:



Warning: array_merge() [function.array-merge (http://www.virtualstrangers.com/interactive/function.array-merge)]: Argument #2 is not an array in /home/moon/public_html/gallery/gallery_global.php on line 27

The Geek
10-31-2005, 08:49 PM
Moonclamp, thats a vba gallery file?

Defence: Can you list your settings? It looks like its trying for a photopost configuration. You do have photopost installed right?

Thanks

The Geek
10-31-2005, 08:53 PM
Moonclamp, thats a vba gallery file?

Defence: Can you list your settings? It looks like its trying for a photopost configuration. You do have photopost installed right?

Thanks

Moon, you can TRY this:

Edit geek-gallery-popup.php and find:
$cwd = getcwd();
after, put:
$globaltemplates=array();

moonclamp
10-31-2005, 09:23 PM
Moon, you can TRY this:

Edit geek-gallery-popup.php and find:
$cwd = getcwd();
after, put:
$globaltemplates=array();

Yep that seems to do the trick.

My configuration settings were correct, I'm using vba.

Is there anything yet for stopping images appearing above the header if the editor isn't selected?

Oh and thanks ... cool hack :)

*installs*

DefenceTalk
10-31-2005, 11:08 PM
yes, i do have pp installed here (http://www.defencetalk.com/pictures/) works great!
here are the settings, please see attached image

thanks

The Geek
11-01-2005, 05:38 AM
yes, i do have pp installed here (http://www.defencetalk.com/pictures/) works great!
here are the settings, please see attached image

thanks

Defence, I THINK I have it sussed now (this coding for something you dont have is proving to be difficult!).
Anyhooo, I updated the package with a new gee-gallery-popup.php file that SHOULD do you all right for PhotoPost. Please let me know.

I also put the fix in I mentioned for moon.

I havent gotten a chance to look into the image getting inserted into that page if the editor doesnt have focus. Im sure its nothing major. When I get some time ill look into it.

Thanks!

lazytown
11-01-2005, 09:50 AM
The new version definitely works better! I noticed three uncached templates.

Uncached templates: adv_gallery_footer (1)
Uncached templates: adv_gallery_navbar (1)
Uncached templates: adv_gallery_navbar_newestbits (10)

Thanks!
-vissa

DefenceTalk
11-01-2005, 10:17 AM
Thanks Geek.

Nothing after page 1 shows up still... 404 errors.

The Geek
11-01-2005, 12:05 PM
Thanks vissa. I guess ill ad those for vba users though they arent used (they must be generated with the inclusion).

Defence - Can you paste the URL its trying to go to?

DefenceTalk
11-01-2005, 02:14 PM
Thanks vissa. I guess ill ad those for vba users though they arent used (they must be generated with the inclusion).

Defence - Can you paste the URL its trying to go to?

Here you go:

http://www.defencetalk.com/forums/geek-gallery-popup.php&page=2?catid=1&ed=vB_Editor_001

thanks

banshee
11-03-2005, 02:30 PM
This is a great hack. INSTALLED

Is there any hacks out there that make Photo's be sent to Photopost when posted in the forums? So instead of having the photo attach in the Vbulletin program have it sent to the users gallery in PhotoPost?

Just curious

The Geek
11-03-2005, 04:17 PM
Updated package with very minor change to fix 404 errors when browsing multiple pages on a PP installation. Denfence - This is for you ;)

Thanks everyone.

banshee
11-03-2005, 10:54 PM
When I click on the page numbers I don't get a 404 the page refreshes and the photo's stay the same.

Please help

thanks

Damian
11-04-2005, 01:27 AM
Installed. Great job as usual Geek.

nix
11-04-2005, 02:16 AM
Does this work with firefox? If i put my full url to the gallery it will not load in firefox. If I just leave /gallery it loads the thumbnails but doesn't insert the correct link. Both ways work in IE.

.Tim
11-04-2005, 03:37 AM
Works in firefox for me.

Talisman
11-04-2005, 03:47 AM
Hey Geek.. thanks for releasing the great hack.. we're gonna love this one.

One minor problem, I noticed was reported here on page 4 of this thread >> the MySql error where it goes to some databasename_photos table that doesn't exist.... when it should go looking for the databasename_photopostprefix_photos table. (Hope that makes sense.)

In your reply on page 4, you said you fixed that in the download files and we should be getting version 4.01. Well I just downloaded and installed your hack tonight and my zip file came with this one:

Geek Gallery Popup 4.00 Readme File

What do I need to to change ... and where?

Thanks again for the hack!

ricker
11-04-2005, 03:50 AM
Patches work in Safari. Thanks Geek.

DefenceTalk
11-04-2005, 03:57 PM
Patches work in Safari. Thanks Geek.

Thanks geek but... :(

I get this error:

Database error in vBulletin 3.5.0:

Invalid SQL:
SELECT count(id) total FROM defence_gallery.photos WHERE userid=7;

MySQL Error : Table 'defence_gallery.photos' doesn't exist
Error Number : 1146
Date : Friday, November 4th 2005 @ 12:56:25 PM
Script : http://www.defencetalk.com/forums/geek-gallery-popup.php?ed=vB_Editor_001
Referrer :
Classname : vb_database

Bellinis
11-04-2005, 10:22 PM
Last night I did my second install if the Geek Gal Popup, but I'm still having the same issues:

Installation went smoothly, thumbnails do show, but I still can't browse to another page. I did uninstall the product, deleted the old geekfile.phph and uploaded the lastest release (3 nov.)

The link for page 2 now looks like:
http://www.mydomain.com/board/geek-gallery-popup.php?catid=1&ed=vB_Editor_001&page=2

I'm using photopost 5.2
Installation is in /photopost
Board is in /board

From the discussions above I understand it should work. Why isn't it here?
Geek, please help me out here :(

Thanks ;-)

lazytown
11-04-2005, 11:00 PM
The Geek,
Would it be possible to have an option to display ALL a user's pictures instead of having them go to a category? Perhaps the top dropdown item could be "all."

-vissa

Bellinis
11-05-2005, 12:57 PM
One little suggestion: a 'close this window' button/link would be handy :)

TwinsForMe
11-06-2005, 08:53 PM
I'm getting the same error as others:

Database error in vBulletin 3.5.1:

Invalid SQL:
SELECT count(id) total FROM .photos WHERE userid=1;

MySQL Error : Table 't****_*****.photos' doesn't exist
Error Number : 1146
Date : Sunday, November 6th 2005 @ 05:50:11 PM
Script : http://twinteresting.com/forums/geek-gallery-popup.php?ed=vB_Editor_001
Referrer : http://twinteresting.com/forums/newreply.php?do=newreply&noquote=1&p=590827
IP Address : 68.******
Username : *****
Classname : vb_database

**** Edited

Ted S
11-07-2005, 12:02 AM
The Geek,
The next/previous page links are working now but the photos don't seem to be changing based on what page i view (I see the same set of photos on every page). This is a photopost 5.x install using your latest version.

If you need pp access to play with this I can let you in to my dev site? Just let me know.

P.S. I found a way around the issue by adding:


if ($page > 1){
$start = ($page-1) * 8;
}
else
{
$start = 0;
}


after elseif($photo_system=="pp")

oz_moses
11-07-2005, 07:38 AM
Geek, you are the undisputed king of making me laugh when installing and testing your hacks. Your hacks are pretty decent too!

I've upgraded from a previous version and the one issue I had with installing the upgrade is once it was all done the popup screen was still the old one. As it turns out I had modified the geek-photo-popup template, and simply had to revert it for all your new funky changes to come through.

Cyricx
11-07-2005, 11:36 AM
Using the second zip I've got it working on photopost.

These two settings I had to tinker with

Gallery URL

I set mine as "photopost" with NO SLASHES

And

Data Folder

I set mine as "/data"

And it's working great! :)

The Geek
11-07-2005, 01:21 PM
Hey Cyricx, do you mean the second one that another user posted or the 4.01b package?

I thought most PP issues were resolved. A user has offered me access to their PP so I should be able to tidy this up once and for all!

Tungsten
11-07-2005, 02:17 PM
Thanks geek but... :(

I get this error:

I'm getting the exact same error on my forums.

GrendelKhan{TSU
11-08-2005, 02:23 AM
love the hack!!

question: can make it from WITHING vbaGallery??

that is...it doesn't work at all from the replies to images in vbaGallery itself.
or is that just me? :/

PennylessZ28
11-08-2005, 02:58 AM
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /gallery/gallery_global.php on line 27

I just updated, but I still get the same message above.

FASherman
11-08-2005, 07:57 PM
To everyone getting an error like this:

Database error in vBulletin 3.5.0:

Invalid SQL:
SELECT count(id) total FROM [database].photos WHERE userid=[uid];

MySQL Error : Table '[database].photos' doesn't exist
Error Number : 1146
Date : Friday, November 4th 2005 @ 12:56:25 PM
Script : http://www.yoursite.com/forums/g...d=vB_Editor_001
Referrer :
Classname : vb_database

Do this...

FIND
$pages = $db->query_first("SELECT count(id) total FROM $gallery_db" . $photo_prefix . "photos WHERE userid=$userid ");
AND REPLACE WITH:
$pages = $db->query_first("SELECT count(id) total FROM $gallery_db" . $pp_prefix . "photos WHERE userid=$userid ");

I'm still looking to see what the problem is with the page links.

EDIT...

Okay, found it.

FIND:
$query="SELECT
images.id AS imageid,images.cat,c.catname AS cattitle,'' AS extention,images.title,
images.bigimage AS filename,images.medsize,images.width owidth, images.height oheight,images.medwidth width,images.medheight height
FROM $gallery_db" . $pp_prefix . "photos AS images
INNER JOIN $gallery_db" . $pp_prefix . "categories AS c on images.cat=c.id
WHERE images.userid=$userid and images.approved=1 ORDER BY images.date DESC LIMIT $start ," . ($perpage);

ADD BEFORE IT:
$start = ($page-1) * $perpage;

That should fix the URL problem.

FASherman
11-08-2005, 08:07 PM
That only leaves the issue with the image being inserted in the header when the editor looses focus.

The Geek
11-08-2005, 08:22 PM
You rock man! Ive just been working on this (tough to do when I dont have PP anymore!) This has saved me loads of time for the PP users.

Thanks again! Ill test and update the package.

FASherman
11-08-2005, 08:30 PM
You rock man! Ive just been working on this (tough to do when I dont have PP anymore!) This has saved me loads of time for the PP users.

Thanks again! Ill test and update the package.
You're the one coming up with the killer hacks. I just fixed a few minor things. Hardly worth mentioning.

j.kramer
11-08-2005, 09:23 PM
Hi All,

Everything works good untill I start a new thread and try to insert images they all appear on top of site instead of message box.
When just reply to a thread everything works fine!!

Anybody know what could cause this problem?

Geek you already got access to my site so maybe you could also take a look at that one while your at it ;-)

FASherman
11-08-2005, 09:29 PM
I can explain the problem. When you start a new thread or even a blank reply, you need to activate the cursor in the editor to give the editor focus, then click on the link for your pictures.

If you just hit the new thread or reply button and then the pic link after the page loads, the editor never has focus so the insert is being done in the document root, which is the page itself.

Note to TheGeek...

I'm sure the answer is in the smilie code. If you take and make a reply, click in the title box and then click on a smilie, focus is returned to the editor and the smilie is inserted in the first character position. That should for your hack too.

j.kramer
11-08-2005, 09:36 PM
FASherman that's what happens indeed, so that's why I thought a reply on thread worked because I already focused cursor.

The Geek
11-08-2005, 09:44 PM
Package update (thanks Fasherman).

The only outstanding issue I know of now is when the image gets dumped into the page instead of the editor.

Talisman
11-09-2005, 01:53 AM
Oh this is really nice.... Thanks so much!

GrendelKhan{TSU
11-10-2005, 02:16 AM
I get this error:

Warning: main(./global.php): failed to open stream: No such file or directory in /home/XXXXMYDBXXX/public_html/forums/gallery/geek-gallery-popup.php on line 43

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/XXXMYDBXXXX/public_html/forums/gallery/geek-gallery-popup.php on line 43

this only is when replying to an image in vbaGALLERY itself.

anyone else get this? or does it work for everyone else?

The Geek
11-10-2005, 06:24 AM
I think its because the gallery isnt in your forum directory so the paths are off. Maybe fully qualified paths wil sort this. Ill check it out.

Jason McConnell
11-10-2005, 03:30 PM
I think its because the gallery isnt in your forum directory so the paths are off. Maybe fully qualified paths wil sort this. Ill check it out.

Works great here Geek! Thanks :D

jmacieira
11-12-2005, 09:29 PM
Hi

This hack work with Vb3.0.3 and PHotoPost 4.86 ? :rolleyes:

Tanks

The Geek
11-13-2005, 09:25 AM
Hi

This hack work with Vb3.0.3 and PHotoPost 4.86 ? :rolleyes:

Tanks

No however there is a version in the vb3.0x forums.

gldtn
11-18-2005, 10:11 AM
No however there is a version in the vb3.0x forums.

Looking nice.. as always, I love your hacks ;)

Couple of suggestions..

? Allow specified usegroups to grab images from othe users or a view all option
? Allow to view all images from all catergories at the same time, view all option

Also would it be possible to layout the phrases that this version use? I had the older version installed and phrases got mixed together. I'm trying to clean it up..

Thanks ;)

gldtn
11-19-2005, 11:29 PM
* gldtn Seems like I found a bug.. should I eat it?

Concious: Nah, don't be selfish, leave it for Geek ;)

template: geek-photo-popup
<if condition="$option1==1">
//to gallery
result = lhs + '' + thumb + ' (' + gallery +')' + rhs;
result_html = lhs_html + "<a href='" + gallery +"' target='_blank'><img src='" + thumb + "'></a>" + rhs_html;
<else />


Returns: url=http://www.MYDOMAIN.org/gallery/files/showimage.php?i=441][imghttp://www.MYDOMAIN.org/gallery/files/1/miniatura_thumb.jpg[/img][/url]

The /files should not be on the url to the gallery

PS; took a couple of []'s out of the return code so it would appear here

mrderanged
11-20-2005, 05:20 AM
Just installed and I'm absolutely LOVIN it. One question though. What phrase do I need to change to change the message that users get when they have no images in the gallery?

Thanks and awesome work!!!!

The Geek
11-20-2005, 07:26 AM
gldtn - thanks. You sure you dont have /files in your settings?

deranged: search your phrases (cant recall off the top of my head!)

nJoy

gldtn
11-20-2005, 08:06 AM
gldtn - thanks. You sure you dont have /files in your settings?

deranged: search your phrases (cant recall off the top of my head!)

nJoy

Oopps.. I thought I checked for that.. I got a little lost on the config paths

Anyways glad to know it's not actually a bug ;) works great!

ricker
11-29-2005, 09:49 PM
Has anyone upgraded to the "new" Photopost? PP bought VBa, in case that's news around here. Does the hack still work? (And did I mention that I hate photopost?) :P

applehat
12-01-2005, 10:24 PM
All im getting is a blank page!

Can you help me?

using vBa

Dennis B
12-02-2005, 11:40 PM
This hack rocks! Thanks Geek.

Kihon Kata
12-11-2005, 02:16 PM
Geek, I have a problem after upgrading to 3.5.2. I pmed you on your site of www.thevbgeek.com (http://www.thevbgeek.com), but maybe you'll see it here.

Im running this hack here: www.MakeupTalk.com (http://www.makeuptalk.com/). It rocks....but I have a small problem. Take a look at my 2 sceenies here:

https://vborg.vbsupport.ru/


https://vborg.vbsupport.ru/

(this is the error)

What the heck could this be?

tormodg
12-11-2005, 02:46 PM
Geek, I have a problem after upgrading to 3.5.2. I pmed you on your site of www.thevbgeek.com (http://www.thevbgeek.com), but maybe you'll see it here.

Im running this hack here: www.MakeupTalk.com (http://www.makeuptalk.com/). It rocks....but I have a small problem. Take a look at my 2 sceenies here:

http://www.makeuptalk.com/images/temp/Untitled1.gif


http://www.makeuptalk.com/images/temp/Untitled2.gif

(this is the error)

What the heck could this be?

It seems the filename has a "&" rather than a "?" appended after it.

Kihon Kata
12-11-2005, 02:49 PM
It seems the filename has a "&" rather than a "?" appended after it.

Hmm, how does one fix that? in geek-gallery-popup.php?

The Geek
12-11-2005, 09:57 PM
do you have the latest update? I think this was an old bug.

Kihon Kata
12-11-2005, 10:22 PM
do you have the latest update? I think this was an old bug.

Yes, I have the latest update and nope...path is ok. I have fixed it already. I had to make some edits to the stupid pagenav function:

Changed:
$navigation = construct_page_nav($page, $perpage, $pages['total'], 'geek-gallery-popup.php', '&amp;catid=' . $catid . '&amp;ed=' . $ed);

To:
$navigation = construct_page_nav($page, $perpage, $pages['total'], 'geek-gallery-popup.php?', '&amp;catid=' . $catid . '&amp;ed=' . $ed);

That fixed it.

Michael-DLR
12-12-2005, 02:20 AM
Thank you so much for the hack!

dieselpowered
12-16-2005, 06:18 PM
Can't understand how I missed this...excellent!

DefenceTalk
12-16-2005, 06:31 PM
Tony, how did you get those category list to appear in directories?

thanks

dieselpowered
12-16-2005, 07:25 PM
Any resolution to that pesky issue of the image being placed within the site and not in the editor?

Also, if any of the options are changed my images dissapear and I have to close the window to get them back...Odd stuff indeed!

Any help would be greatly appreciate with these two issues :)

hamedatl
01-03-2006, 02:01 AM
We're running the photopost on a different database with a different username/password. The Geek Gallery Popup Settings allow choosing the database, but not the username/password... Is there somewhere in the script that I can set this? Thanks.

beernuts
01-03-2006, 05:55 AM
Any resolution to that pesky issue of the image being placed within the site and not in the editor?

Also, if any of the options are changed my images dissapear and I have to close the window to get them back...Odd stuff indeed!

Any help would be greatly appreciate with these two issues :)
Can I just throw in a meek ditto?

This mod would be fantastic, but given the number of users on my board, these two issues make this mod not quite ready for primetime.

-Nick

ProjectCamaro
01-04-2006, 12:46 AM
I have Photopost VBGallery and after trying everything listed on all these pages it simply won't work. I'm not sure what changes Photopost made to the gallery but they are effecting the hack.

hotwheels
01-04-2006, 04:36 AM
ProjectCamaro, try this.......If you can see your image's in the gallery normally.

Server Path: /your/path/here/forums/gallery

Gallery URL: http://www.yoursite.com/forums/gallery

Data Folder: /files

click save.......

Now go to the geek-gallery-popup.php either in your file manager, or you can edit the file, reupload it and just copy over the existing file....
Anyways, open geek-gallery-popup.php and scroll down to $folderstring = $gallery_files_path;
if ($photo_system == "vba")
{
$folders = preg_split( '//',$userid,-1, PREG_SPLIT_NO_EMPTY);
foreach ($folders AS $uid)
{
//$folderstring .= '/' . $uid;
}
And where you see $folderstring .= '/' . $uid; Put // in front of $folderstring .= '/' . $uid; just like i have in the quote.........see what happens.


hotwheels

Trana
01-11-2006, 02:06 AM
Hmmmm, I can't seem to get this to work. Right now it is popping up a blank white window.

I am running this on Windows 2003, so I was wondering if someone can help me get my paths correct.

c:\inetpub\wwwroot (CMPS home)
c:\inetpub\wwwroot\forum (forum home)
c:\inetpub\wwwroot\gallery (VBA Gallery home)
c:\inetpub\wwwroot\gallery\files (VBA Gallery photos)

Right now I am running this on a local test box, so my url is http://localhost

I think I have tried every combination but still can't seem to get the right settings.

Any ideas?

Thanks!

IrPr
01-15-2006, 12:28 AM
db error on 3.5.3


Database error in vBulletin 3.5.3:

Invalid SQL:
SELECT count(id) total FROM .photos WHERE userid=2;

MySQL Error : Table 'Forum.photos' doesn't exist
Error Number : 1146
Date : Sunday, January 15th 2006 @ 02:27:16 AM
Script :***/geek-gallery-popup.php?ed=vB_Editor_001
Referrer : ***/newreply.php?do=newreply&p=129
IP Address : 127.0.0.1
Username : -[Moosa]-
Classname : vb_database



Edit: changed $vbulletin->options['geekgallery_system'] to vba then popup got blank

The Geek
01-15-2006, 07:28 AM
Can you verify that you guys have geek-photo-popup template installed in your style?

IrPr
01-15-2006, 10:02 AM
i made sure, yes i do
geek-photo-popup and geek-photo-row

Rich
01-15-2006, 03:19 PM
Hello,

Hotwheels' modification corrected an issue I was having. My images are all being stored in the "/files" directory and not "/files/1/". This includes my members. I was getting a bunch of the horrid "red x's" where the images should have been. I am running the ORIGINAL vBadvanced Gallery by Brian if that makes a difference. Mine was not upgraded through PP.

By adding the comment that Hotwheels suggested, MY images appear now. I am currently waiting to make sure member submissions do as well.

PennylessZ28
01-16-2006, 07:32 PM
Hey, I got some problems.

First one is this is at the top of the popup
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /gallery/gallery_global.php on line 30

Second problem, when using internet explorer, it doesn't put the images in the post at all but directly on the top of my page???

Screen shot attacthed, save post results in no photos.

PennylessZ28
01-16-2006, 07:40 PM
Moon, you can TRY this:

Edit geek-gallery-popup.php and find:
$cwd = getcwd();
after, put:
$globaltemplates=array();

This solved the function error in my above post.

Yep that seems to do the trick.

My configuration settings were correct, I'm using vba.

Is there anything yet for stopping images appearing above the header if the editor isn't selected?

Oh and thanks ... cool hack :)

*installs*

This question was never answered and overlooked.

hotwheels
01-16-2006, 07:41 PM
Hello,

Hotwheels' modification corrected an issue I was having. My images are all being stored in the "/files" directory and not "/files/1/". This includes my members. I was getting a bunch of the horrid "red x's" where the images should have been. I am running the ORIGINAL vBadvanced Gallery by Brian if that makes a difference. Mine was not upgraded through PP.

By adding the comment that Hotwheels suggested, MY images appear now. I am currently waiting to make sure member submissions do as well.


Thanks for the update.........

The Geek
01-17-2006, 04:09 PM
If the editor does not have focus, the images get thrown in the top of the page. Its a clearly defined Known issue in the first post (always has been).
I am not too sure as to what could cause the blank pages, or bad image paths. The key problem is that this was designed for a version of vbagallery that is no longer available or supported. PP support was put in, but only blindly as I don't own it, and I don't know what else has changed with ppgallery now.

In a nutshell, its a sticky mess and I'm not sure how to proceed. Maybe its best to scrap the hack all together which seems a shame as most people seem to be cracking on pretty well with it.

tormodg
01-17-2006, 04:12 PM
If the editor does not have focus, the images get thrown in the top of the page. Its a clearly defined Known issue in the first post (always has been).
I am not too sure as to what could cause the blank pages, or bad image paths. The key problem is that this was designed for a version of vbagallery that is no longer available or supported. PP support was put in, but only blindly as I don't own it, and I don't know what else has changed with ppgallery now.

In a nutshell, its a sticky mess and I'm not sure how to proceed. Maybe its best to scrap the hack all together which seems a shame as most people seem to be cracking on pretty well with it.

Geek, it IS a cracking hack and perhaps one of the most useful (except for GARS, of course). We use it all the time. :)

kahmeal
01-24-2006, 08:43 AM
Not sure if this is a new bug or not, but when the images belong to other categories in addition to the members gallery, I get a bunch of blank thumbnails listed along with the working thumbnails from the member's gallery. Here's a screenshot:

https://vborg.vbsupport.ru/

This problem does not occur if no additional category is specified for a given image when it is uploaded by the user.

The Geek
01-24-2006, 05:59 PM
havent noticed before. Ill see if I can check it out when I get back into town.

THanks

kahmeal
01-25-2006, 02:49 AM
Is there any way to set height/width of the popup window as well as how many columns/rows of pictures to display?

docvader
01-25-2006, 05:51 AM
Impressive hack. Installed nicely, all my images and templates appear to be working correctly, pages change, etc, etc. Using lastest versions of Photopost and VB. When I click on an image, it inserts into the editor,and the image is clearly visible in the editor, but when I submit the post, it puts an http clickable URL to the thumbnail, instead of the thumbnail image itself. I would think that I installed this correctly, as, the images all seem to work correctly, prior to submitting the post.

It's the right URL. I just don't see the actual thumbnail (or actual image, depending upon choice made), in the post. Smilie images get put in without problems.

Here's a link to a test post: http://www.russbo.org/vb/showpost.php?p=24337&postcount=15

Same issue in IE and Netscape; browser appears to make no difference. Any ideas??? Thanks!
rich

Trana
01-29-2006, 09:48 PM
Can someone please help me? I have been unable to get this to work.

3.5.1
VBA Gallery (now Photopost) - most recent version
NT/IIS server

A screen shot of my paths is included. I have tried a LOT of different options and none of them seem to work.

Right now, when I click on My Files it opens a blank popup.

Thanks!

The Geek
01-30-2006, 04:51 PM
I think this baby needs a little suspension until I can do some testing on the newest version of vbag. Ill post when I can get a little closer to a solution. Right now, im running the last release of vba's version and its fine on my side.

Saying that... blank pages are usually a result of missing templates. Can you double check?

Kihon Kata
01-30-2006, 05:05 PM
I think this baby needs a little suspension until I can do some testing on the newest version of vbag. Ill post when I can get a little closer to a solution. Right now, im running the last release of vba's version and its fine on my side.

Saying that... blank pages are usually a result of missing templates. Can you double check?

Ours is also working FINE on the latest VBA Gallery.

Trana
01-30-2006, 05:18 PM
Saying that... blank pages are usually a result of missing templates. Can you double check?

Hey Geek, welcome back.

What templates do I need to check? I have geek-photo-popup and it is populated.

Thanks!

The Geek
01-30-2006, 05:35 PM
Hey Geek, welcome back.

What templates do I need to check? I have geek-photo-popup and it is populated.

Thanks!

Thanks :)

That should be cool, however make sure its in all styles. It may be an IIS problem too - I havent tested it in that environment.

Trana
01-30-2006, 06:24 PM
Ours is also working FINE on the latest VBA Gallery.

By chance, are you running this on IIS?



If anyone is running this on IIS, would you mind posting what you are using for the file/url paths in the config page?

Thanks!

.Tim
02-03-2006, 01:47 AM
For some reason this all of a sudden stopped working. :(
Whenever you click on an image, it does nothing. Any ideas? I've reuploaded the file, reuploaded the product and redid the template edit.

Trana
02-06-2006, 04:19 PM
I still cannot get this to work properly. Can anyone help me confirm that my paths are setup properly?

Thanks!

hotwheels
02-07-2006, 08:08 AM
Can someone please help me? I have been unable to get this to work.

3.5.1
VBA Gallery (now Photopost) - most recent version
NT/IIS server

A screen shot of my paths is included. I have tried a LOT of different options and none of them seem to work.

Right now, when I click on My Files it opens a blank popup.

Thanks!
trana, those aren't correct..........

should look like:

Server path to gallery /home3/******/public_html/forums/gallery

Full URL to gallery root http://www.**********.com/forums/gallery

Data folder that holds photos with leading slash ie /files or /data) /files

Trana
02-07-2006, 03:05 PM
Well, progress!

When I click on a photo to include it in the message, the photos are added to the message window at the top of the page (above my header image, navbar, etc).

Edit: Has anyone ever been able to fix this?

hotwheels
02-07-2006, 06:22 PM
Trana, do me a favor and try this:

Edit geek-gallery-popup.php and find:
$cwd = getcwd();
after, put:
$globaltemplates=array(); and see what happens........

Trana
02-07-2006, 09:21 PM
Thanks!

That worked.

Now if someone could figure out how to make sure the images end up in the editor and not the top of the browser...

hotwheels
02-08-2006, 11:57 AM
That i am not sure of..........my image's appear in the thread/post.

jluerken
02-14-2006, 08:49 PM
How can I make this running with vbSEO ?

Trana
02-14-2006, 10:23 PM
I'm not sure what this hack has to do with vbSEO?

jluerken
02-15-2006, 10:50 AM
I'm not sure what this hack has to do with vbSEO?

You have to modify the hack of add custom rules to vB SEO to let the images be displayed.

I installed vB SEO and now the popup hack is only showing cross images (image not found).

I think this happens cause vB SEO tries to rewrite the IMG SRC values and now does not find the images anymore.

Maybe Geek knows about this problem and can help.

Example:
I open the popup and click on one of the cross images.
In the thread this is pasted:
http://www.domain.com/gallery/files/3/3-bbboys.de.vu_thumb.jpg (http://www.domain.com/gallery/showimage.php?i=228)

This is wrong cause currently for the gallery I do not make a rewrite.
The geek popup script should take the old values and not rewritten links.

The Geek
02-15-2006, 10:57 AM
Hey there. This script has nothing to do with vbseo. If it worked before vbseo and now it doesnt, I would suspect the problem lies there.
However in fairness I use this script on www.thenailgeek.com and use vbseo and neither needed any additional tweaking or configuring.

jluerken
02-15-2006, 11:55 AM
Hey there. This script has nothing to do with vbseo. If it worked before vbseo and now it doesnt, I would suspect the problem lies there.
However in fairness I use this script on www.thenailgeek.com and use vbseo and neither needed any additional tweaking or configuring.

This
https://vborg.vbsupport.ru/showpost.php?p=864012&postcount=125
fixed my problem :D

cavyspirit
02-20-2006, 10:58 PM
Great stuff!! Thanks.

Two questions. When you are first using it, it's hard to tell that the photo actually got inserted. I can see my new users filling up their posts with photos, then hitting my vb photo limit of 5.

Some kind of more obvious feedback message that the photo was inserted would be great, along with the option to close the window as previously suggested.

Also, just a question--I need a way to put a limit on the width of the original image option. I allow fairly big images in the gallery, but don't want them displayed that big in posts. How can I limit the max width without forcing smaller photos to a potentially higher max width?

Again, thanks for a great hack!

am-fs
03-30-2006, 07:00 PM
Been using this product since 3.0x

But my server updated my PHP to 4.3.10 and now this product is not working correctly.

Geek Pop Up Page is taking forever to load:

Page generated in 80.48932 seconds with 12 queries (3 queries for uncached templates) [Server Loads: 0.04 0.11 : 0.09]
Uncached templates: adv_gallery_footer (1)
Uncached templates: adv_gallery_navbar (1)
Uncached templates: adv_gallery_navbar_newestbits (10)

any ideas?

thanks

GoTTi
04-08-2006, 10:59 PM
the link to the popup is not showing for me when i edit the template.

gldtn
05-19-2006, 07:33 AM
Geek, is it possible to do this with vB default attachments? Sorta like letting the users pull his images uploaded by the user itself?

Thanks :D

The Geek
05-19-2006, 07:50 AM
Not without some serious tweaking :(

Isnt it easier for the user to just upload the same image and insert into their message anyway?

BlackxRam
06-08-2006, 08:11 AM
Running Latest Photopost and the script is unable to located any images. I get the message:

If you see this you dont have any images

My Gallery is located in a folder multimedia on my site root and my forums are located in folder forums on my site root.

Anyone have any ideas?

settings are as follows:

prefix= pp_
path= /home/ultragam/public_html/multimedia
domain= http://www.ultragameplayers.com/multimedia
data folder= /data

any ideas?

futuredood
06-29-2006, 04:03 PM
i thumbed through this thread and had a couple of probs i couldn't find help on. to confirm, this does work on vb 3.5.4 and vbgallery 1.0.2.

- for thumbs, i needed to change /gallery0/ to /gallery/files/. I added /files to

$folders = preg_split('//', $userid, -1, PREG_SPLIT_NO_EMPTY);
foreach ($folders AS $uid)
{
$folderstring .= '/' . $uid;

yet, I can't manage to get rid of that 0 right after /gallery

- on insert, the image properties should be /gallery/files not just /gallery

morrow
07-10-2006, 04:37 PM
nice hack... Clicking install!

futuredood
07-22-2006, 03:54 AM
here's the bug i encountered, which i'm sure everybody has for 3.5.4:

everything works fine when you post a comment. when you edit a comment and hit save, the link no longer works.. it becomes just a text link. this seems like a minor bug that i hope can be fixed?

mrderanged
08-28-2006, 11:23 PM
Does this hack work with 3.6?

Thanks

Kihon Kata
08-29-2006, 03:01 AM
Does this hack work with 3.6?

Thanks
Nope, it doesn't. Currently I have been conversing with GEEK and he'll look into this soon. But not soon enough for me. If anyone knows how to PORT this up, Let us know

mrderanged
08-29-2006, 03:13 AM
Hey Geek,

Any way to "grease" the wheels on getting this to work with 3.6? I have paypal.... ;)

Thanks

LBmtb
09-24-2006, 11:06 PM
Not sure if this is a new bug or not, but when the images belong to other categories in addition to the members gallery, I get a bunch of blank thumbnails listed along with the working thumbnails from the member's gallery. Here's a screenshot:

https://vborg.vbsupport.ru/

This problem does not occur if no additional category is specified for a given image when it is uploaded by the user.
I have the same problem. :ermm: Photopost version 5.3.1 and VB 3.6. If you need a few bucks via paypal for 'encouragement,' PM me. This would be very nice if it would would perfectly. Dont know if it matters but I also paid for GARS.

Kihon Kata
09-24-2006, 11:40 PM
I have been beggin' Geek right here (http://www.thevbgeek.com/showthread.php?t=2083)

Hopefully he'll get to it soon.

cellarius
11-08-2006, 05:05 AM
Does this hack work with 3.6?

Yes, it does. Just installed Photopost 5.5 and this hack on 3.6.2, working like a charm right out of the box. No problems whatsoever.

Sven

mindbuster
11-17-2006, 05:04 AM
For those who are using photopost vBGallery, and not the ordinary photopost, you can edit the geek_gallery_popup.php file and rename the tables, any occurance of "adv_gallery_whatever" should be changed to "ppgal_whatever", that makes geek_popup work with vB3.6, i just went through it, works fine.

Just a hint :)

CeBra
11-17-2006, 12:03 PM
Yes, it does. Just installed Photopost 5.5 and this hack on 3.6.2, working like a charm right out of the box. No problems whatsoever.

Sven
mmh - I tried it today with PP 5.5. and vB 3.6.3 and ran into a db_connect error.
I have PP and vB installed in different db's for backup-reasons.

Error-message is:

Invalid SQL:
SELECT count(id) total FROM d123456.pp_photos WHERE userid=1;

MySQL-Fehler : Access denied for user: 'd5896545@localhost' to database 'd123456'

Any idea where I can set the db login values? (If that's the only problem here ..)

Any help is much appreciated

rwilkins108
12-02-2006, 10:12 AM
I have the same problem. :ermm: Photopost version 5.3.1 and VB 3.6. If you need a few bucks via paypal for 'encouragement,' PM me. This would be very nice if it would would perfectly. Dont know if it matters but I also paid for GARS.

I had the same problem and changed two of the SQL Select statements in the geek-gallery-popup.php file to ignore the row if it's a category (storecat=0).

here are the two places I had to change for PP:

FROM:
$pages = $db->query_first("SELECT count(id) total FROM $gallery_db" . $pp_prefix . "photos WHERE userid=$userid");

TO:
$pages = $db->query_first("SELECT count(id) total FROM $gallery_db" . $pp_prefix . "photos WHERE userid=$userid AND storecat=0");

AND

FROM:
$query="SELECT
images.id AS imageid,images.cat,c.catname AS cattitle,'' AS extention,images.title,
images.bigimage AS filename,images.medsize,images.width owidth, images.height oheight,images.medwidth width,images.medheight height
FROM $gallery_db" . $pp_prefix . "photos AS images
INNER JOIN $gallery_db" . $pp_prefix . "categories AS c on images.cat=c.id
WHERE images.userid=$userid and images.approved=1 ORDER BY images.date DESC LIMIT $start ," . ($perpage);


TO:
$query="SELECT
images.id AS imageid,images.cat,c.catname AS cattitle,'' AS extention,images.title,
images.bigimage AS filename,images.medsize,images.width owidth, images.height oheight,images.medwidth width,images.medheight height
FROM $gallery_db" . $pp_prefix . "photos AS images
INNER JOIN $gallery_db" . $pp_prefix . "categories AS c on images.cat=c.id
WHERE images.userid=$userid and images.storecat=0 and images.approved=1 ORDER BY images.date DESC LIMIT $start ," . ($perpage);


Ron

rwilkins108
12-03-2006, 01:10 AM
Just wanted to say this mod is great, i love it! I wanted to add a bit of functionality to it, so I posted this on PhotoPost's web site and wanted to see if anyone here has any idea:
__________________________________________________ ___
Hi, I've got Photopost Pro and it's great.

I've got a vB mod that allows you to insert an image from your gallery into the WYSIWYG editor (Geek Gallery Popup 4.0) and it works nice, but I'd like to add 1 more piece of functionality to it, uploading pictures to your gallery right in the "insert an image" popup.

I've added 2 text boxes to that popup, one that would take a URL and one that is for a File (with browse button) as well as a button to upload the requested file to the person's gallery.

The question is, how do I actually upload it? Is there a PP function I can call that, given file and user information, would upload into their own gallery? I'd like it to just upload without opening another page, no description nor category selection, just to the user's gallery. If not a function, would the only other way to insert via sql, any other ideas on how to do this?

Thanks a ton!

dpnow
12-05-2006, 01:46 PM
mmh - I tried it today with PP 5.5. and vB 3.6.3 and ran into a db_connect error.
I have PP and vB installed in different db's for backup-reasons.

Error-message is:

Invalid SQL:
SELECT count(id) total FROM d123456.pp_photos WHERE userid=1;

MySQL-Fehler : Access denied for user: 'd5896545@localhost' to database 'd123456'

Any idea where I can set the db login values? (If that's the only problem here ..)

Any help is much appreciated

I have much the same problem - does anyone have a suggestion?

Ian

HP10T
01-06-2007, 06:20 AM
For some reason I don't even have thumbnails showing in my popup window, anyone have any input?

UtahNissans
01-06-2007, 04:22 PM
Ahhh I had the server path and gallery url swapped so that is why no pics showing. THanks for the awesome mod!

dpnow
01-12-2007, 06:45 PM
Not sure if this is a new bug or not, but when the images belong to other categories in addition to the members gallery, I get a bunch of blank thumbnails listed along with the working thumbnails from the member's gallery. Here's a screenshot:

https://vborg.vbsupport.ru/

This problem does not occur if no additional category is specified for a given image when it is uploaded by the user.

Hi, did this issue get resolved as I have exactly the same problem. If an image is displayed in a secondary category, its thumbnail doesn't show.

Thanks,

Ian

Trana
01-27-2007, 08:54 PM
Any chance of this working in the PM editor window? Right now it just shows PHP gibberish:

input->clean_array_gpc('r', array( 'start' => TYPE_UINT, 'page' => TYPE_UINT, 'catid' => TYPE_UINT, 'option1' => TYPE_UINT, 'option2' => TYPE_UINT, 'ed' => TYPE_STR, )); $start = $vbulletin->GPC['start']; $perpage = $vbulletin->GPC['perpage']; $catid = $vbulletin->GPC['catid']; $page = $vbulletin->GPC['page'] ? $vbulletin->GPC['page'] : 1; $option1 = $vbulletin->GPC['option1']; $option2 = $vbulletin->GPC['option2']; $ed = $vbulletin->GPC['ed'] ? $vbulletin->GPC['ed'] : $_POST['ed']; // START GEEKPOPUP SETTINGS $gallery_db = $vbulletin->options['geekgallery_db']; $photo_system = $vbulletin->options['geekgallery_system']; $pp_prefix = $vbulletin->options['geekgallery_pp_prefix']; $pp_five = $vbulletin->options['geekgallery_pp_is_five']; $pp_ver = $vbulletin->options['geekgallery_pp_ver']; $gallery_path = $vbulletin->options['geekgallery_url']; $data_folder = $vbulletin->options['geekgallery_data']; $default_method =

DrewStr
02-05-2007, 09:00 PM
Works with PP 5.31 and vb 3.6.4 as is. I did add this file to the excludes page in vbSEO geek-gallery-popup.php as suggested by Lizard King here: http://www.thevbgeek.com/showthread.php?t=2083

DrewStr
02-28-2007, 03:24 AM
Well, it works great except for the IE issue putting the images at the header instead of the post.

Would gladly pay to support further development of this hack. And I don't mean $25 either.

tormodg
02-28-2007, 04:31 PM
No problems at all with this plugin on our boards using vBgallery and vB 3.6.4.

cellarius
03-08-2007, 07:34 PM
Not sure if this is a new bug or not, but when the images belong to other categories in addition to the members gallery, I get a bunch of blank thumbnails listed along with the working thumbnails from the member's gallery. Here's a screenshot:

http://booost.com/kamil/geekpopup_bug.png

This problem does not occur if no additional category is specified for a given image when it is uploaded by the user.


Hot fix, quick and dirty:

in geek-gallery-popup.php in/around line 219 replace
$pages = $db->query_first("SELECT count(id) total FROM $gallery_db" . $pp_prefix . "photos WHERE userid=$userid ");

with
$pages = $db->query_first("SELECT count(id) total FROM $gallery_db" . $pp_prefix . "photos WHERE userid=$userid and storeid=0 ");

and in/around line 228 replace
WHERE images.userid=$userid and images.approved=1 ORDER BY images.date DESC LIMIT $start ," . ($perpage);

with
WHERE images.userid=$userid and images.approved=1 and images.storeid=0 ORDER BY images.date DESC LIMIT $start ," . ($perpage);


No guarantee whatsoever, works well for me.

HTH,
cellarius

tatertot
03-16-2007, 05:33 AM
Great hack, I just got it working on vbgallery2.1 and vbulletin 3.6.5.
All that's needed is select 'vba' in the geek options and replace adv_gallery_ with ppgal_ in the php file.

Now is there a way to upload to the gallery from a link in the smiley box? It's getting late and I'll figure a way but this is a great hack, thank you Geek!

jluerken
04-15-2007, 08:52 AM
Hi,

I am using PhotoPost vBGallery v2.1 and the original file was not working for me.
I modified it to reflect the latest db changes since the vBGallery was sold to the photopost guys.

Here the file.

Test on 3.6.5 and vbGallery 2.1

kimmer
04-15-2007, 05:25 PM
Will this work for this vbimagehost mod? https://vborg.vbsupport.ru/showthread.php?t=123481&highlight=gallery

jluerken
04-25-2007, 08:09 PM
Updated vBGallery to v2.2
This brings the following error now with this hack

Warning: Invalid argument supplied for foreach() in /path/gallery/gallery_global.php on line 84

Anyone an idea? Geek cannot give support on this anymore cause he is currently working on other projects taking all his time.

ArchangelX
04-26-2007, 03:25 AM
Tony, how did you get those category list to appear in directories?

thanks

Same here...any idea on this? Mine looks great, works fully, but all I have is a "Directories" link, that's it.

I would love to have this fully functioning. Please let me know if anyone has a fix for this, thanks!

jluerken
04-28-2007, 08:31 AM
Same here...any idea on this? Mine looks great, works fully, but all I have is a "Directories" link, that's it.

I would love to have this fully functioning. Please let me know if anyone has a fix for this, thanks!

Ok I have a fix now for vBGallery 2.2

Thanks to Andreas for this!

Find in geek-gallery-popup.php

'adv_gallery_opt',
'gallery_ugroups');

around line 37 and change to

'adv_gallery_opt',
'ppg_stats',
'gallery_ugroups');

Kihon Kata
04-28-2007, 02:51 PM
Running vBGallery 2.2 and I've tried the above fixes. I'd like to get this running again. Seems as if the error has to do with how it's calling the table "DATABASE-NAME-IS-HERE.ppgal_photos". I looked at my tables and I am not even running a table called "ppgal_photos", but rather "ppgal_images"

Help?

(I've elected to remove the site name)

Check out my problem:

Database error in vBulletin 3.6.4:

Invalid SQL:
SELECT count(id) total FROM ppgal_photos WHERE userid=4;

MySQL Error : Table 'DATABASE-NAME-IS-HERE.ppgal_photos' doesn't exist
Error Number : 1146
Date : Saturday, April 28th 2007 @ 08:35:10 AM
Script : http://www.SITE-NAME-IS-HERE.com/forums/geek-gallery-popup.php?ed=vB_Editor_001
Referrer : http://www.SITE-NAME-IS-HERE.com/forums/newthread.php?do=newthread&f=15
IP Address : XXXXXXXXXX
Username : XXXXXXXXXXXX
Classname : vB_Database

jluerken
04-28-2007, 04:38 PM
Hi,

Test on 3.6.5 and vbGallery 2.1
https://vborg.vbsupport.ru/showpost.php?p=1228170&postcount=188
Ok I have a fix now for vBGallery 2.2

Thanks to Andreas for this!

Find in geek-gallery-popup.php

'adv_gallery_opt',
'gallery_ugroups');

around line 37 and change to

'adv_gallery_opt',
'ppg_stats',
'gallery_ugroups');


Use the file attached and include the little change for 2.2 and it should work

DaveS
05-12-2007, 08:53 AM
Any chance of this working in the PM editor window? Right now it just shows PHP gibberish:

For anyone else getting this. I've just had this after I moved servers.
It's because the opening line is <? and not <?PHP
If you change it, it works fine.
Hope that helps someone!

Bellinis
07-07-2007, 10:09 PM
Recently we moved our site to a new server.
After the move we changed the path settings accordingly in GGP, but we are still getting this weird dbase error:

Database error in vBulletin 3.6.4:

Invalid SQL:
SELECT count(id) total FROM tsjech_photo.photos WHERE userid=1;

MySQL Error : SELECT command denied to user 'tsjech_vbulletin'@'localhost' for table 'photos'
Error Number : 1142
Date : Sunday, July 8th 2007 @ 01:06:50 AM
Script : http://www.mydomain.net/board/geek-gallery-popup.php?ed=vB_Editor_001


What could be causing this??

jluerken
07-08-2007, 08:05 AM
Its already saying this
SELECT command denied to user 'tsjech_vbulletin'@'localhost' for table 'photos'

It means that you must check the DB right for user tsjech_vbulletin. This user does not have enough rights. With phpMyAdmin its just a few clicks

Bellinis
07-08-2007, 08:21 AM
Thanks, got it working now. Both databases used a different username, so just to make sure, I added the vb user to pp and the other way around :)

Subah
08-15-2007, 09:00 PM
Any update for 3.6.8 ?

tormodg
08-16-2007, 02:57 AM
Any update for 3.6.8 ?

It's working fine for us on 3.6.8 using vBgallery 2.2.

jluerken
08-16-2007, 11:35 AM
It's working fine for us on 3.6.8 using vBgallery 2.2.

But it does not seem to work with 3.6.8 and vBGallery 2.3. You get a blank white pop-up screen.

tormodg
08-16-2007, 11:50 AM
Try this fix:

In geek-gallery-popup.php

Find
require_once('gallery_global.php');

Replace with
$categorycache =& $vbulletin->gallery_c_cache;

jluerken
08-16-2007, 12:11 PM
That does not fix the problem for me

tormodg
08-16-2007, 12:28 PM
Then I don't know what your issue is. A white page suggests that something is wrong - check your php error logs, perhaps?

Perhaps try a test board and downgrade to 2.2.

It's frustrating that the Geek won't support this hack which is one of the most important ones for our boards.

gldtn
08-17-2007, 07:08 PM
Hot fix, quick and dirty:

in geek-gallery-popup.php in/around line 219 replace
$pages = $db->query_first("SELECT count(id) total FROM $gallery_db" . $pp_prefix . "photos WHERE userid=$userid ");

with
$pages = $db->query_first("SELECT count(id) total FROM $gallery_db" . $pp_prefix . "photos WHERE userid=$userid and storeid=0 ");

and in/around line 228 replace
WHERE images.userid=$userid and images.approved=1 ORDER BY images.date DESC LIMIT $start ," . ($perpage);

with
WHERE images.userid=$userid and images.approved=1 and images.storeid=0 ORDER BY images.date DESC LIMIT $start ," . ($perpage);


No guarantee whatsoever, works well for me.

HTH,
cellarius

I've gotten this to work somewhat with vBGallery v2.3 and vB3.6.8 by downloading jluerken provided geek-gallery-popup.php. Since I use vBGallery the above mod didn't work so I just followed your idea for the "vba" queries, which it's similar to what you did by default.

I replaced:
WHERE images.userid=$userid and extension in ($media_ext) $catwhere ORDER BY dateline DESC LIMIT $start ," . $perpage ;

With:
WHERE images.userid=$userid and images.catid=$catid and extension in ($media_ext) $catwhere ORDER BY dateline DESC LIMIT $start ," . $perpage ;

In which the and images.catid=VALUE did no really matter what I put there.

In my gallery I only have one main category and the rest is all sub-cats which works fine with what I added to the code since I hard coded in the popup options?data dir to /files/1 cause I can't get the code to count the different dirs within it. So if you have multiple Main Cats this would problem still show up with images as they weren't there since it's looking in the wrong dir.

Does anyone have a fix for this? Everything else works fine ;)

I hope the above makes since! :P

yotsume
08-27-2007, 10:46 AM
Photopost and VB in Different Directories and In Different Databases
So Different database usernames and passwords

Hello,

Wow what a super mess this whole thread is!

I have photopost and vbulletin installed in two different directories and in two different databases. So how do I hard code in my photopost database username and password. Right now I get an error that says:

MySQL Error : Access denied for user: 'dbo193309201@%' to database 'dbo193075408'

It is using my VB database username trying to connect to my photopost database!

So to be real clear where can I add in my correct photopost database info and how!?

trulylowcarb
08-30-2007, 05:54 AM
For those who are using photopost vBGallery, and not the ordinary photopost, you can edit the geek_gallery_popup.php file and rename the tables, any occurance of "adv_gallery_whatever" should be changed to "ppgal_whatever", that makes geek_popup work with vB3.6, i just went through it, works fine.
Just a hint :)
YES!! That worked, thanks, don't know what I would do without this hack, and I need LOTSA hints ;) LOL
Clicks Installed for vb3.6.8 running PhotoPost vBGallery (http://www.photopost.com/) v2.3 AND CMPS3.0 - ~yahoooooo~

Note: Make sure you change adv_gallery not just adv_, which is how I screwed this fix up the first time....

jluerken
08-30-2007, 09:37 AM
Can someone please upload the file which is working with v 3.6.8?
This would help also all others without the need to modify the file by themself!

gldtn
09-06-2007, 11:04 AM
Can someone please upload the file which is working with v 3.6.8?
This would help also all others without the need to modify the file by themself!

This one is working fine for me with the exception of the clinch mentioned on my post above!

ZATSU
10-27-2007, 09:16 PM
In my gallery I only have one main category and the rest is all sub-cats which works fine with what I added to the code since I hard coded in the popup options?data dir to /files/1 cause I can't get the code to count the different dirs within it. So if you have multiple Main Cats this would problem still show up with images as they weren't there since it's looking in the wrong dir.

Does anyone have a fix for this? Everything else works fine ;)



I am not sure if this will help, I have a new forum set-up and only a few pictures. BUT, I used the Geek Gallery pop-up before and compared files.

Around line 177 the following was commented it out:

$folderstring .= '/' . $uid;

I just removed the comment and my categories worked fine.

I hope this helps.

PS: VB 3.68 & vBa 2.3

tormodg
10-27-2007, 09:27 PM
Still working fine for us with the fix mentioned above

https://vborg.vbsupport.ru/showpost.php?p=1318862&postcount=202

KW802
11-30-2007, 09:56 PM
Still working fine for us with the fix mentioned above

https://vborg.vbsupport.ru/showpost.php?p=1318862&postcount=202
With vBGallery 2.3 or other?

Lizard King
11-30-2007, 10:41 PM
It works with Gallery 2.3 with the above fix however the user categories are not included in the popup window which is a huge missing option.

KW802
12-01-2007, 03:20 AM
Got it working with 2.3 on my install earlier tonight as well but am getting a merge_array error from gallery_global.php -- Is anybody else running it with Gallery 2.3 with vB 3.6.8 on PHP 5.x?

LK, do you mean user categories that the users create themselves or ... ? I looked at the code earlier tonight (my community members explicitly asked for the functionality of this hack :eek: ) and I don't see anything in there that likely can't be overcome.

tormodg
12-01-2007, 08:33 AM
With vBGallery 2.3 or other?

No, we're still on vBGallery 2.2. 2.3 broke some other functionality for us.

Lizard King
12-01-2007, 12:51 PM
Got it working with 2.3 on my install earlier tonight as well but am getting a merge_array error from gallery_global.php -- Is anybody else running it with Gallery 2.3 with vB 3.6.8 on PHP 5.x?

LK, do you mean user categories that the users create themselves or ... ? I looked at the code earlier tonight (my community members explicitly asked for the functionality of this hack :eek: ) and I don't see anything in there that likely can't be overcome.
I dont have a problem with 2.3 , 3.6.8 and php 5.x .

Yep i am talking about the user categories. I also looked at that a while back but couldn't find it also. Zach will be the man who can solve that :D

KW802
12-02-2007, 01:46 AM
I dont have a problem with 2.3 , 3.6.8 and php 5.x .HHhhmm... for some reason I'm getting an array_merge from gallery_global.php with it attempts to merge the global templates array. I'll play tonight or tomorrow.


Yep i am talking about the user categories. I also looked at that a while back but couldn't find it also. Zach will be the man who can solve that :DUm.... OK. I was about to say that I tried it last night and didn't see any problems with user created categories but it sounds like you're working on a different solution.

KW802
12-03-2007, 01:43 PM
HHhhmm... for some reason I'm getting an array_merge from gallery_global.php with it attempts to merge the global templates array. I'll play tonight or tomorrow.Problem fixed. Frankly, I don't see how somebody could not get an error considering that $globaltemplates is unset in global.php and is then attempted to be merged in gallery_global.php in the 'vba' section.

Um.... OK. I was about to say that I tried it last night and didn't see any problems with user created categories but it sounds like you're working on a different solution.User categories still working but I noticed that as an Admin' I still see only my own uploads. I'm torn between adding code so that the user can either see all images that they have permissions to or just their own pics as it is now or making it usergroup based. HHhhmm...

behcet
01-03-2008, 12:35 PM
Thanks for all comments. So i have an another question. are there any systems that showing the photos in the message as soon as uploading? i mean, i want to add a image to my message. but it is not existing in my gallery. on the reply screen, when i upload a image, i want to send it to the concerned category in the gallery. after uploading in the same screen, i want to show it in the message. i thnik i am able to tell my wish. thanks again.

Subah
01-06-2008, 09:07 AM
Anybody try it with vBa 2.4.1 ?

Subah
01-06-2008, 09:35 AM
Seems not work with 2.4.1\

See this? It means you have no freaking pictures in your gallery to show!

i have this error and i add this file
https://vborg.vbsupport.ru/showpost.php?p=1333498&postcount=208
and it is not work ethar !!

lazytown
01-11-2008, 12:06 AM
This works fine with gallery 2.3. However, with xcache datastore turned on you have to modify includes/config.php to
if ((PP_SCRIPT != 'vBGallery') && (THIS_SCRIPT != 'Geek-Gallery')){
$config['Datastore']['class'] = 'vB_Datastore_XCache';
}

Luis Larios
01-26-2008, 12:22 PM
It works on vb 3.68 and photopost 6.01, but the field that is supposed to show categries to choose is empty. It do shows by default member galleries but you cant choose another one. The mod is for pp5.x so I think the problem could be near there.

I think this is a very important mod that everybody looking for VB3 forum integration would be very happy to have. Please consider updating this mod!!

Thanks!!

rayge
02-21-2008, 04:48 PM
I finally got the popup working..

WHen i click the image it sticks it on the opener page.. at the TOP of the page ratehr than in the content window.. UNLESS i have already clicked inside the content window.
WTF? Anyone seen this one?

THanks

rayge
02-21-2008, 09:40 PM
OK Ive tracked the adding an image going to the top of the page down to IE6 Not sure about IE7. works fine in FireFox.

IF ANYONE has seen this issue and knows WTF to do to fix it please let me know. this is weird.

THanks

trackpads
05-07-2008, 10:52 PM
Crap, tried to install this but the XML wont install any of the plugins. The templates and phrases are all installed without errors. But when I go to look at the plugins none of them are there.

I am using 3.7 so who knows what may have changed.

Zachariah
05-08-2008, 12:02 AM
I have always had it working on my system, all vbgallery version, but it is the Geeks work.
I have sent many e-mails, but no responce.

Many many moons ago Geek and Michael P (of photopost) chatted about makeing the hack part of the galleries, but thats when Geek had some problems @ home. So all was lost on moven forward.

HP10T
06-07-2008, 09:01 PM
Is there a way to make it so that it defaults to "original image size" ? And is there a way to change it so that you can have the box show more than 8 pictures at once?

intrigue
06-16-2008, 09:32 PM
I used the php file uploaded above and have this working with
vbgallery 2.4.3 and vbulletin 3.7.1
Thanks
Matt

GrendelKhan{TSU
06-19-2008, 06:27 PM
I used the php file uploaded above and have this working with
vbgallery 2.4.3 and vbulletin 3.7.1
Thanks
Matt

awesome that's just what I wanted to know :)

GrendelKhan{TSU
06-19-2008, 07:49 PM
YES!@!! got it working !!!

- vb 3.7.1 PL1
- vbgallery v2.4.3

For reference:
I had to reupload files (I was showing NO DIRECTORIES),
and do the "remove comment" fix (I got a weird small black thumbnail if not).


ie: I used this file:
this works
https://vborg.vbsupport.ru/showpost.php?p=1333498&postcount=208


and this fix:

Around line 177 the following was commented it out:

$folderstring .= '/' . $uid;I just removed the comment and my categories worked fine.

HP10T
06-30-2008, 04:13 AM
Is there a way to make it so that it defaults to "original image size" ? And is there a way to change it so that you can have the box show more than 8 pictures at once?

Anyone had experience with this?

warrenlee
08-09-2008, 07:41 PM
Does this work w/ the "vbAlbum" 3.7???

tormodg
09-08-2008, 06:34 PM
Got it to work with vBgallery 2.3 and vB 3.7.2 PL1. The only thing that needed to be changed was the vb_gallery prefix in the php file.

Subah
09-22-2008, 10:53 AM
I got this message
"See this? It means you have no freaking pictures in your gallery to show!"
do this mean i put wrong setting ?
i can see the Directories but if i select any one i got (red X) images ?!
and the path of the red X image is
"gallery/files/gk9a0025_2_thumb.jpg"
??
i hope some one help me

The Geek
09-22-2008, 11:35 AM
Guys, this hasnt been updated in like 3 years. IIRC, there is a vba gellery version that appeared after I granted permission to use the base code about a year ago, but can't remember where it is.

It isn't a complex mod. Heck, it was one of my first. I am sure someone could grab the bull by the horns and update this thing along with making it 10 times better. Maybe when AME 2.5 is gold and I can make some time Ill look into it. THen again... Maybe not :D

Konstantinos
09-23-2008, 08:17 PM
it doesnt work for pp 6.11 and 3.7.3

it puts the paths wrong for example

http://www.site.com/data/543/1PICTURE_066a.jpg

it adds 1 b4 the filename

and the thumb also wrong

http://www.site.com/data/543/1PICTURE_066a-thumb.jpg

while it should be

http://www.site.com/data/543//thumbs/PICTURE_066a.jpg

any fix

cellarius
09-23-2008, 08:31 PM
Then you have your paths wrong. This hack works with pp 6.11 and vB 3.7.3 perfectly well.

Hey, Geek: Good to see ya back in business!

Konstantinos
09-24-2008, 03:41 AM
no the paths are correct as u can see i have pp in the root and it goes to the right data folder. simple the filenames dont have 1 in front and the thumbs are in thumbs folder.

i also have php5 and vbseo

Konstantinos
09-24-2008, 04:12 AM
ok i had to turn on If you are running PP5, tick yes, otherwise no

GrendelKhan{TSU
09-25-2008, 06:59 AM
Got it to work with vBgallery 2.3 and vB 3.7.2 PL1. The only thing that needed to be changed was the vb_gallery prefix in the php file.

can you be more specific?

jluerken
10-23-2008, 11:11 AM
Works with vBGallery 2.4.3 and vBulletin 2.7.3 PL1 on my page after smaller changes

cellarius
01-16-2009, 02:29 AM
Just wanted to announce that I tackled a new Photopost Popup Mod:
https://vborg.vbsupport.ru/showthread.php (https://vborg.vbsupport.ru/showthread.php?p=1714106)

All due credits to the Geek!

cellarius
01-26-2009, 05:08 AM
And in addition to my previous announcement:

The new, much improved version of the Photo Popup Mod can be found here:
https://vborg.vbsupport.ru/showthread.php?t=202385

Tagged as a 3.8 version, but should work on 3.7.x without issues.