Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[BB Code] You Details »»
[BB Code] You
Version: 1.2, by bananalive bananalive is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.8.x Rating:
Released: 03-15-2009 Last Update: 03-23-2009 Installs: 111
Uses Plugins
Translations Is in Beta Stage  
No support by the author.


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.

Download Now

File Type: xml product-youbbcode v1.2.xml (6.9 KB, 587 views)

Screenshots

File Type: jpg 1.JPG (47.8 KB, 0 views)

Show Your Support

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

Comments
  #42  
Old 04-03-2009, 02:57 AM
supLaditOz supLaditOz is offline
 
Join Date: Jan 2009
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks to this MOD really great.

/Installed
Reply With Quote
  #43  
Old 04-03-2009, 11:07 PM
ph03nIX ph03nIX is offline
 
Join Date: Jun 2003
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to restrict this bbcode to only certain usergroups?
Reply With Quote
  #44  
Old 04-04-2009, 11:16 AM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by duditas View Post
[you] works for me, but I can't see /you effect. Where must I see it? (Any screenshot, please?)
Attached screenshot
Attached Images
File Type: jpg 1.JPG (47.8 KB, 0 views)
Reply With Quote
  #45  
Old 04-04-2009, 11:20 AM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ph03nIX View Post
Is it possible to restrict this bbcode to only certain usergroups?
It would involve a lot of template edits.

Here's example for you to follow:
Edit plugin: /you replacement for postbit
PHP Code:
if ($post['usergroupid'] == 6)
{
global 
$vbulletin;
$post['message'] = explode ("\n"$post['message']);
$yourusername '* ' $vbulletin->userinfo['username'] . ' ';
foreach (
$post['message'] as &$postmessageline)
{
if (
substr($postmessageline05) == '/you ')
{
if (
substr($postmessageline, -4) == '<br>')
{
$postmessageline substr($postmessageline0, -4);
$addbr true;
}
else
{
$addbr false;
}
$postmessageline '<font color="red">' $postmessageline '</font>';
$postmessageline str_replace('/you '$yourusername$postmessageline);
if (
$addbr)
{
$postmessageline $postmessageline "<br>";
}
}
}
unset(
$postmessageline);
$post['message'] = implode ("\n"$post['message']);

Reply With Quote
  #46  
Old 04-12-2009, 01:34 AM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesnt work, but does in thread title. Doesnt work neither in cybs stats.
Reply With Quote
  #47  
Old 04-12-2009, 01:50 AM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok does work, but you must be the first word
Reply With Quote
  #48  
Old 04-12-2009, 10:18 PM
ph03nIX ph03nIX is offline
 
Join Date: Jun 2003
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
It would involve a lot of template edits.

Here's example for you to follow:
Thank you, bananalive. I appreciate it. :up:
Reply With Quote
  #49  
Old 04-26-2009, 08:03 PM
Andrew johnson Andrew johnson is offline
 
Join Date: Nov 2008
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i saw over at vbulletinsetup - its was so nice hack - its useful for it
Reply With Quote
  #50  
Old 05-06-2009, 10:54 PM
troybtj troybtj is offline
 
Join Date: Apr 2007
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works everywhere but "New Posts"

How do I add it to that template?
Reply With Quote
  #51  
Old 05-15-2009, 02:39 AM
Ohiosweetheart Ohiosweetheart is offline
 
Join Date: Dec 2005
Location: N.E. Ohio
Posts: 2,291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LOL this mod is great. It has caused so much trouble and so much fun at one forum I post on.

Good work!
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 01:15 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.04991 seconds
  • Memory Usage 2,345KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)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
  • (3)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete