Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares
Reply
  #1  
Old 21st July 2009, 11:47
informatic informatic is offline
Senior Member
 
Join Date: Oct 2008
Sweden
Posts: 59
Question Custom BBCODE - Possible, but how?
... Never mind... -.-'

Last edited by informatic; 22nd July 2009 at 19:45.
Reply With Quote
  #2  
Old 21st July 2009, 18:05
Ashur's Avatar
Ashur Ashur is offline
Senior Member
 
Join Date: Jun 2008
Posts: 523
Default
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>';
  }
but then how to relate to that function elsewhere I'm not sure
__________________
Say NO to private tracking
Running TorrentHoster 2.5 on IraqiGate.org
Reply With Quote
  #3  
Old 21st July 2009, 20:41
informatic informatic is offline
Senior Member
 
Join Date: Oct 2008
Sweden
Posts: 59
Default
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.
Reply With Quote
  #4  
Old 21st July 2009, 20:43
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
can u post hove did u get it work please ?
Reply With Quote
  #5  
Old 22nd July 2009, 12:31
informatic informatic is offline
Senior Member
 
Join Date: Oct 2008
Sweden
Posts: 59
Default
Quote:
Originally Posted by wolfman View Post
can u post hove did u get it work please ?
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.
Reply With Quote
Reply

Tags
bbcode , custom

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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



All times are GMT +2. The time now is 16:42. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.