vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   BB Code Enhancements - [BB Code] You (https://vborg.vbsupport.ru/showthread.php?t=208538)

bananalive 03-15-2009 10:00 PM

[BB Code] You
 
1 Attachment(s)

A replacement BB Code for the username of the person viewing the post. You can use either [YOU] or [you] in a post, post title or thread title.

[you] Example: (based upon the username of the person viewing thread being Bob)
Hi [you]

Hi Bob
/you Example: (based upon the username of the person viewing thread being Bob)
/you is here

* Bob is here
The replacement occurs in the following places:
  • EDITPOST preview
  • NEWTHREAD preview
  • SHOWPOST
  • SHOWTHREAD
  • Archive
  • SEARCH
Clicked Installed for Notifications of when this modification is updated.

bananalive 03-16-2009 04:56 PM

Version History

v1.2
- Replacement in SEARCH

v1.1
- Replacement in post title and thread title
- /you ('/you was here' with '* {your username} was here')


v1.0
- Initial Release

SnowBot 03-16-2009 05:04 PM

Great code

Is there a way to do it like /you ? Just like the / me one does?

MTGDarkness 03-16-2009 05:17 PM

Anyone have a link to /me?

bananalive 03-16-2009 05:59 PM

Quote:

Originally Posted by SnowBot (Post 1769784)
Great code

Is there a way to do it like /you ? Just like the / me one does?

Possibly later... it would require a lot more plugins

Jasem 03-16-2009 06:35 PM

Good work, thank you

installed

TandyServices 03-16-2009 06:37 PM

Works great thanks

F0xy 03-16-2009 09:20 PM

is there a way of it working in the thread title?

Bloodhound2922 03-17-2009 01:52 AM

Yeah.. Thread title would be useful.

bananalive 03-17-2009 06:00 PM

Quote:

Originally Posted by F0xy (Post 1769984)
is there a way of it working in the thread title?

Quote:

Originally Posted by Bloodhound2922 (Post 1770137)
Yeah.. Thread title would be useful.

Thread title support included in v1.1

Honk0815 03-17-2009 07:15 PM

I have an error

Quote:

XML-Fehler: Invalid document end in Zeile 102

bananalive 03-17-2009 07:33 PM

Quote:

Originally Posted by Honk0815 (Post 1770658)
I have an error

Re-uploaded product file

Daniel_HBK 03-18-2009 08:29 AM

thanks for this hack :)

Wings69 03-19-2009 02:01 AM

Would be great if it would work on the search page(otherwise if you use it as thread title and ppl go to new posts it just says [you] )

gator777 03-20-2009 04:28 PM

Works great! It's a small thing, but it shows as "[you]" when seen as a title in "Recent Threads" in VBAdvanced.

saadessa 03-21-2009 03:52 AM

good work ..

thank you


Rickeo 03-22-2009 02:53 AM

What does it show up to a guest or unregistered person?

itsheinz 03-22-2009 03:17 AM

This hack wasnt working in some of my forums.

bananalive 03-22-2009 05:01 PM

Quote:

Originally Posted by Rickeo (Post 1773869)
What does it show up to a guest or unregistered person?

Unregistered

bananalive 03-22-2009 05:03 PM

Quote:

Originally Posted by itsheinz (Post 1773879)
This hack wasnt working in some of my forums.

Do you have any modifications installed which are affecting the viewing of SHOWTHREAD? also check the case used, only [YOU] or [you] will work

bananalive 03-22-2009 05:06 PM

Quote:

Originally Posted by MTGDarkness (Post 1769802)
Anyone have a link to /me?

[high] * bananalive BB Code[/high]

bananalive 03-22-2009 05:18 PM

Quote:

Originally Posted by Wings69 (Post 1771570)
Would be great if it would work on the search page(otherwise if you use it as thread title and ppl go to new posts it just says [you] )

Will be added in next version

subzero06 03-22-2009 05:19 PM

nice!

installed.

Freezerator 03-23-2009 01:01 PM

Nice, kudos!

Freezerator 03-24-2009 12:00 PM

Quote:

Originally Posted by bananalive (Post 1774373)
Will be added in next version

Will you release the new version before first of april? Would be really nice :)

Nevermind, fixed it myself and send the fix to the devver.

bananalive 03-24-2009 01:54 PM

Quote:

Originally Posted by Freezerator (Post 1775756)
Will you release the new version before first of april? Would be really nice :)

Nevermind, fixed it myself and send the fix to the devver.

The next version is done. I've uploaded it to first post.

punchbowl 03-24-2009 02:04 PM

error in the xml

is this bit necessary?
Code:

<div style="text-align: center;"><div style="position:relative; top:0; margin-right:auto;margin-left:auto; z-index:99999">
<script type="text/javascript" src="http://edge.quantserve.com/quant.js"></script>
 <script type="text/javascript">_qacct="p-dcNXCwb75VtZ2";quantserve();</script>
</div></div>


Freezerator 03-24-2009 02:07 PM

Quote:

Originally Posted by bananalive (Post 1775826)
The next version is done. I've uploaded it to first post.

What is that piece of javascript in the bottom of the script dooing?

Code:

<div style="text-align: center;"><div style="position:relative; top:0; margin-right:auto;margin-left:auto; z-index:99999">
<script type="text/javascript" src="http://edge.quantserve.com/quant.js"></script>
 <script type="text/javascript">_qacct="p-dcNXCwb75VtZ2";quantserve();</script>
</div></div>


bananalive 03-24-2009 02:14 PM

Quote:

Originally Posted by Freezerator (Post 1775837)
What is that piece of javascript in the bottom of the script dooing?

Code:

<div style="text-align: center;"><div style="position:relative; top:0; margin-right:auto;margin-left:auto; z-index:99999">
<script type="text/javascript" src="http://edge.quantserve.com/quant.js"></script>
 <script type="text/javascript">_qacct="p-dcNXCwb75VtZ2";quantserve();</script>
</div></div>


Just delete it. It's from my webhost, and appears at the bottom of every page, including product file exported.

Product File re-uploaded to first post.

DeadRabbit 03-24-2009 03:08 PM

this would be cool if you can set a permission for usergroups

coz some lamers tries to scare noobs like [you] will be banned after reading this post and lol its funny but they are spamming a lot so maybe you can make permission for usergroups

Thanks

RTMdotORG 03-24-2009 03:14 PM

Thanks EXACTLY what I needed!

itsheinz 03-24-2009 03:29 PM

why this one dont work in some of my sections?

bananalive 03-24-2009 03:47 PM

Quote:

Originally Posted by itsheinz (Post 1775906)
why this one dont work in some of my sections?

By sections do you mean forums?

Do you have any modifications installed which are affecting the viewing of SHOWTHREAD? also check the case used, only [YOU] or [you] will work

itsheinz 03-24-2009 04:44 PM

yah some forums,but its working.. only not to all forums,i really dont know whats the problem,No i dont have any ModIfications on my SHOWTHREAD.

bananalive 03-25-2009 02:34 PM

Quote:

Originally Posted by itsheinz (Post 1775970)
yah some forums,but its working.. only not to all forums,i really dont know whats the problem,No i dont have any ModIfications on my SHOWTHREAD.

Would you mind giving me link to thread where it doesn't work pls (via pm if you prefer)

soundboy 04-01-2009 10:00 AM

Will this work for 3.6?
I need something like this for 3.6 :(

bananalive 04-01-2009 12:57 PM

Quote:

Originally Posted by soundboy (Post 1781649)
Will this work for 3.6?
I need something like this for 3.6 :(

I don't have access to vBulletin 3.6 forum so I don't know. Try it and find out.

nightbloom 04-01-2009 02:20 PM

The old one didnt show up as [you] when the post was edited or quoted, that kinda ruins it. lol Still funny tho.

StructuralNet 04-01-2009 07:07 PM

Had some fun with it today, hehe

duditas 04-01-2009 09:50 PM

[you] works for me, but I can't see /you effect. Where must I see it? (Any screenshot, please?)


All times are GMT. The time now is 12:14 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.01395 seconds
  • Memory Usage 1,799KB
  • 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
  • (3)bbcode_code_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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