![]() |
I don't know if this works or not, but this is what I have on one of the forums I am an admin at:
I did this to both postdata_presave and threadfpdata_presave hooklocations. Code:
global $vbulletin; |
yes thats what i have tried above,
but on testing you can still post emails (as one spamer has already found out!) but I haveny tried the : or stristr($pagetext,'mailto:') Ill give it a go! |
nope it doesnt work, people can still pst spam and add attach emails to it, as they have already done on my site!
|
are you using
Code:
or stristr($pagetext,'[email') or stristr($pagetext,'[EMAIL') Code:
or stristr($pagetext,'[email') EDIT2: Fixed typo |
opps my mistake
you have to add: or stristr($pagetext,'[email') or stristr($pagetext,'[EMAIL') or stristr($pagetext,'[ url') or stristr($pagetext,'mailto:') or stristr($pagetext,'@') to both : <hookname>postdata_presave</hookname> and <hookname>threadfpdata_presave</hookname> works a treat now :) |
err I'm lost on getting the plugin to work with emails...
I add this code: Quote:
|
Edit Amy's plugin
|
I hope this wont sound stupid. But I am still learning all this. WHere do I upload it to? What directory? Please help
|
You don't upload it - it is a product. For product installation, go to your admin control panel, Plugin System, Manage Products, Add/Import Product
|
There is no
Quote:
Quote:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?> |
All times are GMT. The time now is 01:07 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:
|