![]() |
works great, thanks a lot.
|
Awesome this should be quite easy to modify for a specific forum :D
Thanks Erwin :D Regards - miSt |
The Hack is bugy, if a guy want promotion his homepage
he can make a post like subject my page text: rotten.com and post it after it, he can edit his own post and make rotten.com to www.rotten.com, after submit it the link will be active with "[URL]"... |
Helped myself :).
I think you should add this to editpost.php under the same "find string" how newreply.php $allowurl = 15; if($bbuserinfo[posts] < $allowurl and strstr($message,'[url')) { eval("standarderror(\"".gettemplate("error_nourlal lowed")."\");"); exit; } if($bbuserinfo[posts] < $allowurl and strstr($message,'[URL')) { eval("standarderror(\"".gettemplate("error_nourlal lowed")."\");"); exit; } $allowurl = 15; if($bbuserinfo[posts] < $allowurl and strstr($message,'www')) { eval("standarderror(\"".gettemplate("error_nourlal lowed")."\");"); exit; } if($bbuserinfo[posts] < $allowurl and strstr($message,'www')) { eval("standarderror(\"".gettemplate("error_nourlal lowed")."\");"); exit; } which blocks now also to edit the www or URL-BBcode to the url. |
Nice hack.
I would recommend you use the stristr function instead of the strstr function. |
You might also want to "streamline" it into one condition:
PHP Code:
|
i was wondering if it is possiable to disable live linking i mean users be able to post a link but it should not be clickable.
i dont mind people posting links as long as they not clickable other should be able to see it then if they wanna visit that site then they have to type it in thier browser. Just like my signature below |
Update Version 2.0 - Tidied up the code, added to editpost.php, made it easier to change the variable
Just download the text file and replace the old code. I've made it so you can change the minimum post easily in the phpinclude template. |
Quote:
|
Thanks for the quick reply but i am still lost i am new to php coding
any further help would be most welcome |
All times are GMT. The time now is 06:54 AM. |
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:
|