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

ryancooper 03-20-2004 12:13 PM

Quote:

Originally Posted by Boofo
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). ;)


Will that work? When a person hits the reply button won't they see the code you specified?

Beermonster 03-20-2004 12:18 PM

Quote:

Originally Posted by ryancooper
Will that work? When a person hits the reply button won't they see the code you specified?

In the last one I had installed, no it didn't show up :D

Boofo 03-20-2004 03:06 PM

Quote:

Originally Posted by ryancooper
Will that work? When a person hits the reply button won't they see the code you specified?

Beermonster's right. When they hit the reply button, the code is already parsed. They will see their name and not the code itself.

ShutDown23 03-20-2004 05:35 PM

I am going to install - great hack. I used this on my old forum that was none vbulletin and had the same problem as alkatraz, but I will do what Boofo suggested. THANKS! :nervous:

Boofo 03-20-2004 06:07 PM

Quote:

Originally Posted by gmarik
original one!

I have to ask ... do you ever hit the install button on any hacks you install? ;)

SaN-DeeP 03-20-2004 06:11 PM

Boofo you finally did it :)
GReat work m8 :)

Pleaes put some nice screenies of it too :)
As a reference to people, who mite not understand this nice hack ;)

Sandy...

Boofo 03-20-2004 06:14 PM

Quote:

Originally Posted by SaN-DeeP
Boofo you finally did it :)
GReat work m8 :)

Pleaes put some nice screenies of it too :)
As a reference to people, who mite not understand this nice hack ;)

Sandy...

Thank you, Sandy. ;)

Don't forget to click the install button, my friend. ;)

As far as a screenshot goes, that's kind of hard to do since it would only show my name, anyway. Any idea how to do it to show what you mean? ;)

ryancooper 03-20-2004 11:15 PM

Quote:

Originally Posted by Boofo
Beermonster's right. When they hit the reply button, the code is already parsed. They will see their name and not the code itself.


That's awesome!! Thanks for a great hack! Will be installing this ASAP!

Ryan :nervous:

Boofo 03-21-2004 01:39 AM

Quote:

Originally Posted by ryancooper
That's awesome!! Thanks for a great hack! Will be installing this ASAP!

Ryan :nervous:

No problem. Don't forget the install button. ;)

SaN-DeeP 03-21-2004 06:40 AM

Quote:

Originally Posted by Boofo
Thank you, Sandy. ;)

Don't forget to click the install button, my friend. ;)

As far as a screenshot goes, that's kind of hard to do since it would only show my name, anyway. Any idea how to do it to show what you mean? ;)

just show users, how this awesome thing would work.
show them 2 images. first [you] code on normal forums.
and [you] code after installting ur hack.

tell them whenever someone else views you code. readers will see there name in it instead of the you code..
possibly including a big image. which has cut-outs of everything included.

i havent yet done the upgrade. else i would have done that small thing for ya bro...

Best of Luck again for this nice hack :)

Best Regards,
Sandy...

Osmosis 03-21-2004 09:00 AM

This version seems infinitely more complex than the original.

clicks install

Boofo 03-21-2004 09:13 AM

Not really, as the version that was released for vB2 had a lot more that needed to go with it to accomplish what this version does. This version covers everything, whereas the vB2 version only covered the message area. ;)

TheComputerGuy 03-21-2004 11:49 AM

Sweet stuff! April's Fools Joke here I come!

You rock man...and I clicked the install button~

SmasherMaster 03-21-2004 11:51 PM

AWESOME. Wonderful hack! :D

[high]* SmasherMaster hits install[/high]

Leah 03-22-2004 04:40 PM

Does anyone know how to make this work with multiquote installed also?

Boofo 03-22-2004 06:23 PM

If you list the piece of code that needs to be changed here, I'm sure we can help you get it sorted out. ;)

Leah 03-22-2004 07:29 PM

I'm not really sure what part that needs to be changed.
There are two files that's been changed; showthread.php and newreply.php
2 templates have been changed and one have been added.

In here's the instructionfile.
https://vborg.vbsupport.ru/attachmen...chmentid=15536

Boofo 03-22-2004 07:39 PM

Have you even tried to install the [you] hack yet? Go ahead and in stall it and if you run into any problems, then post them here. That hack should not interfere with this hack in any way. ;)

Leah 03-22-2004 07:48 PM

Quote:

Originally Posted by Boofo
Have you even tried to install the [you] hack yet? Go ahead and in stall it and if you run into any problems, then post them here. That hack should not interfere with this hack in any way. ;)

I posted about this beause I ran into problems. ;)

Boofo 03-22-2004 07:49 PM

Then you need to post the code that is giving you problems here so we can sort it out. ;) That hack doesn't even touch the same code as this hack as far as I can tell.

moley 03-24-2004 02:05 PM

very nice hack I had it on my old vb2.

Boofo 03-24-2004 06:41 PM

I had it on vB2. also, but it is alot easier on vB3. On vB2, I had to catch every place it could possibly turn up and replace the code there instead of catching it all in one or two places with vB3. ;)

8472 03-25-2004 10:55 AM

/me was wondering if anyone would be able to provide a htl version of this hack as it helps to keep track of your hacks so much. thanks a lot in advance

8472

Boofo 03-25-2004 11:01 AM

Sorry, I don't use the HTL hack. Don't really like it. ;)

8472 03-25-2004 11:02 AM

ok thanks a lot for the fast reply though =)

Boofo 03-25-2004 11:06 AM

No problem. Besides, since this hack really isn't that big, I saw no need for anyone to convert it to HTL. ;)

Jadelit 03-26-2004 08:05 AM

Nice.. Installed

Boofo 03-26-2004 08:08 AM

You need to reapply the code. The only way this could happen is if you copy and pasted the code wrong. ;)

Jadelit 03-26-2004 08:11 AM

Yeah, I just did that... Works like a charm.

:)

Boofo 03-26-2004 08:27 AM

Ahhh, you changed your message on me. That's ok, as long as you got it working. ;)


All times are GMT. The time now is 04:48 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.01213 seconds
  • Memory Usage 1,816KB
  • 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
  • (11)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
  • (40)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