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: [...]
Archive for March, 2010
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 [...]
Process Hit and Runers by ScarS
his mod is an add-on for the snatchlist mod, so you need to have that installed first. If you do not have a snatchlist mod installed yet I suggest this one: [New and Improved] Snatchlist A bit info about what it does: This will set a user to pending hit and run if he leaves [...]
Categories
-
- Addon Mods (5)
- Browse/Torrent/Details Mods (1)
- Forum Mods (5)
- Message/Email Mods (6)
Archives
-
- March 2010 (17)