hi, I was actually trying to modify this hack a bit using conditionals. I want to make the tag visible only for people with +10 posts and more. So added the following code(In place of the code actually given
Code:
if ($bbuserinfo[posts] > 10)
{
eval('$html = "' . fetch_template('bbcode_code') . '";');
}
else{
eval('$html = "' . fetch_template('bbcode_guest') . '";');
} return $html;
With same templates.
Now the prob is that while the code is working normally, If a user quotes the text or sees archive, He can see the code.
I reckon that while replying i will have to strip code based on <if> conditional. Any help with making that strip function?