Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev > Mods & Themes
Reply
  #1  
Old 22nd January 2013, 20:06
bestlap bestlap is offline
Senior Member
 
Join Date: Nov 2012
P2P
Posts: 51
Default How to add BB code [center] dosen't exist
Hi everyone ... How to add bb code in tbdev 08 source ? [center] [*/center] dosen't exist in my traker ...

See here >>

Click the image to open in full size.

Last edited by Krypto; 22nd January 2013 at 21:38. Reason: Image Added to a decent host
Reply With Quote
  #2  
Old 22nd January 2013, 21:40
Krypto Krypto is offline
Retired from BVList
 
Join Date: Jan 2008
P2P
Posts: 510
Default
Please use a decent image host as the one you use is horrendously and painfully slow :(

http://imgur.com is a good fast one
Reply With Quote
  #3  
Old 23rd January 2013, 09:36
bestlap bestlap is offline
Senior Member
 
Join Date: Nov 2012
P2P
Posts: 51
Default
Quote:
Originally Posted by Krypto View Post
Please use a decent image host as the one you use is horrendously and painfully slow :(

http://imgur.com is a good fast one
Ok I'm sorry for my mistake...will not be repeated
Reply With Quote
  #4  
Old 23rd January 2013, 13:05
Chez's Avatar
Chez Chez is offline
Senior Member
 
Join Date: Sep 2011
P2P
Posts: 278
Default
put this in include/global.php

PHP Code:
// [center]Center[/center]
        
$s preg_replace("/\[center\](.*?)\[\/center\]/si""<center>\\1</center>"$s); 
after

PHP Code:
// [u]Underline[/u]
        
$s preg_replace("/\[u\](.*?)\[\/u\]/si""<u>\\1</u>"$s); 
__________________
http://www.bvlist.com/images/avatars/signaturepics/sigpic16443_2.gif
Reply With Quote
The Following User Says Thank You to Chez For This Useful Post:
bestlap (23rd January 2013)
  #5  
Old 23rd January 2013, 18:07
bestlap bestlap is offline
Senior Member
 
Join Date: Nov 2012
P2P
Posts: 51
Default
Thanks .It works :)

Bump: Please help mu to add tag [imgw=] and [c] [*/c]

Last edited by Krypto; 23rd January 2013 at 21:50. Reason: No need to QUOTE the post above your own
Reply With Quote
Reply

Tags
add , bb , center , code , dosent , exist

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



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