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 Mod (https://vborg.vbsupport.ru/showthread.php?t=93500)

Boofo 08-02-2005 10:00 PM

[you] Replacement Mod
 
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!

Neal-UK 08-03-2005 02:11 AM

Will it work on the shoutbox?

Neal-UK 08-03-2005 02:16 AM

doesnt seem to be working

Boofo 08-03-2005 02:23 AM

Quote:

Originally Posted by nealparry
Will it work on the shoutbox?

No, Zero would have to incorporate that like he did the /me code. I will talk to him about it. ;)

Boofo 08-03-2005 02:24 AM

Quote:

Originally Posted by nealparry
doesnt seem to be working

That's a little vague. What do you mean by "not working"?

Neal-UK 08-03-2005 02:25 AM

Quote:

Originally Posted by Boofo
No, Zero would have to incorporate that like he did the /me code. I will talk to him about it. ;)

for some reason I can't get the /me command to work in the shoutbox, nor can i get the [you] to work anywhere. Mind you, just messed up my language and waiting for vb to help me!

Boofo 08-03-2005 02:31 AM

Quote:

Originally Posted by nealparry
for some reason I can't get the /me command to work in the shoutbox, nor can i get the [you] to work anywhere. Mind you, just messed up my language and waiting for vb to help me!

Then you are having problems with something else somewhere. This works 100% for me and has been tested.

Did you upload the xml as a plug-in? And are you using [you] or you?

Neal-UK 08-03-2005 02:35 AM

Quote:

Originally Posted by Boofo
Then you are having problems with something else somewhere. This works 100% for me and has been tested.

Did you upload the xml as a plug-in? And are you using [you] or you?

no [you]

I just rebuilt my english language and it worked, but it's not working again now. Sometimes shows, othertimes it doesn't

Neal-UK 08-03-2005 02:36 AM

It doesn't show when submitted with click reply, press refresh and it's working. Sorry about that.

Boofo 08-03-2005 02:37 AM

Quote:

Originally Posted by nealparry
no [you]

I just rebuilt my english language and it worked, but it's not working again now. Sometimes shows, othertimes it doesn't

Then you have some problem somewhere else. With the hook where it's at, there's no reason it shouldn't work for you.


All times are GMT. The time now is 02:40 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.01577 seconds
  • Memory Usage 1,735KB
  • 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
  • (6)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