Wicher Site Admin
Joined: 16 Dec 2005 Posts: 1144 User's local time: 2025 Jan 13 - 10:11 PM Country IP : Country of choice:
Was This Post Helpful?
Users postingpoints:
Posts points:
Post gradiation:
|
Posted: Tue Dec 20, 2005 10:50 pm Post subject: |
Wicher
*Delete this user
Items with prefix * are permanent. | Close |
|
|
This mod puts a little image above the quote box, so users can click it to go back to the message that was quoted..
Download the zip, all needed files are in there.
Code: |
- ##############################################################
- ## MOD Title: Go_Back_Quoted_Message
- ## MOD Author: Wicher < wicher@wichersmods.nl > (Wicher) http://www.wichersmods.nl
- ## MOD Description: This mod puts a little image above the quote box, so users can click it to go back to the message that was quoted..
- ## MOD Version: 1.0.2
- ## PHPBB versions: 2.0.17 - 2.0.19
- ## Installation Level: (Easy)
- ## Installation Time: 1 Minute
- ## Files To Edit:
- ## posting.php
- ## Included Files:
- ## quotebackarrow.gif
- ## quotespacer.gif
- ##############################################################
- ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
- ##############################################################
- ## VERSION HISTORY:
- ##
- ## 1.0.2
- ## BlackOlrac pointed out that there was better code possible.
- ## No need for user anymore to edit board path in code.
- ##
- ## 1.0.1
- ## Use of smiles to reduce the amount of text in the postingbox.
- ##
- ## 1.0.0
- ## Started something
- ##
- ########################################################
-
- #
- #-----[ COPY ]------------------------------------------
- #
- copy images/smiles/quotebackarrow.gif to images/smiles/quotebackarrow.gif
- copy images/smiles/quotespacer.gif to images/smiles/quotespacer.gif
- #
- #Now go to your admincontrolpanel and add these images to your smiles.
- #Give quotebackarrow.gif the code >QBB< and as smile emotion you type: Go back to the original posting.
- #Give quotespacer.gif the code >|< and as smile emotion you type: spacer
- #
- #If you install the mod Smiley Permissions you can also give the smiles an admin only permission.
- #But thats optional. You can find that mod at http://www.phpbbhacks.com/download/2330
- #
- #
-
-
- #
- #-----[ OPEN ]
- #
- posting.php
- #
- #-----[ FIND ]------------------------------------------
- #
- $message = '[quote="' . $quote_username . '"]' . $message . '[/quote]';
- #
- #-----[ REPLACE, WITH ]------------------------------------------
- #
- $quotebackbutton = '>|<[url=' . $board_config['server_name'] . $board_config['script_path'] . 'viewtopic.php?p=' . $post_id . '#' . $post_id . ']>QBB<[/url]';
- $message = $quotebackbutton . '[quote="' . $quote_username . '"]' . $message . '[/quote]';
-
- #
- #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
- #
- # EoM
|
_________________
Wicher's phpBB2 Mods | Wicher's phpBB3 Mods | Statistics Mod 4.x.x
Last edited by Wicher on Thu Mar 09, 2006 12:55 pm; edited 6 times in total |
|