vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   /me vB Code (https://vborg.vbsupport.ru/showthread.php?t=38069)

Brad 06-01-2002 02:21 PM

Scrooge make sure its on its own line for example, /me testing wont work cause its on this line with the rest of this text but

/me testing

will

filburt1 06-01-2002 04:58 PM

It's weird, I post the /me posts and they looks like /me something, but to others they look right. Also other's /me posts look right to me. :confused:

rebirth 06-03-2002 01:00 PM

how do i install?
im new and dumb.

corn 06-05-2002 10:08 PM

Quote:

Originally posted by DWZ
just tried that nakkid...

But it comes up like this on my forum:When I edit the post, you know, see whats there, i see:
Code:

/me tests new hack
Link: http://www.consoleradar.com/forums/s...id=385#post385

Any ideas?

I've still got the same problem.
( * Cornholio  )

what can I do about this ?

firewars 06-10-2002 05:28 PM

Although having "fixed" the newreply.php it shows /me x in the post-view under the reply field :(

firewars 06-10-2002 05:29 PM

Woops nevermind.
But could this be included?
I mean showing previous posts with the /me-hack included? :D

[D]Vincent 06-10-2002 09:46 PM

I installed it into my forums and did everything listed but still doesn't work, anyone know why?

eGoR 06-11-2002 10:41 PM

/me cant isnatall it on vbb 2.2.6 :S

Boofo 06-15-2002 11:09 PM

When I quote someone who has used the /me code in a private message, it changes the /me code to my name on the reply quote. I did the fix you stated for it (there were 2 instances of it in the newreply.php so i replaced both of them) and it still changes it to my name. Can someone please tell me how to fix this?

Quote:

Originally posted by FireFly
A text version of the installation file.

Shokkka 06-15-2002 11:15 PM

/me thinks this is nifty

FleaBag 06-19-2002 07:16 PM

Upgraded to 2.2.6 and working well, and thanks for the quote fix.

Boofo 06-19-2002 07:28 PM

Has anyone figured out why it takes on the new posters name in the private reply instead of the original poster's name? I did the fix (in 2 places) in the newreply.php and it works fine in the regular messages, just not in the private ones when quoting.

jonas 06-20-2002 04:47 AM

well... here is my prob... I am running a version modded between 2.2.1 and 2.2.6... there is a little of each in it... technically, it is 2.2.6.

When I go to run the .php it's just text... it doesn't run an install... when I do everything manually and perfectly, it doesn't work...

I even fixed the errors that were shown on the other thread... any suggestions?

Admin 06-20-2002 05:10 AM

Quote:

Originally posted by Boofo
Has anyone figured out why it takes on the new posters name in the private reply instead of the original poster's name? I did the fix (in 2 places) in the newreply.php and it works fine in the regular messages, just not in the private ones when quoting.
In private.php replace this:
Code:

    eval("\$message[message] = \"".gettemplate("priv_reply",1,0)."\";");
With this:
Code:

    $message['message'] = preg_replace('#^/me(.*)$#im', "* $fromuserinfo[username]\\1", $message['message']);
    eval("\$message[message] = \"".gettemplate("priv_reply",1,0)."\";");


Boofo 06-20-2002 05:37 AM

Ok, Chen, that fixed it for showing up in the private reply like it should, but I lost the color of it now. And it doesn't show up right in the private preview mode. Is that normal? (It shows up like this when I preview it.:

* likes this

instead of

* Boofo likes this.

Admin 06-20-2002 05:46 AM

Yes that's normal, but we can't fix that without a lot more hacking,.

Boofo 06-20-2002 05:49 AM

Thanks, Chen. At least I know it's not just me. :) How about the color? Any way to get that back?

Admin 06-20-2002 06:02 AM

Use this line:
Code:

    $message['message'] = preg_replace('#^/me(.*)$#im', "<font color=\"{timecolor}\">* $fromuserinfo[username]\\1</font>", $message['message']);

Boofo 06-20-2002 06:15 AM

That didn't work, Chen. :) It still doesn't have any color. Here's what I got when I tried to quote the message:

Boofo wrote on Today 2:05 am:
<font color="#FF9C58">* Boofo like this</font>

Admin 06-20-2002 06:20 AM

Try using instead of <font>.

Boofo 06-20-2002 06:28 AM

Here's what I got this time when I quoted (and still no color to it) :)

Boofo wrote on Today 2:20 am:
[disable]">* Boofo likes this[/disable]

Admin 06-20-2002 11:14 AM

Well yeah, it will show up colored when you view it.

Boofo 06-20-2002 05:08 PM

The color shows up right but only if you quote the message. When do a regular private message with it, there is no color. Here's how it shows up.

Boofo wrote on Today 12:57 pm:
">* Boofo likes this


">* Boofo wants this to work


Also, the message title is all weird now. The following is what the title of the message is in the listing.

* Boofo likes this [/color] ">* Boofo wants this to work [/quote...">Re: testing me code color [deny receipt]

We're almost there though. :) :)

Quote:

Originally posted by FireFly
Well yeah, it will show up colored when you view it.

Admin 06-20-2002 06:49 PM

I'll look into this tomorrow...

Boofo 06-20-2002 07:20 PM

Thank you, sir. :)

Quote:

Originally posted by FireFly
I'll look into this tomorrow...

jonas 06-20-2002 09:44 PM

have any suggestions for me?

Boofo 06-20-2002 09:56 PM

You need vbhacker to run the php install file. :)

