Torrent Trackers guides blog


All about torrent tracker ! Modifications , themes , mods , sources engines .

  • Home
  • About
  • Blog Map

Currently viewing and reading

[codebox][/codebox] BBcode tag

Posted by vovqa in March 31st 2010  

Add code to your function format_forum or to other function

// [ codebox]Some long text[/codebox ]
		$s = preg_replace(
	'/\[codebox\]\s*((\s|.)+?)\s*\[\/codebox\]\s*/i',
	'<div class="codetop">CODEBOX</div><div class="codemain" style="width: 100%">\\1</div>', $s );

Style

.codetop{
	background: #f1b000 url(http://www.ru-board.com/new/images/topics/php.gif) no-repeat right;
	color: #000;
	font-weight: bold;
	margin: 0 auto 0 auto;
	padding: 3px;
}
 
.codemain{
	background: #FFF;
	border: 1px solid #000;
	color: #000;
	margin: 0 auto 0 auto;
	padding: 3px;
}
under: Forum Mods
Tags: BBcode, forum
Digg it Add to del.icio.us Stumble it add to technorati

Related Post

  • Forum Users Online (March 28th, 2010)
  • Resize Large Images (March 26th, 2010)
  • Pager in subject (March 26th, 2010)
  • [video=] Tag (bbcode addition) (March 26th, 2010)

No Comment Received

Leave A Reply

Please Note: Comments maybe under moderation after you submit your comments so there is no need to resubmit your comment again

« Forum Users Online

Categories

    • Addon Mods (5)
    • Browse/Torrent/Details Mods (1)
    • Forum Mods (5)
    • Message/Email Mods (6)

Pages

    • About
    • Blog Map

Archives

    • March 2010 (17)

Tags

  • An intelligent announcement BBcode Category Manager easyiest script forum Images Multiplier No mail confirmation. Online Passkey Password Hint Simple mod simple script system Tbdev Upload Users video youtube like

Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org

Tags

  • An intelligent announcement BBcode Category Manager easyiest script forum Images Multiplier No mail confirmation. Online Passkey Password Hint Simple mod simple script system Tbdev Upload Users video youtube like

Recent Entries

  • [codebox][/codebox] BBcode tag
  • Forum Users Online
  • Resize Large Images
  • Pager in subject
  • Process Hit and Runers by ScarS
  • [video=] Tag (bbcode addition)
  • Set All Torrents FREE the easyiest script ive seen
  • Passkey by Skorpios
  • Category Manager Add/Edit/Delete/View
  • Comment Votes
  • Contact us/ submit query script
  • Password Hint (Fixed for FireFox & I.E
  • Color and text change of PM

Recent Comments

  • bastard in NoMail verification No mail confir…
  • bastard in Color and text change of PM
  • bastard in Password Hint (Fixed for FireFox &…
  • bastard in Contact us/ submit query script
  • lol in Comment Votes

Most Comments

  • Comment Votes (1)
  • Contact us/ submit query script (1)
  • Password Hint (Fixed for FireFox & I.E  (1)
  • Color and text change of PM (1)
  • NoMail verification No mail confirmation.  (1)
©2010 Torrent Trackers guides blog
Powered by WordPress 3.0.1    Valid XHTML    Valid CSS