PDA

View Full Version : [REQ VB 3.8] Auto Hide/Code Links Per Forum Setting


Rick7C2
01-19-2009, 01:58 PM
I need a mod that adds to all forum settings the options....

1. Off
2. CODE Links
3. HIDE Links

With each setting to do as followed...

1. Off = Do nothing to the links in the pertaining forum.
2. CODE Links = Automatically CODE all links in the pertaining forum.
3. HIDE Links = Automatically HIDE all links in the pertaining forum.

With Off being default.

and optionally a way to override the settings assigned by usergroup options.

I think it would be nice looking to put a check box on the topic post/reply page down where you have "Miscellaneous Options" like...

Show your signature
Automatically parse links in text
Automatically embed media (requires automatic parsing of links in text to be on).
Automatically retrieve titles from external links
Disable smilies in text
*Override Code Links
*Override Hide Links

With * being the additional options.

If someone could make this mod I would greatly appreciate it even if the Override option isn't there but it would be a plus.

Thanks,
Rick7C2

Rick7C2
01-21-2009, 08:06 PM
Is this mod possible?

dmknights
01-22-2009, 04:24 PM
it is possible to hide links from guests in a code tag. Ive edited a template & it works

Rick7C2
01-29-2009, 05:14 PM
How exactly do I do that?

vbplusme
01-29-2009, 10:39 PM
One way is the wrap the link in a conditional but that is a "targeted" solution for a specific link, for example:

<if condition="$show['member']">
<a href="http://youdomain.com/youlink.php">here's the link</a>
</if>


but if you are looking for a "global" members only solution then you need to install a mod. The only one that does that as far as I can tell is this one:

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

HTH

Vaupell
01-29-2009, 11:07 PM
One way is the wrap the link in a conditional but that is a "targeted" solution for a specific link, for example:

<if condition="$show['member']">
<a href="http://youdomain.com/youlink.php">here's the link</a>
</if>


but if you are looking for a "global" members only solution then you need to install a mod. The only one that does that as far as I can tell is this one:

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

HTH



well did you get this working.. i tryed didnt do anything as postet in the mod thread. :(

Rick7C2
01-29-2009, 11:12 PM
I need something like this...

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

But with an option to enable/disable per forum settings.

vbplusme
01-30-2009, 12:31 AM
well did you get this working.. i tryed didnt do anything as postet in the mod thread. :(

Indeed I did! Check my vbplusme site, its working like a dream! AND it is the ONLY one that does code, quote, and links.

Vaupell
01-30-2009, 01:32 PM
ahh yes had to change the code in the .xml at line 357 to <datatype>bitfield</datatype>

works like a charm now,, thank you...

vbplusme
01-30-2009, 01:53 PM
No, Thank YOU ... You are entirely welcome and I am pleased that it worked out for you, made my day, actually... regards, Michael

trickfly
02-01-2009, 09:52 PM
do u know how i can hide links in code tags to guests ?

vbplusme
02-02-2009, 03:09 AM
do u know how i can hide links in code tags to guests ?

Yes. The link to the MOD is posted in my first post in this thread. You can also find another explanation of it here (http://www.vbplusme.com/tips-tricks-great-ideas/265-hide-codes-guests.html). The hack is running on that site so you can see it in action.

HTH

gsmlover4u
05-17-2009, 04:47 AM
not working