Follow vBSEO on Twitter
vBulletin Modifications
  • Forums
  • Add-Ons
  • Template Modifications
  • Styles
  • Graphics
  • Tutorials
  • Support Center
  • Register
  • vBulletin SEO

Member Log In

Site Navigation

  • Register
  • Members List
  • Social Groups
  • Search
  • Today's Posts
  • Mark Forums Read

Latest Modifications

  • [vB 3.6.x] StopSpam
    By: flappi282
  • [vB 3.8.x] vBulletin Chat Addon for...
    By: 123flashchat
  • [vB 3.5.x] 404 Page Redirect To...
    By: Ak Worm
  • [vB 3.8.x] 404 Page Redirect To...
    By: Ak Worm
  • [vB 4.0.x] 404 Page Redirect To...
    By: Ak Worm

Latest Template Mods

  • [vB 3.8.4] Images PassWordBox...
    By: cRs!MP
  • [vB 3.8.4] Footer Follow Ups
    By: Ak Worm
  • [vB 3.7.2] Worldofwarcraft blue...
    By: Mikeyodesigns
  • [vB 3.7.0] My Links
    By: blind-eddie
  • [vB 3.7.0] Pop-Up Warning Before...
    By: Thelonius Beck

Latest Styles

  • [vB 3.8.4] CompletevB - Skylight
    By: DreadKnight
  • [vB 3.8.3] [vB 3.8.4] Barcelona...
    By: hoiquantinhoc.com
  • [vB 3.8.3] Natures Walk by vBSkin...
    By: Chri5
  • [vB 3.8.3] Green Theme
    By: Robdog
  • [vB 3.8.2] Unreal T 3 - vB3.8.x
    By: Butcher

Latest Graphics

  • [vB ] [anim.]Team Ranks
    By: cRs!MP
  • [vB ] Abstract Circles (3...
    By: cRs!MP
  • [vB ] PlayStation Rank Images
    By: cRs!MP
  • [vB 3.6.12] Heavy Stroked Button...
    By: Shelley
  • [vB ] Minature Ranks.
    By: Shelley
vBulletin Modifications » Forum Archives » vBulletin 3.0 Hack Releases » Show Thread Enhancements - /me IRC hack
Reply
Page 1 of 2 1 2 >

 

  • Thread Tools
Download Options
You Must Register First
To Download This Modification

Report A Bug
Bugs
No bugs found in the system. If you have found a bug, please report a bug here
Submit A Bug | View All Bugs
  
Supported
[vB 3.0.7] Show Thread Enhancements - /me IRC hack (24)
Released: 08-23-2004, 10:28 PM
Modification Information: Version: 1.1
Ken Iovino's Avatar Author: Ken Iovino
Last Online: 06-09-2009
Installer Included: 0 Additional queries added to database: 0 Template Edits: 1
File Edits: 0 New Files: New Phrases: 0

This hack replaces "/me" in posts with *username message (in any color) in a post.

Example: if you type:
"/me wants you to install this hack"

That Turns to:
*LiveWire wants you to install this hack

Open includes/functions_bbcodeparse.php:

Find:
PHP Code:
$bbcode = str_replace(array('>|||)', '<|||)', '"|||)'), array('>)', '<)','")'), $bbcode);
    } 
// end smilies 
UNDERNEATH, ADD:
PHP Code:
                global $post;
                
$bbcode = str_replace("/me ","<font color=\"#XXXXXX\"><i>*" .$post['username']. " ",$bbcode. "</i></font>"); 
Replace: #XXXXXX with the color you want it to show up as.
All done.



Old 08-23-2004, 10:50 PM   #2
Rand0m_Her0^
Charter Member

Activity Longevity
0/20 19/20
Today Posts
0/3 sssssss17
Rand0m_Her0^ is on a distinguished road
Status: Offline Default
nice and small hack

I like it! thnx dude!
Reply With Quote
Old 08-24-2004, 06:34 AM   #3
Isaiah
Coder

Activity Longevity
0/20 20/20
Today Posts
0/3 ssssss168
Location: Anaheim
Age: 21
Isaiah is on a distinguished road
Send a message via AIM to Isaiah Send a message via MSN to Isaiah Send a message via Yahoo to Isaiah
Status: Offline Default
* Isaiah pwnz livewire
Reply With Quote Installed
Old 10-06-2004, 03:12 PM   #4
D3LTA
Coder

D3LTA's Avatar

