Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[you] Replacement Details »»
[you] Replacement
Version: 1.0.1, by Boofo Boofo is offline
Developer Last Online: Jun 2012 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.x Rating:
Released: 01-29-2008 Last Update: 01-29-2008 Installs: 137
Uses Plugins
 
No support by the author.

Here it is! The [you] hack ported over to vB 3.7 beta 4.

I have ported this over to vBulletin 3.7 beta 4, but it should work on all 3.7 versions. It now works board-wide (posts and thread titles), in the archive, and also in the quick post in the profile. If there are any areas you find that this doesn't work in, let me know and I will add the code for that area.

Thanks goes out to KirbyDE for making the first version for 3.5 possible. Without him, I'd STILL be trying to figure out the best way to do this for vB 3.5. Thanks, buddy!

Description:
This will replace the [you] variable (board-wide) with the viewing user's username.

Installation:
1 product xml
(No file edits)

Upload the product xml and you're all set!

Enjoy!

NOTE: If you do not click install, you do not need support.

Show Your Support

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

Comments
  #52  
Old 02-05-2008, 05:52 PM
Caddyman Caddyman is offline
 
Join Date: Mar 2006
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
That is because they have edited their post and not replaced their name with [you].
Dually noted

and very cool it works with the username....lmao
Reply With Quote
  #53  
Old 02-05-2008, 06:00 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have been working on this and have added the ability to change the word to use from the Admin CP, in case this hack gets overused. I am still in search of the e-mail notification fix and will post the update when I have that figured out.
Reply With Quote
  #54  
Old 02-05-2008, 07:36 PM
Jimandbob Jimandbob is offline
 
Join Date: Apr 2006
Location: Hull
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
I suppose I could add a setting for usergroups. But what I did is replace the word you with my own special word that only I know. I might do a setting for that, now that you mention it, so you can chose which word you want it to be. That would make this a lot more configurable. Watch for an update soon.
The usergroup setting would be a great addition please.

Once our members work out how to use it there will be even more mayhem on our forums than there already is

Thanks again Boofo:up:
Reply With Quote
  #55  
Old 02-05-2008, 08:17 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The usergroup or forum ID settings wouldn't really work on this, I have come to see. As anyone can use this, those settings would only make for a lot of empty replacement variables throughout the site. You can't stop anyone from actually typing the code in a post. All you can do is stop certain forums or usergroups from seeing the parsed variable, hence the code will show. What I do is use it only for staff and use a word that only I and the staff know. It saves for a lot of headaches and empty code tags throughout the site. I have added the option to change the word form the Admin CP settings in case someone decides to get annoying with this. Although I haven't found the way to stop the code from showing in the notification e-mails yet. I am working on that in between my site crashes.

You will find that this is a lot of fun to play with in the beginning but can get overused and really annoying if you let the wrong people use it.
Reply With Quote
  #56  
Old 02-05-2008, 09:37 PM
Caddyman Caddyman is offline
 
Join Date: Mar 2006
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^^ what he said....lol

thats good i can change the word!!
Reply With Quote
  #57  
Old 02-05-2008, 09:46 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Caddyman View Post
^^ what he said....lol

thats good i can change the word!!
It will be once I get the e-mail notification figured out and update the first post.
Reply With Quote
  #58  
Old 02-06-2008, 12:01 AM
valdet's Avatar
valdet valdet is offline
 
Join Date: Feb 2007
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Caddyman View Post
^^ what he said....lol

thats good i can change the word!!
You can change the word now as well.

Just go to plugins and change the [you] in three of this hacks plugins.
Reply With Quote
  #59  
Old 02-06-2008, 01:34 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure, but it's not as convenient as a setting.
Reply With Quote
  #60  
Old 02-09-2008, 11:44 PM
vietdjclub vietdjclub is offline
 
Join Date: Oct 2007
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you want show username with legend color then just

find Product : You Replacement

then open and replace userinfo['username'] with userinfo['musername']
Reply With Quote
  #61  
Old 03-04-2008, 12:58 AM
valdet's Avatar
valdet valdet is offline
 
Join Date: Feb 2007
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any updates on the upgrade Boofo. those forumid settings would be a good addition
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 04:42 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.06150 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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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