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)

tehQspm 02-12-2008 06:36 PM

works fine on 3.7.0 Beta 4. Would be cool to get it to parse for Visitor/Picture comments though.

Boofo 02-12-2008 06:38 PM

That would be easy to do.

tehQspm 02-12-2008 11:59 PM

can you help point me in the right direction? I think I can get the right hook it's just knowing which variables to use and how. That's the problem.

Boofo 02-13-2008 04:57 AM

I haven't looked at it yet. I will get on it in the AM and see what I can do for you.

Boofo 02-15-2008 11:06 PM

Ok. I have updated this for the 3.7.0 Vistor Messages/Previews. I will do the picture comments now.

EDIT: I have been told I'm not allowed to release an update to this as it is a copyright violation. Sorry.

xxshatteredsoul 03-10-2008 10:15 PM

Quote:

Originally Posted by DaveAK (Post 1114978)
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.

Can someone add this hack to the 3.6 mods. This is the only change above that needs to get added to work on 3.6.8. Thank you.

GoTTi 04-08-2008 06:24 AM

Quote:

Originally Posted by Boofo (Post 1444109)
Ok. I have updated this for the 3.7.0 Vistor Messages/Previews. I will do the picture comments now.

EDIT: I have been told I'm not allowed to release an update to this as it is a copyright violation. Sorry.


what do you mean its a COPYRIGHT violation??? whats the violation? what is it you have you want to release? you can release fixes on here. there is no copyright....i dont understand.

PoetJA-1975 07-07-2008 11:12 AM

LOL - Temperamental Coders perhaps aka BS
[high]* PoetJA-1975 has installed on 3.7.2 and seems to work just fine actually - as is...
[/high]

Jacquii.

PGAmerica 07-10-2008 05:33 PM

I have not tried this yet. Can this be modified to allow for a /you command as well.

eg. /you would be replaced by the name of the user that is being replied too.

PGAmerica 07-10-2008 06:44 PM

Quote:

Originally Posted by brvheart (Post 1373165)
[me]*username bla bla bla [/ me] - got this part worked out, but can not get the replacement variable to work...

How did you get past this? I installed this according to the instructions and when I use it, I get the following:

[me]* PGAmerica Hello to you[/me]

What's with that? I typed /me and it shows the [me] and [/me] text and then replace the /me with my username. How do I get rid of the [me] and [/me]? I have the "mecolor" variable in place, so it is not that.

ideas?

scville 12-04-2008 06:22 PM

/me installed!

8thos 05-14-2011 06:06 PM

/me curious

8thos 06-18-2011 03:18 AM

Is there a modification like this for vb4?

BirdOPrey5 06-19-2011 12:17 AM

Quote:

Originally Posted by Octavius. (Post 2209280)
Is there a modification like this for vb4?

This is working fine for me on 4.0.8... will probably work on all 4.x as is.

8thos 06-19-2011 12:51 AM

/me test

8thos 06-19-2011 12:56 AM

It works in vb4.1.4 but it is black and bold instead of red and normal on vb3.

BirdOPrey5 06-19-2011 09:10 AM

Quote:

Originally Posted by Octavius. (Post 2209679)
It works in vb4.1.4 but it is black and bold instead of red and normal on vb3.

The mod instructions tell you how to setup a replacement variable so you can set a color per style.

Otherwise if you just want the same color across all styles just set the color in the ME BBCode replacement text. <div style="color:red;">{param}</div> instead of what is there. Actually I'd think <span> is probably a better choice than <div> anyway.

Code:

<span style="color:red;">{param}</span>

8thos 06-19-2011 02:37 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2209791)
The mod instructions tell you how to setup a replacement variable so you can set a color per style.

Otherwise if you just want the same color across all styles just set the color in the ME BBCode replacement text. <div style="color:red;">{param}</div> instead of what is there. Actually I'd think <span> is probably a better choice than <div> anyway.

Code:

<span style="color:red;">{param}</span>

Replacement text didn't work. Thanks anyway. Changing it to span.

8thos 09-02-2011 04:29 PM

/me wonders if this still works on vbulletin.org

S@NL - BlackBik 12-07-2011 01:37 PM

Works as a charm on 4.1.8 :)


All times are GMT. The time now is 12:54 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.01342 seconds
  • Memory Usage 1,760KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (6)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
  • (20)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