vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Display notification for custom Social Groups ??? (https://vborg.vbsupport.ru/showthread.php?t=294336)

v123shine 01-24-2013 05:03 PM

Display notification for custom Social Groups ???
 
Dear vbulletin Team

I want to display a 'Notification' only in Social Groups ID 106 and 28. How can i do that?

Can someone help me, please.

v123shine 01-26-2013 06:36 AM

Help me... please

--------------- Added [DATE]1359222528[/DATE] at [TIME]1359222528[/TIME] ---------------

Please help me...

v123shine 01-28-2013 01:46 PM

help me..

v123shine 01-30-2013 01:36 PM

OMG...NO BODY HELP ME!!!

v123shine 01-31-2013 05:04 PM

Please help me...

darnoldy 01-31-2013 10:30 PM

I have never worked with social groups--just don't have them.

Since nobody seems to know the answer... I'll give you a place to start:

<if condition="is_member_of($vbulletin->userinfo, 1, 2, 3)"></if>The above conditional works to show stuff only to people in certain Usergroups. It may work if you put your social group IDs in there. Try it and see.

v123shine 02-02-2013 12:44 PM

Thank you 'darnoldy' for your help but i can't using your code.

I want to show information only in Social Groups ID 106 and 28, Others social group ID i dont want to show the information.

I know that is posible. But why nobody in "vBulletin Team" help me.

darnoldy 02-02-2013 08:13 PM

Quote:

Originally Posted by v123shine (Post 2401290)
But why nobody in "vBulletin Team" help me.

Probably because this site is not run by vBulletin, but by a group of volunteer users.

Scandal 02-06-2013 08:35 PM

Quote:

Originally Posted by v123shine (Post 2399209)
Dear vbulletin Team

I want to display a 'Notification' only in Social Groups ID 106 and 28. How can i do that?

Can someone help me, please.

Although I haven't understand what exactly you want to do, you can use the following conditional inside a template:
HTML Code:

<if condition="$group[groupid] == 106 OR $group[groupid] == 28">
MESSAGE
</if>



All times are GMT. The time now is 06:31 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.01143 seconds
  • Memory Usage 1,727KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete