Log in

View Full Version : New Posting Features - Thread Links / Redirect Thread to URL


phpdesk
09-21-2010, 10:00 PM
InfoEnables 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
InstallationImport [phpdesk.com]-product-threadurl.xml via AdminCP > Plugin System > Manage Products > [Add/Import Product]
SettingsGo 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 (https://vborg.vbsupport.ru/showthread.php?p=2101660#gtdonate))
- I'll do my best to listen to your comments and suggestions as long as time permits
Ghangelog1.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 :)

phpdesk
09-22-2010, 12:36 AM
Please be patient, I'll upload the files in the morning.
If you have any suggestions in the meantime, feel free to post them here.

dartho
09-22-2010, 02:45 AM
This looks good, thanks.

Given it's a custom threadbit, it may be good if you could include the contents of the first post, within the threadbit as a description. Hiovering the mouse of teh title gives you a truncated version - this is probably enough ({vb:raw thread.preview}).

DxSEO
09-22-2010, 05:41 AM
tagged for future use

phpdesk
09-22-2010, 06:57 AM
Given it's a custom threadbit, it may be good if you could include the contents of the first post, within the threadbit as a description.

Thanks for the suggestion, dartho. I've been thinking of a possible way to include this into the next release. What I could do, perhaps, is add an extra admin option to allow selection between a few available threadbit display styles, such as:- Forum Style
- Directory Style
The Directory Style would contain the first post preview as a thread / listing description.

thedvs
09-22-2010, 08:49 AM
awesome phpdesk I LUB U :)

Is this still so that only the Admin can do these links? otherwise users could use it to spam and send ppl to malicious urls!

Edit:
Direct link should open in a new window too, and redirect should not show the redirect url (hope you can do these options)

quachvu
09-22-2010, 12:25 PM
after installation, "Normal Threads" and "Sticky Threads" area is no more seperate. i mean the seperate bar. i dont understand why you want to do that?

Breakpoint
09-22-2010, 03:18 PM
Can you confirm that this will work with the existing data that we had for the same type of mod in vb 3.8?

Or would we need re-link the old threads?

I will try this out and let you know today or tomorrow.

THANK YOU!!!!!

phpdesk
09-22-2010, 05:03 PM
Is this still so that only the Admin can do these links? otherwise users could use it to spam and send ppl to malicious urls!

Please be aware, this is Not an update to the Redirect Thread to URL mod from h2ojunkie that you must be referring to, unfortunately. So it doesn't specifically reproduce any feature from there other than the idea alone of a thread that acts as an external link.

And no, currently there is no usergroup permission control over the usage of this option, I will however consider it for the next version release, thanks for the suggestion.

Direct link should open in a new window too, and redirect should not show the redirect url (hope you can do these options)

You can choose to open custom thread links in a new window regardless if they are redirects or directly linking to external URLs.

after installation, "Normal Threads" and "Sticky Threads" area is no more seperate. i mean the seperate bar. i dont understand why you want to do that?

Not too sure I know what you mean. vBulletin 4.0 does not have a separation bar between featured and regular threads. Are you perhaps using a mod to add that feature?

Can you confirm that this will work with the existing data that we had for the same type of mod in vb 3.8? Or would we need re-link the old threads?

It won't work, but no need to panic, all you probably need to do is take a look at the "thread" table and rename the field containing thread url's to "link". Let me know if you need assistance with that, I'll give you a hand.

Breakpoint
09-22-2010, 10:05 PM
In the next release can you make it so usergroups that can ca edit other peoples posts can only add links?

It is how h20junkie's was done. Makes it safe for everyone.

phpdesk
09-23-2010, 07:39 AM
In the next release can you make it so usergroups that can ca edit other peoples posts can only add links?

I'm actually developing a more flexible option to control who is given permission to use the custom thread linking option and prevent possible security issues related to that. (see the attached screenshot).

thedvs
09-23-2010, 12:36 PM
awesome can't wait!

phpdesk
09-23-2010, 05:42 PM
Hey all,

New hack version is out,
It includes all the additional features discussed since previous release.

Changelog:
- New: Usergroup Permissions filter
- New: Alternative threadbit style
Enjoy :)

quachvu
09-23-2010, 06:37 PM
Not too sure I know what you mean. vBulletin 4.0 does not have a separation bar between featured and regular threads. Are you perhaps using a mod to add that feature?


no, i mean "Sticky Threads" and "Normal Threads" are disappeared after enable your mod. when i disable your mod. it appear again. i think your mod should just add thread url function, and shouldnt also change style or display of forum.

please check the image

phpdesk
09-23-2010, 09:42 PM
no, i mean "Sticky Threads" and "Normal Threads" are disappeared after enable your mod. when i disable your mod. it appear again.

If you could tell me the name of the mod you're using to add the separation bar between sticky and normal threads, I could possibly help you overcome the compatibility issues. This is the price you have to pay for the automatic template changes applied by my hack as opposed to manual template changes that not everyone can handle.

quachvu
09-23-2010, 11:54 PM
oh i use this https://vborg.vbsupport.ru/showthread.php?t=228036&highlight=Separate+Sticky+Normal+Threads

phpdesk
09-24-2010, 06:35 AM
oh i use this https://vborg.vbsupport.ru/showthread.php?t=228036&highlight=Separate+Sticky+Normal+Threads

Check this fix for the Separate Sticky and Normal Threads hack that you're using:
[phpdesk.com]-product-threadurl-eparate-fix.xml (https://vborg.vbsupport.ru/attachment.php?attachmentid=122291)

Import via AdminCP: Plugin System > Download / Upload Plugins > Import Plugin Definitions XML File

quachvu
09-25-2010, 09:27 AM
Check this fix for the Separate Sticky and Normal Threads hack that you're using:
[phpdesk.com]-product-threadurl-eparate-fix.xml (https://vborg.vbsupport.ru/attachment.php?attachmentid=122291)

Import via AdminCP: Plugin System > Download / Upload Plugins > Import Plugin Definitions XML File

great, it works, thank you very much :)

phpdesk
09-25-2010, 10:06 AM
great, it works, thank you very much :)

I'm glad it does, quachvu.
Do not forget to mark the mod as installed :)

shuangddr
09-26-2010, 09:15 AM
Goog job,thank you very much.

phpdesk
09-26-2010, 10:20 PM
Goog job,thank you very much.

You're welcome, shuangddr.

BadgerDog
09-27-2010, 12:29 PM
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 ... :D

Regards,
Badger

phpdesk
09-27-2010, 12:34 PM
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.

BadgerDog
09-27-2010, 01:57 PM
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

thedvs
09-28-2010, 09:08 AM
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

phpdesk
09-28-2010, 10:09 AM
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?

phpdesk
09-28-2010, 10:23 AM
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.

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.

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.

BadgerDog
09-28-2010, 10:31 AM
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 ....

thedvs
09-28-2010, 11:42 AM
its ok now, ive fixed it! :) yep needed to be on redirect and not direct - my bad

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?

phpdesk
09-28-2010, 11:48 AM
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 :)

BadgerDog
09-28-2010, 04:32 PM
I'm glad it worked out for you,
and really appreciate the donation, thanks!

If anything else, just let me know :)

Thanks ... :)

Will send you a PM shortly ...

Regards,
Badger

strudinox
09-28-2010, 04:34 PM
Tagged for future use. I can see this coming in handy for a sponsors link forum section. :up:

phpdesk
09-28-2010, 08:48 PM
Tagged for future use. I can see this coming in handy for a sponsors link forum section. :up:

Haven't thought about that before but sounds like a good idea. Will probably consider it myself, too.
Sharing mods for free has got its own advantages :)

P.S. Feel free post more suggestions you might have and I'll look forward to the possibility of implementing them into this hack.

Samson
10-19-2010, 06:16 PM
Big thanks for this! I was looking for this exact addon! :)

phpdesk
10-21-2010, 12:38 PM
You're most welcome, Samson.

SCSCSC
12-20-2010, 07:04 AM
not working with Version 4.0.8

SCSCSC
12-20-2010, 07:17 AM
working now :max:

phpdesk
12-20-2010, 08:17 PM
not working with Version 4.0.8

working now :max:

Good! This reminds me to drag everyone's attention to the fact that once the mod is installed, you should not forget to check the admin options to enable thread redirects.

jluerken
12-24-2010, 08:08 PM
Hi phpdesk,

is this working now with 4.0.8 and the seperate normal /sticky threads stuff?
When do you think you release v 1.0.2?

phpdesk
12-27-2010, 04:56 PM
Hi phpdesk,

is this working now with 4.0.8 and the seperate normal /sticky threads stuff?
When do you think you release v 1.0.2?

As far as I'm aware yes, It should work with 4.0.8.
Yes, should also work with the separate normal from sticky threads mods (see for the fix if you're using the "eparate" product).

As far as the new release is concerned, I am not planning to launch new versions regularly for the sake of doing it. If a new feature is introduced or a bug is fixed, then a new release is ok to come out, otherwise enjoy using the current 1.0.1 version of this mod :)

Merry Christmas to you all, and a Happy New Year!

ikki29
12-27-2010, 08:09 PM
incompatible con este hack (https://vborg.vbsupport.ru/showthread.php?t=250948) espero se pueda solucionar

phpdesk
12-27-2010, 09:24 PM
incompatible con este hack (https://vborg.vbsupport.ru/showthread.php?t=250948) espero se pueda solucionar

Okay, I don't mind using online translation tools but how can this mod be incompatible with itself, I am not too sure what you mean.

ikki29
12-31-2010, 06:26 AM
Sorry I did not realize the translator. I mean, I mean that this hack is incompatible with this hack that I put, when you install this hack does not work, I've done several tests and when I uninstall your hack works perfectly, a greeting and I hope you understand me

phpdesk
12-31-2010, 07:24 AM
I mean, I mean that this hack is incompatible with this hack that I put

What hack are you referring to?

naisho
12-31-2010, 09:16 AM
Nice! Installed on vb 4.1.0 PL 2

Here is the french language file:

phpdesk
12-31-2010, 12:17 PM
Nice! Installed on vb 4.1.0 PL 2
Here is the french language file:

Great, thanks for sharing the French translation pack.

FallenEmpire
01-08-2011, 09:16 PM
Installed; thanks! A very useful mod, would love to see it compatible with seperate normal threads from stickies though, so will be anxiously waiting on that one. :up: Will disable it until then. :p

phpdesk
01-09-2011, 01:20 PM
Installed; thanks! A very useful mod, would love to see it compatible with seperate normal threads from stickies though, so will be anxiously waiting on that one. :up: Will disable it until then. :p

Hi, I'm glad you like it.

There are a few "Separate normal threads from sticky", I've included a fix for one of them in the downloads area of this thread, another one discussed in this thread is compatible with my mod. What mod are you referring to?

AURFSCAN
01-09-2011, 02:33 PM
tagged thx. does this work with announcements?


:)

phpdesk
01-09-2011, 04:18 PM
tagged thx. does this work with announcements?

It's only meant to work with threads.

pmdpmd
03-03-2011, 01:38 PM
Thanks for a great mod.

There seems to be a limit of 250 characters on the URL length.

This is not sufficient for me.

Can you advise where I need to increase this in order to increase it to (say) 1000? I changed newthread_link and editpost_link, but its still not working for me.

Any chance of including support for longer URLs in a future release? With parameters and deep linking and tracking codes, the URLs I am getting from merchants are often over 250 chars?

Thanks,
Paul.

Update: I fixed this (I think!) by increasing the "link" field length in the "thread" table on top of my code changes. Seemed to have the desired effect. Still suggest inclusion in future releases - I believe since its a varchar field, it won't make any difference to folk using shorter URLs, but would support longer ones.

phpdesk
03-03-2011, 03:27 PM
Hi Paul,

I'm glad you figured it out fast enough, yes it's the "link" field that is set as VARCHAR type which has an overall limit of 255 characters. If you wish to have more than that available, change it to TEXT type.

Regards.Thanks for a great mod.

There seems to be a limit of 250 characters on the URL length.

This is not sufficient for me.

Can you advise where I need to increase this in order to increase it to (say) 1000? I changed newthread_link and editpost_link, but its still not working for me.

Any chance of including support for longer URLs in a future release? With parameters and deep linking and tracking codes, the URLs I am getting from merchants are often over 250 chars?

Thanks,
Paul.


Update: I fixed this (I think!) by increasing the "link" field length in the "thread" table on top of my code changes. Seemed to have the desired effect. Still suggest inclusion in future releases - I believe since its a varchar field, it won't make any difference to folk using shorter URLs, but would support longer ones.

FallenEmpire
03-28-2011, 06:05 PM
Hi, I'm glad you like it.

There are a few "Separate normal threads from sticky", I've included a fix for one of them in the downloads area of this thread, another one discussed in this thread is compatible with my mod. What mod are you referring to?

Sorry about the late reply, this is the mod I was talking about:

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

I'm pretty sure I installed your fix correctly but they still seem to be conflicting.

Edit: My apologies for being a noob, just changed the execution order on the plugin and it works fine. Thanks again!

phpdesk
04-03-2011, 09:31 PM
No worries, I'm glad you were able to make it work.

Randomm
04-07-2011, 05:17 AM
any news on when the next update will come?
*already tagged*

phpdesk
04-07-2011, 03:25 PM
any news on when the next update will come?
*already tagged*

There hasn't been any need for an update like when there are new feature requests or bugs to address...

Randomm
04-08-2011, 01:46 AM
then in that case, INSTALLED
hopefully there's an update with new features
thanks mate :)

phpdesk
04-11-2011, 08:21 PM
then in that case, INSTALLED
hopefully there's an update with new features
thanks mate :)

Sure, if you have any ideas to suggest for new features, feel free to let me know.

phpdesk
12-25-2011, 07:57 AM
May this Christmas be bright and cheerful,
And may the New Year begin on a prosperous note!

Merry Christmas!

ryancooper
01-04-2013, 06:20 PM
Any chance we can get this for 3.8.7?

jluerken
03-15-2013, 11:57 PM
Hey phpdesk, I am working with vB 4.2 PL3 and the Separate Sticky and Normal Thread hack.
The fix you attached to your addons does not work anymore in this version.
Would you mind taking a look and update it if possible?

M.C.
06-26-2013, 07:37 PM
also template conflict with https://vborg.vbsupport.ru/showthread.php?t=276131 :(

addamroy
07-06-2013, 02:06 PM
Had to uninstall this.

All I want is to redirect threads, this mod is screwing up my forumdisplay, all the thread listings are different when using this mod. That is so pointless, what's with all the extra changes to thread listings when all we want in this mod is to redirect threads?

This is the reason there are issues with the separate sticky/normal threads mod, because this mod is trying to do 100 things it's not even supposed to do.

Get rid of all the extra junk in this add-on, so it does only what it's supposed to do, and you'll probably get more installs/donations for this.

Looking forward to a fix at some point. I don't want to change my forumdisplay or thread listings AT ALL, all I want to do is redirect threads.

1/5 from me.

addamroy
07-07-2013, 11:09 AM
I'd like to see all the extra features EXCEPT for the redirect and usergroup options disappear, or have the option not to use them at all.

M.C.
07-17-2013, 08:14 AM
Inline mode and separate fix not working with this hack :(

Ov3rrun
07-13-2016, 05:45 AM
Hi, thansk for the mod. I have a problem with Mobile style, I have 4.2.3. In mobile style the threads acting as URL redirect dont appear in forums, even if they are sticky.

Target Thread appear ok on mobile, but not the threads acting as URL redirect.

Thanks for help.