Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

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

Version: 3.0.0 Rating:
Released: 03-19-2004 Last Update: Never Installs: 59
 
No support by the author.

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.

Show Your Support

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

Comments
  #52  
Old 04-10-2004, 01:33 AM
Toneboy's Avatar
Toneboy Toneboy is offline
 
Join Date: Oct 2003
Location: Scotland
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just taken a look at the code for this. Looks a lot more comprehensive than the vB2 version. Nice work.

Will install when my eyes aren't totally bloodshot.
Reply With Quote
  #53  
Old 04-10-2004, 10:22 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's the best time to install. If you mess up, you don't really care then. LOL

Don't forget the install button when you install it.
Reply With Quote
  #54  
Old 04-10-2004, 08:19 PM
Toneboy's Avatar
Toneboy Toneboy is offline
 
Join Date: Oct 2003
Location: Scotland
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed with fresh eyes.

Clicked install - tested, and all working great. Thanks.
Reply With Quote
  #55  
Old 04-17-2004, 01:29 PM
miz miz is offline
 
Join Date: Mar 2003
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice job mate
i will try this 1 out :P
Reply With Quote
  #56  
Old 04-17-2004, 01:32 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 miz
nice job mate
i will try this 1 out :P
Don't forget the install button, my friend.

EDIT: You beat me to it. LOL
Reply With Quote
  #57  
Old 04-18-2004, 11:40 AM
BarBeQue's Avatar
BarBeQue BarBeQue is offline
 
Join Date: Nov 2001
Location: The Netherlands
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
Don't forget the install button, my friend.
I see you saying that on several places...
How do you see who installed what hack?
Or is it something only the orig hack poster can see?
Reply With Quote
  #58  
Old 04-18-2004, 09:28 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 BarBeQue
I see you saying that on several places...
How do you see who installed what hack?
Or is it something only the orig hack poster can see?
If I tell you how I know, then I have to kill you!

Actually, the original hack author can see it only in his hack threads, but Mods here can see it everywhere.

I use it to gauge whether or not updates and additions to my hacks are warranted. If there are very few installs, usually it isn't worth the effort to add or update the hack with new features. It there are many installs, then it it worth the time and effort involved to update or add new features since the hack is being used by so many people.

It's also a nice way to thank someone who has taken the time to supply a hack and support it.
Reply With Quote
  #59  
Old 04-22-2004, 11:10 PM
Mr. HillBilly Mr. HillBilly is offline
 
Join Date: Oct 2003
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack boofo, will click install I get it on my board.

Just to let you know,

Code in archive/index.php has changed in 3.0.1

In your .txt file you have,
PHP Code:
echo "\t<li><a href=\"t-$thread[threadid]\" d=\"$thread[lastpost]\">$thread[title]</a></li>\n"
Should be
PHP Code:
echo "\t<li><a href=\"t-$thread[threadid].html\" d=\"$thread[lastpost]\">$thread[title]</a></li>\n"
Also, code in archive/global.php has changed
Your .txt file has,
PHP Code:
echo "$indent<li><a href=\"f-$forumid\">$forum[title]</a></li>\n"
should be:
PHP Code:
echo "$indent<li><a href=\"f-$forumid.html\">$forum[title]</a></li>\n"
Also in the .txt file, you have,
PHP Code:
echo "$indent<li>$forum[title]</li>\n"
should be
PHP Code:
echo "$indent<li><strong>$forum[title]</strong></li>\n"
and you have,
PHP Code:
$navarray[] = "<a href=\"f-$forumid\">" $forumcache["$forumid"]['title'] . "</a>"
should be
PHP Code:
$navarray[] = "<a href=\"f-$forumid.html\">" $forumcache["$forumid"]['title'] . "</a>"
Reply With Quote
  #60  
Old 04-30-2004, 10:47 AM
gwon gwon is offline
 
Join Date: Mar 2004
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Advanced warning for people who install this: Remember to add [you] to the restricted username list...a user on my board registered [you] and lots of members got very confused very quickly

*clicks install*
Reply With Quote
  #61  
Old 08-15-2004, 08:48 AM
Sanity Sanity is offline
 
Join Date: Mar 2002
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Run into problems with "functions_newpost.php" - [you]-code wont parse in message body. Iam running vB 3.02.

Great hack anyway.
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 12:45 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07512 seconds
  • Memory Usage 2,324KB
  • 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
  • (8)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)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