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

Quote:
Originally Posted by paul41598
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.

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

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

Updated the product to work with Who's Online and with Last Activity in a member's profile.
Reply With Quote
  #14  
Old 08-10-2006, 05:43 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 paul41598
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
Reply With Quote
  #15  
Old 08-27-2006, 12:57 PM
doggy1 doggy1 is offline
 
Join Date: Aug 2005
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tazB.ca
where can i get this
Yes, is this available for 3.54 yet?
Reply With Quote
  #16  
Old 08-27-2006, 05:22 PM
Spookysalem Spookysalem is offline
 
Join Date: Oct 2004
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would love this for the whos online part and also if you use the referrals phrase it does not show how many..
Reply With Quote
  #17  
Old 09-05-2006, 02:54 AM
MThornback MThornback is offline
 
Join Date: Apr 2005
Location: Canada
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #18  
Old 09-05-2006, 08:11 AM
I-Web's Avatar
I-Web I-Web is offline
 
Join Date: Mar 2004
Location: localhost
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #19  
Old 09-12-2006, 06:31 AM
Spookysalem Spookysalem is offline
 
Join Date: Oct 2004
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #20  
Old 09-22-2006, 08:11 PM
Dave Alcock Dave Alcock is offline
 
Join Date: Aug 2006
Location: Durban, South Africa
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #21  
Old 09-22-2006, 08:51 PM
Adrian.'s Avatar
Adrian. Adrian. is offline
 
Join Date: Oct 2005
Location: South Yorkshire
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kaezul
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
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 06:30 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.05191 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
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
  • (6)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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