vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Personalized/Gag Threads, Posts, and Signatures (Beta 1) (https://vborg.vbsupport.ru/showthread.php?t=124397)

paul41598 08-18-2006 10:00 PM

Personalized/Gag Threads, Posts, and Signatures (Beta 1)
 
Hack By Kaezul - ALL CREDITS GOTO HIM.
Original Thread here (3.6 version)

I merely just ported a 3.5.4 version with permission


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.


http://jarin.herorpg.net/gag/gag_shot1.jpg

http://jarin.herorpg.net/gag/gag_shot2.jpg



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.

Gizmo5h1t3 08-19-2006 03:12 PM

working fine, clicked install

rmxs 08-19-2006 09:06 PM

Ohhh Very good :) installed

fly 08-21-2006 06:28 PM

This was a trainwreck last time I installed something similar. Must mean I should do it again...

doggy1 08-27-2006 01:46 PM

Hello! I see this gag thread is available in 3.54. Thank you so much for doing this!

Do you know if there is a product that will allow it work in vbadvanced? It is leaving the code in there. I believe there was mention of an update for this.

Also, I noticed when you quote someone that has used the code, the code will show up in the quote. Is there a way to replace the code with the actual membername?

Thanks.

PinkDaisy 09-25-2006 07:38 PM

Installed.. Thanks :)


All times are GMT. The time now is 02:43 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.01212 seconds
  • Memory Usage 1,720KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete