Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Navbar Image Uploader (ShareFlurry.com) Details »»
Navbar Image Uploader (ShareFlurry.com)
Version: 1.00, by cbehan cbehan is offline
Developer Last Online: Dec 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.0.1 Rating:
Released: 01-19-2010 Last Update: Never Installs: 13
Template Edits
 
No support by the author.

Description:
This mod adds an image uploader drop-down link to the navbar so your users can upload images to a third party site and not have to use attachments if they want to post a picture online. This is a feature our users have loved since we first installed it over a year ago on vb 3.6.x.

I've now tested this with vb 4.0.0 PL1 and everything works exactly as desired...so I figured I would make it available it anyone is interested.


Installation:
Under your desired template, open up Navigation / Breadcrumb Templates then navbar.

These instructions will place the Image Uploader after the Calendar in the navbar:

search for
Code:
{vb:raw template_hook.navbar_after_calendar}
after that line, paste
Code:
<li class="popupmenu">
	<a href="javascript://" class="popupctrl">Image Uploader</a>
	<ul class="popupbody popuphover">
		{vb:raw template_hook.navbar_image_uploader_start}
			<li><IFRAME name=tool align=left src="http://www.shareflurry.com/vbupload.php" frameBorder=no width=260 scrolling=no height=130></IFRAME></li>
		{vb:raw template_hook.navbar_image_uploader_end}
	</ul>
</li>
You will have to do this twice to get the image uploader installed in all circumstances.


Example:
You can see this mod in action on our test site: http://tippingpitchers.com/vb4test/forum.php

(Apologies if things aren't working 100% correctly on that site...it is our sandbox for getting ready for the final vb4 migration. If you would like to see this mod and it's not working correctly at the url listed above, please PM me and I'll either fix it or update the url here to a working version of the mod.)


Full disclosure:
Yes, the image hosting site is owned by me, and the site itself does include ads....but there are no ads on the dropdown script, so there is no advertising included in this mod. Your users will simply upload an image from their computer, then get the bbcode to place the image in your forum.

Screenshots

File Type: png screenshot.PNG (28.5 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 01-20-2010, 08:34 PM
cbehan cbehan is offline
 
Join Date: Feb 2009
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

reserved.
Reply With Quote
  #3  
Old 01-20-2010, 08:47 PM
VonDoom's Avatar
VonDoom VonDoom is offline
 
Join Date: Dec 2008
Location: USA
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very cool i cant see this not being a hit on my forums. Thanks I am testing it out now will mark installed Shortly.
Reply With Quote
  #4  
Old 01-20-2010, 09:05 PM
VonDoom's Avatar
VonDoom VonDoom is offline
 
Join Date: Dec 2008
Location: USA
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After testing this for a bit it turns out that for some reason the code generated is showing the thumbnail img after clicking to view full size??

Reply With Quote
  #5  
Old 01-20-2010, 09:37 PM
BBR-APBT's Avatar
BBR-APBT BBR-APBT is offline
 
Join Date: Feb 2009
Location: Maryland
Posts: 946
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is only one problem. The code you have listed will only upload images to your site, How will they get uploaded to my site?

You would need to share vbupload.php for this to be any good for the rest of us.
Reply With Quote
  #6  
Old 01-20-2010, 10:25 PM
VonDoom's Avatar
VonDoom VonDoom is offline
 
Join Date: Dec 2008
Location: USA
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BBR-APBT View Post
There is only one problem. The code you have listed will only upload images to your site, How will they get uploaded to my site?

You would need to share vbupload.php for this to be any good for the rest of us.
+1
Reply With Quote
  #7  
Old 01-20-2010, 11:43 PM
BBR-APBT's Avatar
BBR-APBT BBR-APBT is offline
 
Join Date: Feb 2009
Location: Maryland
Posts: 946
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok so you added this to your post since my reply.

Code:
Full disclosure:
Yes, the image hosting site is owned by me, and the site itself does include ads....but there are no ads on the dropdown script, so there is no advertising included in this mod. Your users will simply upload an image from their computer, then get the bbcode to place the image in your forum.

So let me get this correct. I put this code on my navbar. My members upload a image thinking it is going to my site, when it is actually going to yours.
Then when they get there to get the BBcode they are greeted with ads.

Then they have to find their way back to my site and paste the BBcode in to a thread or post.
Seems like to much trouble with the attachment system and photobucket and what not.

This is pretty much useless to any site owner.
Reply With Quote
  #8  
Old 01-21-2010, 12:42 AM
cbehan cbehan is offline
 
Join Date: Feb 2009
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BBR-APBT View Post
Ok so you added this to your post since my reply.

Code:
Full disclosure:
Yes, the image hosting site is owned by me, and the site itself does include ads....but there are no ads on the dropdown script, so there is no advertising included in this mod. Your users will simply upload an image from their computer, then get the bbcode to place the image in your forum.

So let me get this correct. I put this code on my navbar. My members upload a image thinking it is going to my site, when it is actually going to yours.
Then when they get there to get the BBcode they are greeted with ads.

Then they have to find their way back to my site and paste the BBcode in to a thread or post.
Seems like to much trouble with the attachment system and photobucket and what not.

This is pretty much useless to any site owner.
Sorry for any confusion here. The disclosure was in the original post...but that's really besides the point.

Yeah, the template mod is really just an iframe of a script on the uploader itself. The uploader is a separate site. The original intent of this was to have any upload place to easily put pictures and place them in the forum. That's really all it's intended to do...make it easy to take something on your computer and give you an easy copy/paste code to put the pic on your site.

The uploader site is running a completely separate script package I got over 3 years ago...I'll see if I can find the original package or the license information for that if you all want it.

That being said, the text that's currently being offerred after the upload is a thumbnail version that is also a link to the full version.

I'll look at making a modified version of the script that will instead just give you the full size picture.
Reply With Quote
  #9  
Old 01-21-2010, 01:06 AM
cbehan cbehan is offline
 
Join Date: Feb 2009
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, I've created a couple versions of the upload iframe so that you automatically get the code for the thumbnail version and so that you get the code for the full version.

If you'd like the full image version, use "http://www.shareflurry.com/vbuploadfull.php" instead of "http://www.shareflurry.com/vbupload.php"

I'm still looking for some information on the original uploader script.
Reply With Quote
  #10  
Old 01-21-2010, 01:15 AM
cbehan cbehan is offline
 
Join Date: Feb 2009
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The image host script I'm using on shareflurry.com is called GM Photo Host from gravy-media.com which is currently closed.

The readme I have with the original code was listed as version 0.01, and apparently the developer released version 1.08 this last summer...I can't find that one available anywhere.

If anyone would like the version I'm running, I can try to strip my stuff out of it and package it into a zip....I just don't have the time to do it tonight.

Just let me know if you want the hosting scripts.
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 12:39 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.04452 seconds
  • Memory Usage 2,329KB
  • Queries Executed 24 (?)
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
  • (4)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete