Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-27-2012, 06:20 PM
Rckcrwlr Rckcrwlr is offline
 
Join Date: Dec 2008
Location: PA
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How can I force styles by Usergroup

There used to be a Mod for it but is not compatible with 4.1.10 from what I am hearing.

Any other options?
Reply With Quote
  #2  
Old 02-27-2012, 06:31 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you tried this mod: https://vborg.vbsupport.ru/showthrea...=229038&page=3 ? In the last post someone mentions it working with a recent version, if you change the version check in the product xml before importing.
Reply With Quote
  #3  
Old 02-27-2012, 06:42 PM
Rckcrwlr Rckcrwlr is offline
 
Join Date: Dec 2008
Location: PA
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not good at this stuff.

Would I change it to 4.1.10?

What is the worst that could happen?

Thanks
Reply With Quote
  #4  
Old 02-27-2012, 06:45 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, try 4.1.10. To be honest I'm not sure what happens if you have it installed and then update vb to a later version. You could enter 5.0.0, but I don't know if it's necessary. It really doesn't matter what's there until/unless some incompatability appears in a later version.

Well, the worst that would happen is it causes problems with your site and you have to uninstall it. But I think that's unlikely. I think it's much more likely that if it's incompatible that it just won't work.
Reply With Quote
  #5  
Old 02-27-2012, 06:48 PM
Rckcrwlr Rckcrwlr is offline
 
Join Date: Dec 2008
Location: PA
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
Yeah, try 4.1.10. To be honest I'm not sure what happens if you have it installed and then update vb to a later version. You could enter 5.0.0, but I don't know if it's necessary. It really doesn't matter what's there until/unless some incompatability appears in a later version.

Well, the worst that would happen is it causes problems with your site and you have to uninstall it. But I think that's unlikely. I think it's much more likely that if it's incompatible that it just won't work.
How do you edit it? I opened it and it is un-editable. is there a special program needed?
Reply With Quote
  #6  
Old 02-27-2012, 06:50 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rckcrwlr View Post
How do you edit it? I opened it and it is un-editable. is there a special program needed?

Oh, you probably need to save it to your computer then edit it with a text editor. I think it you just open it in windows it opens it read-only in a browser. Try right-clicking it and choosing "edit". I think that will open it in notepad which will probably work OK.
Reply With Quote
  #7  
Old 02-29-2012, 01:04 PM
Rckcrwlr Rckcrwlr is offline
 
Join Date: Dec 2008
Location: PA
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't look like it is working for 4.1.10

I guess my next question is how can I do this?

I have to groups that frequent my site. If I can give them their "look" they will sponsor and support the site.

I will need to have three styles.

When someone is identified in that group I could assign them a usergroup that will then change the look to match theirs.

Thanks
Reply With Quote
  #8  
Old 02-29-2012, 01:15 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could try a plugin using hook style_fetch and code like this:

Code:
if (is_member_of($vbulletin->userinfo, 1, 2, 3))
{
    $styleid = ID1;
}
else if (is_member_of($vbulletin->userinfo, 4, 5))
{
    $styleid = ID2;
}
// etc

and of course replace ID1 and ID2 with actual style ids.
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 09:34 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.04250 seconds
  • Memory Usage 2,226KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete