![]() |
You can see how I'm testing it and see if you can get anywhere:
PHP Code:
|
Thanks for working on this one, Dean. Was a favorite for our members. :)
Am ready to test as soon as you have something you want us to try! |
when my members post links that have http://me in it - such as http://members.com - it replaces with their name - http://usernamembers.com
|
I'm not sure if this has been posted yet, but, I found an issue using this plugin... When posting a link to http://www.yoursite.com/member.php?u=123455
The /me in the URL gets parsed as BBCode. It was breaking some links on my site. Just a note for you to maybe look into. |
installed RC 1 :D thx!
|
Dean, are you ever going to fix this, buddy? ;)
|
working fine on RC2 here
|
Quote:
|
An idea for the Quote Issue:
Hook: bbcode_create PHP Code:
|
Take the other code out or use this with it?
|
It's an addition to fix the Quote-Issue; the other Code is still required to handle /me outside Quotes
|
Ok, well, it doesn't work. It still shows /me in the quotes and well as editing. But I am using my code that I posted in this thread for hellsatan. Should I be using Dean's?
|
It shows /me if the Quote does not have a Username.
In Quotes that have a Username it should show this (at least this it was it does for me ;)). In the Code I posted abobe, the space between & and #47; must be removed. Seems like I can't post it this way it it will come up as / ;) |
Here's what I get.
|
Hmm ... if you want /me substituted with the Posters Name in the Editor this would require other changes.
|
Quote:
|
Is there any way of grabbing the quote already parsed?
|
Quote:
|
Quote:
PHP Code:
|
I was trying to read through that post and haven't figured out how to install it on RC2 and IF this is working or now ...
Any suggestions / clues ? |
Bump for please update.
|
(OT)
@roscoe36: Quote:
|
found a kinda "bug"
if someone types a URL link to something that coincendently has a "/ me " in it... it messes up the link. for example: someone on my board tried to post: http://media.putfile.com/Bike-Stunt43 and it keep producing this when the link was clicked: Quote:
it is possible to fix this so that the /me function is disabled when inside a link/url? |
Quote:
The moment I do that, and try to submit a post (with or without wrapping it with (url) tags (yes i know they should be square ones lol) it renders the thread completely broken and I cannot read it again.. So I'm deactivating for now... |
installed and working on 3.5.0
url thing, Alien, is what I posted above.... solutoin: ---"/me" function is disabled when inside a link/url ---or just avoid url with "/me" in them. ;) |
Works for me so far on 3.5.0 Gold. Nice work. :)
|
Quote:
|
Quote:
|
Had to disabled / uninstall for now because of the URL problem :(
|
Quote:
|
use:
Code:
$mepattern = '/(^|\s)\/me([^\r\n]+)/is'; also note the changed preg_replace |
You are A HERO :D :D Works !!!
|
YAY that worked great!
Thank you very much :D |
You might also want to add the following plugin
Code:
global $vbulletin; and Code:
$mepattern = '/(^|\s)\/me([^\r\n]+)/is'; with this the preview of a post will also get the right update or simply download the attached xml file (note: I made it a product because of the 3 linked hooks) |
Quote:
|
doh, forgot to save the post.
it's there now. |
Quote:
And thank you. ;) |
thanks El_Muerte :)
Now all we need is a fix so that when quoting a post with /me in it, the quoted /me uses the quoted persons name instead of taking on the name of the person replying |
I've been working to revamp this plugin, so far so good except for the quoting issue.
The problem with quoting is that it's not use who posted it, so I've been going through a couple of ideas: 1) rewrite the /me in the quote to reflect the original user 2) use the username from the quote param to replace the /me the problem with 1) is that it needs to be rewritten to a vbcode, so I could change the rewriting to use something like [action=username]description[/action] with 2) you have the issue that not always a username is provided in the quote I think I'm going for the rewriting as a whole base, just like with the automatic URL detection. Ofcourse this has the issue that current /me's won't be replaced correctly. |
Quote:
|
All times are GMT. The time now is 11:57 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|