Quote:

Originally posted by jonas
have any suggestions for me?

Boofo 06-22-2002 08:29 AM

Sorry to bother you, Chen, but did you get a chance to look at the code again for the color and the message title yet? :)

Quote:

Originally posted by FireFly
I'll look into this tomorrow...

Admin 06-22-2002 09:05 AM

No, sorry.

Jadelit 06-22-2002 10:06 AM

/me very sweet!

Admin 06-22-2002 12:13 PM

/me no no enlgich!

Link14716 06-22-2002 01:33 PM

/me runs to install.... well.... when
/me upgrades to 2.2.6

Boofo 06-29-2002 06:04 AM

Chen,

I got part of the /me code fixed. The attachment shows that as long as you are quoting the code, it will show up in color. But when you first enter it in a message, it isn't in color. This is in private messaging. Is there another place we need to put the color statement?

ZiRu$ 07-12-2002 04:58 PM

i installed it :)

Gary King 07-19-2002 03:18 PM

Strange enough, it doesn't work for me :confused:

I've done ALL the changes, and yet it doesn't work (the text acts as though there isn't any changes)

I.E. : /me wonders why this doesn't work <-- it shows like that

chr@nox 07-22-2002 10:04 PM

installed on 2.2.6
works like a charm :)

[high]* chr@nox bows for FireFly
[/high]

:p

not very usefull...but SUPERCOOL
hehe
thanx!

Webmasta XT 07-28-2002 03:48 PM

/me gets it and installs it as well

Boofo 07-28-2002 06:35 PM

Try having the [disable]/me[/disable] the first thing on the line and each line with it in it has to be on a separate line.

[high]* Boofo had this trouble at the beginning, too. :)
[/high]

Quote:

Originally posted by Blak n Wite
Strange enough, it doesn't work for me :confused:

I've done ALL the changes, and yet it doesn't work (the text acts as though there isn't any changes)

I.E. : /me wonders why this doesn't work <-- it shows like that


DrkFusion 07-28-2002 06:40 PM

It doesn't work for me eitehr, I installed the one in the txt file.

Drk

Chris M 07-28-2002 08:18 PM

@Boofo - You dont need vBhacker...

It works perfectly from the .txt file!:)

Satan


All times are GMT. The time now is 04:17 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01296 seconds
  • Memory Usage 1,792KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete