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
  #192  
Old 03-22-2005, 12:22 AM
trulylowcarb's Avatar
trulylowcarb trulylowcarb is offline
 
Join Date: Apr 2004
Location: Colorado
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Geek, my popup window shows the thumbnails with a border but then inserts them without a border, making it tough for my users to figure out on their own that they are clickable images. Can you guide me toward the part of the code that is responsible? The only instance of border I found in my (modified) geek-gallery_popup is this:
Quote:
if (images[i].getAttribute("imageid") < 1)
{
images[i].setAttribute("imageid", i);
images[i].setAttribute("border", "0");
Changing that to 0 to 2 didn't appear to change anything for me.... your input appreciated.
Reply With Quote
  #193  
Old 03-22-2005, 07:44 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

Ill look into this today and get an answer for you (I need to look at the code to refresh my memory )
Reply With Quote
  #194  
Old 03-22-2005, 07:49 AM
Jason McConnell Jason McConnell is offline
 
Join Date: Jun 2004
Location: Syracuse NY
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1337h4x!!! Thanks
Reply With Quote
  #195  
Old 03-22-2005, 09:32 AM
GamerzWorld's Avatar
GamerzWorld GamerzWorld is offline
 
Join Date: Aug 2003
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quickly to point out i dont know if this is a type but

* Upload admincp/geekgallerypopup__install.php to your admin folder (i.e. http://www.bobsfluffyfriends.com/forum/admincp/)
* Done that? Good. Now run it (ie point your browser to http://www.franksfunkygyros.com/foru...es_install.php)
* Follow the elaborate installation proceedure (I think there are a whopping 2 links to actually click and sorry... no 'configuration settings' are required!)
* That script will install the 2 templates, and the 'Geek Gallery' phrases.
* Make sure you remove the install script from your folder. It appears to be the way these things should be done around here and I for one do not like a rocking boat!
* Now you are ready to move onward! Well done lil Jimmy!

One points to articles when this isnt article hack (durrr :P)
Reply With Quote
  #196  
Old 03-22-2005, 09:37 AM
GamerzWorld's Avatar
GamerzWorld GamerzWorld is offline
 
Join Date: Aug 2003
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Geek
Hey there - sorry I missed you (went off on business). Are you sure you added to the phrasegroups correctly? If not - you can always just edit the smilie template in the instructions and switch to a hard coded phrase.
Ive reinstalled it again (the phrases) and edited one and saved it but still get the error. Dont get really what you mean by the above

p.s. this is just on new threads..not new replies
Reply With Quote
  #197  
Old 03-22-2005, 11:08 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

If its only on newthreads then double check that you correctly added the phrasegroup to newthread.php
HTH's
Reply With Quote
  #198  
Old 03-22-2005, 01:36 PM
trulylowcarb's Avatar
trulylowcarb trulylowcarb is offline
 
Join Date: Apr 2004
Location: Colorado
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All of a sudden, some of my users who had no problem with this feature are having trouble using it. I don't *think* I changed anything to cause it? I did change the option array so that the only available action is to insert a clickable thumbnail. What happening is that it still works perfectly for some, but others are displaying a link that shows the closing img] tag, but is missing the opening one. Editing the post to add the opening tag shows the tag, but changes nothing. The link to the thumbnail that is displayed, does work.....
I know I changed things up, sorry, but this method is the perfect one for my forum, if you could help me try to diagnose without having to revert to all the options, it wouldbe truly appreciated.
BTW Geek, I was going to donate to you last week due to my gratitutde to you for providing this great hack, (same as I did for Cinq) but unlike most of the other hackers posting here, I found no easy 'appreciate this hack? donate here' link anywhere in the hacks or on your home page. If you're independently wealthy, I'll forget all about it, of course, but if not, may I respectfully suggest that you follow the lead of others and add that kind of link so you may reap some benefit from the help you are providing to others here .... I truly feel you are deserving.
Reply With Quote
  #199  
Old 03-22-2005, 02:00 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

Thats kind of you carb - Ill put up a dontate link to my hacks when I get a minute. If you PM me ftp/admincp details ill go in and see if I can sort it out for you.
Reply With Quote
  #200  
Old 03-23-2005, 05:14 PM
trulylowcarb's Avatar
trulylowcarb trulylowcarb is offline
 
Join Date: Apr 2004
Location: Colorado
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Geek
Thats kind of you carb - Ill put up a dontate link to my hacks when I get a minute. If you PM me ftp/admincp details ill go in and see if I can sort it out for you.
Thanks, Geek!! I installed your soon-to-be HACK O THE MONTH articles system last night, and I wanted to wait until after that, just in case I needed your help there too. I did want to say that none of the thumbnails on my forum show with a border, so maybe that's just something I did in the css?

I will get you set up with admin permissions and so on and PM you later or tomorrow with them as I would really like to sort out the missing front img tag thing, but my "real" job is calling (screaming) my name right now.. thanks again, SO MUCH.

I would say 'You da Man' now, but I read the thread about HOTM and now know better. LOL! No wonder you give such great support.
Reply With Quote
  #201  
Old 03-25-2005, 01:20 PM
vcross vcross is offline
 
Join Date: Feb 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having the same problem as lowcarb... I've narrowed it down:

If you have your editor set where the "Guided Mode" and "Enhanced Mode" radio buttons are visible, insert from the gallery leaves the hanging img] tag.

If you go into your UserCP options and change to the WYSIWYG (radio buttons don't appear anymore, but you still get rich text) you can insert images just fine.

I love the mod! I hope the prob can be fixed. I will look at the code and see if I inadvertantly changed anything.
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 04:48 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.09284 seconds
  • Memory Usage 2,320KB
  • 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
  • (3)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