Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Geek Gallery Popup 4.0 Details »»
Geek Gallery Popup 4.0
Version: 4.00, by The Geek The Geek is offline
Developer Last Online: Jan 2019 Show Printable Version Email this Page

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.

Comments
  #202  
Old 08-16-2007, 11:50 AM
tormodg tormodg is offline
 
Join Date: Oct 2004
Location: Oslo, Norway
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this fix:

In geek-gallery-popup.php

Find
Code:
require_once('gallery_global.php');
Replace with
Code:
$categorycache =& $vbulletin->gallery_c_cache;
Reply With Quote
  #203  
Old 08-16-2007, 12:11 PM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That does not fix the problem for me
Reply With Quote
  #204  
Old 08-16-2007, 12:28 PM
tormodg tormodg is offline
 
Join Date: Oct 2004
Location: Oslo, Norway
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #205  
Old 08-17-2007, 07:08 PM
gldtn gldtn is offline
 
Join Date: Apr 2003
Location: US
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cellarius View Post
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=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

I hope the above makes since! :P
Reply With Quote
  #206  
Old 08-27-2007, 10:46 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!?
Reply With Quote
  #207  
Old 08-30-2007, 05:54 AM
trulylowcarb's Avatar
trulylowcarb trulylowcarb is offline
 
Join Date: Apr 2004
Location: Colorado
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mindbuster View Post
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....
Reply With Quote
  #208  
Old 08-30-2007, 09:37 AM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #209  
Old 09-06-2007, 11:04 AM
gldtn gldtn is offline
 
Join Date: Apr 2003
Location: US
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jluerken View Post
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!
Reply With Quote
  #210  
Old 10-27-2007, 09:16 PM
ZATSU ZATSU is offline
 
Join Date: Nov 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gldtn View Post

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.

I hope this helps.

PS: VB 3.68 & vBa 2.3
Reply With Quote
  #211  
Old 10-27-2007, 09:27 PM
tormodg tormodg is offline
 
Join Date: Oct 2004
Location: Oslo, Norway
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still working fine for us with the fix mentioned above

https://vborg.vbsupport.ru/showpost....&postcount=202
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:48 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06346 seconds
  • Memory Usage 2,329KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (4)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete