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.
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
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:
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
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);
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!
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.