|
#1
|
|||
|
|||
Custom BBCODE - Possible, but how?
... Never mind... -.-'
Last edited by informatic; 22nd July 2009 at 19:45. |
#2
|
||||
|
||||
when you made the code what's the error are you getting back?
dead site or no effect? thats ts_custom_bbcode looked at it and not sure how to use to either but something to do with $text as variable if you try to use, see what hapenns also it looks like you need to define a function e.g. Code:
function code_tag ($code) { $code = str_replace (array ('<br>', '<br />', '\\"'), array ('', '', '"'), $code); $code = strip_front_back_whitespace ($code, 1); $blockheight = fetch_block_height ($code); return '' . '<div style="margin:20px; margin-top:5px"><div class="codetop">CODE:</div><pre class="codemain" dir="ltr" style="margin: 0px;padding: 6px;border: 1px inset;width: 650px;height: ' . $blockheight . 'px;text-align: left;overflow: auto">' . $code . '</pre></div>'; } |
#3
|
|||
|
|||
I have to apologize to you Ashur, it seems it was just like I predicted. Just a minor error on my part kept it from executing in the proper manner.
Thank you for the assistance, and keep up the good work mate. |
#4
|
|||
|
|||
can u post hove did u get it work please ?
|
#5
|
|||
|
|||
Basically, you do as it is described in my first post. Would be much easier if we had a well-crafted staff panel way to do this though. Ah, maybe due in time.
|
Tags |
bbcode , custom |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
BBCODE Issue TSSE 5.6 | hero34 | Template Shares | 5 | 16th February 2010 00:55 |
How I Do Custom Bbcode? | IEmRaHI | Template Shares | 0 | 23rd January 2010 12:48 |
BBcode not working -tsse 5.6 | Lazarevics | Template Shares | 4 | 8th June 2009 23:28 |
[TSSE 5.1] Smiles BBCODE | TheLord | Mods & Themes | 5 | 12th February 2009 00:45 |
How can i edit the BBcode editor? Which file? | allemand1 | Yuna Scatari Edition (YSE) | 3 | 13th October 2008 15:59 |