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
  #22  
Old 01-12-2005, 04:46 PM
pramodha pramodha is offline
 
Join Date: Apr 2004
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
This is the error message tht I get when I open the PoP Up window. Everything else s working fine, except tht the images are'nt displaying at pop-up and I get the error message as above.

Do help me !
Reply With Quote
  #23  
Old 01-13-2005, 05:17 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

Quote:
Originally Posted by pramodha
This is the error message tht I get when I open the PoP Up window. Everything else s working fine, except tht the images are'nt displaying at pop-up and I get the error message as above.

Do help me !
Double check that your $gallery_files_path is correct in the geek-gallery-popup.php file and make sure that file is in your forums directory.

HTH's
Reply With Quote
  #24  
Old 01-13-2005, 11:24 AM
Mellow's Avatar
Mellow Mellow is offline
 
Join Date: Nov 2003
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Mod! Any future updates include a listing of vBGallery categories 'owned' by that particular user? Since I'm the admin, I setup several categories and as my users start to upload and organize their pics, they will also start increasing their categories.

It would be nice for to popup to show a list of categories for the user to pic from. Just a thought.

Thanks,
Joe
Reply With Quote
  #25  
Old 01-14-2005, 12:19 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

Quote:
Originally Posted by Mellow
Great Mod! Any future updates include a listing of vBGallery categories 'owned' by that particular user? Since I'm the admin, I setup several categories and as my users start to upload and organize their pics, they will also start increasing their categories.

It would be nice for to popup to show a list of categories for the user to pic from. Just a thought.

Thanks,
Joe
Not a bad thought... Ill look into this soon
Reply With Quote
  #26  
Old 01-15-2005, 06:21 AM
pramodha pramodha is offline
 
Join Date: Apr 2004
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by the nail geek
Double check that your $gallery_files_path is correct in the geek-gallery-popup.php file and make sure that file is in your forums directory.

HTH's
I double checked my option and still I get the same error !

Here is a detailed error tht I get :

Quote:
Warning: getimagesize(http://www.mywebsite.com/gallery/fil..._031_thumb.jpg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/site/public_html/forum/geek-gallery-popup.php on line 116
Please help me asap ! :ermm:
Reply With Quote
  #27  
Old 01-15-2005, 07:05 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

Quote:
Originally Posted by pramodha
I double checked my option and still I get the same error !

Here is a detailed error tht I get :



Please help me asap ! :ermm:
Huh, have you checked that the file it is wigging out on exists? Maybe it is in the DB but not in the file system? (Though I am not sure how that one could be)

It is conking out as the URL being passed to getimagesize does not exist.
Try under another user name as well.
Reply With Quote
  #28  
Old 01-18-2005, 12:36 PM
Ghostsuit's Avatar
Ghostsuit Ghostsuit is offline
 
Join Date: Nov 2001
Location: Glasgow, Scotland
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any luck with the Firefox WYSIWYG problem?
Reply With Quote
  #29  
Old 01-19-2005, 01:19 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

Quote:
Originally Posted by Ghostsuit
Any luck with the Firefox WYSIWYG problem?
Still bashing my head into a wall with it.
If anyone knows how to send a 'paste html' command to mozillas wysiwyg editor... I would be one happy chap.
Reply With Quote
  #30  
Old 01-19-2005, 10:11 PM
tormodg tormodg is offline
 
Join Date: Oct 2004
Location: Oslo, Norway
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by the nail geek
Still bashing my head into a wall with it.
If anyone knows how to send a 'paste html' command to mozillas wysiwyg editor... I would be one happy chap.
Wonder if this is the issue?

http://www.mozilla.org/editor/midasd...rityprefs.html

Ie, a client problem which can be solved by the user.
Reply With Quote
  #31  
Old 01-20-2005, 06:19 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

Quote:
Originally Posted by tormodg
Wonder if this is the issue?

http://www.mozilla.org/editor/midasd...rityprefs.html

Ie, a client problem which can be solved by the user.
I spent an afternoon on this issue and really it comes down to mozillas wysiwyg editor supports simple commands like execCommand('insertImage', false, 'logo.gif'); or execCommand('insertLink', false, 'blahblahblah'); but you can not insert a linked image!

Therefore I can change it to insert just a large or small image, just not link it! There may be a way to insert the image and loop through the wysiwyg elements and THEN link it... but that sounds sketchy

Anyone have any suggestions?
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 10:52 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.13586 seconds
  • Memory Usage 2,316KB
  • 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
  • (9)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