News:

Wondering if this will always be free?  See why free is better.

Main Menu

New here a little help please?

Started by dazzag, September 04, 2014, 05:38:08 PM

Previous topic - Next topic

dazzag

I'm helping out a forum i use frequently so i'm new to SMF.

I'm trying to add a custom BBC where i can post a csv.
At first i added the custom BBC manually by modifying core files.
It worked but if i only enter that tag the message will not post as it says its blank. If i add text outside the tag it will pass.

this piece of code in post.php is causing the problems.

$smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>'

Tried adding the custom tag there but still does not work.

I then installed Personalized BBC mod to create the custom tag. This works but still cannot post just the custom tag.

The next problem is that <br /> is being added to the csv data so it does not work as expected.
Ive tried Block Level and Trim whitespace  but does not work.

Any help would be appreciated.

dazzag


Advertisement: