vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   "/me action" port for vB3.5.x (https://vborg.vbsupport.ru/showthread.php?t=102835)

Boofo 06-01-2006 10:35 PM

[high]* Boofo KNOWS you will be very pleased with this! ;)[/high]

Hellcat 06-08-2006 08:21 AM

Howdy :)

[high]Concerning vBulletin 3.6 (beta 1):[/high]
This seems to be working fine under vB3.6b1.

At least I didn't encounter any problems while testing ;)

Freesteyelz 06-09-2006 09:05 PM

[high]* Freesteyelz likes the fun mod; clicks "Install". :)[/high]

Boofo 06-09-2006 09:17 PM

You'll love it! Hellcat did an excellent job on it. ;)

peterska2 06-12-2006 08:48 PM

doesn't work on 3.6 here

Hellcat 06-12-2006 10:30 PM

Quote:

Originally Posted by peterska2
doesn't work on 3.6 here

Why and where does it not work?
Working fine on my 3.6 so far....

peterska2 06-12-2006 10:52 PM

When I tried it via QR the output I recieved was
Code:

[me]/me tests the me hack[/me]

Hellcat 06-12-2006 10:58 PM

Ahhhh!
Let me quote a part of the installation instructions ;)
Quote:

Originally Posted by Installation Instructions
2)
Add the following BB tag via the BB-Code-Manager:

BB tag name:
Code:

me
BB tag replacement:
Code:

<div style="color: {mecolor};"><strong><em>{param}</em></strong></div>
This BB tag is actually used for the /me output, so edit the replacement of this tag to fit your need of the formatting of the /me text.


peterska2 06-12-2006 11:08 PM

[high]* peterska2 looks away in despair[/high]

You mean there are instrcutions? :o

[high]* peterska2 goes back to try it again[/high]


[edit]

Fancy that, it works now.

Can you put the file in a zip and include a text file with the BB code instructions please :)

Hellcat 06-12-2006 11:19 PM

OK, I made it a ZIPPO with an included install.txt :)

da420 06-13-2006 05:36 AM

Quote:

Originally Posted by peterska2
When I tried it via QR the output I recieved was
Code:

[me]/me tests the me hack[/me]

I had to uninstall, because I couldnt figure out how to make it work. I got the same thing, and I read this thread and I still don't know how to do it right. :^/

Hellcat 06-13-2006 07:58 AM

Simply add a new BBCode in your AdminCP like described in the first post, and now the INSTALL.TXT as well :)

davidw 06-13-2006 02:25 PM

Actually, replacement variable in instructions should say:

3)
Optional:
For every style you have installed go to Style Manager -> Add Replacement Variable

Variable name:
Code:

{mecolor}
instead of

Variable name:
Code:

mecolor
or at least how that's the only way I could get it to work (by adding the {}s)

da420 06-19-2006 05:32 AM

I can't quite get it to show up in red. I tried a bunch of things but not getting it right.

Ziki 06-22-2006 10:27 AM

Anyway this already is in 3.5.4 :)

Boofo 06-22-2006 10:37 AM

Quote:

Originally Posted by Ziki
Anyway this already is in 3.5.4 :)

Only if you added it it is.

da420 06-28-2006 05:06 AM

Quote:

Originally Posted by da420
I can't get it to show up in red. I tried a bunch of things but not getting it right.

Oh well, uninstalled.

Hellcat 06-28-2006 09:44 AM

Quote:

Originally Posted by da420
I can't quite get it to show up in red. I tried a bunch of things but not getting it right.

Edit the replacement of the [me] BBCode to whatever suits you.
Something like
Code:

style="color: #FF0000"
in the <div ...> tag makes it red :)

Or simply use the replacement variable like stated in the readme and the release post.

rgbivens 06-30-2006 04:22 AM

If you are using the Advanced BBCode system and a user is in two groups, both groups must have permission to use the code before it will work.

Example:

User X is in Admin and Registered members groups.

Admin is set to use /me bbcode Registered members are not.

Admin cannot use /me script

Admin and Registered members are allowed to use /me script, Admin can now use it.

I hope that made sense. I think some people that were having problems in previos posts might be having this problem because when a user who doesn't have permission to use a bbcode uses one, it comes out unparsed like [ me]text[ /me]

-Grant

rogersnm 06-30-2006 06:17 PM

Is there any way to remove the bottom line space?

Polo 07-06-2006 12:50 PM

I always liked this little hack :) thank you ;)

DaveAK 08-20-2006 06:16 PM

Any chance of a 3.6.0 update? I just upgraded to Gold, reverted all my templates, and I'm getting a problem when you quote somebody that had used /me. What I get is the username followed by the post number, in the quoted text.

i.e. * DaveAK;1234567 has issues with this hack

DaveAK 08-26-2006 02:06 AM

Quote:

Originally Posted by DaveAK
Any chance of a 3.6.0 update? I just upgraded to Gold, reverted all my templates, and I'm getting a problem when you quote somebody that had used /me. What I get is the username followed by the post number, in the quoted text.

i.e. * DaveAK;1234567 has issues with this hack

Anyone else having this problem in 3.6.0? Anyone come up with a fix?

DaveAK 08-26-2006 02:44 AM

OK, I've fixed it, but I'm not sure it's the best way of doing it.

I added a $originalposternopostid variable into newreply.php and functions_newposts.php

In the plugin manager I changed the preg_replace Quick_Reply instance and the QUOTE instance to use $originalposternopostid instead of $originalposter. I left the isset($originalposter) unchanged.

Comments on this? It works, but have I done it right?

Diva 10-20-2006 07:19 PM

Quote:

Originally Posted by DaveAK
Any chance of a 3.6.0 update? I just upgraded to Gold, reverted all my templates, and I'm getting a problem when you quote somebody that had used /me. What I get is the username followed by the post number, in the quoted text.

i.e. * DaveAK;1234567 has issues with this hack

I would love to use this hack if you can update it for 3.6.2. I used it on my test site and have the same problem as DaveAK. Is there an easier way around it or do we have to hack PHP? DaveAK, can you tell me how to do that?

Also, is there a way to have the hack keep the same color/boldness in the quotes? At least stay bold would be nice. I'm so glad you updated it!!!

DaveAK 11-11-2006 08:06 PM

Got it working for 3.6.x Had to change the PHP code for the QUOTE and Quick_Reply instances to the following :

PHP Code:

if (isset($originalposter))
{
  
$pagetext preg_replace('#^(([ \t]|\[[a-z]+[^\]]*\])*)/me[ \t](.*)$#Uim''$1* ' rtrim(rtrim($originalposter,"0..9"),";") . ' $3'$pagetext);


The nested rtrim first removes the post ID, then the semi-colon, so that it will work with usernames that end in numbers. No file edits are needed as in my previous attempt posted above.

Diva 11-12-2006 03:37 PM

Thank you so much, DaveAK. You are so kind!

Elenna 07-02-2007 05:25 PM

Awesome, thanks for the fix for quotes.

Confirmed working (with the above fix) on 3.6.5

Note for those that don't know where to apply the above fix:

Go into AdminCP> Plugins & Products> Plugin Manager
Scroll to Product: /me (should be at the top).
Click Edit next to the /me Action (QUOTE instance) and /me action (Quick-Reply instance) lines and REPLACE the Plugin PHP code with the code from above.

paramorefans 07-25-2007 06:39 AM

is there anyway to add this to the quickreply?

DieselMinded 09-20-2007 09:58 PM

/me installs on 3.6.8 works great thanks
and the members rejoice

Dave Hawley 09-21-2007 03:21 AM

Could someone explain to me what this does? From reading it appears to simply be a custom BB code?

Smiry Kin's 09-21-2007 03:49 AM

does this

/me

you can custom it by added words after it.. doing something such as

/me wonders if Dave knows what im on about.

Dave Hawley 09-21-2007 04:03 AM

Ok, thanks, but couldn't I do the same with a Custom BB code? E.g

[me]*[/me]

Smiry Kin's 09-21-2007 02:08 PM

Quote:

Originally Posted by Dave Hawley (Post 1343557)
Ok, thanks, but couldn't I do the same with a Custom BB code? E.g

[me]*[/me]

why go to the effort people would have to type [me]*[/me]

/me

is alot faster, and user-friendly... lol

Dave Hawley 09-21-2007 11:35 PM

Not sure "effort" is an apt word for your comparison :)

Thanks for the answers none-the-less!

Smiry Kin's 09-22-2007 12:20 AM

its effort-less / me action..

those who no irc know what the / me is.. :P

Dave Hawley 09-22-2007 01:33 AM

LOL! More effort is going into trying to convince me than you save with / me :)

tazB.ca 09-22-2007 04:38 PM

/me loves it

brvheart 11-01-2007 02:16 AM

ok, I must have fell off the truck and hit my head....this is what I get (I know I goofed somewhere...)

I type it and get something like this:

[me]*username bla bla bla [/ me] - got this part worked out, but can not get the replacement variable to work...

can someone help me please? I am not good with BB Code and replacement variables....

Bro_Joey_Gowdy 01-07-2008 08:36 AM

Any updated version for 3.7.0 ??


All times are GMT. The time now is 12:53 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
  • Page Generation 0.01385 seconds
  • Memory Usage 1,818KB
  • 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
  • (7)bbcode_code_printable
  • (1)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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