Log in

View Full Version : Hide links from guests


Ray2khax
05-31-2009, 06:31 AM
I realize there is a product called Hide Links From Guests but it was for 3.6 and isn't working on 3.8. So is there an updated one that I can use so unregistered users can't view any links or what? Thanks.

UKBusinessLive
05-31-2009, 08:32 AM
I realize there is a product called Hide Links From Guests but it was for 3.6 and isn't working on 3.8. So is there an updated one that I can use so unregistered users can't view any links or what? Thanks.

Your best bet would be to ask or read through that mods thread. Most mods can work with 3.8, but you'll get a quicker reply on that thread :D

cono1717
05-31-2009, 10:08 AM
It works fine on 3.8.2? I just tested it.

Make sure you are adding it as a plugin and not a product. You may see a link saying no link. To change that go to ACP > Plugins and Products > Plugin Manager and edit "Hide Links from guests"

In the plugin PHP code box find


return '<a href="register.php" title="Please register first or login" target="_blank">No Link?</a>';

And do any of the following.

To show a link that goes to registration page

Replace that code with return '<a href="register.php" title="Please register first or login" target="_blank">PLACE TEXT HERE</a>'; And replace the "PLACE TEXT HERE" with what you want the link to say.

For no link to appear just text:

Replace the code above with this return 'PLACE TEXT HERE'; Replacing "PLACE TEXT HERE" with what you want the error message to say.

Note that you may think this is not working because there is no styling around it and it looks like a post but I can assure you it works on 3.8.2

ontherun
06-12-2009, 02:00 AM
I realize there is a product called Hide Links From Guests but it was for 3.6 and isn't working on 3.8. So is there an updated one that I can use so unregistered users can't view any links or what? Thanks.

I have added as a plugin and it did not work...........
Will it work with a frontend Portal? Im using vbPortal Version 3.8.1

voter
07-26-2009, 01:56 PM
There is a hide bbcodes https://vborg.vbsupport.ru/showthread.php?p=1761581