Quote:
Originally posted by rangersfan
Bira what I did to prefix "POLL" was edit poll.php and on about line 146 find "$subject=censortext($subject);"
After that line add :
$subject = "POLL: " . $subject
Insert whatever identifier you want. This will make all NEW polls have that in front of them in their title. Your old polls will still show the same title as before. This is the much easier way of doing it. You have to edit several files, (forumdisplay, showthread, search.php) just to name some if you want to check every post for a poll and then add "POLL" if it is one. Saving it as part of the title is the way to do it. You can even insert html into there to make it stand out more. [/B]
|
Hi Rangersfan,
Thanks for the help and advice. I have two questions though:
1) Right now, in poll.php lines 146-7 I have:
Code:
$subject=censortext($subject);
$message=censortext($message);
Your instructions are a bit confusing. Do you intend me to add a line, inbetween the above two lines,
without a semicolon at the end??
2) What do you mean I can use HTML? How?
Thanks for your help mate - I appreciate it.
Cheers,
Bira