![]() |
[you] Replacement
Here it is! The [you] hack ported over to vB 3.7 beta 4.
I have ported this over to vBulletin 3.7 beta 4, but it should work on all 3.7 versions. It now works board-wide (posts and thread titles), in the archive, and also in the quick post in the profile. If there are any areas you find that this doesn't work in, let me know and I will add the code for that area. Thanks goes out to KirbyDE for making the first version for 3.5 possible. Without him, I'd STILL be trying to figure out the best way to do this for vB 3.5. Thanks, buddy! Description: This will replace the [you] variable (board-wide) with the viewing user's username. Installation: 1 product xml (No file edits) Upload the product xml and you're all set! Enjoy! NOTE: If you do not click install, you do not need support. |
Say what ?
Where does the [you] variable usual appear and in what context ? I don't think I've encountered it before. Or if I have , I did not know what I was seeing. |
If you use it in a post is will replace the code with the viewing user's name.
Example: Boofo says hi to [you]. This would translate to: Boofo says hi to SwollenCranium. (if you were reading it) Boofo says hi to Boofo. (if I was reading it) and so on... |
Try install get this Error:
Importiere Produkt, Bitte warten... [:] vBulletin-Systemmitteilung Folgende Abhängigkeiten wurden nicht erfüllt: 1. Dieses Produkt ist mit Version 3.7.0 Beta 4 von vBulletin nicht kompatibel. (Kompatibel ab 3.7) (means Dont work with 3.7.0 Beta 4 only with 3.7) |
Quote:
Ahhhh .... yes. Thanks. I have seen it before . |
Quote:
|
Quote:
I cange minversion="3.7.0" to minversion="3.6.0" now it works ;) (Works on 3.6.4 and 3.7 Beta 4 ) THX nice Hack Simple and Cool nominate for MOTM ;) |
Thanks for the report. I just uploaded a version without the version dependencies. ;)
|
Quote:
Quote:
|
Quote:
running on 3.6.8 perfect with that change |
Quote:
|
Thanks for this, could have a right laugh with this lol
|
I'm probably going to try this.
|
I just linked someone to a thread using it and he says it shows my username not his?
|
Works for me. Does not affect Quick Reply though so if someone who knows the code quick-edits the code shows.
|
[high]* projectego clicks install :)[/high]
|
Quote:
|
Ah yes. Hadn't thought of that one. :cool:
|
Well, I tried and it works great. Needs to work in quick reply.
Oh, and at least one person thought it was aimed specifically at them. Which means this could mean a lot of chaotic humour when posting... |
It does work in quick-reply, but with ajax enabled you need to refresh the page to see the translation.
|
Quote:
|
Thattts nice :D. What about just userid? If you have it so whoevers userid is viewable, this can be used to show peoples avatars, information, anything wherever asked for.
|
Boofo,
How does [you] translate to guests? |
Quote:
|
great mod, thanks, installed and working as expected.
The only little bug is that if you edit your post via quick edit, you will see [you] again after saving instead of username. If you refresh the page your username will come back Tested on vB 3.6.8 Val. |
This is normal as that is how ajax works. But anyone viewing the post will never see the [you]. Trust me, I got that all worked out. ;)
That would only be a bug if ajax was a bug. ;) |
Thanks for this. It's great and adds a very personalised feel.
|
Plus, its a blast to use on April 1st. ;)
And you're very welcome. ;) |
in one of my forums i made a thread like
[you], where are you? and members are posting/reporting like crazy.. :D In which hook should we add the code so it parses correctly on Chatbox too Hillarious |
Quote:
Quote:
|
Hi there,
I would like to know if it is possible to insert some type of conditional in a plugin, so I restrict the [you] plugins only to one thread Like this Quote:
Quote:
|
Well, yes you can but it really would be better to exclude it from a forum or forums. I was thinking of adding a setting to exclude it for certain forums. Would that work?
|
Works nice! Works good with atkin marquee.
|
can we just give it to one group
like admin or mod |
I suppose I could add a setting for usergroups. But what I did is replace the word you with my own special word that only I know. I might do a setting for that, now that you mention it, so you can chose which word you want it to be. That would make this a lot more configurable. Watch for an update soon. ;)
|
Quote:
Its still your call though Val. |
I'm not sure how to handle that as most people would use it forum-wide. I have the usergroups and you replacement word settings done for it. I had the exclude forums almost done but now I see I'm going to need to find out which way everyone prefers it. I will wait and see what everyone else wants as far as the forum ids and then we'll go with the majority. How does that sound?
|
Quote:
My personal preference was to have an option to limit it within a single thread, but since that seems not possible at the moment, then i guess forumids will work. Also do you know in which vB hooks connected to this Chatbox product i can insert your plugins so the you hack works here https://vborg.vbsupport.ru/showthread.php?t=131002 |
Amazing :D
My first [you] Thread: http://www.hilfe-forum.eu/admins-cor...in-mutant.html 2000 Confusing Users 600 Replies in 2 Days :D It rocks! :up: (I replace guest with ***) |
Thank you and I'm glad you like it. Now, if I could only read what was posted and understand it, I would be all set. LOL
|
All times are GMT. The time now is 06:02 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|