vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - [you] Replacement (https://vborg.vbsupport.ru/showthread.php?t=169166)

Caddyman 02-05-2008 05:52 PM

Quote:

Originally Posted by Boofo (Post 1436877)
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

Boofo 02-05-2008 06:00 PM

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. ;)

Jimandbob 02-05-2008 07:36 PM

Quote:

Originally Posted by Boofo (Post 1435082)
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 :p

Thanks again Boofo:up:

Boofo 02-05-2008 08:17 PM

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.

Caddyman 02-05-2008 09:37 PM

^^ what he said....lol

thats good i can change the word!!

Boofo 02-05-2008 09:46 PM

Quote:

Originally Posted by Caddyman (Post 1437026)
^^ 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. ;)

valdet 02-06-2008 12:01 AM

Quote:

Originally Posted by Caddyman (Post 1437026)
^^ 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.

Boofo 02-06-2008 01:34 AM

Sure, but it's not as convenient as a setting.

vietdjclub 02-09-2008 11:44 PM

if you want show username with legend color then just

find Product : You Replacement

then open and replace userinfo['username'] with userinfo['musername']

valdet 03-04-2008 12:58 AM

any updates on the upgrade Boofo. those forumid settings would be a good addition


All times are GMT. The time now is 03:25 PM.

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.01061 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
  • (4)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