Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Redirect Thread to URL Details »»
Redirect Thread to URL
Version: 1.0.1, by h2ojunkie h2ojunkie is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.8.0 RC 1 Rating:
Released: 12-09-2008 Last Update: 12-22-2008 Installs: 120
DB Changes Uses Plugins Auto-Templates
Translations  
No support by the author.

What it does

This will add an option to the edit thread page that will allow you to redirect a thread to any URL.

Thread read marking and thread views still counted when user views the redirect URL.

"Manage" link added to forumdisplay to edit/remove the redirect URL. (see screen shots)

Info

Phrases: 2 (automatic)
Templates Edits: 1 (automatic)
DB Changes: 1 (automatic)
Plugins Added: 7 (automatic)
Uninstall Code: Included

Tested on VB versions: 3.6.4, 3.7.4, 3,8.0 RC1

Installation

Import the product

Updates
1.0.1 - Minor permissions change - the "manage" link will now show to moderators with "can edit threads" permissions, previous version required "can edit threads" and "can manage threads" permissions.

Download Now

File Type: xml product-redirectthread.xml (4.0 KB, 700 views)

Screenshots

File Type: gif edit-thread.gif (77.6 KB, 0 views)
File Type: gif forumdisplay.gif (13.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
armais, Artes_Marciales, xorex

Comments
  #32  
Old 01-27-2009, 07:25 AM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Breakpoint View Post
Has anyone else made a mod like this with more support/installs?
Does that really matter?
Reply With Quote
  #33  
Old 01-27-2009, 08:57 PM
mike01166 mike01166 is offline
 
Join Date: Jan 2009
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, so I installed this, how do i use it? I went to Plugins & Products > Manage Products > Add/Import Product. I imported the .xml file, now how do I use it?
Reply With Quote
  #34  
Old 03-23-2009, 02:15 PM
daydie's Avatar
daydie daydie is offline
 
Join Date: Oct 2007
Posts: 248
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i dont think this works for 3.8.1?
Reply With Quote
  #35  
Old 03-23-2009, 09:31 PM
daydie's Avatar
daydie daydie is offline
 
Join Date: Oct 2007
Posts: 248
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can any1 fix this please for 3.8.1
Reply With Quote
  #36  
Old 03-23-2009, 09:48 PM
daydie's Avatar
daydie daydie is offline
 
Join Date: Oct 2007
Posts: 248
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My bad, this works with 3.8.1 but u need to click *Edit Thread in Thread Tools to edit*

Is it possible to get code and insert where u make thread?
Reply With Quote
  #37  
Old 03-23-2009, 10:28 PM
smnet smnet is offline
 
Join Date: Feb 2009
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I havent installed this because i dont really need it, but just looking at the plugin code I think this conditional would work for the forum display threadbits template to make it open in a new window.....

Edit the threadbits template and surround the code that outputs a thread link with something like this:-

<if condition="$thread['isurlredirect']">
write out the thread link with target="_blank"
<else />
write out a normal link
</if>

Obviously for a mod i'm not gonna use im not going to help any more than this, but I'm sure with the above info some else who knows what they are doing could easy post up the full edits.

Again, the conditional should be this: <if condition="$thread['isurlredirect']">

Hope this helps
Reply With Quote
  #38  
Old 03-23-2009, 11:38 PM
daydie's Avatar
daydie daydie is offline
 
Join Date: Oct 2007
Posts: 248
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you not help me place the enter URL bar, into make thread page. instead of edit thread in thread tools.

Can u get code for that please?
Reply With Quote
  #39  
Old 04-02-2009, 03:14 PM
realdx realdx is offline
 
Join Date: Mar 2009
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works really good, thank you! this is really helpful!!
Reply With Quote
  #40  
Old 04-05-2009, 10:49 PM
rule0 rule0 is offline
 
Join Date: Mar 2008
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

perfect! thanks!
Reply With Quote
  #41  
Old 04-30-2009, 07:31 AM
yankidank's Avatar
yankidank yankidank is offline
 
Join Date: Dec 2005
Location: San Francisco, CA
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works for me. Only problem is if you ever want to change the redirect there's no easy way to access the original thread since it immediately redirects you to the new page.
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 02:20 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.06096 seconds
  • Memory Usage 2,335KB
  • Queries Executed 26 (?)
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)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • 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_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