The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#6
|
|||
|
|||
![]()
Seeing the config files are clearly being ignored (I've disabled guest mode in it, not being used at all).. I took a little peak at the conf_init.php file. allowed_usergroup is not being used in it, but I assume a IF / ELSE can be used with:
Code:
$config['allowed_usergroup'] == xx I think it's important that one or more of these codes: Code:
defined('IN_MOBIQUO') or exit; class mobiquo_config function get_config() global $vbulletin; $config = array(); $mobiquo_config = $config; return $mobiquo_config; EDIT I've altered the conf_init.php file to set open forum to 0, and it took effect right away in the tapatalk app. As such, get the proper if / else statement in combination with: Code:
$config['allowed_usergroup'] EDIT 2 config.php (in mobiquo) is not being ignored, it's tied up with conf_init.php and I already got some working code already! (newbie code though!) For example, I used allowed_usergroup in combination with open forums mode allowed yes or no.. Open up config.php and edit the line: Code:
'allowed_usergroup' => '42', ![]() Code:
if ($config['allowed_usergroup'] == 42){ $config['is_open'] = 1; } else { $config['is_open'] = 0; } This code is not 100% though! It still shows all the sections that are usually allowed for everyone to see, however! Every section will show "no topics" for those are are not in usergroup 42. Most likely best to combine the allowed_usergroup with hide_forum_id. You can use every single code shown in config.php to use as a if/else statement in conf_init.php. With an advanced/expert php coder, you'll get what you want in no time. My 'code' so to speak merely helps you out a little bit. EDIT 3: I have the feeling that allowed_usergroup only applies and works on default vB usergroups. For some reason it doesn't work on custom groups (for me), while it works for eg, registered group, etc. |
2 благодарности(ей) от: | ||
Kane@airrifle, MarkFL |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|