Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Geek Gallery Popup for vBadvanced Gallery or PhotoPost 4 or higher Details »»
Geek Gallery Popup for vBadvanced Gallery or PhotoPost 4 or higher
Version: 3.00, by The Geek The Geek is offline
Developer Last Online: Jan 2019 Show Printable Version Email this Page

Version: 3.0.6 Rating:
Released: 12-17-2004 Last Update: 02-19-2005 Installs: 50
 
No support by the author.

IMPORTANT:
Please note that I can no longer support this project. Primarily as it is designed for vb3.0.x and I no longer use that version (im obviously on vb3.5x ). There is a version for vb3.5 over here . This project is left here for the community.
-----------------------


Inspired by mpdev's photopost popup modifcation.
I used photopost and had his modification installed. When I moved from photopost to vBadvanced Gallery, I needed the same type of hack - so here it is!

This lil doofer is designed to allow your users to open up a popup window while creating a post. The popup window will display all of the users images in thier gallery (vba or photopost) and allow them to click on an image to insert it into their post (inline). They can insert the image as a thumbnail, large image, or a clickable thumbnail that will open the large image in a seperate window. The real cool thing here is that all this works no matter which editor they are using.

You must have vBadvanced Gallery installed and working or PhotoPost 4 or higher duh.

Difficulty: Easy
File modifications: A few (only for phrases).
Time: About 5 minutes
Sign: Libra

Known issues:
Mozilla wysiwyg editor does not allow for html inserts which limits their options to thumbs or original pics only.

Change Log
v. 3 Update 20/2/05
Rewrote most of file to include support for PhotoPost. You can now set up your installation to use either vBadvanced Gallery or PhotoPost 4 or 5. This is determined by the settings in your geek-gallery-popup.php file. Special thanks goes to MPdev for helping sort out the PP integration.

v.2.01 update 11/2/05
fixed mozilla support

v.2 update 3/1/05
  1. Added a couple more insertion methods
  2. Tidied up UI big time
  3. Auto sized popup window
  4. Finished the phrasing (found a hard coded phrase)
v.1.1 updated 21/12/04
  1. Added phrasegroup additions to newreply, newthread and private as phrases were not appearing there (easy edits).
  2. Made the $mediaext easier to edit (types of images allowed in popup)
  3. Fixed typo in template that always showed the Next button (took me ages to find the stupid thing)
  4. Fixed Back phrase as it was overwritten during the install
  5. Fixed problem where in non wysiwyg editor, the clickable thumb was screwing up
To upgrade: Follow instructions in the Readme

Make sure you click the freaking Install button. Otherwise you will run the risk of being skipped over in my Christmas Card Mail Out.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #202  
Old 03-25-2005, 02:45 PM
vcross vcross is offline
 
Join Date: Feb 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had to go into the geek-photo-popup template and add a closing bracket after mydestination:

Before:
PHP Code:
}catch(errorObject){
    
BodyVal opener.document.vbform.message.value;
    if (
ispopup=="1") {
        
opener.document.vbform.message.value BodyVal '[url=' mydestination '[img]' mysource '/img][/url]';
    }else{
        
opener.document.vbform.message.value BodyVal '[img]https://vborg.vbsupport.ru/[/img]';
    }
}[/
PHP]

After:
[
PHP]}catch(errorObject){
    
BodyVal opener.document.vbform.message.value;
    if (
ispopup=="1") {
        
opener.document.vbform.message.value BodyVal '[url=' mydestination '][img]https://vborg.vbsupport.ru/[/img][/url]';
    }else{
        
opener.document.vbform.message.value BodyVal '[img]https://vborg.vbsupport.ru/[/img]';
    }

Reply With Quote
  #203  
Old 03-25-2005, 07:42 PM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nail Geek, just installed this on a site in progress.... as always, nice work!

A non-computer person I had testing it out asked about a "Close" button being added to the menu instead of closing the browser window (in this case, by the "X" button).

Thanks,
Kevin
Reply With Quote
  #204  
Old 03-26-2005, 08:13 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks guys - ill look at updating the package today or tomorrow
Reply With Quote
  #205  
Old 03-26-2005, 03:59 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey MR GEEK! PLEASE can you make it so it keeps to a standard pop up window? sometimes the window gets really tiny or really long for some reason.
Reply With Quote
  #206  
Old 03-29-2005, 06:27 PM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just installed this on vb3.0.7 and using latest version of photopost.

No luck whatsoever and ive gone over the config a few times.
Under the smilie box all that shows is a little box with nothing in it
Reply With Quote
  #207  
Old 03-29-2005, 06:30 PM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lasto
just installed this on vb3.0.7 and using latest version of photopost.

No luck whatsoever and ive gone over the config a few times.
Under the smilie box all that shows is a little box with nothing in it
check your phrases installed. Do a search for geek-gallery, edit it and save.

HTH's!
Reply With Quote
  #208  
Old 03-29-2005, 06:31 PM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BTW. Am working on the next version now. Should be out later this week.
Reply With Quote
  #209  
Old 03-29-2005, 06:54 PM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

doing search for geek only brings up the geek article ones

doing search for geek_gallery_my_pictures shows nothing so i run the installed again and it says phrases installed but they not showing when i go to search for them.

Sticking phrase geek_gallery_my_pictures into phrasetypeid 152
Sticking phrase geek_gallery_thumb into phrasetypeid 152

EDIT

worked

it never found any of the geek_gallery phrases so i just edited one of the geek articles phrases and it worked

still weird how i cant see the other phrases though but it works and thats all that matters.

2 hacks of yours ive now got installed

[high]* lasto click install
[/high]

Well smart will do fine for the geek article system - cheers m8 for another good hack.
Reply With Quote
  #210  
Old 04-11-2005, 08:28 AM
Jason McConnell Jason McConnell is offline
 
Join Date: Jun 2004
Location: Syracuse NY
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Geek, love this hack, but with the release of vBa Gallery RC4, have you checked if there's any conflict in this hack and the new version?

Thanks in advance
Reply With Quote
  #211  
Old 04-11-2005, 08:37 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow. Actually havent. Didnt know RC4 was out yet.
I really couldnt image that it would cause a problem - but if you can give me a day or two - ill double check. If it isnt ill post a fix - or get my butt in gear with the next version that I have been working on (GAL system has kept me busy)
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 11:38 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12007 seconds
  • Memory Usage 2,321KB
  • 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
  • (1)bbcode_php
  • (1)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
  • (2)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