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: [...]
Forum Mods's archives
Forum Users Online
Gives you the users browsing the forums only, like on this forums’ “users online” or the “active users” on the tracker. You need to create another field in the users table as follows: ALTER TABLE ‘users’ ADD ‘forum_access’ DATETIME NOT NULL AFTER ‘last_access’ ; ALTER TABLE ‘users’ ADD INDEX ( ‘forum_access’ ) ; //upto you [...]
Resize Large Images
I. What does it do —————— This hackenables you to automatically resize every user-posted image which is larger than given dimensions. Administrators are able to set the maximum dimensions, and users can choose how enlarged images must be displayed. The options are: – No resizing – Enlargement in the same document – Enlargement in the [...]
[video=] Tag (bbcode addition)
What it does: Allow the embedding of youtube and google videos in the forums via a new bbcode tag: [video=]
Categories
-
- Addon Mods (5)
- Browse/Torrent/Details Mods (1)
- Forum Mods (5)
- Message/Email Mods (6)
Archives
-
- March 2010 (17)