![]() |
Guest can't see links.
1 Attachment(s)
OK, lately i made a little template modification that make guests register before they can see any link on the website.
Here is what you need to do to active it and use it in your Forum. Go to AdminCp>Plugin & Products > Add New Plugin then do this: Code:
Hook Location : postbit_display_complete Insteand of 1,3 you can change the numbers to a diffrent groups you want. but 1 and 3 is the Default groups that not allowed to see links in posts. Worked fine to me and should work fine for you. Have Fun. |
In use.
Thanks again but one question: can u add that there stand: Your a guest, please login or register ( with links) to see this link |
Thanks
|
Please add the function for guests to see internal links.
|
Quote:
did it help you? Quote:
This modification only bloked links from guests in threads\posts |
no sorry i am a noob in those things and getting learning it step by step
i want that there stand you must be registered to read this content as a link to the /register.php can u pls fast do this? will vote u to MoTM |
thanks but not installed yet...
|
Quote:
just do this: Code:
<b><font color="red">To view the link you have to <a href="register.php">Register</a></b></font> |
Go to Admincp / Language & Phrases and then create new phrase
and add: Code:
<b><font color="red">To view the link you have to <a href="register.php">Register</a></b></font> Code:
$vbphrase[nolink] |
Yes this is another way.
|
works
thanks for the great support 5* + MOTM |
Hello,
It is possible for exclude internal link of the HIDE?. For example if my board domain is www.testdomain.com and an user post in a thread www.testdomain.com/showthread.php?t=11853 can be excluded from the HIDE and show to guests?. Thanks!!! |
thank u
|
Quote:
i will check it out and see what i can do. |
There was a similar addon, "hide links from guests". Just too old, it is for vb 3.6.
https://vborg.vbsupport.ru/showthread.php?t=123415 |
Ofcurse there is another MOD for this but what i posted here is without installing any thing.
so it is more simple to use. |
No offense, but I think a MOD with install script is more simple than yours. Whatever, that's not the point.
I posted the url for that, maybe you can take some ideas from that old one. At least your method is incomplete, if the guest switch the page to the print mode, than your solution will not work. |
I know i made it up quickly so the guest can't see it only from posts.
ofcurse it is possible to do it for the arhive and signature and all the other stuff |
Exactly what was needed , thanks works a treat.
|
So, I have two questions :
1. Images 're hide for guests ? I Want images can be displayed for guests 2. I want that Google , Yahoo and other Search Bot can see link ? |
Quote:
When I replace it this message is not visible but link become visible. Without doing this links hid but then all guests start sending email to ask where are links? Quote:
|
Quote:
2.No one can't search it, it like a hide mode so no one can't see the URL\s Quote:
You have to REEPLACE this "$vbphrase[nolink]" In the text you want to. i'm using 3.8.2 and there is no problem. soon i will upgrade to 3.8.4 and see if there is any bugs or isuse |
Quote:
Quote:
|
Quote:
what happen? |
Thanks, this is soooo great, better that nofollow to keep spammers out.
But has anybody an idea on how to do the same for vbulletin blogs??? |
What a great little piece of code. :D
Yesterday my register page wasn't even in my top 25 pages visited today it's 3rd most visited. What would be fantastic would be if it could set by membership type - ie. only paying members can see them. Would also be great if it could be for mailto: links also. |
I'm happy you liked it :)
cormme you can make a vip group and you can add to this line if ((!$this->registry->userinfo[userid]) OR (is_member_of($this->registry->userinfo, 1, 3))) the id of groups that can't watch the links, and the vip group id don't add there and they will able to watch the links,For the mails i don't know how to do it. |
Hi, what 'Hook Location' do I use?
|
postbit_display_complete
|
Quote:
|
:)
. |
I did it slightly different it wouldnt work on 3.8.4 pl1
I created a phrase in phrase manager called registerlink then added this as its as the phrase content Code:
<b><font color="red">To view the link you have to <a href="register.php">Register</a></b></font> |
Well, did i work fine?
|
Quote:
|
Tnx dude.
|
OK love the idea. It works great for non-coded links. Is there a way to include links contained in the code tags? Thank you.
|
I don't think so :(
if i'll do an upgrade to this i will try to do it |
Quote:
|
Very Cool, Thx A Million! :D
|
hi i have installe dit into my forum..but here is a BIG PROBLEM..
it's only hide a link and not a link what is into may i have something like vbulletin.org.. all things are hides.. |
All times are GMT. The time now is 05:49 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|