vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Advanced [YOU] BB Code (with options) by BOP5 (https://vborg.vbsupport.ru/showthread.php?t=254373)

BirdOPrey5 12-07-2010 03:51 PM

Update to 0.92 - now you can use [you] in polls - both questions and as options.

COL NIL SATIS 12-07-2010 04:22 PM

tagged

Dr.osamA 12-08-2010 10:33 AM

1 Attachment(s)
thank you for update bro

plzz reupload the translated XML file agen

thank you man

BirdOPrey5 12-08-2010 12:22 PM

Quote:

Originally Posted by Dr.osamA (Post 2130803)
thank you for update bro

plzz reupload the translated XML file agen

thank you man

Updated. :up: Thanks.

fastcom 02-03-2011 02:42 PM

1 Attachment(s)
it work great, thank you. But it do not display in sidebar. I think, I muss add more plugin for mod but I do not know choose Hook Location.
please let me know how can do that.

BirdOPrey5 02-03-2011 03:09 PM

Quote:

Originally Posted by fastcom (Post 2158262)
it work great, thank you. But it do not display in sidebar. I think, I muss add more plugin for mod but I do not know choose Hook Location.
please let me know how can do that.

I don't have 4.x suite so I can't program any add-ons for the sidebars, articles, or any suite only features.

fastcom 02-05-2011 02:24 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2158269)
I don't have 4.x suite so I can't program any add-ons for the sidebars, articles, or any suite only features.

Thank for you reply. This product so great but if abuse then will bored and i want just some member can use other member can not use if do not have permission.
How can i do that?
thanks you:up:

BirdOPrey5 02-05-2011 10:28 AM

Quote:

Originally Posted by fastcom (Post 2158933)
Thank for you reply. This product so great but if abuse then will bored and i want just some member can use other member can not use if do not have permission.
How can i do that?
thanks you:up:

In the settings you can block certain usergroups from using it...

https://vborg.vbsupport.ru/attachmen...5&d=1290977671

So maybe you want to block your registered users (usergroup 2) but allow your mods and admins to use it, or f you have a "VIP" type usergroup you can let them use it too.

Alan_SP 04-01-2011 11:41 PM

One other limitation I just found out:

If you have user who has more than one usergroup, and one usergroup is immune, but other isn't, this doesn't make user immune to you tag. Is it possible to enable immunity if user has at least one immune usergroup?

Alan_SP 04-02-2011 12:20 AM

I looked in the code, I tried to use this two codes:

PHP Code:

$youname $vbulletin->userinfo['username'];
   if (
$yougroup == 1)
     {
      
$youname $vbulletin->options['adyoubop5_you'];
     }
   elseif (
in_array($yougroupexplode(','$vbulletin->options['adyoubop5_im'])))
     {
      
$youname "[YOU]";
     } 

And this:

PHP Code:

 $youname $vbulletin->userinfo['username'];
   if (
$yougroup == 1)
     {
      
$youname $vbulletin->options['adyoubop5_you'];
     }
   if (
in_array($yougroupexplode(','$vbulletin->options['adyoubop5_im'])))
     {
      
$youname "[YOU]";
     } 

But it didn't worked out. Why? Any idea?

And there's second limitation. Again with multiple usergroups. If user belongs to at least one prohibited group, he couldn't use you code. :(


All times are GMT. The time now is 03:51 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.01099 seconds
  • Memory Usage 1,748KB
  • 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
  • (2)bbcode_php_printable
  • (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