Version: 1.00, by Alexey?
Developer Last Online: Dec 2012
Category: Mini Mods -
Version: 3.8.x
Rating:
Released: 08-31-2009
Last Update: Never
Installs: 56
Uses Plugins
Translations
No support by the author.
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
Name : what ever you want
Execution Order : 5
Plugin PHP Code :
if ((!$this->registry->userinfo[userid]) OR (is_member_of($this->registry->userinfo, 1, 3)))
{
$this->post['message'] = preg_replace("!<a[^>]*(http|www)(.*)</a>!siU", $vbphrase[nolink], $this->post['message']);
}
Plugin is Active : Yes
After you complete all the fields just press on SAVE button and you are done.
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.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
in steand of "$vbphrase[nolink]" you may write what ever messege you want.
did it help you?
It did not help me :erm: Could it be due to version difference? I am using 3.8.3
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:
Originally Posted by elenh
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>
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 ?
1. Yes the images are hidden too.
2.No one can't search it, it like a hide mode so no one can't see the URL\s
Quote:
Originally Posted by Waqas Anwar
It did not help me :erm: Could it be due to version difference? I am using 3.8.3
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?
It didnt work either
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
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.
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.
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.