Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Guest can't see links. Details »
Guest can't see links.
Mod Version: 1.00, by Alexey™ (Member) Alexey™ is offline
Developer Last Online: Dec 2012 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (5 votes - 5.00 average) Installs: 55
Released: 01 Sep 2009 Last Update: Never Downloads: 2
Not Supported Uses Plugins Translations  

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:




Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #46  
Old 23 Jul 2011, 06:46
datoneer datoneer is offline
 
Join Date: Jul 2011
My vbulletin version:3.8.3
my 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",
<b><font color="white">To view the link you have to <a href="login.php">Login</a> or <a href="register.php">Register</a></b></font>, $this->post['message']);
}

And i get this error when i open post as guest:
Parse error: syntax error, unexpected '<' in /home/datoneer/public_html/includes/class_postbit.php(294) : eval()'d code on line 90

Help please??
Reply With Quote
  #47  
Old 29 Jul 2011, 09:36
narhot's Avatar
narhot narhot is offline
 
Join Date: Dec 2007
Great work so the best
Reply With Quote
  #48  
Old 29 Jul 2011, 19:13
iglow iglow is offline
 
Join Date: Apr 2011
used to work fien but now nonlogged in people see this error:
http://screencast.com/t/CnEREQkvS9BW

any ideas? im on lastest vbull version
__________________
blackhat seo forum connected to the best blackhat seo blog
Reply With Quote
  #49  
Old 03 Aug 2011, 10:58
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by iglow View Post
used to work fien but now nonlogged in people see this error:
http://screencast.com/t/CnEREQkvS9BW

any ideas? im on lastest vbull version
When you say the latest vbulletin, do you mean the latest vb 3.8, or the real latest 4.x?

If it's 4.x try changing this line from:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #50  
Old 08 Dec 2011, 08:00
webmastersitesi webmastersitesi is offline
 
Join Date: Oct 2007
how can i hide links only at SHOWTHREAD_SHOWPOST area?
__________________
webmaster forum |webmaster forum
seo
Reply With Quote
  #51  
Old 25 Nov 2012, 14:00
Alexey™ Alexey™ is offline
 
Join Date: Oct 2008
Real name: Alexey
Originally Posted by webmastersitesi View Post
how can i hide links only at SHOWTHREAD_SHOWPOST area?
the modification is doing this exactly.
Reply With Quote
  #52  
Old 02 Dec 2012, 02:04
al2thero al2thero is offline
 
Join Date: Aug 2008
Thanks a lot
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 05:45.

Layout Options | Width: Wide Color: