![]() |
/you, /me, /youid, /myid Hack
1.4.2 has been released! Upgrade if /youid and /meid arent working! To upgrade, just cut (not copy) the youid part above the /you part, and it'll work This is a hack adds the following BB codes: "/you" is replaced by the Username viewing the thread* "/me" is replaced by the thread/post creator* "/youid" is replaced by the UserID of the user viewing the thread. "/myid" is replaced by the UserID of the poster of the post. "/you is great!" Turns into: Username is great! "/me" is great!" Turns into: "Deaths is great!" "http://www.vbulletin.org/user.php?u=/youid" Turns into: "http://www.vbulletin.org/user.php?u=123". "http://www.vbulletin.org/register.php?refferer=/myid" Turns into: "http://www.vbulletin.org/register.php?refferer=567". Here are the instructions: Optionally, you may follow the instructions in install.txt. Both this post and the .txt file contain the exact same information. Open includes/functions_bbcodeparse.php: Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Find: PHP Code:
PHP Code:
Hope you like it! *I'm almost positive these hacks have already been released before, even though I couldn't find them. I did not copy any code from anyone. However, if you released this hack before I did, and wish to have the /you and /me hacks removed, please contact me by PM. |
Wow thats kinda cool.
Might install it later.. Good job :) |
Heh, thanks :).
If you use it, don't forget to click the install button! |
Quote:
|
I believe PM's use the $post array aswell, but I'm not sure about this.
I cannot check it from where am now, though I will look into this ASAP. This hack was intended for forum post, not for PM's. I will look into this though, thank you for the feedback. |
nice
/me clicks install |
very nice! I wish I could get this to work in a poll :D I just gave out "Member of the Month" award to /you and now they are all posting acceptance speeches LMAO
|
Heh, I did that aswell a while back, on april fools :).
I'll look into the poll thing, but I don't think BB code is allowed in polls... |
Quote:
Code:
global $post; |
Quote:
|
All times are GMT. The time now is 09:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|