vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   allow change template only to a certain group (https://vborg.vbsupport.ru/showthread.php?t=165440)

Artes_Marciales 12-18-2007 05:36 AM

allow change template only to a certain group
 
I am looking for a mod, that allows to change the template only to a certain group.

I want that a vip group, visits the forum in a template without publicity :)

Thanks!! :)

C.ooder 12-18-2007 05:38 AM

i dont understan the idea for the hack

Artes_Marciales 12-18-2007 06:12 AM

Sorry my English :o

I want to make a template clean of publicity, available for a group vip,
then I need to allow to that vip group change the template.
Thanks! :)

alexgeek 12-18-2007 05:46 PM

Maybe this? https://vborg.vbsupport.ru/showthread.php?t=95910

C.ooder 12-18-2007 05:57 PM

Quote:

Originally Posted by alexgeek (Post 1403779)

maybe

what Language you talk ?

alexgeek 12-18-2007 06:01 PM

Me? English.

Artes_Marciales 12-18-2007 06:07 PM

Quote:

Originally Posted by alexgeek (Post 1403779)

Thanks! :)


Quote:

what Language you talk ?
Spanish :)

Kind Regards!!

alexgeek 12-18-2007 06:09 PM

You're welcome, that one should do what is says on the tin :)

C.ooder 12-18-2007 06:12 PM

THANK YOU alexgeek

Bloodhound2922 03-11-2009 05:22 AM

Another thing you could do to get some template changes for only a certain usergroup(s) is this tag:

<if condition="$bbuserinfo[usergroupid] == 6">
TEMPLATE CHANGE
</if>

Replace the 6 with whatever usergroup you wish this to affect.
And use '!== #' if you want this to affect all usergroups BUT the one stated there.

I use this for modifications for admins (stuff like links to the admincp on the navbar that I only want to be shown to myself etc.), and for ads where I use "!== 32" which makes the 'VIP' usergroup not see any ads (well actually it makes every usergroup but VIP see them).

Hope this helps.


All times are GMT. The time now is 07:09 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.01066 seconds
  • Memory Usage 1,725KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete