PDA

View Full Version : /me code Version 3


Pages : 1 [2]

buro9
17 Feb 2005, 22:58
OK, This version takes care of edits too:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Remember to strip my formatting :)

I think new replies are already dealt with by the $post one are they not?

I can't find a scenario in which it no longer works on mine.

buro9
17 Feb 2005, 23:11
Oh yeah... I see what you meant about the newreply bit... and yes, I think you do need it still.

In fact... I just tried to work around it... and you really need that bit still.

weaver
17 Feb 2005, 23:39
Is this still ready to update? Or does the newreply bit need to be worked out first?

mholtum
18 Feb 2005, 00:07
/me clicks install worked great

Viktor Kraft
18 Feb 2005, 01:37
Sometimes this doesn't work.
If I do three /me in a row only the first "me" is parsed, the others no.

But I did a test here, and work. Did I do something wrong editing the files?

Diva
20 Feb 2005, 05:18
Hi Erwin! Your hack is working great, except in PMs. I am using your quick PM hack also. When replying it shows "/me" instead of the person's name who sent the first PM. Could you help me with this? Thanks bunches!

Erwin
20 Feb 2005, 21:01
Hi Erwin! Your hack is working great, except in PMs. I am using your quick PM hack also. When replying it shows "/me" instead of the person's name who sent the first PM. Could you help me with this? Thanks bunches!
Mmm... let me take a look when I find time...

Diva
20 Feb 2005, 21:02
Thank you so much for all of your hard work. :)

zetetic
22 Feb 2005, 20:37
Remember to strip my formatting :)

I think new replies are already dealt with by the $post one are they not?

I can't find a scenario in which it no longer works on mine.
Good job! :)

I've been using this modification (http://www.vbulletin.org/forum/showthread.php?p=484334#post484334) to make this hack work in PM's, message preview, etc. But it doesn't seem to work now with the latest version of this hack. Any idea how to incorporate these fixes? (For example right now if you use "/me" in a PM, when the person replies with quote it shows up as "/me" instead of with the name.)

Stryker[X]
28 Feb 2005, 23:00
Yep, unless there is more than one spot that code is in..



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------





edit: It works when the "/me" code is placed before the quote tags.

And to clarify, this is the only hack i am using. :)
/me starts to think...

Lets see here...on my forum, I have a double space after every /me enteree. Any ideas?

Eagle Creek
01 Mar 2005, 00:27
Is it full 3.0.7 compatible?

MissKalunji
01 Mar 2005, 01:00
Is it full 3.0.7 compatible?


yeah it works fine with me

MicroLinux™
01 Mar 2005, 04:13
I dont have the time right now to read through this... But this is thehack where like.. you want to greet the user looking so you put "Hello/me," and /me will be their username? If it is... THANKS SO MUCH!

fridayweb
01 Mar 2005, 15:40
I have a problem with the /me code being used within the vB Journal, created by Antonbomb22.

When someone types /me in that, it displays the name of the user VIEWING the journal, not the person who originally posted in their own journal.

Any suggestions on how to change that?

Deaths
01 Mar 2005, 15:48
You should ask AN-net himself, as he coded the journal.

kcadd
12 Mar 2005, 10:55
/me installs the /me hack :P

zetetic
13 Apr 2005, 16:28
Good job! :)

I've been using this modification (http://www.vbulletin.org/forum/showthread.php?p=484334#post484334) to make this hack work in PM's, message preview, etc. But it doesn't seem to work now with the latest version of this hack. Any idea how to incorporate these fixes? (For example right now if you use "/me" in a PM, when the person replies with quote it shows up as "/me" instead of with the name.)
I'm replying to myself because I figured out what was wrong. All this time I thought Edgewize's solution (http://www.vbulletin.org/forum/showthread.php?p=484334#post484334) was a fix for this hack, but it's actually a completely different way of doing it that appears to do everything Erwin's does (even with Buro's mods) but works in quotes and previews too.

I know it's basically a thread hijack but there have been so many twists and turns on this thread it's really confusing. I'd love to know if Erwin or buro9 see anything wrong with doing it Edgewize's way, since it seems to work better...

TwinsForMe
10 May 2005, 19:58
I'm having a conflict with the Multiquote hack (not the quick-reply multi-quote).

If I quote someone with multi-quote who has used /me, my username will be inserted. If I quote myself when I had used /me, my username will be replaced with /me.

Here is a screenshot:

TwinsForMe
14 May 2005, 15:59
No one can help?

Erwin
15 May 2005, 04:59
The /me code hack upgraded to version 3.00 thanks to Edgewize's suggestions - this fixes the parsing problems in quotes and PMs. :)


Just remove the old hack and follow the instructions in the first post.

Getox
15 May 2005, 07:51
hey hey new version, might install this on my forum, even though my site is sitting there, useless music forum ;)
is / me install here?

/me tests

zetetic
15 May 2005, 15:54
Excellent. Thanks for the update, Erwin. :)

TwinsForMe
15 May 2005, 16:12
Thanks. :)

Logikos
17 May 2005, 12:32
Erwin. For this to work in vB 3.0.7. You should change your instructions for private.php.

Should Be Find:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Copy pasted code below:

Just wanted to let you know. :)

/me rocks

boo.3
17 May 2005, 12:44
/me loves this hack

jesus likes pie
30 May 2005, 15:28
I cant find



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



in my private.php


:\

Logikos
30 May 2005, 15:57
Look 2 post up dude for an update.

jesus likes pie
30 May 2005, 16:16
oh thanks.

Erwin
31 May 2005, 03:38
Fixed the first post. :)

Logikos
31 May 2005, 05:45
Thank you Erwin! :)

jesus likes pie
31 May 2005, 19:44
mmm....i think its supposed to be reversed since the 3.0.7 one i cant find but i can find the 3.0.6 and below one...and yes, i have 3.0.7

I installed it yesterday but i got a new forum install and now that i try to install it again there is no color in it. What gives?

http://www.ugforums.org/ugforums/showthread.php?p=1171#post1171

jesus likes pie
31 May 2005, 19:47
ah yes erwin you messed up i guess in the edit cause i found the code from yesterday. Anyways this is the right code:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

rob_daemon
16 Jul 2005, 23:18
Erwin (or anybody else), can you update this for vB 3.5? This is one of the hacks that I need updated before I can go live with 3.5 on my site. Thanks!

Chris_D
22 Jul 2005, 14:31
Any 3.5 versions would be great

VaaKo
10 Sep 2005, 23:00
/me is testing it!

VaaKo
10 Sep 2005, 23:19
Change "red" to whatever color you want.
I didn't understand this one!

I installed it on my forum but when I type: /me something
it shows in black, I want it to be in red, how to?

stan111
23 Sep 2005, 07:08
i got this installed and it work perfectly however, somehow mine doesn't show up with color
that is so weird
any help ?
thanks in advance

edit: mine show up in black also

GatorV
07 Oct 2005, 04:48
ah yes erwin you messed up i guess in the edit cause i found the code from yesterday. Anyways this is the right code:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------




Great it works in 3.0.8 just some notes:

in newreply.php search for:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



and in private.php:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



:cool:

BlackxRam
22 Oct 2005, 09:03
Anyone get this to work with vb 3.5? I had this on my .9 board but to no avail the files are different now in 3.5.

Erwin? Can you make a quick port? lol =)

GoTTi
11 Dec 2005, 21:54
i dont see "red" in the script. my colors are coming up black.

Hellcat
12 Dec 2005, 01:29
Anyone get this to work with vb 3.5? I had this on my .9 board but to no avail the files are different now in 3.5.

Erwin? Can you make a quick port? lol =)
* Hellcat seconds this

I guess the code only has to be modified slightly and then drop it into right hook on the plugin system, right?
I just didn't figure it out yet :(


[EDIT]
OK, I think I got something going using Plugins and Hooks :)
At least it starts working like I intended :up:
I'll post it as soon as I have something more - In threads and PMs it's already parsing the "/me" and the PM one is even Quote-Save :D
Digging some deeper into it now....

[EDIT 2]
Well, well, after figuring out what hooks to use and what variables are available there the rest went quite well....

vB3.5.2 port of "/me" is here:
http://www.vbulletin.org/forum/showthread.php?t=102835