The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Split Useronline on Forumhome (Members / Team) Details »» | |||||||||||||||||||||||||||
Split Useronline on Forumhome (Members / Team)
Developer Last Online: May 2020
Split Useronline
Description This Hack splits the User Onine Display on Forumhome. In the ACP you can select Team-Usergroups. The Description (Team/Member) will only be shown up, if anybody of this Categorie is online. Installation Import the Product and configurate it in the vBulletin Settings (No Templateedit) That's all, have fun Changelog v 1.0.2 [F] Fixed a bug (Usercount) [F] Fixed a bug that the description was not showing up, when no team-member was online [+] Added two Groups: Premiummembers & VIPs v 1.0.3 [+] If only normal Members are online, the Description is not shown up now (Thanks to Snake) Greetings Surviver Show Your Support
|
Comments |
#92
|
||||
|
||||
Quote:
member, , member, How can I correct this? Thank you |
#93
|
||||
|
||||
Dude, I provided a fix for this at the bottom of the last page
|
#94
|
|||
|
|||
I installed the "Site Life Status" hack (https://vborg.vbsupport.ru/showthread.php?t=174416). Once installed, I noticed that my split user online hack wasn't working. I went to my forum homepage options and all of the boxes were unchecked, which I thought odd. So I went and rechecked them. It said it saved the settings, but it didn't. The boxes still come up blank, and the homepage doesn't show my users in the groups they're supposed to be in. I UNINSTALLED and deleted all of the files for the Site Life Status hack, and then uninstalled and REinstalled this hack. It still won't work! Any ideas as to how I can fix it? I really like this hack and want it to work. I didn't have to manually edit any templates w/the Site Life Status hack, so that shouldn't be an issue. Please help!
|
#95
|
||||
|
||||
I had this working in 3.7 without a problem. I went to bed for a few hours, come back and suddenly its not working anymore. Reinstalling this did not correct the problem. Anyone has a definite working version for 3.7? I checked vboptions, it is enabled but nothing was checked. So I re-checked them, saved. It refreshes the page, nothing saved
|
#96
|
|||
|
|||
Quote:
|
#97
|
||||
|
||||
Is there anyone that can get this working on 3.7?
|
#98
|
||||
|
||||
Yes, I am using a copy on 3.7 I just had to make the edit I mentioned on the previous page in order to fix the double comma issue.
There is some problem with the group selections not saving properly on its config page, but this doesn't really bother me as I am only using it for default groups anyway. |
#99
|
|||
|
|||
can get this working on 3.7?
|
#100
|
|||
|
|||
Ok got a better fix to the double comma issue. One that won't bugger up when the plugin is disabled. The previous fix would cause no comma's to be shown if you disabled the plugin.
Firstly undo the steps highlighted by GamerGirl27 if you indeed followed them. It then requires changes to 2 of the 3 plugins used for this Product. On the Aufteilen plugin (the one attached to the forumhome_loggedinuser hook ). Find (appears several times - be sure to replace each one): Code:
", ' Code:
"' On the Ausgeben plugin (the one attached to the forumhome-complete hook). Replace your entire plugin code with the following: Code:
if(($activeonlineusers['team'] OR $activeonlineusers['members'] OR $activeonlineusers['premiummembers'] OR $activeonlineusers['vips']) AND $vbulletin->options['split_useronline_active']) { unset($activeusers); if($activeonlineusers['team']) { $activeusers .= "<b>".$vbphrase['team'].":</b> ".$activeonlineusers['team']."<br /><br />"; } if($activeonlineusers['vips']) { $activeusers .= "<b>".$vbphrase['vips'].":</b> ".$activeonlineusers['vips']."<br /><br />"; } if($activeonlineusers['premiummembers']) { $activeusers .= "<b>".$vbphrase['premiummembers'].":</b> ".$activeonlineusers['premiummembers']."<br /><br />"; } if($activeonlineusers['members']) { $activeusers .= iif($show['othergroups'], "<b>".$vbphrase['members'].":</b> ").$activeonlineusers['members']."<br />"; } } All I did was remove every instance of the substr function. Originally this was used to delete the extra ", " that would have been produced by the first plugin we altered. As this is no longer produced it is deleting code that we no longer need it to. Congratulations the online users will display correctly now whether you have the plugin enabled or disabled. |
#101
|
|||
|
|||
Ok, not quite as perfect as I thought it was.
It seems depending on the nyumber of people in a group that it ++++s up the first one in all the groups. i.e. sometimes for a staff member their name has no space after it and the first user has a spare commar before it. And other times for a user their name doenst have a space after it and the staff has an extra , before the first one. Seems to alternate based on number of staff online I believe (possibly odds/evens). Trying to get to the bottom of it. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|