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)

HBC 12-07-2005 08:26 PM

can this be changed to show a userid#?

fyjpm 12-14-2005 10:47 AM

when you use [you] within a link or a selflink it escapes the brackets and breaks...can this behaviour be altered?

Thanks,

John

fyjpm 12-14-2005 10:50 AM

Quote:

Originally Posted by fyjpm
when you use [you] within a link or a selflink it escapes the brackets and breaks...can this behaviour be altered?

Thanks,

John

I just changed the code to -you- for my purposes to avoid the escaping and it works now....not sure if you want to amend this or make a note somewhere....

fyjpm 12-14-2005 10:53 AM

I noticed when you edit it makes the changes for you in the edit box, and if you don't remember to put it back to [you] (or -you- in my case) it hard codes the editors username in the post...can you think of a way around this?

Thanks,

John

Hellcat 12-14-2005 11:58 AM

*lol*
Nice one! Installed and tried -> working fine.

I guess I can confuse my members a bit with this :D

ChErAbOo 01-17-2006 01:28 AM

Thanks for this I just converted from BB to VB and was missing this feature

*clicks Install

innersanctum 01-18-2006 12:52 PM

I was wondering if there is are any by-products to this code.

For example:
HTML Code:

Code                      Result
[you]                      username
[insert code here]        ip address
[insert code here]        sex
[insert code here]        avatar
[insert code here]        title
[insert code here]        userid
[insert code here]        email address


DannyMilner 01-21-2006 06:21 PM

Nice work, shame you have to do a file edit but away.

*installed*

Boofo 01-21-2006 06:27 PM

Quote:

Originally Posted by DannyMilner
Nice work, shame you have to do a file edit but away.

*installed*

I will upload the fix for that as soon as I can find it. No more file edits. ;)

Luggruff 02-11-2006 02:02 PM

how would I change [you] to Luggruff, and $vbulletin->userinfo['username'] to <span style="text-decoration: none; font-weight: bolder; color: #D10404;">Luggruff</span> ?

(just want the word Luggruff to turn up RED everywhere without any code showing, since if I would do this in the replacement variable thingie it would look like <span style="text-decoration: none; font-weight: bolder; color: #D10404;">Luggruff</span> in every title and other places that don't suppport HTML or CSS)


All times are GMT. The time now is 10:11 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.01168 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
  • (1)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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