![]() |
Mate, some reason it doesnt work for me http://urgamingzone.tabhosts.com/showthread.php?p=1
|
Now i renewed my license and i will edit my post with the answers for you problems.
Quote:
Quote:
|
Doesn't work with C-Logic SEO? When ever I go to a post it says "Page not found" :S
|
Code:
if ((!$this->registry->userinfo[userid]) OR (is_member_of($this->registry->userinfo, 1, 3))) But I would still like to see that there is a link... I mean, now people just don't see anything. Not even a messege that they have to register to see the links. |
Is there a way to use this code in subforum xy only?
|
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?? |
Great work so the best :up:
|
used to work fien but now nonlogged in people see this error:
http://screencast.com/t/CnEREQkvS9BW any ideas? im on lastest vbull version |
Quote:
If it's 4.x try changing this line from: Code:
$this->post['message'] = preg_replace("!<a[^>]*(http|www)(.*)</a>!siU", $vbphrase[nolink], $this->post['message']); Code:
$post['message'] = preg_replace("~<a[^>]*(http|www)(.*)</a>~siU", $vbphrase[nolink], $post['message']); |
how can i hide links only at SHOWTHREAD_SHOWPOST area?
|
Quote:
|
Thanks a lot
|
All times are GMT. The time now is 07:42 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:
|