vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Force Style for Selected Users or Groups (https://vborg.vbsupport.ru/showthread.php?t=196822)

tony adams 01-26-2009 01:55 PM

installed - many thanks

craig5320 02-10-2009 09:07 AM

Hi,

It works great, but I have a forced style on one of my vBAdvanced pages and it overrides this as well. I see the option not to override custom forum styles but this has no effect on the vBa page, would there be an easy solution?

Thanks

EDIT: I altered the plugin to execute at 4 instead of 5, allowing the vBa code to execute after and it seems to be working

smirkley 02-14-2009 02:07 AM

Question,...I have two styles,...

1 - one for guests and members,..and one I force on all staff levels.

Works for the admin levels,...but even though set for mods and smods also, the mods and smods still only see the guest/member style.

I dont have it set where a user can select a style.

Hopefully it is just a setting, maybe I need a pointer?

smirkley 02-15-2009 02:22 PM

OK, after much troubleshooting and reinstall to get this running as I described, I have come to the conclusion that I cannot get it to operate properly and there may be a bug.

I am running vB3.8.1 and using the install on this page for the hack. (I did have the old one installed but overwrote everything for this install)

Anyways, I have the admin group set to the child style, as well as the mods and smods.

The mods and smods still revert to the parent style though, and I have found that I cannot select and enter an individual mod or smod userid to force the child style onto also.

So basically, any mod or smod cannot be forced onto, either by usergroup, nor userid.

As a note, the only difference to my parent/child styles, is I have google adsense in the vb advert templates for guest and member view, otherwise they are identical.

Some assistance is greatly appreciated as this modification is one of my fav's.

thanks in advance

smirkley 02-15-2009 08:53 PM

Ummmm,....

Ok,....nvmnd.

(problem was on my end, forgot I was an admin and I didnt have the child skin enabled.)

Egads.

(tnx again)

newguy 03-10-2009 12:32 AM

I installed this mod, and when I un-installed it I now get this error when I make changes to a user group and try to save it.

PHP Code:

Database error in vBulletin 3.8.1:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'No PM & Posts Are Moderated',
`
description` = '',
`
usertitle` = '',
`
opentag` = '',
`
closetag` = '',
`
passwordexpires` = '0',
`
passwordhistory` = '0',
`
ispublicgroup` = '0',
`
canoverride` = '0',
`
vbblog_general_permissions` = '254328',
`
vbblog_customblocks` = '0',
`
vbblog_custompages` = '0',
`
vbblog_entry_permissions` = '7920',
`
vbblog_comment_permissions` = '896',
`
forumpermissions` = '12390911',
`
genericpermissions` = '1243616707',
`
attachlimit` = '0',
`
pmquota` = '0',
`
pmpermissions` = '0',
`
pmsendmax` = '5',
`
pmthrottlequantity` = '0',
`
calendarpermissions` = '32',
`
wolpermissions` = '0',
`
adminpermissions` = '0',
`
genericpermissions2` = '0',
`
genericoptions` = '62',
`
profilepicmaxwidth` = '100',
`
profilepicmaxheight` = '100',
`
profilepicmaxsize` = '404800',
`
avatarmaxwidth` = '120',
`
avatarmaxheight` = '120',
`
avatarmaxsize` = '404800',
`
signaturepermissions` = '234111',
`
sigpicmaxwidth` = '450',
`
sigpicmaxheight` = '100',
`
sigpicmaxsize` = '404800',
`
sigmaxrawchars` = '1000',
`
sigmaxchars` = '500',
`
sigmaxlines` = '0',
`
sigmaxsizebbcode` = '7',
`
sigmaximages` = '4',
`
albumpermissions` = '254',
`
albumpicmaxwidth` = '600',
`
albumpicmaxheight` = '600',
`
albumpicmaxsize` = '100000',
`
albummaxpics` = '20',
`
albummaxsize` = '0',
`
usercsspermissions` = '63',
`
visitormessagepermissions` = '60',
`
socialgrouppermissions` = '51060',
`
maximumsocialgroups` = '5',
`
groupiconmaxsize` = '404800',
`
trgpermissions` = '5',
`
ms_force_style_permissions` = '0',
`
force_style_id` = ''
WHERE usergroupid=11;

MySQL Error   Unknown column 'ms_force_style_permissions' in 'field list'
Error Number  1054
Request Date  
MondayMarch 9th 2009 09:22:09 PM
Error Date    
MondayMarch 9th 2009 09:22:09 PM
Script        
http://mysite.com/forums/admincp/usergroup.php?do=update
Referrer      http://mysite.com/forums/admincp/usergroup.php?do=edit&usergroupid=11
IP Address    xx.xxx.xx.xxx my IP
Username      
my user name
Classname     
vB_Database
MySQL Version 
5.0.67-community 



At the bottom of each user group pahe in the user group manager there is still the place where you could edit the settings. No text there at all. Just the bullets to select yes or no.

Any one help? I have used the two previous versions for a long time.

Mosh 03-10-2009 05:25 AM

Quote:

Originally Posted by newguy (Post 1764497)
I installed this mod, and when I un-installed it I now get this error when I make changes to a user group and try to save it.

PHP Code:

Database error in vBulletin 3.8.1:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'No PM & Posts Are Moderated',
`
description` = '',
`
usertitle` = '',
`
opentag` = '',
`
closetag` = '',
`
passwordexpires` = '0',
`
passwordhistory` = '0',
`
ispublicgroup` = '0',
`
canoverride` = '0',
`
vbblog_general_permissions` = '254328',
`
vbblog_customblocks` = '0',
`
vbblog_custompages` = '0',
`
vbblog_entry_permissions` = '7920',
`
vbblog_comment_permissions` = '896',
`
forumpermissions` = '12390911',
`
genericpermissions` = '1243616707',
`
attachlimit` = '0',
`
pmquota` = '0',
`
pmpermissions` = '0',
`
pmsendmax` = '5',
`
pmthrottlequantity` = '0',
`
calendarpermissions` = '32',
`
wolpermissions` = '0',
`
adminpermissions` = '0',
`
genericpermissions2` = '0',
`
genericoptions` = '62',
`
profilepicmaxwidth` = '100',
`
profilepicmaxheight` = '100',
`
profilepicmaxsize` = '404800',
`
avatarmaxwidth` = '120',
`
avatarmaxheight` = '120',
`
avatarmaxsize` = '404800',
`
signaturepermissions` = '234111',
`
sigpicmaxwidth` = '450',
`
sigpicmaxheight` = '100',
`
sigpicmaxsize` = '404800',
`
sigmaxrawchars` = '1000',
`
sigmaxchars` = '500',
`
sigmaxlines` = '0',
`
sigmaxsizebbcode` = '7',
`
sigmaximages` = '4',
`
albumpermissions` = '254',
`
albumpicmaxwidth` = '600',
`
albumpicmaxheight` = '600',
`
albumpicmaxsize` = '100000',
`
albummaxpics` = '20',
`
albummaxsize` = '0',
`
usercsspermissions` = '63',
`
visitormessagepermissions` = '60',
`
socialgrouppermissions` = '51060',
`
maximumsocialgroups` = '5',
`
groupiconmaxsize` = '404800',
`
trgpermissions` = '5',
`
ms_force_style_permissions` = '0',
`
force_style_id` = ''
WHERE usergroupid=11;

MySQL Error   Unknown column 'ms_force_style_permissions' in 'field list'
Error Number  1054
Request Date  
MondayMarch 9th 2009 09:22:09 PM
Error Date    
MondayMarch 9th 2009 09:22:09 PM
Script        
http://mysite.com/forums/admincp/usergroup.php?do=update
Referrer      http://mysite.com/forums/admincp/usergroup.php?do=edit&usergroupid=11
IP Address    xx.xxx.xx.xxx my IP
Username      
my user name
Classname     
vB_Database
MySQL Version 
5.0.67-community 



At the bottom of each user group pahe in the user group manager there is still the place where you could edit the settings. No text there at all. Just the bullets to select yes or no.

Any one help? I have used the two previous versions for a long time.

You did not do step 1 of Uninstall Instructions (see the first post).

newguy 03-10-2009 08:22 AM

Thanks, I read right over that.

Skyrider 03-10-2009 11:10 AM

2 questions:

Possible you can add the future so people can only pick a theme if they are within a specific usergroup?

and 2:

Possible the force can be done by forum section as well?

Fungsten 03-10-2009 05:04 PM

Quote:

Originally Posted by FF|Skyrider (Post 1764802)
2 questions:

Possible you can add the future so people can only pick a theme if they are within a specific usergroup?

Good idea.

Quote:

and 2:

Possible the force can be done by forum section as well?
Yes you can set that in each forum settings.


All times are GMT. The time now is 03:35 PM.

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.01261 seconds
  • Memory Usage 1,801KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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