vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - Personalized/Gag Threads, Posts, and Signatures (Beta 1) (https://vborg.vbsupport.ru/showthread.php?t=123337)

Kaezul 08-06-2006 10:00 PM

Personalized/Gag Threads, Posts, and Signatures (Beta 1)
 
Personalized/Gag Threads, Posts, and Signatures
As requested in this thread

Demo here (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://vborg.vbsupport.ru/

https://vborg.vbsupport.ru/


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-07-2006 11:08 PM

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-07-2006 11:29 PM

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-08-2006 12:02 AM

Quote:

Originally Posted by tazB.ca
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.

Quote:

Originally Posted by Craigex
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-08-2006 12:06 AM

Quote:

Originally Posted by Kaezul
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-08-2006 12:33 AM

The product has been updated and now works with signatures both in posts and on profiles.

.Tim 08-08-2006 10:10 PM

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-08-2006 10:12 PM

Can you make it work in "Who's Online"?

paul41598 08-08-2006 11:11 PM

Quote:

Originally Posted by tazB.ca
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 08-09-2006 01:08 AM

Don't get Referrals to work on my test forum.


All times are GMT. The time now is 07:51 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
  • Page Generation 0.01167 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)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
  • (10)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