vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB3 [you] Code Hack (https://vborg.vbsupport.ru/showthread.php?t=62682)

Boofo 03-19-2004 10:00 PM

vB3 [you] Code Hack
 
vB3 [you] Code Hack
Version 1.1
(By Boofo)

What does this hack do?
This hack will take the [you] code and replace it with the user's name who is veiwing the thread, forum or archive on your site.

Credits:
A big thanks goes out to Mutt for his original idea and version of this hack for vB2. I would also like to thank NTLDR for his invaluable help with the main core of this code.

Version Information:
Version 1.0 --Initial release
Version 1.1 --Fixed bug where the archive/global.php code would not parse until $bbuserinfo was added to the global statement.

Installation overview:
Files to edit: (4)
--includes/functions.php
--includes/functions_newpost.php
--archive/index.php
--archive/global.php

NOTE: Support will only be provided to those who click the install button. ;)

mmw 03-20-2004 01:40 AM

heh nice timing and a nice hack ;) Cheers

idwf 03-20-2004 01:55 AM

very nice idea! will use this.

Giveit2u43 03-20-2004 02:21 AM

Nice hack, thanks a lot.. will come in very handy for sections of my forums.

alkatraz 03-20-2004 02:33 AM

I just want to put a little FYI out there for people who have never used this hack on your board.

I had it installed and it was all fun and games until my "naughty" users figured out how to use it and before I knew it there was "I heard [you] sucks" type threads all over the place and in peoples sigs. Some of my "computer dumb" users couldn't figure out that it was a code, even after explaining it to them, and got REALLY pissed off at the members and me (the webmaster) for messages they thought were directed at them.

It can be a fun hack and does a fantastic job of getting peoples attention, but if your userbase isn't computer savvy I would pass this one up.

Any chance this hack could be made to work for admin/mods only?

Boofo 03-20-2004 03:29 AM

Quote:

Originally Posted by alkatraz
I just want to put a little FYI out there for people who have never used this hack on your board.

I had it installed and it was all fun and games until my "naughty" users figured out how to use it and before I knew it there was "I heard [you] sucks" type threads all over the place and in peoples sigs. Some of my "computer dumb" users couldn't figure out that it was a code, even after explaining it to them, and got REALLY pissed off at the members and me (the webmaster) for messages they thought were directed at them.

It can be a fun hack and does a fantastic job of getting peoples attention, but if your userbase isn't computer savvy I would pass this one up.


Any chance this hack could be made to work for admin/mods only?

Just do what I did on my site. Change YOU to something only you and the staff knows (like worship or dogbone or whatever you choose). ;)

Boofo 03-20-2004 03:31 AM

Quote:

Originally Posted by mmw
heh nice timing and a nice hack ;) Cheers

Then please click the install button. ;)

gmarik 03-20-2004 04:50 AM

original one!

w596 03-20-2004 05:49 AM

Nice! Thanks Boofo ;)

Beermonster 03-20-2004 12:04 PM

Got to be my favourite hack :D

thanks


All times are GMT. The time now is 01:38 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.01167 seconds
  • Memory Usage 1,731KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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