Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Personalized/Gag Threads, Posts, and Signatures (Beta 1) Details »»
Personalized/Gag Threads, Posts, and Signatures (Beta 1)
Version: 1.0.4, by Kaezul Kaezul is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.0 Rating:
Released: 08-06-2006 Last Update: 08-08-2006 Installs: 64
Uses Plugins
Is in Beta Stage  
No support by the author.

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.






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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 08-07-2006, 11:08 PM
tazB.ca's Avatar
tazB.ca tazB.ca is offline
 
Join Date: Sep 2005
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 08-07-2006, 11:29 PM
Craigex Craigex is offline
 
Join Date: Dec 2005
Location: Middlesbrough
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 08-08-2006, 12:02 AM
Kaezul Kaezul is offline
 
Join Date: Mar 2005
Location: USA
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 08-08-2006, 12:06 AM
tazB.ca's Avatar
tazB.ca tazB.ca is offline
 
Join Date: Sep 2005
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ??
Reply With Quote
  #6  
Old 08-08-2006, 12:33 AM
Kaezul Kaezul is offline
 
Join Date: Mar 2005
Location: USA
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The product has been updated and now works with signatures both in posts and on profiles.
Reply With Quote
  #7  
Old 08-08-2006, 10:10 PM
.Tim's Avatar
.Tim .Tim is offline
 
Join Date: Jan 2005
Location: Oklahoma City
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 08-08-2006, 10:12 PM
.Tim's Avatar
.Tim .Tim is offline
 
Join Date: Jan 2005
Location: Oklahoma City
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you make it work in "Who's Online"?
Reply With Quote
  #9  
Old 08-08-2006, 11:11 PM
paul41598's Avatar
paul41598 paul41598 is offline
 
Join Date: Jun 2004
Location: MI
Posts: 732
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 08-09-2006, 01:08 AM
xug xug is offline
 
Join Date: Oct 2001
Location: The Grand Strand, SC
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:11 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04806 seconds
  • Memory Usage 2,297KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete