PDA

View Full Version : New Posting Features - Personalized/Gag Threads, Posts, and Signatures (Beta 1)


Kaezul
07 Aug 2006, 22:41
Personalized/Gag Threads, Posts, and Signatures
As requested in this thread (http://www.vbulletin.org/forum/showthread.php?t=123315)

Demo here (http://www.radiantrpg.net/showthread.php?p=606) (Must register or login with test/test)
(Note: Please don't change the test account. It's annoying.)

What this addon does:

This addon allows your users to use replacement variables in their posts and signatures which will substitute the viewer's information for the variable, in order to make the viewer of the post think that it's addressed specifically to them.

For example, you are viewing a post/signature and your username is Joe.
If the post/signature (or the post title) contains the text {username}, it will be replaced with Joe, but only for the viewer.

The only problem I have run into is with unregistered members - their info will not display correctly, if at all. I'm not quite sure how to go about remedying this problem just yet. I'm open to suggestions.

This addon will operate on who's online, the navbar, search results, forum display, thread listing, profiles, and single posts. If you are using a third-party addon like vBAdvanced CMPS, the variables will not parse correctly in those addons. Provided that this addon is successful, I may release updated versions to include major products like vBAdvanced and Top X Stats.

I have provided an AdminCP vBulletin Options group to edit which variables can be parsed (see attachment).

Please note that this is only a test. In no way is this hack fully polished and completed.

Here are testing screenshots of the variables, and the result.

https://www.vbulletin.org/forum/

https://www.vbulletin.org/forum/


You may use this addon however you see fit. If you do decide to use it, you have permission to modify it in any way you see fit - just be sure to provide credit where it's due.

If you have any suggestions, questions, comments, etc, please post them here.

tazB.ca
08 Aug 2006, 00:08
hmm this could be useful :)

how do u get to that place in the screenshot ?? *confused*

please tell me this works with 3.5.4 lol

Craigex
08 Aug 2006, 00:29
Is there anyway you can make it so when someone quotes a post with 1 of them in, the person sees they username or whatever they see? Instead of the code?

EDIT; and get it to work in signatures.

Kaezul
08 Aug 2006, 01:02
hmm this could be useful

how do u get to that place in the screenshot ?? *confused*

please tell me this works with 3.5.4 lol

This is only for 3.6.0. I've not tested it with 3.5.4, nor did I develop it on 3.5.4.
However, you can try going to vBulletin Options and selecting Gag Threads & Posts in the dropdown. If it's not there, you should upgrade to 3.6.0 in order for this mod to work.

Is there anyway you can make it so when someone quotes a post with 1 of them in, the person sees they username or whatever they see? Instead of the code?

EDIT; and get it to work in signatures.

The variables are parsed on-the-fly, so there's really no way to view what another user is seeing. As for signatures, that's a little different, but I'll look into it.

tazB.ca
08 Aug 2006, 01:06
This is only for 3.6.0. I've not tested it with 3.5.4, nor did I develop it on 3.5.4.
However, you can try going to vBulletin Options and selecting Gag Threads & Posts in the dropdown. If it's not there, you should upgrade to 3.6.0 in order for this mod to work.

its not there :( damn could someone get this to work for 3.5.4 ??

Kaezul
08 Aug 2006, 01:33
The product has been updated and now works with signatures both in posts and on profiles.

.Tim
08 Aug 2006, 23:10
I just used this hack to post a thread saying I've gotten several PM's asking to ban {username} and I started a poll about it. This is going to be fun. :D

.Tim
08 Aug 2006, 23:12
Can you make it work in "Who's Online"?

paul41598
09 Aug 2006, 00:11
its not there :( damn could someone get this to work for 3.5.4 ??

Well, if Kaezul is willing, I can port this down to 3.5.4. I already have it working and a ready copy of an XML file.

xug
09 Aug 2006, 02:08
Don't get Referrals to work on my test forum.

Kaezul
09 Aug 2006, 05:32
Well, if Kaezul is willing, I can port this down to 3.5.4. I already have it working and a ready copy of an XML file.

Feel free to use it as you please. You may release a 3.5.4 version, just as long as you link to this hack page.

Can you make it work in "Who's Online"?
Yes, I can do that. I'll put it in the next update.

Don't get Referrals to work on my test forum.
I'm not sure I understand what you're saying here.. This addon doesn't touch referrals at all.

Kaezul
09 Aug 2006, 06:17
Updated the product to work with Who's Online and with Last Activity in a member's profile.

tazB.ca
10 Aug 2006, 06:43
Well, if Kaezul is willing, I can port this down to 3.5.4. I already have it working and a ready copy of an XML file.

:) where can i get this

doggy1
27 Aug 2006, 13:57
:) where can i get this
Yes, is this available for 3.54 yet?

Spookysalem
27 Aug 2006, 18:22
I would love this for the whos online part and also if you use the referrals phrase it does not show how many..

MThornback
05 Sep 2006, 03:54
Is it possible to make it use usergroup permissions? I'd like only my Mods, SuperMods and Admins to be able to use it. I just see too much potential to have it abused otherwise :)

Great Hack though!

I-Web
05 Sep 2006, 09:11
Been looking for something like this for a long time works a treat..


As regards permissions if you dont tell the members it is there they wont know how to use it unless of course they read this thread

Spookysalem
12 Sep 2006, 07:31
Can someone please explain how i get this to work for the whos online part. I have tried various ways but cannot get it to work.

Dave Alcock
22 Sep 2006, 21:11
Thanks for this - does what I wanted just great.

On the guest problem - perhaps an if condtional = loggedin would do the trick.

If not logged in, it could show Guest or ****.

Not much of a coder so wouldn't know how to add the code.

Adrian.
22 Sep 2006, 21:51
I'm not sure I understand what you're saying here.. This addon doesn't touch referrals at all.

He's right, they don't work.

When you say "This addon doesn't touch referrals at all.".

You should have a look at the screenshots/mod'. ;)
You've included Refferals just not made it function. :)

Adrian

forumbeat
23 Sep 2006, 20:56
Could you make this but in BBCode?

Hornstar
27 Sep 2006, 06:34
yeah if this was fully working with vbadvanced that would have been really awesome.

PoetJA-1975
08 Oct 2006, 08:54
HA! this would be great as a Halloween trick LOL - or April Fools -----> reserves INSTALL slot till it works for 3.5.4 - otherwise FABULOUS sharing !

Thanx

JAcquii.
------
hmmm - just thought about this one... I write a lot of News & Announcements articles and Private Messages to members - this would be a great asset to make those more personal...

**waiting anxiously for version that works with 3.5.4**

TIA

TehPetl
08 Oct 2006, 11:53
Is it possible to make it use usergroup permissions? I'd like only my Mods, SuperMods and Admins to be able to use it. I just see too much potential to have it abused otherwise :)

Great Hack though!

Yes I agree with this post.

Great hack but can you please set it so only certain usergroups can use it?

Thanks :)

aquariumpros
13 Oct 2006, 12:00
Installed and working great on our installation of 3.6.2!!

Anyone know what would need to be added to this XML file to have vBPortal parse the variable as well?

Thanks in advance!!

aquariumpros
15 Oct 2006, 13:59
Anyone know what would need to be added to this XML file to have vBPortal parse the variable as well?

Thanks in advance!!
Anyone??

Please?? :)

ktp101
25 Oct 2006, 16:24
installed, this is hilarious, already had users asking why i was 'picking' on them, seems it loses humour after having to explain it so much.

funniest hack i've seen in a while tho, :)

4x4 Mecca
25 Feb 2007, 18:33
Works great! Check out my forums post with it installed. Just imaging unregistered is your user name.
http://www.4x4mecca.com/forum/showthread.php?t=1144

ninjashoes
07 Mar 2007, 19:13
I use this every so often, its so damn funny

psxnet
07 Mar 2007, 20:20
Works great on my 6.4 but did it ever get released for 3.5 ?

Talisman
16 Mar 2007, 06:01
/me wonders who remembers Chen's old bbusername hack??
^^ That was so much fun!

Anyone using this will see it shows the {username} variable when you quote the message -- so there's no way to keep the code a secret.

If you want to see a better application, look here:
http://www.vbulletin.org/forum/showthread.php?p=221202#post221202

I've always loved that one!

Cheers all!

unforsaken
20 Mar 2007, 05:14
has anyone been able to get this to successfully work in vbadvanced cmps

CrashfAB
21 Mar 2007, 20:56
It works fine in 3.6.4

But I have to agree--this isn't something normal users should not be able to use....

pete_brady
01 Apr 2007, 16:28
having so much fun with this today... everyone thinks they're banned

9clics
23 Sep 2007, 09:13
Hi all, is there a way to block this hack for normal users?
In fact, I only want special users to be able to use this hack into signatures...

webmaster74
13 Oct 2007, 01:11
thank you.

this mod does deserve to be cared for.

ams3521
29 Oct 2007, 05:55
I lost a couple of mods and a few lurkers through it but it was well worth it. Thanks for the laugh. I cant see me getting away with that again but the {username} field will still be handy

art99
22 Dec 2007, 08:15
I used it only in the moderators' forum. 99% of them freaked out, and the rest thought we have been hacked!!! It went on for a few hours. Finally, one of the admins that was familiar with the hack, blew the wistle! Anyway, I didn't show face in the forums for a few days, lol.

fta2k
10 Nov 2009, 17:50
Mod still works in 3.8.4

Zylantex
11 Jun 2010, 10:44
Great fun. I just used it to announce a "Poster of the Month". Chaos should ensue shortly.
I'm in a great position running a humour forum, if it all goes hilariously wrong it's a win. :D

Zylantex
17 Mar 2011, 14:12
Is there any way to get this to work in a thread title?
Such as "Welcome {username} to the forum".

nofxpunkerbrian
30 Mar 2011, 08:47
I recieve this error when searching for new posts using this addition:

Warning: Invalid argument supplied for foreach() in [path]/packages/vbforum/search/result/thread.php(193) : eval()'d code on line 1