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)

Boofo 01-31-2008 09:02 AM

Quote:

Originally Posted by bazzup (Post 1432663)
I just linked someone to a thread using it and he says it shows my username not his?

You must have edited the post and saved it with your username in it. Redo it with the tag and that should fix your problem. ;)

Audentio 01-31-2008 09:17 AM

Thattts nice :D. What about just userid? If you have it so whoevers userid is viewable, this can be used to show peoples avatars, information, anything wherever asked for.

pxd 01-31-2008 11:55 PM

Boofo,

How does [you] translate to guests?

Brandon Sheley 02-01-2008 12:20 AM

Quote:

Originally Posted by pxd (Post 1433532)
Boofo,

How does [you] translate to guests?

Unregistered

valdet 02-01-2008 01:55 AM

great mod, thanks, installed and working as expected.

The only little bug is that if you edit your post via quick edit, you will see [you] again after saving instead of username. If you refresh the page your username will come back

Tested on vB 3.6.8
Val.

Boofo 02-01-2008 02:10 AM

This is normal as that is how ajax works. But anyone viewing the post will never see the [you]. Trust me, I got that all worked out. ;)

That would only be a bug if ajax was a bug. ;)

BatMNet 02-01-2008 02:58 AM

Thanks for this. It's great and adds a very personalised feel.

Boofo 02-01-2008 03:18 AM

Plus, its a blast to use on April 1st. ;)

And you're very welcome. ;)

valdet 02-02-2008 03:03 AM

in one of my forums i made a thread like
[you], where are you?
and members are posting/reporting like crazy.. :D

In which hook should we add the code so it parses correctly on Chatbox too

Hillarious

bazzup 02-02-2008 10:29 AM

Quote:

Originally Posted by Boofo (Post 1433022)
You must have edited the post and saved it with your username in it. Redo it with the tag and that should fix your problem. ;)

Ahh cheers, this is fun my april fool will go something like this


Quote:

We have been having a lot of complaints lately about a certain member causing trouble for a lot of others I am affraid that this member will have to be removed from our boards and the member in question is [you]
lol prob get myself shot but it will be funny


All times are GMT. The time now is 07:53 AM.

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.01112 seconds
  • Memory Usage 1,734KB
  • 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