At this point in time the instructions are a little messed up.
Please use this install file to install the hack:
You must first be a
registered member to view any code.
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:
You must first be a
registered member to view any code.
Below, add:
You must first be a
registered member to view any code.
Below that, add:
You must first be a
registered member to view any code.
Below that, add:
You must first be a
registered member to view any code.
Finally, below that, add:
You must first be a
registered member to view any code.
Now, open newreply.php
Find:
You must first be a
registered member to view any code.
Below, add:
You must first be a
registered member to view any code.
This is my first publicly released hack, so it might be posible that I made a little mistake somewhere in the code, even though, - and maybe because - it is a very simple hack. If so, please post here, heh.
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.