|
| Author |
Message |
Nick1150
Joined: 07 Dec 2006
Posts: 13
|
Posted: 12/7/2006, 10:15 am Post subject: Does anyone know how to activate the [you] command ?? |
|
|
I know a few forums where, if you type [you] when typing your post it is shown as the username of its member reading. I would like to do the same thing in my forum.
To be precise I will give you an example:
You post: HELLO I AM A FRIEND OF [you]
You press submit and it shows:
HELLO I AM A FRIEND OF Nick1150 (when I read the post)
or
HELLO I AM A FRIEND OF X (when user X reads the post)
or
HELLO I AM A FRIEND OF Y (when user Y reads the post)
Do you know how this can be done ?
Thanks in advance
Nick1150 _________________ Nick 1150
Last edited by Nick1150 on 12/7/2006, 10:46 am; edited 1 time in total |
|
| Back to top |
|
 |
Triumvirate
Joined: 10 Sep 2005
Posts: 262
Location: New York, USA
|
Posted: 12/7/2006, 10:18 am Post subject: |
|
|
Nick, what forum software are you using? With phpBB2 I believe there is a hack available over at phpBBHacks.com to do this. With SMF it is a built in feature, as I believe it is with vBulletin. I'm not sure about IPB at all though. _________________ MMO Gaming |
|
| Back to top |
|
 |
Nick1150
Joined: 07 Dec 2006
Posts: 13
|
Posted: 12/7/2006, 10:27 am Post subject: |
|
|
Its a 2005 phpBB forum _________________ Nick 1150 |
|
| Back to top |
|
 |
Nick1150
Joined: 07 Dec 2006
Posts: 13
|
Posted: 12/7/2006, 10:47 am Post subject: |
|
|
| Triumvirate wrote: |
| Nick, what forum software are you using? With phpBB2 I believe there is a hack available over at phpBBHacks.com to do this. With SMF it is a built in feature, as I believe it is with vBulletin. I'm not sure about IPB at all though. |
already registered there, but I can search the hack ?
I tried everything but ......  _________________ Nick 1150 |
|
| Back to top |
|
 |
Patrick
Administrator
Joined: 28 Aug 2005
Posts: 1862
Location: Harbinger, NC, U.S.A.
|
|
| Back to top |
|
 |
Nick1150
Joined: 07 Dec 2006
Posts: 13
|
Posted: 12/7/2006, 3:31 pm Post subject: |
|
|
Thanks alot Patrick.
I tried it but in this line it gives me error
global $userdata;
$bbcode_tpl['you'] = str_replace('{YOU}', "' . $userdata['username'] . '", $bbcode_tpl['you']);
Do you have an idea of what it might be wrong?
PS1. The forum is in Greek language
PS2. 'username' is in red in HAPedit ... like this('username')
Thanks again _________________ Nick 1150 |
|
| Back to top |
|
 |
Nick
Joined: 09 Sep 2005
Posts: 772
Location: Next to the stereo
|
|
| Back to top |
|
 |
Nick1150
Joined: 07 Dec 2006
Posts: 13
|
Posted: 12/9/2006, 6:07 pm Post subject: |
|
|
[quote="Nick"]
| Patrick wrote: |
I use that second link. My members love it.
I also added my own features to it so that /us is the forum name and /we is the poster and whoever is reading it. |
I tried it.
Why it does not work in my forum ?
anyone help ?
copy / paste in the vietopic.php as it says  _________________ Nick 1150 |
|
| Back to top |
|
 |
Nick
Joined: 09 Sep 2005
Posts: 772
Location: Next to the stereo
|
|
| Back to top |
|
 |
Nick1150
Joined: 07 Dec 2006
Posts: 13
|
Posted: 12/9/2006, 8:38 pm Post subject: |
|
|
It shouldn't be so difficult
Where exactly should it be installed ?
what line more or less I mean ?
Thanks ?
Ps. After all I have to learn _________________ Nick 1150 |
|
| Back to top |
|
 |
|