Activity Longevity
0/20 19/20
Today Posts
0/3 sssssss19
Location: The Netherlands
D3LTA is on a distinguished road
Send a message via AIM to D3LTA Send a message via Yahoo to D3LTA
Status: Offline Default
Added It. Clicked Install.
Thanks.
Reply With Quote
Old 03-24-2005, 07:38 PM   #5
Arnoud
vBulletin Guru

Arnoud's Avatar

Activity Longevity
0/20 18/20
Today Posts
0/3 sssss3129
Location: Europe, Flanders
Arnoud is on a distinguished road
Send a message via MSN to Arnoud Send a message via Yahoo to Arnoud
Status: Offline Default
Try using this code, which I use in my hack, it'll fix the bugs of displaying in correct data.

PHP Code:
// /me Hack
  
global $post;
  if (
'' == $post[username]) {
    global 
$reputation;
    if (
'' == $reputation[username]) {
      global 
$pm;
      if (
'' == $pm[fromusername]) {
        
$meUsername = $bbuserinfo[username];
      } else {
        
$meUsername = $pm[fromusername];
      }
    } else {
      
$meUsername = $reputation[username];
    }
  } else {
    
$meUsername = $post[username];
  }
  
$bbcode = preg_replace('#^/me (.*)$#im', "<font color=\"red\">* $meUsername \\1 *</font>", $bbcode);
// /me Hack 
Reply With Quote
Old 03-24-2005, 08:01 PM   #6
BoB
Charter Member

BoB's Avatar

Activity Longevity
0/20 20/20
Today Posts
0/3 ssssss322
Age: 42
BoB is on a distinguished road
Send a message via MSN to BoB
Status: Offline Default
it only work if you start the first line with * BoB

like "/me is fooked now
if you added it here like * BoB gives up it dont work
Reply With Quote
Old 03-24-2005, 10:32 PM   #7
Arnoud
vBulletin Guru

Arnoud's Avatar

Activity Longevity
0/20 18/20
Today Posts
0/3 sssss3129
Location: Europe, Flanders
Arnoud is on a distinguished road
Send a message via MSN to Arnoud Send a message via Yahoo to Arnoud
Status: Offline Default
My code, or LW's?
Reply With Quote
Old 03-24-2005, 10:40 PM   #8
BoB
Charter Member

BoB's Avatar

Activity Longevity
0/20 20/20
Today Posts
0/3 ssssss322
Age: 42
BoB is on a distinguished road
Send a message via MSN to BoB
Status: Offline Default
both
Reply With Quote
Old 03-24-2005, 10:54 PM   #9
Arnoud
vBulletin Guru

Arnoud's Avatar

Activity Longevity
0/20 18/20
Today Posts
0/3 sssss3129
Location: Europe, Flanders
Arnoud is on a distinguished road
Send a message via MSN to Arnoud Send a message via Yahoo to Arnoud
Status: Offline Default
I'm pretty sure mine works anywhere.

I'll install this on a test board tomorrow, I'll check.
Reply With Quote
Old 08-07-2005, 02:28 AM   #10
~Hubba~
vB Newbie

Activity Longevity
0/20 17/20
Today Posts
0/3 sssssss12
Location: Minnesota
Age: 37
~Hubba~ is on a distinguished road
Send a message via AIM to ~Hubba~ Send a message via Yahoo to ~Hubba~
Status: Offline Default
Quote:
Originally Posted by Deaths
I'm pretty sure mine works anywhere.

I'll install this on a test board tomorrow, I'll check.
Did you ever check to see if there's a way to make them work anywhere? That would be pretty ideal for this hack.
Reply With Quote Installed

Reply
Page 1 of 2 1 2 >

« FlashLink Hack For AnyLockdown | vBSigHosting »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hack Installs / Working - Suggestion VirtualBurn Site Feedback 11 08-16-2006 08:01 PM
Install System Part 2 Ken Iovino Announcements 10 05-19-2005 02:40 PM



All times are GMT. The time now is 01:05 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Transverse Styles
  • Top
  • Archive
  • vBSEO
  • Contact Us
LinkBack
LinkBack URL LinkBack URL
About LinkBacks About LinkBacks
Bookmark & Share
Digg this Thread! Digg this Thread!
Add Thread to del.icio.us Add Thread to del.icio.us
Bookmark in Technorati Bookmark in Technorati
Furl this Thread! Furl this Thread!