View Full Version : Forum Home Enhancements - Split Useronline on Forumhome
consolegaming
05-31-2008, 10:00 PM
Description
Splits the User Online section on the Forum Home to allow for staff/team members and users to be separated into groups. This is a new version of Surviver's original modification which was made for vBulletin 3.6.4. This new product was made with Survivor's permission and is heavily based upon the original modification.
The original modification can be found here:
https://vborg.vbsupport.ru/showthread.php?t=135771
Features
Currently allows for three different types of extra users (Team, Premium and VIP) on top of the usual members.
This is now controlled through the usergroup manager whereby you can select Yes or No for each of the three types of users.
Fixes the saving issue experienced by users of the previous modification running vBulletin 3.7.
Installation
Upload all necessary files to their respective directories.
Install the product XML file.
Turn on the Split Useronline tool (vBulletin Options -> Forum Home Page Options -> Split Useronline - Yes.
Implement small template edit (see below).
Set relevant permissions for each usergroup.
Upgrade
Unfortunately anyone wishing to upgrade from the previous modification to this will be unable to. I was advised to create this as a seperate product to avoid any potential conflicts in the future, and also due to the differences in how the settings are done there would have been no way to keep the saved settings anyway.
However anyone who has already experienced the saving issue with the existing Product will have already lost their settings.
Template Edit
Open the forumhome_loggedinuser template.
Find:
<if condition="$show['comma_leader']">, </if>
Replace with:
<if condition="$show['comma_leader']"> </if>
Author Notes
The change of location for the settings was done for two reasons: it was easier to sort out and I wanted the settings to be more logically placed. This allows for anyone with several 'team' usergroups to create new usergroups based on the permissions of an existing one therefore keeping the relevant permissions. Meaning it should make things easier in the long term.
Credit for the original modification obviously goes to Surviver as mentioned at the top. Also the credit for the above template edit goes to GamerGirl27 though I will be trying to find a solution that removes the need for any template edits.
Fırtına
06-01-2008, 04:02 PM
Thanks :)
pureturk
06-01-2008, 07:14 PM
It didnt do anything? :(
consolegaming
06-01-2008, 08:23 PM
It didnt do anything? :(
Firstly it needs to be activated in the vBulletin options as explained in the installation steps above and then all that needs to be done is going into the usergroup manager for the usergroups you wish to put into these groups and selecting Yes next to the particular group.
i.e. if you wish to make all admins part of the 'team' group you simply have to go: Usergroups -> Usergroup Manager -> Edit Administrators -> Then the relevant options should be at the bottom of this page. Simply select Yes next to the type you want the usergroup to be and they'll then appear separated from the normal users in the user online section. As shown in the final screenshot.
Also if the options in the Usergroup manager section don't appear then be sure you uploaded the one file properly. I included a file in the upload/includes/xml/ directory that needed to be uploaded for those options to appear.
pureturk
06-01-2008, 09:37 PM
Beautiful!! it works now.
Thank you .
Great hack!
consolegaming
06-01-2008, 10:26 PM
No problem and glad to hear you like it.
I'll try and get some default settings applied i.e. Turned on by default and some default usergroups already set as part of the Team group. That should make things a bit easier to follow and give people a bit of an idea on how to use it at least. That'll probably be sometime later this week.
pureturk
06-02-2008, 01:01 AM
perhaps adding more groups would be useful..such as;
Admins:
Moderators:
Members:
RedTrinity
06-02-2008, 03:42 AM
Also the credit for the above template edit goes to GamerGirl27 though I will be trying to find a solution that removes the need for any template edits.
Cheers mate :) Its a great feature, so its good to see it available and working for 3.7.
mktrilogy
06-02-2008, 04:57 AM
some moderators goes to regualr members. Any ideas?
killerkraft
06-02-2008, 08:51 AM
Greetings,
I've installed and works fine.
Just a quick question. How can i order the users inside each table, ordered by name, group ?
Because staff means admins and mod's for example. In this case i would like to have staff like this :
Staff : adminAA, adminBB, superMODAA, superMODBB, MODAA, MODBB ....
Users : userA, userB, userC .....
Thank's in advance,
KK
consolegaming
06-02-2008, 08:52 AM
some moderators goes to regualr members. Any ideas?
Are the usergroups they're in definitely included in the group? Or is there anything specific about them? i.e. are they in the usergroup as additional users whereas the ones that work are primary? Helps to find the bug if I know what situation causes the error if an error exists.
Otherwise if you'd be happy with it I'd be happy to take a look in your admincp and try and work out the problem from there?
Pureturk: For the moment you could always edit the phrase values for two (can do all three but for what you want you'd only need to change two) of the existing three groups to make them be called whatever you like. Just search for "Team", "VIP", and "Premium" and you should be able to find the relevant phrases.
On those same searches you should be able to change what it says on the usergroup manager page too if you want that to change too. the format should be "This is a ...." Usergroup" or something along those lines.
Though I think I will at some stage try and make it so you can have as many or as little groups as you want with you selecting their names. Not yet sure how I'd approach that though lol. But the above phrase edits would give you what you want for the moment.
@ killer: I think I know what you mean, you want it to put all of a particular usergroup in alphabetical order within the same section? This plugin doesn't actually control the order of the names, even in the seperate groups. The order is still fed from the system and basically I just have three variables for the different types of groups possible and add to each one any new members of that group. So it just results in three alphabetically ordered groups.
I think the best way to do what you want would be to have them as seperate groups, if you need them in the same group you'd need to find where the variable $loggedin is created and alter that to order by usergroup and name.
killerkraft
06-02-2008, 08:54 AM
some moderators goes to regualr members. Any ideas?
Hello,
I think i know the answer to that.
You must set the primary correctly for these mod's, i.e., they are mod's and regular users.
If the primary group is users they apeear as users.
KK
Hornstar
06-02-2008, 10:52 AM
It would be good if you included the option to show usergroup X and it would show all users in that usergroup whether they are primary or secondary. some may want this others may not.
consolegaming
06-02-2008, 05:19 PM
It would be good if you included the option to show usergroup X and it would show all users in that usergroup whether they are primary or secondary. some may want this others may not.
Yeah I think that was something I overlooked when just trying to get it working lol. Especially when on our site the only staff who have staff usergroups as additional are when their primary one is also a staff group lol. Not something I had taken into consideration as I now have to check the usergrop's corresponding permissions.
I''ll get it sorted sometime this week so that it also looks at your additional usergroups. It will increase the processing a bit though as I'll have to make it check each usergroup. I'll do some brainstorming in the meantime though.
nikki712
06-03-2008, 05:14 PM
Are the usergroups they're in definitely included in the group? Or is there anything specific about them? i.e. are they in the usergroup as additional users whereas the ones that work are primary? Helps to find the bug if I know what situation causes the error if an error exists.
Otherwise if you'd be happy with it I'd be happy to take a look in your admincp and try and work out the problem from there?
Pureturk: For the moment you could always edit the phrase values for two (can do all three but for what you want you'd only need to change two) of the existing three groups to make them be called whatever you like. Just search for "Team", "VIP", and "Premium" and you should be able to find the relevant phrases.
On those same searches you should be able to change what it says on the usergroup manager page too if you want that to change too. the format should be "This is a ...." Usergroup" or something along those lines.
Though I think I will at some stage try and make it so you can have as many or as little groups as you want with you selecting their names. Not yet sure how I'd approach that though lol. But the above phrase edits would give you what you want for the moment.
@ killer: I think I know what you mean, you want it to put all of a particular usergroup in alphabetical order within the same section? This plugin doesn't actually control the order of the names, even in the seperate groups. The order is still fed from the system and basically I just have three variables for the different types of groups possible and add to each one any new members of that group. So it just results in three alphabetically ordered groups.
I think the best way to do what you want would be to have them as seperate groups, if you need them in the same group you'd need to find where the variable $loggedin is created and alter that to order by usergroup and name.
*clicks install*
THANK YOU for updating this!!!!! I need only ONE extra group. Is there an easy way to do this?
lucky_1
06-09-2008, 05:21 PM
Nice hack. But i want something more. I want that u recode this hack in which anyone can add extra legends because there are only three only. Also to change there name. I think u understood. I want this one because i needed this kind of legend bar i edited from existing one but errors errors errors on eval code on index page. Reply soon after modification. Regards!
lucky_1
06-10-2008, 07:14 AM
Also i tried again today. I wanted to add programmer and crackers group into the legend. The edited product xml file is this look
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <product productid="rjs_split_online" active="1">
<title>Split Useronline</title>
<description>Splits the online user listing in FORUMHOME. vBulletin 3.7 Compatible.</description>
<version>2.0.0</version>
- <url>
- <![CDATA[ https://vborg.vbsupport.ru/misc.php?do=producthelp&pid=rjs_split_online
]]>
</url>
- <versioncheckurl>
- <![CDATA[ https://vborg.vbsupport.ru/misc.php?do=productcheck&pid=rjs_split_online
]]>
</versioncheckurl>
- <dependencies>
<dependency dependencytype="vbulletin" minversion="3.7" maxversion="" />
</dependencies>
- <codes>
- <code version="2.0.0">
- <installcode>
- <![CDATA[
$db->hide_errors();
$db->query("ALTER TABLE " . TABLE_PREFIX . "usergroup ADD split_useronline_permissions INT UNSIGNED NOT NULL DEFAULT 0");
$db->show_errors();
]]>
</installcode>
- <uninstallcode>
- <![CDATA[
$db->hide_errors();
$db->query("ALTER TABLE ". TABLE_PREFIX . "usergroup DROP split_useronline_permissions");
$db->show_errors();
]]>
</uninstallcode>
</code>
</codes>
<templates />
- <plugins>
- <plugin active="1" executionorder="5">
<title>Display</title>
<hookname>forumhome_complete</hookname>
- <phpcode>
- <![CDATA[
if(($activeonlineusers['team'] $activeonlineusers['programmers'] OR $activeonlineusers['members'] OR $activeonlineusers['premiummembers'] OR $activeonlineusers['vips']) AND $vbulletin->options['split_useronline_active'])
{
unset($activeusers);
if($activeonlineusers['team'])
{
$activeonlineusers['team'] = substr($activeonlineusers['team'], 2);
$activeusers .= "<b>".$vbphrase['team'].":</b> ".$activeonlineusers['team']."<br /><br />";
}
if($activeonlineusers['programmers'])
{
$activeonlineusers['programmers'] = substr($activeonlineusers['programmers'], 0);
$activeusers .= "<b>".$vbphrase['programmers'].":</b> ".$activeonlineusers['programmers']."<br /><br />";
}
if($activeonlineusers['vips'])
{
$activeonlineusers['vips'] = substr($activeonlineusers['vips'], 2);
$activeusers .= "<b>".$vbphrase['vips'].":</b> ".$activeonlineusers['vips']."<br /><br />";
}
if($activeonlineusers['premiummembers'])
{
$activeonlineusers['premiummembers'] = substr($activeonlineusers['premiummembers'], 2);
$activeusers .= "<b>".$vbphrase['premiummembers'].":</b> ".$activeonlineusers['premiummembers']."<br /><br />";
}
if($activeonlineusers['members'])
{
iif(!$activeonlineusers['team'] AND !$activeonlineusers['premiummembers'], $activeonlineusers['members'] = substr($activeonlineusers['members'], 2));
$activeusers .= iif($show['othergroups'], "<b>".$vbphrase['members'].":</b> ").$activeonlineusers['members']."<br />";
}
}
]]>
</phpcode>
</plugin>
- <plugin active="1" executionorder="5">
<title>Split</title>
<hookname>forumhome_loggedinuser</hookname>
- <phpcode>
- <![CDATA[
if($vbulletin->options['split_useronline_active'])
{
$split = $vbulletin->bf_ugp_split_useronline_permissions;
$bit = $vbulletin->usergroupcache[$loggedin['displaygroupid']]['split_useronline_permissions'];
if ($bit & $split['split_useronline_team'] AND fetch_online_status($loggedin))
{
eval('$activeonlineusers[\'team\'] .= ", ' . fetch_template('forumhome_loggedinuser') . '";');
$numbervisible++;
$show['othergroups'] = true;
}
elseif ($bit & $split['split_useronline_programmers'] AND fetch_online_status($loggedin))
{
eval('$activeonlineusers[\'programmers\'] .= ", ' . fetch_template('forumhome_loggedinuser') . '";');
$numbervisible++;
$show['othergroups'] = true;
}
elseif ($bit & $split['split_useronline_vip'] AND fetch_online_status($loggedin))
{
eval('$activeonlineusers[\'vips\'] .= ", ' . fetch_template('forumhome_loggedinuser') . '";');
$numbervisible++;
$show['othergroups'] = true;
}
elseif ($bit & $split['split_useronline_premium'] AND fetch_online_status($loggedin))
{
eval('$activeonlineusers[\'premiummembers\'] .= ", ' . fetch_template('forumhome_loggedinuser') . '";');
$numbervisible++;
$show['othergroups'] = true;
}
elseif (fetch_online_status($loggedin))
{
eval('$activeonlineusers[\'members\'] .= ", ' . fetch_template('forumhome_loggedinuser') . '";');
$numbervisible++;
}
return;
}
]]>
</phpcode>
</plugin>
</plugins>
- <phrases>
- <phrasetype name="Permissions" fieldname="cppermission">
- <phrase name="setting_split_useronline_premiumusers_title" date="1212283503" username="Rjs37" version="2.0.0">
- <![CDATA[ This is a Premium Usergroup
]]>
</phrase>
- <phrase name="setting_split_useronline_teamusers_title" date="1212283535" username="Rjs37" version="2.0.0">
- <![CDATA[ This is a Team Usergroup
]]>
</phrase>
- <phrase name="setting_split_useronline_programmers and Crackersusers_title" date="1212283543" username="Rjs37" version="2.0.0">
- <![CDATA[ This is a programmers and Crackers Usergroup
]]>
</phrase>
- <phrase name="setting_split_useronline_vipusers_title" date="1212283556" username="Rjs37" version="2.0.0">
- <![CDATA[ This is a VIP Usergroup
]]>
</phrase>
- <phrase name="split_useronline_permissions" date="1212283584" username="Rjs37" version="2.0.0">
- <![CDATA[ Split Useronline
]]>
</phrase>
</phrasetype>
- <phrasetype name="GLOBAL" fieldname="global">
- <phrase name="premiummembers" date="1212285962" username="Rjs37" version="2.0.0">
- <![CDATA[ Members
]]>
</phrase>
- <phrase name="team" date="1212285847" username="Rjs37" version="2.0.0">
- <![CDATA[ Staff
]]>
</phrase>
- <phrase name="programmers and Crackers" date="1212285843" username="Rjs37" version="2.0.0">
- <![CDATA[ programmers and Crackers
]]>
</phrase>
- <phrase name="vips" date="1212285904" username="Rjs37" version="2.0.0">
- <![CDATA[ VIPs and Contributors
]]>
</phrase>
</phrasetype>
- <phrasetype name="vBulletin Settings" fieldname="vbsettings">
- <phrase name="setting_split_useronline_active_desc" date="1212283388" username="Rjs37" version="2.0.0">
- <![CDATA[ Activate the splitting of usergroups on forumhome ?
]]>
</phrase>
- <phrase name="setting_split_useronline_active_title" date="1212283388" username="Rjs37" version="2.0.0">
- <![CDATA[ Split Useronline
]]>
</phrase>
</phrasetype>
</phrases>
- <options>
- <settinggroup name="forumhome" displayorder="400">
- <setting varname="split_useronline_active" displayorder="90">
<datatype>free</datatype>
<optioncode>yesno</optioncode>
<defaultvalue>1</defaultvalue>
</setting>
</settinggroup>
</options>
<helptopics />
<cronentries />
<faqentries />
</product>
and bitfield xml file like this
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <bitfields product="rjs_split_online">
- <bitfielddefs>
- <group name="ugp">
- <group name="split_useronline_permissions">
<bitfield name="split_useronline_team" group="split_useronline_permissions" phrase="setting_split_useronline_teamusers_title" install="">1</bitfield>
<bitfield name="split_useronline_programmers" group="split_useronline_permissions" phrase="setting_split_useronline_programmersusers_title" install="">2</bitfield>
<bitfield name="split_useronline_premium" group="split_useronline_permissions" phrase="setting_split_useronline_premiumusers_title" install="">3</bitfield>
<bitfield name="split_useronline_vip" group="split_useronline_permissions" phrase="setting_split_useronline_vipusers_title" install="">4</bitfield>
</group>
</group>
</bitfielddefs>
</bitfields>
But error again on line 11 syntax error eval code.
Pls i need this to be solved as soon as possible.
anantthakor
06-10-2008, 08:49 AM
it showing UFN DeV Team: :(
I want Staff There, how to change ?
AK47 Nemesis
06-10-2008, 11:48 AM
Ah Rjs from ConsoleGaming, how are you mate? Dignitas Thalix here.
Thanks for this, i could use this as well. Can't you release that ladder system of yours? ;). Just joking :P.
Cheers.
KanmaiseR
06-11-2008, 07:28 PM
Thanks, installed..
consolegaming
06-14-2008, 08:57 PM
@ lucky try the following (not tested but just fixing some bugs I noticed in your supplied code samples:
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <product productid="rjs_split_online" active="1">
<title>Split Useronline</title>
<description>Splits the online user listing in FORUMHOME. vBulletin 3.7 Compatible.</description>
<version>2.0.0</version>
- <url>
- <![CDATA[ https://vborg.vbsupport.ru/misc.php?do=producthelp&pid=rjs_split_online
]]>
</url>
- <versioncheckurl>
- <![CDATA[ https://vborg.vbsupport.ru/misc.php?do=productcheck&pid=rjs_split_online
]]>
</versioncheckurl>
- <dependencies>
<dependency dependencytype="vbulletin" minversion="3.7" maxversion="" />
</dependencies>
- <codes>
- <code version="2.0.0">
- <installcode>
- <![CDATA[
$db->hide_errors();
$db->query("ALTER TABLE " . TABLE_PREFIX . "usergroup ADD split_useronline_permissions INT UNSIGNED NOT NULL DEFAULT 0");
$db->show_errors();
]]>
</installcode>
- <uninstallcode>
- <![CDATA[
$db->hide_errors();
$db->query("ALTER TABLE ". TABLE_PREFIX . "usergroup DROP split_useronline_permissions");
$db->show_errors();
]]>
</uninstallcode>
</code>
</codes>
<templates />
- <plugins>
- <plugin active="1" executionorder="5">
<title>Display</title>
<hookname>forumhome_complete</hookname>
- <phpcode>
- <![CDATA[
if(($activeonlineusers['team'] OR $activeonlineusers['programmers'] OR $activeonlineusers['members'] OR $activeonlineusers['premiummembers'] OR $activeonlineusers['vips']) AND $vbulletin->options['split_useronline_active'])
{
unset($activeusers);
if($activeonlineusers['team'])
{
$activeonlineusers['team'] = substr($activeonlineusers['team'], 2);
$activeusers .= "<b>".$vbphrase['team'].":</b> ".$activeonlineusers['team']."<br /><br />";
}
if($activeonlineusers['programmers'])
{
$activeonlineusers['programmers'] = substr($activeonlineusers['programmers'], 0);
$activeusers .= "<b>".$vbphrase['programmers'].":</b> ".$activeonlineusers['programmers']."<br /><br />";
}
if($activeonlineusers['vips'])
{
$activeonlineusers['vips'] = substr($activeonlineusers['vips'], 2);
$activeusers .= "<b>".$vbphrase['vips'].":</b> ".$activeonlineusers['vips']."<br /><br />";
}
if($activeonlineusers['premiummembers'])
{
$activeonlineusers['premiummembers'] = substr($activeonlineusers['premiummembers'], 2);
$activeusers .= "<b>".$vbphrase['premiummembers'].":</b> ".$activeonlineusers['premiummembers']."<br /><br />";
}
if($activeonlineusers['members'])
{
iif(!$activeonlineusers['team'] AND !$activeonlineusers['premiummembers'], $activeonlineusers['members'] = substr($activeonlineusers['members'], 2));
$activeusers .= iif($show['othergroups'], "<b>".$vbphrase['members'].":</b> ").$activeonlineusers['members']."<br />";
}
}
]]>
</phpcode>
</plugin>
- <plugin active="1" executionorder="5">
<title>Split</title>
<hookname>forumhome_loggedinuser</hookname>
- <phpcode>
- <![CDATA[
if($vbulletin->options['split_useronline_active'])
{
$split = $vbulletin->bf_ugp_split_useronline_permissions;
$bit = $vbulletin->usergroupcache[$loggedin['displaygroupid']]['split_useronline_permissions'];
if ($bit & $split['split_useronline_team'] AND fetch_online_status($loggedin))
{
eval('$activeonlineusers[\'team\'] .= ", ' . fetch_template('forumhome_loggedinuser') . '";');
$numbervisible++;
$show['othergroups'] = true;
}
elseif ($bit & $split['split_useronline_programmers'] AND fetch_online_status($loggedin))
{
eval('$activeonlineusers[\'programmers\'] .= ", ' . fetch_template('forumhome_loggedinuser') . '";');
$numbervisible++;
$show['othergroups'] = true;
}
elseif ($bit & $split['split_useronline_vip'] AND fetch_online_status($loggedin))
{
eval('$activeonlineusers[\'vips\'] .= ", ' . fetch_template('forumhome_loggedinuser') . '";');
$numbervisible++;
$show['othergroups'] = true;
}
elseif ($bit & $split['split_useronline_premium'] AND fetch_online_status($loggedin))
{
eval('$activeonlineusers[\'premiummembers\'] .= ", ' . fetch_template('forumhome_loggedinuser') . '";');
$numbervisible++;
$show['othergroups'] = true;
}
elseif (fetch_online_status($loggedin))
{
eval('$activeonlineusers[\'members\'] .= ", ' . fetch_template('forumhome_loggedinuser') . '";');
$numbervisible++;
}
return;
}
]]>
</phpcode>
</plugin>
</plugins>
- <phrases>
- <phrasetype name="Permissions" fieldname="cppermission">
- <phrase name="setting_split_useronline_premiumusers_title" date="1212283503" username="Rjs37" version="2.0.0">
- <![CDATA[ This is a Premium Usergroup
]]>
</phrase>
- <phrase name="setting_split_useronline_teamusers_title" date="1212283535" username="Rjs37" version="2.0.0">
- <![CDATA[ This is a Team Usergroup
]]>
</phrase>
- <phrase name="setting_split_useronline_programmers_title" date="1212283543" username="Rjs37" version="2.0.0">
- <![CDATA[ This is a programmers and Crackers Usergroup
]]>
</phrase>
- <phrase name="setting_split_useronline_vipusers_title" date="1212283556" username="Rjs37" version="2.0.0">
- <![CDATA[ This is a VIP Usergroup
]]>
</phrase>
- <phrase name="split_useronline_permissions" date="1212283584" username="Rjs37" version="2.0.0">
- <![CDATA[ Split Useronline
]]>
</phrase>
</phrasetype>
- <phrasetype name="GLOBAL" fieldname="global">
- <phrase name="premiummembers" date="1212285962" username="Rjs37" version="2.0.0">
- <![CDATA[ Members
]]>
</phrase>
- <phrase name="team" date="1212285847" username="Rjs37" version="2.0.0">
- <![CDATA[ Staff
]]>
</phrase>
- <phrase name="programmers and Crackers" date="1212285843" username="Rjs37" version="2.0.0">
- <![CDATA[ programmers and Crackers
]]>
</phrase>
- <phrase name="vips" date="1212285904" username="Rjs37" version="2.0.0">
- <![CDATA[ VIPs and Contributors
]]>
</phrase>
</phrasetype>
- <phrasetype name="vBulletin Settings" fieldname="vbsettings">
- <phrase name="setting_split_useronline_active_desc" date="1212283388" username="Rjs37" version="2.0.0">
- <![CDATA[ Activate the splitting of usergroups on forumhome ?
]]>
</phrase>
- <phrase name="setting_split_useronline_active_title" date="1212283388" username="Rjs37" version="2.0.0">
- <![CDATA[ Split Useronline
]]>
</phrase>
</phrasetype>
</phrases>
- <options>
- <settinggroup name="forumhome" displayorder="400">
- <setting varname="split_useronline_active" displayorder="90">
<datatype>free</datatype>
<optioncode>yesno</optioncode>
<defaultvalue>1</defaultvalue>
</setting>
</settinggroup>
</options>
<helptopics />
<cronentries />
<faqentries />
</product>
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <bitfields product="rjs_split_online">
- <bitfielddefs>
- <group name="ugp">
- <group name="split_useronline_permissions">
<bitfield name="split_useronline_team" group="split_useronline_permissions" phrase="setting_split_useronline_teamusers_title" install="">1</bitfield>
<bitfield name="split_useronline_programmers" group="split_useronline_permissions" phrase="setting_split_useronline_programmersusers_title" install="">2</bitfield>
<bitfield name="split_useronline_premium" group="split_useronline_permissions" phrase="setting_split_useronline_premiumusers_title" install="">4</bitfield>
<bitfield name="split_useronline_vip" group="split_useronline_permissions" phrase="setting_split_useronline_vipusers_title" install="">8</bitfield>
</group>
</group>
</bitfielddefs>
</bitfields>
I've put the changes from your code in red so you can see what I've changed (just adding an OR into the first sample and changing the bitfield values so they are correct. Values need to go up in powers of 2: 1,2,4,8,16,32 etc. That's how binary works as you can represent numbers 0-63 with just 6 bits. This attachment may help:
https://vborg.vbsupport.ru/attachment.php?attachmentid=74187&d=1199470611
Also I'm not sure what the -'s are in front of the lines though unless they were added by your editor? If so remember to just make the alterations I've highlighted into your own code rather than copying and pasting it.
@anantthakor: "UFN DeV Team" certainly wasn't in my plugin, it sounds like the phrases are possibly conflicting with another plugin that is attempting to use a phrase of the same name? In any case try searching the phrases (found in the admincp menu) for that and if you don't mind changing where else that phrase is used then feel free to change it. Just surprised about it really. I used the same phrases as the original mod to try and avoid this exact problem lol.
@Nemesis: Nice to see a friendly face around here lol. The main reason I did this modification was because I wanted it myself on 3.7 and saw no reason why I shouldn't release it for everyone else too. And the ladder system isn't a vB mod :P.
Sorry guys about not doing an update as I had originally planned, gt quite a few projects going on (mainly on doing a new site design) so I haven;t had as much spare time as I had expected. The main two updates I want to do would be firstly to fix the bug on not checking additional usergroups and at some point as I said on the first page I would like to give the admins the choice of how many groups to have and what they are called though at the moment that's a bit above my level. So let me get the bug fixxed first and then I can start looking into the expansion ;).
lucky_1
06-16-2008, 06:38 AM
Ya bro that - es my mistake =)). I just reedited the code and copied from the xml file not from editor. Thx for a late update but i'll check this. Also i've asked u to make a custom mod like this in which custom groups can be added and there names too. Im waiting for the next update.
mystic10
07-14-2008, 06:02 PM
there is no option to change it like in the other one where we can chage the worlds to fit our forum..how do we go about doing that...
mystic10
07-14-2008, 06:21 PM
any idea how to make it work with the userlegend hack...when i turn on the spit the userlend hack disapears and when i trun the hack off it reappears kindly help
TilkiBey
07-14-2008, 07:03 PM
thx and installed
but, i wanna add more groups
not 3,maybe 5 or 6
is it possible?
can i do it?
Senti.Jatt
07-17-2008, 06:22 AM
any idea how to make it work with the userlegend hack...when i turn on the spit the userlend hack disapears and when i trun the hack off it reappears kindly help
im looking for that too
Senti.Jatt
07-17-2008, 09:50 AM
how to change the phrase word?? i only activated team usergroup and it says admins and shows all the staff in admins group even its mod?? plz reply asap
Senti.Jatt
07-19-2008, 12:28 PM
guyz anyone?
Prisim
07-24-2008, 05:37 AM
BRo when i install it give an error on forum home
;rm THis is the eror word tat can see in who is online
Wat can i do for tat bro:confused:
PLz reply soon
Thanks in Advance
kushal
07-24-2008, 01:14 PM
Great mod thanks
Senti.Jatt
07-25-2008, 09:15 AM
no support..to be honest its shit for me now mod with no support sucks
consolegaming
07-25-2008, 09:55 PM
no support..to be honest its shit for me now mod with no support sucks
Sorry I started a full time job very recently and life's been a bit hectic as a result, I have just replied to your and prism's pm's. And I had already given a brief explanation on how to alter the names of the groups in response to a question on the first page. Though it may well be worth adding into the main mod details to make it more clear until a point where I can make the groups completely editable. Though making the number of groups editable is a significantly more difficult task.
Concerning this userlegend hack could you perhaps link me to it? (either here or through pm) and I'll get it installed on my test site and see what would be causing it. If anyone used the old version of this hack did the same issue occur with that? If not then I do apologize about that and I'll see what can be done once I have the details of the specific mod.
Senti.Jatt
07-26-2008, 08:59 AM
Sorry I started a full time job very recently and life's been a bit hectic as a result, I have just replied to your and prism's pm's. And I had already given a brief explanation on how to alter the names of the groups in response to a question on the first page. Though it may well be worth adding into the main mod details to make it more clear until a point where I can make the groups completely editable. Though making the number of groups editable is a significantly more difficult task.
Concerning this userlegend hack could you perhaps link me to it? (either here or through pm) and I'll get it installed on my test site and see what would be causing it. If anyone used the old version of this hack did the same issue occur with that? If not then I do apologize about that and I'll see what can be done once I have the details of the specific mod.
thanks man its all solved now and thanks for ur help i appreciate it :D
consolegaming
07-28-2008, 05:53 AM
No problem, I managed to find about three user legend hacks so I'm not sure which one people are talking about? If someone would kindly link me to the one they were talking about I'd gladly get it installed to try and investigate the issue described. If it's the one Survivor created for 3.6 then it looks like that is another hack that needs to be upgraded as again it doesn't work properly (doesn't save settings again) on 3.7. I see two hacks on 3.7 though that do work, but haven't tested them with with my own hack yet, will try that shortly if no-one answers my question ;).
Senti.Jatt
07-29-2008, 11:10 PM
it doesn't work with userlegend thats why i have manually edited template for userlegends
org knopper
08-10-2008, 03:08 PM
i have vb 3.7.2 but srangely this one doesnt work on my site and 3.6.x version does work dats strange and also i would like to know how do i add specific usergrps to certain level like team etc and also to have more categories like Programmers,VIP.Hope i get reply soon !
org knopper
09-10-2008, 06:12 AM
It doesnt even show in my VBoptions ? No replies yet ?
consolegaming
09-11-2008, 05:44 AM
Sorry I've had some computer problems recently which resulted in my computer being away for close to a month. It sounds like it isn't even installed in all honesty :S. Are you sure you followed all the installation instructions?
i.e. Uploading the file/s I provided to the correct directories? I'd be happy to take a look in your admincp for you if you wish. And I do apologize about the very late response time but circumstances have been out of my hand unfortunately.
org knopper
09-29-2008, 09:52 AM
I tried everything it shows in forum home page opions but not in VBoptions(if it should show).Also when i select various grps for various level n press save they are atomatically removed from it.Any idea why its happening ?
consolegaming
10-04-2008, 01:14 AM
From Correct me if I;m wrong but Forum Home Page Options is inside VB Options? Basically there's just a single setting in there which turns it on or off. if that option is not showing then it sounds like the xml for the vboptions hasnt been uploaded properly or at least that it can't find it. I'm asuming you've tried uninstalling and re-installing.
I'm actually on a different pc at the moment so don't have access to all my files but I'll re-download the mod over the weekend and take a look to see if I can find anything more concrete for you.
puertoblack2003
10-04-2008, 02:37 AM
it's working nice, but i have the spider display hack and its not showing.So i was playing around with the execution order which i suspect was the problem, and it worked...but it looks deformed and not in order is there a way to resolve this.
pb
stwilson
10-04-2008, 03:20 AM
Works great for me. Thank you for sharing!!!
Any suggestions for killing the spaces between the groups?
Nadeemjp
10-04-2008, 04:09 AM
works fine with 3.7.3
thanx
Derekclarke
11-10-2008, 07:17 PM
template text does not exist
org knopper
12-17-2008, 07:02 AM
Any usergroup mod compatible with this ?
christon26
12-29-2008, 08:07 PM
Thanx! *installed!*
Is there any thing like this for 3.8.X
KEKforce
01-15-2009, 10:09 PM
Is there any thing like this for 3.8.X
This works with me on 3.8.0 gold!
murekhalir
02-21-2009, 05:10 PM
Can you change the usergroup split name?
Team -> Staff
Premium -> Donaters
etc.
gsmph
02-22-2009, 12:50 AM
Can you change the usergroup split name?
Team -> Staff
Premium -> Donaters
etc.
much better if we can customize those at the ACP to what ever we want to put..
and could also add more slots of groups..
br
gsmph
:up:
C138 Kaysone
02-27-2009, 05:43 PM
Could you possible make it where the spiders are visible? instead of having to go to whos online and see what spiders are on the site
murekhalir
03-02-2009, 05:59 PM
There is another mod for this, you have to look it up though, not sure where i found it.
nalexandre
05-18-2009, 10:36 AM
Hi, i?ve a problem after install this mod, it gives me this error, it appears when everything is set.
Team: href="member.php?u=5373"> nalexandre
Thanks
s-p0k
09-23-2009, 05:03 PM
any update???????????????????????
consolegaming
12-29-2009, 12:50 AM
I'm sorry for not providing any updates for this. I just thought I'd leave a note to say that I'll be releasing a 4.0 version of this mod shortly. Unfortunately I've just not had the time to work on it like I would liked to so it is simply the same as this version but works on 4.0. It'll be posted up in a week or two.
I will still be looking into updating it to have some of the features that people are requesting (customizable groups i.e. name them whatever you want and however many you want) but stuff like that isn't very simple and at the moment I just don't have the time to make those improvements. I started this mod mainly to get it working for 3.7 when the old version failed.
chiggy
01-12-2010, 10:38 AM
its not work in vbulletin 4.0 i try it but its give me error any possiblity that its work for vbulletin 4.0 or can u tell me plz when u update this very good hack for vbulletin 4.0
Any News about VB4 Version?
do you have this for 3.8 version?
This version works under 3.8.x
consolegaming
02-26-2010, 10:55 PM
Sorry about lack of updates. The VB 4 version was basically done shortly after my last post in this thread but unfortunately the test site I've been working on went down shortly after that lol. I'm told it should be back up again very soon (i.e. next few days) so once it is I'll get it ready for posting on here.
Apologies.
PS: Yeah this version works just fine for 3.8.
Antonio Pereira
03-22-2010, 09:28 AM
Sorry about lack of updates. The VB 4 version was basically done shortly after my last post in this thread but unfortunately the test site I've been working on went down shortly after that lol. I'm told it should be back up again very soon (i.e. next few days) so once it is I'll get it ready for posting on here.
Apologies.
PS: Yeah this version works just fine for 3.8.
Any news?
I love this mod:up:
Best Regards
consolegaming
03-25-2010, 09:06 AM
Yeah sorry still waiting I'm afraid. The site's back up just not the database that the forum was installed to. Once it's up and posted I'll PM the people who have asked about the VB 4 version to let them know it's ready.
Hi,
sounds like good for a vb4 port :)
consolegaming
05-05-2010, 11:36 PM
Sorry about the very long wait guys. Unfortunately what I'd already started is long gone so I've had to do it from scratch. So I made a start again a few days ago. I should have something released within the next couple of weeks. I'm also working with 5 groups on this version rather than the 3 that was done for this version. Still not fully configurable though.
I've pretty much got it working now but it produces a lot of invalid html due to the listing structure that they now use for the member list. Plus I'd like to get it running on our own live forum to make sure it is working properly. Which I'm hoping to do at the weekend. Plus I'll need to make sure the install code is done properly.
consolegaming
05-08-2010, 10:00 PM
An update to my previous post. I've got it working pretty well now. No Validation issues, does mean there will be a template edit though (2 lines of CSS) but it's a lot less messier than what I'd done the first time round. So having to do it again was a bit of a blessing lol. Still not ready yet though. Installation code for example still needs to be sorted. Not upgraded our live site yet either.
EDIT: Changed a few more things around for my 4.x version. The names of the groups are now managed in the VB options. I've created a separate section for it too rather than being in the Forum Home Settings.
Hi,
thats are good news :)
consolegaming
05-25-2010, 12:46 AM
It's taken a while but it's finally been released. I'll be informing those who have asked about the 4.0.x version tomorrow. Some of the details like screenshots still need to be sorted but it's mostly the same just the names of the groups are now handled through the vbulletin options instead of phrases.
https://vborg.vbsupport.ru/showthread.php?t=243233
Forumkentimiz
05-29-2010, 02:26 PM
How can we also show that the attachment vBadvanced
consolegaming
05-29-2010, 10:35 PM
Sorry? Don't really know much about the vBadvanced plugin. And don't really follow your question. Are you asking how to get this working for the vBadvanced plugin?
Assuming that they have an online user listing then I guess it depends on how they've done it.
vBRiP
06-08-2010, 07:29 PM
thanks for the great mods, if you can update this, get the total number member of that group?
example:
Team (5):
VIP (15):
etc...
that would be great.
hope to from you soon.
consolegaming
06-10-2010, 03:51 PM
Not likely I'm afraid. I've moved to 4.x so I can't really update this old version anymore. I'm still around to support it but can't really provide updates for it anymore. I think your only allowed one live forum and one test forum so I'm at my limit I'm afraid.
Deadsy
10-24-2010, 12:52 AM
Hello,
we are on 3.8.4 pl1 and it seems not to work.
-The only file in the zip is uploaded
-product is installed
-usergroups set
-template edits done
but nothing happens here.
ceedee
01-10-2011, 03:08 PM
Still Working with vBulletin 3.8.6. Nice Addon
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.