|
| Author |
Message |
Rod God Like

Joined: 14 May 2004 Posts: 557 Location: Ohio, USA
    
|
Posted: Wed Jun 07, 2006 10:32 pm Post subject: /me |
|
|
Since a lot of ppl seem to type /me as an action that you do. I think it would be cool (i know you can get this for ipb) to get a mod that, if you type /me it will turn the text purple like for msg plus! for msn messenger.  |
|
| Back to top |
|
 |
darkmonkey The Merovingian

Joined: 18 Apr 2004 Posts: 2557 Location: London, England
     votes: 7
|
Posted: Wed Jun 07, 2006 10:50 pm Post subject: |
|
|
* darkmonkey slaps Rod _________________ ~ Josh
[ Need bot hosting on a dedicated server? PM me. ] |
|
| Back to top |
|
 |
Rod God Like

Joined: 14 May 2004 Posts: 557 Location: Ohio, USA
    
|
Posted: Thu Jun 08, 2006 11:50 am Post subject: |
|
|
lol, You could do that..But it would be easier to just type /me and do it  |
|
| Back to top |
|
 |
patrick Newbie

Joined: 17 Apr 2006 Posts: 42 Location: Arnhem, the Netherlands
      votes: 1
|
Posted: Thu Jun 08, 2006 2:26 pm Post subject: |
|
|
I know there are BB-code's like that.
They can be found at http://phpbb-hacks.com
There is also a BB-code for /you
then you could make */me slaps /you |
|
| Back to top |
|
 |
eric256 The Keymaker

Joined: 03 May 2006 Posts: 2292 Location: Colorado
     
|
Posted: Thu Jun 08, 2006 3:56 pm Post subject: |
|
|
| patrick wrote: | I know there are BB-code's like that.
They can be found at http://phpbb-hacks.com
There is also a BB-code for /you
then you could make */me slaps /you |
If you find the actualy hack its 200x more likely to get done! _________________ Eric256
Proud previous owner and current admin of Bot-depot.com |
|
| Back to top |
|
 |
patrick Newbie

Joined: 17 Apr 2006 Posts: 42 Location: Arnhem, the Netherlands
      votes: 1
|
|
| Back to top |
|
 |
noir118 The Architect

Joined: 31 Oct 2003 Posts: 152
    votes: 4
|
Posted: Thu Jun 08, 2006 6:36 pm Post subject: |
|
|
I hate to say it, but see if you can find another one. I just downloaded this hack and fired up UltraEdit32 to add this feature for you, and this is by far the worst hack I've ever seen. The installation instructions don't even tell you on what line to put the code - from the mod instructions:
| Quote: | Put this in the "bbcode-section" of your viewtopic.php
(maybe not the best place to set it, but it works!)
/note/ it will only be seen in the submitted message, not in the preview /note/ |
I've got a certain criteria for mods & hacks to keep the board secure and stable, and this one just doesn't cut it.
I'm sure there's another one out there though. Try checking phpbb.com, and phpbb-tweaks.com too. _________________ Gadgets | Bot Coding | MMORPG | Ads Pixel | Random Messages | Gift Baskets | Used Electronics | Resident Evil | Hero NBC |
|
| Back to top |
|
 |
patrick Newbie

Joined: 17 Apr 2006 Posts: 42 Location: Arnhem, the Netherlands
      votes: 1
|
Posted: Thu Jun 08, 2006 7:03 pm Post subject: |
|
|
I don't know If this works.. But you could try it has \me and \you filters.
I downloaded the mod and made it easymod compatible (not tested)
| Code: | ##############################################################
## MOD Title:advanced /me /you mod
## MOD Author: Bonobo < bonobo@dolfijn.nl > http://www.tempzone.nl
## MOD Description: This mod replaces /me by username and /you bij the readers name.. feature.. in quotes is keeps the name of the original reader....
## MOD Version: 1.0
##
## Installation Level: easy
## Installation Time: 1 Minutes
## Files To Edit: viewtopic.php and posting.php
## Included Files: n/a
##############################################################
## Author Notes: The actions are BEFORE ADD not AFTER ADD!
## it will only be seen in the submitted message, not in the preview
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
// Replace naughty words
//
#
#-----[ BEFORE, ADD ]------------------------------------------
#
{
$message = str_replace("/me ","<font color=\"orange\"> " .$poster. "</font> ",$message);
}
{
$message = str_replace("/you ","<font color=\"violet\"> " .$userdata['username']. "</font> ",$message);
}
#
#-----[ OPEN ]------------------------------------------
#
posting.php
#
#-----[ FIND ]------------------------------------------
#
if ( !empty($orig_word) )
{
$subject = ( !empty($subject) ) ? preg_replace($orig_word, $replace_word, $subject) : '';
$message = ( !empty($message) ) ? preg_replace($orig_word, $replace_word, $message) : '';
}
#
#-----[ BEFORE, ADD ]------------------------------------------
#
{
$message = str_replace("/me "," $quote_username ",$message);
}
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM |
Here Is only a \me filter ,But this one is tested and made easymod compatible by the auther so I think This one would work for sure.
| Code: | ##############################################################
## MOD Title: irc /me mod
## MOD Author: Craze < e.vosseberg@vanallesiets.com > (E.Vosseberg) http://www.vanallesiets.com
## MOD Description: This mod replaces "/me message" for "*username message"
## MOD Version: 1.0.0
##
## Installation Level: easy
## Installation Time: 1 Minutes
## Files To Edit: viewtopic.php
## Included Files: n/a
##############################################################
## Author Notes:
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
// Replace naughty words
//
#
#-----[ BEFORE, ADD ]------------------------------------------
#
//
// irc /me function
//
{
$message = str_replace("/me ","<font color=\"red\"><i>*" .$poster. "</i></font> ",$message);
}
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM |
Sorry for long post |
|
| Back to top |
|
 |
eric256 The Keymaker

Joined: 03 May 2006 Posts: 2292 Location: Colorado
     
|
Posted: Thu Jun 08, 2006 8:37 pm Post subject: |
|
|
Isn't there like a BBCode extension mod, that then has plugins for it? I.e. you install that and then it lets you install more bbcode's? Or was that an old version? _________________ Eric256
Proud previous owner and current admin of Bot-depot.com |
|
| Back to top |
|
 |
|