PDA

View Full Version : How does one REMOVE bbcode from thread subscription email notifications?


Kihon Kata
02-14-2005, 05:44 PM
How does one REMOVE bbcode from thread subscription email notifications?
See the attachment showing the error

deathemperor
02-15-2005, 02:38 AM
use strip_bbcode($message);

Kihon Kata
02-15-2005, 04:42 AM
Where do I use this exactly?

use strip_bbcode($message);

deathemperor
02-15-2005, 05:04 AM
you'll need to make change in ph file, sendmessage.php maybe, this requires PHP and vbulletin knowledge.

Kihon Kata
02-15-2005, 02:14 PM
ph file? Do you mean php file?

Uhm, I know vB pretty good along w/ php. So I guessed what youwanted me to check my sendmessage.php. I did indeed check that and thefile is UN-edited from the latest version avail, 3.0.6, so it TAINT that




you'll need to make change in ph file,sendmessage.php maybe, this requires PHP and vbulletinknowledge.

Can you gimme the code where to stick this?



Where do I use this exactly?

deathemperor
02-15-2005, 02:37 PM
oh my mistake, yes you need to change php files, look for $message but not in sendmessage.php (I thought of the sending email), in subscription.php or subscriptions.php I'm not sure.

Kihon Kata
02-15-2005, 02:42 PM
Uploaded in this txt doc is the stripping portion of functions.php

Let me know if you anyone sees anyitng wrong with the code
oh my mistake, yes you need to change phpfiles,look for $message but not in sendmessage.php (I thought of thesendingemail), in subscription.php or subscriptions.php I'm notsure.

Anyone else help me here? bump

Uploaded in this txt doc is the stripping portion of functions.php

Let me know if you anyone sees anyitng wrong with the code