Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #11  
Old 02-25-2016, 05:38 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tim330i View Post
I only need to do this for a specific sub-set of forums. I'm trying to still allow my users to use Imgur in all locations other then our classifieds. The use of Imgur images in the classifieds is how I got blacklisted.

Sample image links -

PHP Code:
http://i.imgur.com/k4yzRKP.jpg?1 
PHP Code:
http://i.imgur.com/2ry6lF2.jpg 
PHP Code:
http://i.imgur.com/l6eZYOj.jpg 
PHP Code:
http://i.imgur.com/3SFlgoU.png 
In an ideal world I would have images from Imgur.com be hyper linked [URL] instead of embedded as images [IMG] but I will take all out censoring for the time being if that is easier.

Thanks for the help,
Tim
So, you have images embedded such as:

PHP Code:
[IMG]http://i.imgur.com/3SFlgoU.png[/IMG] 
And you would want this changed to:

PHP Code:
[URL]http://i.imgur.com/3SFlgoU.png[/URL] 
And only in certain forums?
Reply With Quote
  #12  
Old 02-25-2016, 05:56 PM
tim330i tim330i is offline
 
Join Date: Apr 2002
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, that would be ideal.
Reply With Quote
  #13  
Old 02-25-2016, 06:07 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tim330i View Post
Yes, that would be ideal.
Okay, tonight I will look into creating a vB 3.8.x product you can install to do that. It won't change what's in your database, only what is shown when viewing the posts. It will allow you to select the forums in which it is active, and to turn off the product in the settings if needed.

Before I begin work on this, I need you to verify that you are using vB 3.8.x...I don't want to create the product only to find out you are using another version and it doesn't work.
Reply With Quote
Благодарность от:
blind-eddie
  #14  
Old 02-25-2016, 06:12 PM
tim330i tim330i is offline
 
Join Date: Apr 2002
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Mark! Direct from my site footer -

Quote:
Powered by vBulletin? Version 3.8.7
Tim
Reply With Quote
  #15  
Old 02-25-2016, 06:17 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tim330i View Post
Thanks Mark! Direct from my site footer -

Quote:
Powered by vBulletin? Version 3.8.7
Tim
Okay, that should work...my vB 3 dev site is vB 3.8.9, and so I will post back once I have something for you to try.
Reply With Quote
  #16  
Old 02-26-2016, 01:35 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, here is a simple mod that does what you asked. Download the attached .XML file, import it, go the the settings and enable the product and select the forum(s) in which you want it to be active, save the settings and let me know if it works for you.

Also, if you wish for any additional features or changes, feel free to let me know.

Note: It should work for vB 4.x as well.
Attached Files
File Type: xml product-markflimgurtollink.xml (3.4 KB, 4 views)
Reply With Quote
  #17  
Old 02-26-2016, 02:22 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are a good person Mark. I have seen you make an addon with just an idea a few times for free I might add, I hope your donation box gets filled, its well deserved.
Reply With Quote
2 благодарности(ей) от:
MarkFL, Stratis
  #18  
Old 02-26-2016, 02:30 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blind-eddie View Post
You are a good person Mark. I have seen you make an addon with just an idea a few times for free I might add, I hope your donation box gets filled, its well deserved.
Sorry for been out of thread.
But you are wrong about Mark. His is not a good person but much much more. Even if you want to donate him for his work, does not accept it. God bless him, and hope he has all the best in his life.
Reply With Quote
3 благодарности(ей) от:
blind-eddie, Elixar, MarkFL
  #19  
Old 02-27-2016, 04:53 AM
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Posts: 579
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll echo the gents above me.
Reply With Quote
Благодарность от:
blind-eddie
  #20  
Old 02-28-2016, 07:12 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, everyone!

Now of course it would be nice to hear from the OP, to see whether this addresses the stated issue satisfactorily.
Reply With Quote
Благодарность от:
blind-eddie
Reply

Thread Tools
Display Modes

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 07:44 PM.


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.04972 seconds
  • Memory Usage 2,287KB
  • Queries Executed 14 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (6)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (8)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete