Quote:
Originally Posted by tafreeh
@dartho: you missed me again.. 
|
I haven;t forgotten you - it's just that I've been fixing style bugs - your request is not related to this style as such.
Having said all that - I'll try and point you in the right direction -
To strip all HTML tags from posts for a specific style ID, create a plugin as follows:
Product:vBulletin
Hook Location: Postbit Disaply Complete
Name: Strip HTML from Mobile Style Posts
Execution Order:5
Code:
Code:
if (STYLEID=='n') {
$post['message']=strip_tags($post['message'],'<br><a>');
}
replace 'n' with teh styleid of your lightweight style.
the bit in teh code with teh <br><a> is HTML tags you wish to allow, if you want images, add in <img>, if you want <stong> add it in etc. Google php strip_tags