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

Reply
 
Thread Tools
Thread Links / Redirect Thread to URL Details »»
Thread Links / Redirect Thread to URL
Version: 1.0.1, by phpdesk phpdesk is offline
Developer Last Online: Apr 2020 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.0.x Rating:
Released: 09-21-2010 Last Update: 09-23-2010 Installs: 88
DB Changes Uses Plugins Auto-Templates
 
No support by the author.

Info
Enables thread linking to external locations
Similar to "Forum Link" option
Features
- Point thread titles to external URLs
- Allow users to manage their thread links
- Enable globally or for selected forums
- Assign Usergroup based permissions (New!)
- Set up direct linking or thread redirects
- Set the link target property
- Choose between two threadbit display styles (New!)
- View screenshots for more details
Installation
Import [phpdesk.com]-product-threadurl.xml via AdminCP > Plugin System > Manage Products > [Add/Import Product]
Settings
Go to: AdminCP > vBulletin Options > Thread Link Options
Mod Support
- Do not forget to mark as installed to qualify for further assistance
- A small donation would always be welcome to support further development of this hack (Support Developer)
- I'll do my best to listen to your comments and suggestions as long as time permits
Ghangelog
1.0.0 | 2010-09-22
- First Release
1.0.1
|
2010-09-23

- New: Usergroup Permissions filter
- New: Alternative threadbit style
1.0.2 | Planned
- Include a compatibility fix for Separate Sticky from Normal Threads hack
- Enable for selected users only
- Feel free to post your suggestions
Enjoy

Download Now

File Type: xml [phpdesk.com]-product-threadurl.xml (32.4 KB, 331 views)
File Type: xml [phpdesk.com]-product-threadurl-eparate-fix.xml (618 Bytes, 245 views)

Screenshots

File Type: png new-thread-link.png (10.3 KB, 0 views)
File Type: png edit-link.png (13.5 KB, 0 views)
File Type: png admin-options.png (32.6 KB, 0 views)
File Type: png forumdisplay.png (29.3 KB, 0 views)
File Type: png forumdisplay-alternative.png (31.7 KB, 0 views)

Show Your Support

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

Comments
  #22  
Old 09-26-2010, 10:20 PM
phpdesk phpdesk is offline
 
Join Date: Jan 2005
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shuangddr View Post
Goog job,thank you very much.
You're welcome, shuangddr.
Reply With Quote
  #23  
Old 09-27-2010, 12:29 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on 4.04pl1 ... thank you ...

Seems to work well in initial testing and was something we were looking for after transferring a lot of threads from forums to articles under v4 vbCMS .... :up:

We wanted all the old thread references to get redirected to the vbCMS replacement articles when people clicked on them in posts, instead of having to even think about goinf through every post and changing them.

Question: Under the option to select just specific forums, if I choose a category forum ID that has a series of sub forums under it, will all those sub forums inherit this capability automatically?

It sure would save me a lot of time if they would ...

Regards,
Badger
Reply With Quote
  #24  
Old 09-27-2010, 12:34 PM
phpdesk phpdesk is offline
 
Join Date: Jan 2005
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BadgerDog View Post
Question: Under the option to select just specific forums, if I choose a category forum ID that has a series of sub forums under it, will all those sub forums inherit this capability automatically?
Unfortunately, currently sub forums aren't included automatically if you add a parent forum ID to the list.
Reply With Quote
  #25  
Old 09-27-2010, 01:57 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by phpdesk View Post
Unfortunately, currently sub forums aren't included automatically if you add a parent forum ID to the list.
Thanks ..

If I leave it blank so that ALL forums have the link option, but restrict the usergroup to Admin ONLY, then Admin status usergroups only will be able to see that option... correct?

Finally, see attached pic ...

I notice that when I redirect a thread with the mod, that it now appears as a forum thread with a sticky indicator on it, but it's not actually a stick thread (no separator). Is that the way it's designed?

By the way, I use this custom mod to separate stickies from normal threads, although I'm not sure it makes any difference to my last question, I thought I'd mention it.

https://vborg.vbsupport.ru/showthread.php?t=249677

I use this one because it doesn't generate any in-line errors like Atakan KOC's mod mentioned earlier.

Regards,
Badger
Attached Images
File Type: jpg Screen shot 2010-09-27 at 11.36.21 AM.jpg (56.3 KB, 0 views)
Reply With Quote
  #26  
Old 09-28-2010, 09:08 AM
thedvs thedvs is offline
 
Join Date: May 2002
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

drat, if i turn off member cannot see thread content in forum permissions, they can still be redirected!

i was going to use this for vip members links
Reply With Quote
  #27  
Old 09-28-2010, 10:09 AM
phpdesk phpdesk is offline
 
Join Date: Jan 2005
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by thedvs View Post
if i turn off member cannot see thread content in forum permissions, they can still be redirected!
Hey, is the Thread Link Type set to Direct Link or a Redirect on your site? If I have it set to first option then thread is directly pointing to the external location. If I have it set as a redirect, and switch off Can View Thread Content then redirection is stopped with a vBulletin alert message.

Which one is your case?
Reply With Quote
  #28  
Old 09-28-2010, 10:23 AM
phpdesk phpdesk is offline
 
Join Date: Jan 2005
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BadgerDog View Post
Thanks ..

If I leave it blank so that ALL forums have the link option, but restrict the usergroup to Admin ONLY, then Admin status usergroups only will be able to see that option... correct?
That's right, only selected usergroups are allowed to point new threads to external links. All the others continue to submit new threads the usual way.

Quote:
Originally Posted by BadgerDog View Post
I notice that when I redirect a thread with the mod, that it now appears as a forum thread with a sticky indicator on it, but it's not actually a stick thread (no separator). Is that the way it's designed?
I wanted to highlight the custom threads somehow by adding some sort of an icon next to their titles. I used the same one as for sticky threads but you can always customize that further in the template directly. Redirected threads aren't moved to the top like the sticky ones, (unless you also mark them as sticky) so no need for additional separators.

Quote:
Originally Posted by BadgerDog View Post
By the way, I use this custom mod to separate stickies from normal threads, although I'm not sure it makes any difference to my last question, I thought I'd mention it.

https://vborg.vbsupport.ru/showthread.php?t=249677

I use this one because it doesn't generate any in-line errors like Atakan KOC's mod mentioned earlier.
That's a nice mod suggestion, I tried it and apparently it works fine with my mod with no extra fixes required.
Reply With Quote
  #29  
Old 09-28-2010, 10:31 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Alex ...

Again, great mod and will significantly help us re-structure how we handle our on-line member libraries that have been forum based, moving them to vbCMS article based, doing so transparently .... :up:

Regards,
Badger

ps: Sent PayPal donation ....
Reply With Quote
  #30  
Old 09-28-2010, 11:42 AM
thedvs thedvs is offline
 
Join Date: May 2002
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its ok now, ive fixed it! yep needed to be on redirect and not direct - my bad

Quote:
Originally Posted by phpdesk View Post
Hey, is the Thread Link Type set to Direct Link or a Redirect on your site? If I have it set to first option then thread is directly pointing to the external location. If I have it set as a redirect, and switch off Can View Thread Content then redirection is stopped with a vBulletin alert message.

Which one is your case?
Reply With Quote
  #31  
Old 09-28-2010, 11:48 AM
phpdesk phpdesk is offline
 
Join Date: Jan 2005
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BadgerDog View Post
Thanks Alex ...

Again, great mod and will significantly help us re-structure how we handle our on-line member libraries that have been forum based, moving them to vbCMS article based, doing so transparently .... :up:

Regards,
Badger

ps: Sent PayPal donation ....
I'm glad it worked out for you,
and really appreciate the donation, thanks!

If anything else, just let me know
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:54 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.04703 seconds
  • Memory Usage 2,358KB
  • 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
  • (9)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
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (8)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
  • 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