vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Home Enhancements - Split Useronline on Forumhome (https://vborg.vbsupport.ru/showthread.php?t=181212)

consolegaming 05-31-2008 10:00 PM

Split Useronline on Forumhome
 
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
  1. Upload all necessary files to their respective directories.
  2. Install the product XML file.
  3. Turn on the Split Useronline tool (vBulletin Options -> Forum Home Page Options -> Split Useronline - Yes.
  4. Implement small template edit (see below).
  5. 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
  1. Open the forumhome_loggedinuser template.
  2. Find:
    HTML Code:

    <if condition="$show['comma_leader']">, </if>
  3. Replace with:
    HTML Code:

    <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

Quote:

Originally Posted by pureturk (Post 1538090)
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

Quote:

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


All times are GMT. The time now is 01:52 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.01163 seconds
  • Memory Usage 1,738KB
  • 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_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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