The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Current Staff Online Forum Sideblock and CMS Widget by BOP5 Details »» | |||||||||||||||||||||||||||||||||||||
Current Staff Online Forum Sideblock and CMS Widget by BOP5
Developer Last Online: Aug 2023
Brought to you by BirdOPrey5
www.Qapla.com New Version: 0.99 Beta New in 0.99
This is my first attempt at a Sideblock and Widget. The purpose of this is to list all forum staff members online. There are settings to choose which usergroups are considered staff groups and for other basic settings. The product .xml file contains the necessary templates and phrases but you will need to manually install the sideblock code itself and/or manually create the widget. Specific installation instructions are in the .txt file in the zip file but the overall process is:
Overall this is working well- it is Beta as it's my fist Sideblock and Widget. I know it works on VB 4.2.0 but it should work on earlier versions as well (code was revised in Beta 0.99 for greater compatibility.) If you get an error at the top of the browser window when you enable the sideblock or widget you know your VB version is too old. In addition to working with my Font Selection by Username mod it will also work withe my Sidebar Anywhere mod. Does not work with "Everywhere Sidebar" mod but DOES work with MY "Sidebar Anywhere" mod. ------------------------------------------------------ Please "Mark as Installed" if you use this. Donations always appreciated. :up: Nominate MOTM if you LOVE it! Download Now
Screenshots
Show Your Support
|
11 благодарности(ей) от: | ||
akz645, Alex@bulletin, blind-eddie, findingpeace, Gemma, Hornstar, NoMatt3r, sodasusu, t-j, Taurus1, Techno Cowboy |
Comments |
#172
|
||||
|
||||
I sent you a pm with the information BOP5 ... I rather not post it for security reasons ... hope you understand
|
#173
|
|||
|
|||
not working at my side i am setup all things but now active ..
|
#174
|
|||
|
|||
How to order admins by their usergroups.
|
#175
|
|||
|
|||
Hey loving the Mod installed it all right did the Forum Block due toi me not havingf the CMS to do widget yet i see nothing on the main style help
update fixed the 1st half it dosn't show the new post and other things on the slider and i am useing the alternertave slider from your mod help also this pops up when i useing your slider Code:
PHP Warning: mysqli_query(): (42S22/1054): Unknown column 'user.bop5_userfont' in 'field list' in ..../includes/class_core.php on line 1394 Database Error Database error The Habbolution database has encountered a problem. Please try the following: Load the page again by clicking the Refresh button in your web browser. Open the forums.habbolution.com home page, then try to open another page. Click the Back button to try another link. The forums.habbolution.com forum technical staff have been notified of the error, though you may contact them if the problem persists. We apologise for any inconvenience. Database error in vBulletin 4.2.3: Invalid SQL: SELECT user.username, user.usergroupid, user.lastvisit, user.usertitle, session.userid, session.inforum, session.lastactivity, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid , user.bop5_userfont AS bop5_userfont , user.bop5_usersize AS bop5_usersize , user.bop5_usercolor AS bop5_usercolor FROM session AS session LEFT JOIN user AS user ON(user.userid = session.userid) WHERE session.lastactivity > 1486939441 AND user.usergroupid IN (7,2,6,10,13,16,17,11,14,18,9,19,12,15,20,-1) ORDER BY username ASC; MySQL Error : Unknown column 'user.bop5_userfont' in 'field list' Error Number : 1054 Request Date : Sunday, February 12th 2017 @ 10:59:01 PM Error Date : Sunday, February 12th 2017 @ 10:59:01 PM Script : http://forums.habbolution.com/forum.php Referrer : http://forums.habbolution.com/forum.php IP Address : My IP been removed on here for secruity Reasons Username : YTFilthyAngelOfHype Classname : vB_Database_MySQLi MySQL Version : 10.1.18-MariaDB |
#176
|
|||
|
|||
@BOP5
|
#177
|
||||
|
||||
Hello,
I see your post, but I'm sorry this mod is unsupported. I hate this mod, it worked(s) for most people but it was an ugly mod to build and I don't have the time to support it. I'm sorry. The code is marked re-usable in case someone else wants to take it over. |
#178
|
||||
|
||||
Quote:
I made some changes for easy installation. If you allow, I would like to share it with another topic. Thank you! |
2 благодарности(ей) от: | ||
BirdOPrey5, CAG CheechDogg |
#180
|
||||
|
||||
Quote:
|
3 благодарности(ей) от: | ||
CAG CheechDogg, Fenomeno10, yilmaz |
#181
|
|||
|
|||
For https support use below code
Code:
global $vbulletin, $vbphrase; $vbo = &$vbulletin->options; if ($vbo['bop5sob_en']) { $staff_usergroupids = $vbo['bop5so_groups']; $bopshowav = $vbo['bop5so_showav']; $dofonts = $vbo['bop5so_intfont']; $dosizes = $vbo['bop5so_intsize']; $docolor = $vbo['bop5so_intcolor']; $showinvisible = $vbo['bop5so_showinvis']; $nostaffuser = $vbphrase['bop5_staff_online_none']; $nostaffusertitle = $vbphrase['bop5_staff_online_no_staff']; if (THIS_SCRIPT != 'index') { require_once(DIR . '/includes/functions_bigthree.php'); } $cooktimeout = TIMENOW - $vbulletin->options['cookietimeout']; $staffcount = 0; $bop5_fields = ''; if ($dofonts) $bop5_fields .= " , user.bop5_userfont AS bop5_userfont "; if ($dosizes) $bop5_fields .= " , user.bop5_usersize AS bop5_usersize "; if ($docolor) $bop5_fields .= " , user.bop5_usercolor AS bop5_usercolor "; if ($showinvisible) { $forumstaff = $vbulletin->db->query_read_slave(" SELECT user.username, user.usergroupid, user.lastvisit, user.usertitle, session.userid, session.inforum, session.lastactivity, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid $bop5_fields FROM " . TABLE_PREFIX . "session AS session LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = session.userid) WHERE session.lastactivity > $cooktimeout AND user.usergroupid IN (".$staff_usergroupids .") ORDER BY username ASC"); } else { $forumstaff = $vbulletin->db->query_read_slave(" SELECT user.username, (user.options & " . $vbulletin->bf_misc_useroptions['invisible'] . ") AS invisible, user.usergroupid, user.lastvisit, user.usertitle, session.userid, session.inforum, session.lastactivity, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid $bop5_fields FROM " . TABLE_PREFIX . "session AS session LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = session.userid) WHERE session.lastactivity > $cooktimeout AND user.usergroupid IN (".$staff_usergroupids .") ORDER BY username ASC"); } $bp5i = 0; while ($staffon = $vbulletin->db->fetch_array($forumstaff)) { $bp5i++; $userid = $staffon['userid']; $userinfos[$userid] = $staffon; } if (!$bp5i) //No Staff Online { $userid = 0; $userinfos[$userid] = $staffon; $staffon['showav'] = 0; $staffon['musername'] = $staffon['username'] = $nostaffuser; $staffon['usertitle'] = $nostaffusertitle; $staffon['none'] = true; $activestaff[0] = $staffon; } else { $activestaff = array(); foreach ($userinfos AS $userid => $staffon) { fetch_musername($staffon); $staffon['none'] = false; $staffon['showav'] = $bopshowav; if ($bopshowav) { require_once('./includes/functions_user.php'); $staffon['avatarurl'] = fetch_avatar_url($staffon['userid']); if (!$staffon['avatarurl']) $staffon['avatarurl'] = $stylevar['imgdir_misc'] . 'images/misc/unknown.gif'; else { $staffon['avatarurl'] = str_replace('http','https',$staffon['avatarurl'][0]); } } if (fetch_online_status($staffon)) { $staffcount++; $activestaff[$staffcount] = $staffon; } } } unset($userinfos, $staffon); $vbulletin->db->free_result($forumstaff); $staffsarray = array('activestaff' => $activestaff); return $staffsarray; } |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|