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
  #42  
Old 01-29-2005, 10:54 AM
agiacosa agiacosa is offline
 
Join Date: Dec 2004
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting a 404 error on the popup.

My gallery is broken up into categories and subcategories: /www/aquaticp/gallery/files/1/0/0/0 will reach the ultimate files.

Anyway to get this to work with your mod?
Reply With Quote
  #43  
Old 01-31-2005, 02:54 PM
oz_moses oz_moses is offline
 
Join Date: Oct 2004
Location: Sydney
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome hack, I really like it.

A few of the issues I had installing are:

1. Originally I had "[]" below my smilies, rather than the [Open] link. Clicking Edit on one of the phrases then saving saving without making any changes fixed it for the Newthread but not for the Edit. I'm still looking into this one.

2. I am using /forum as opposed to /forums so I needed to change the vbulletin_editor.js edit from

Code:
function open_geek_gallery_window(is_wysiwyg) {
        photoWindow=window.open('../forums/geek-gallery-popup.php','geekgallery','scrollbars=yes,resizable=yes,width=550,height=500');
}
to

Code:
function open_geek_gallery_window(is_wysiwyg) {
        photoWindow=window.open('../forum/geek-gallery-popup.php','geekgallery','scrollbars=yes,resizable=yes,width=550,height=500');
}
Reply With Quote
  #44  
Old 02-11-2005, 04:05 AM
Ghostsuit's Avatar
Ghostsuit Ghostsuit is offline
 
Join Date: Nov 2001
Location: Glasgow, Scotland
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you manage to get the WYSIWYG location sorted yet?
Reply With Quote
  #45  
Old 02-11-2005, 06:32 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
Did you manage to get the WYSIWYG location sorted yet?
uh. oops. looks like I forgot to come back to this one.

No I cant seem to get the code together for mozilla wysiwyg linked thumbnails so I was putting it together to at least allow users to insert thumbs or full sized images. Ill do this today (scouts honor )
Reply With Quote
  #46  
Old 02-11-2005, 10:15 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

As promised - Mozilla support

nJoy the new package (see readme for upgrade instructions)
Reply With Quote
  #47  
Old 02-11-2005, 07:28 PM
trulylowcarb's Avatar
trulylowcarb trulylowcarb is offline
 
Join Date: Apr 2004
Location: Colorado
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can't get the install script to start? Verified its presence in the folder ... Do I need to change the permissions or something? I am calling on the right file name -
Noted in the instructions you're still referencing
Quote:
Done that? Good. Now run it (ie point your browser to http://www.franksfunkygyros.com/forum/admincp/geekarticles_install.php
(I caught it, obviously, am NOT nit-picking, am only pointing it out to possibly save you some questions from others, related to that...)

By the way ... you, sir, CRACK ME UP. Thank you.
Reply With Quote
  #48  
Old 02-11-2005, 07:46 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 trulylowcarb
Can't get the install script to start? Verified its presence in the folder ... Do I need to change the permissions or something? I am calling on the right file name -
Noted in the instructions you're still referencing
(I caught it, obviously, am NOT nit-picking, am only pointing it out to possibly save you some questions from others, related to that...)

By the way ... you, sir, CRACK ME UP. Thank you.


Thanks for pointing it out (so you did get it installed...right?!?)
Reply With Quote
  #49  
Old 02-11-2005, 07:51 PM
trulylowcarb's Avatar
trulylowcarb trulylowcarb is offline
 
Join Date: Apr 2004
Location: Colorado
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, I cannot get the script to start for me at all, I just get a 404 error...

I was using:
http://mysiteurl.net/forums/admincp/...up_install.php

...same as the actual file name...
Reply With Quote
  #50  
Old 02-11-2005, 08:01 PM
trulylowcarb's Avatar
trulylowcarb trulylowcarb is offline
 
Join Date: Apr 2004
Location: Colorado
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Eeeek! I should have thought/mentioned that this could very well be due to one mod that is only halfway installed and which I am now painstakingly removing, because it doesn't work for me... it was the "allow users to view titles not content (window shopping"), and it caused a repeated error in the admin resources file, so I reverted that one and now have to manually remove the other phrases and file mods.

Perhaps it was affecting this install? although the forum is working fine in every other regard I can see ....

anyway - in case you care, the error was:
Parse error: parse error, unexpected T_FOREACH, expecting ')' in /home/mysite/public_html/forums/admincp/resources.php on line 70

I feel bad for telling you your mod doesn't work for me prior to removing the other failed mod, as I do know enough to realize that this whole mod thing is like a jenga game and one thing affects everything else ... [where's the blush emoticon?]

I will finish uninstalling the other mod now and then try this one again. I wouldn't have ever done this in this FUBAR order except that the error only came up when selecting 'view permissions' in the admin cp, and I wasn't aware I that I even had the aforementioned problem for a while.
Reply With Quote
  #51  
Old 02-11-2005, 09:13 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

no problem. I know what its like. Good luck with it
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:27 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.07922 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
  • (2)bbcode_code
  • (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
  • (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