Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Reader's name inside post (+) Details »
Reader's name inside post (+)
Mod Version: 1.00, by Chen (Member) Chen is offline
Developer Last Online: Mar 2009 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 35
Released: 19 Feb 2002 Last Update: Never Downloads: 19
Not Supported  

Note: This hack will only work on PHP 4.0.5 and higher. Sorry for all the others (anyone still using these old versions?!).

Anyhow, this is a great little hack, and most importantly very very fun for the masses.
It gives your users the ability to use {bbusername} in their post, and it will mysteriously be changed into the viewer's username when he reads the page.

Demo:
FireFly <!-- auto name hack -->


You can detect this hack is in action by viewing the HTML source of the page. You will see <!-- auto name hack --> next to the name in the source.

You can this hack used in action here as well:
http://www.vbulletin.org/forum/showt...threadid=35192

This hack also contains a small optimization to vBulletin, which removes a lot of calls to str_replace() and replaces that with only one (which is why this hack only works with PHP 4.0.5 and up).

Have fun, I know you will.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #121  
Old 12 Nov 2002, 01:52
Bison's Avatar
Bison Bison is offline
 
Join Date: Jun 2002
i'll try this ... seems like I can use this for something!
Reply With Quote
  #122  
Old 25 Mar 2003, 07:39
DWZ's Avatar
DWZ DWZ is offline
 
Join Date: Dec 2001
Real name: Alan
Hey everyone,

I want to install this for when april 1st comes around.

the thing is, I only want this to work for one user. So, I was thinking I could replace this:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with this:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(I'm using Zaphod's edit to use =bbusername=)

Would that work?

Thanks!
Reply With Quote
  #123  
Old 01 Apr 2003, 06:35
euangel euangel is offline
 
Join Date: Jan 2003
Has anyone got this working in 2.3.0?

the functions.php file doesn't have any of the original code to change anymore
Reply With Quote
  #124  
Old 08 Apr 2003, 07:52
nintendo's Avatar
nintendo nintendo is offline
 
Join Date: Dec 2001
Is it possible to have two settings, where if the admin posts it, it shows up as the username, and if everyone else posts it, it shows up as 'username' (with the 's)?
__________________
.
Reply With Quote
  #125  
Old 22 Apr 2003, 04:57
StevenLReady StevenLReady is offline
 
Join Date: Feb 2003
Does anyone know of to get this working on 2.3.0? I would really love to have it installed for my introductory thread when my board opens. :nod:
Reply With Quote
  #126  
Old 30 May 2003, 11:10
Mystics's Avatar
Mystics Mystics is offline
 
Join Date: Oct 2001
Real name: Mike
04-22-03 at 07:57 AM StevenLReady said this in Post #125
Does anyone know of to get this working on 2.3.0? I would really love to have it installed for my introductory thread when my board opens. :nod:
I have attached it, if anybody still needs it.
Attached Files
File Type: txt username_in_post_230.txt (3.0 KB, 43 views)
Reply With Quote
  #127  
Old 30 May 2003, 13:54
Mr. Brian's Avatar
Mr. Brian Mr. Brian is offline
 
Join Date: Jan 2003
Real name: Brian
Sound interesting..

Thanks for the hacks bty..
__________________
~ Brian
My Blog: www.MrBrian.me
Ultimate Soccer Forum www.WeTalkSoccer.com
URL Shortener service with custom link keywords: www.GoLink.US

Last edited by Matthew Lam; 30 May 2003 at 23:55.
Reply With Quote
  #128  
Old 13 Dec 2007, 17:49
halkum halkum is offline
 
Join Date: Feb 2006
Stupid question, since this is so old and such, but any hack out there for 3.6.8 or around that version like this?
Reply With Quote
  #129  
Old 14 Dec 2007, 01:05
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Ditto
__________________
Is your forum registered? - https://www.forumregister.com
Reply With Quote
  #130  
Old 15 Dec 2007, 12:49
punchbowl punchbowl is offline
 
Join Date: Nov 2006
Thumbs up

Originally Posted by DiesellMinded View Post
Ditto
tridtto
Reply With Quote
Reply


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

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


New To Site? Need Help?

All times are GMT. The time now is 00:47.

Layout Options | Width: Wide Color: