Version: 4.00, by The Geek
Developer Last Online: Jan 2019
Version: 3.5.0
Rating:
Released: 10-21-2005
Last Update: 11-07-2005
Installs: 86
Template Edits
No support by the author.
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
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
in geek-gallery-popup.php in/around line 219 replace
PHP Code:
$pages = $db->query_first("SELECT count(id) total FROM $gallery_db" . $pp_prefix . "photos WHERE userid=$userid ");
with
PHP Code:
$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
PHP Code:
WHERE images.userid=$userid and images.approved=1 ORDER BY images.date DESC LIMIT $start ," . ($perpage);
with
PHP Code:
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:
Code:
WHERE images.userid=$userid and extension in ($media_ext) $catwhere ORDER BY dateline DESC LIMIT $start ," . $perpage ;
With:
Code:
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
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!?
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 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....
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:
Code:
$folderstring .= '/' . $uid;
I just removed the comment and my categories worked fine.