![]() |
Quote:
Edit the Forum Blocks PHP code... find Code:
$staffsarray = array('activestaff' => $activestaff); and replace both lines with these 3 lines: Code:
$nums = "($bp5i)"; Then in the template block_staff_online_bop5 Find the 2nd instance of: Code:
{vb:rawphrase bop5_staff_online} Code:
{vb:raw content.nums} |
BOP, how about the ability/option to remove the user title?
Nice add for the Total online call. |
i`ve got this installed on my side block but i`ve noticed after a while no staff are showing online when i`m allways online but if i uninstall and install again it shows staff online for a while but then not showing again any idea , i had this on another site and worked fine tho
|
There is no reason installing/uninstalling should change anything. I would suspect whatever the issue it's with sessions on your site, not caused by this mod.
|
Quote:
For example, we have the Session Timeout option set to one hour on KH-Flare. If I'm inactive for over an hour and then reload the index, I will not see myself. I have the cache time set for one minute for the staff block, so if I reload the index a few minutes later, I will see myself again. |
1 Attachment(s)
Love the mod but i get this? And it dont show any staff? Suggestions?
|
I have the same problem as SPEEDKILLZ on vb 4.2.2
|
You probably did not change the Template to Use field from block_html to block_staff_online_bop5
That would give you the Array results. |
Thank you ozzy47.Working now
|
Not a problem, glad to help. :)
|
1 Attachment(s)
Quote:
I got it to show but it is all messed up. Including the boarders? |
I don't see it on your site, so it is impossible for me to see what is going on.
|
Quote:
|
Did you add the css to your additional.css template?
|
Quote:
|
This code
Code:
|
If I am not mistaken that is the TF_Ideal_Blue style.
The issue there is, the skin developer had to add <div class="clear"></div> to all the default sideblocks, which adds clear:both to the element basically a glorified, forced linebreak. That is not standard coding, so of course any sideblocks that are coded to vBulletin default will look off in those styles. To solve it you need to open the additional.css for each of the styles and find, #sidebar_container .blocksubhead, #sidebar_container .blocksubhead.smaller There you will see something like this: HTML Code:
#sidebar_container .blocksubhead, HTML Code:
overflow: hidden; |
Like a charm ozzy. Thank you
|
Not a problem, I only know about this because I have dealt with that style before, and already had figured out how to fix it. :)
|
Well i am glad you are a advisor here. You are a huge help :) Now you can look at my latest post in more share option lol
|
4.2.1 installed , rating 5 , nominated
thanks |
Hi, just installed this for the first time, followed the instructions, getting this SQL error when I activate the block, which messes up the forum:
Quote:
:) |
:( i dont know how to edit additional.css
|
You can add sorting displayed groups?
|
I've just installed this. How do you change the block title 'Current Staff Online' to something else? Changing the title in the 'edit block' form makes no difference.
|
Try changing the phrase bop5_staff_online
|
Oh yeah. Thanks :)
|
Not a problem, glad to help. :)
|
Well, here's one issue that I'm noticing... the current settings within the provided additional.css code tend to squeeze the larger avatars to the point of image distortion. For example, we have some staff avatars that are 180px × 120px and they end up looking very squeezed within the sidebar.
The actual aspect ratios of member avatars can however be preserved by changing max-width: 40px; to max-width: 60px; ...however, that misaligns the usernames and titles because they are each positioned the same distance from their respective multiple-width avatars. So my choices seem to be: 1) accept the overly squeezed larger avatars, 2) accept the misaligned usernames, or 3) disable the display of avatars within this sideblock mod. The first two options don't look quite right. Playing around a bit, I've found that I can adjust the padding directive from 4px to, say, 24px. This will move the usernames farther toward the center of the sideblock. But unfortunately they are still misaligned. I've noticed that various other sideblocks I add to the sidebar will auto-reduce avatar size proportionally in order to preserve aspect ratio and retain alignment of the text margin points. Can this somehow be done for this sideblock mod as well? And if not, is there any other solution that will allow the usernames and title text to line up while retaining the aspect ratios for larger avatars? Other than this issue, I really love the mod! Thanks |
Update:
I've changed the max-width to 54 pixels ...while it's not perfect, I think I can live with it if there's no other available solution. |
How to reorder of the groups displayed? I've got Mod currently on top, Admin below.
|
how to create site block to show staff online i am also using your add on sidebar everywhere after installing this mod edited its settings but when i go to forum block i cant see any block of staff online to create?
|
Did you do this part of the instructions?
Go to Admin CP -> Forums & Moderators (on the side menu) -> Forum Blocks Manager Click on "Add Block" Choose "Custom HTML/PHP" from the drop down menu and click "Continue" Title: Staff Online by BOP5 Description: Sideblock shows current forum staff online. Cache Time: 1 Display Order: (Your Choice) Content Type: PHP Template to use: block_staff_online_bop5 Content: <<<<<<< COPY BELOW THIS LINE >>>>>>>> PHP Code:
|
YAAAAYYYYYY!!!!
after posting that code which you have mentioned is working fine.... by the way that code is not mentioned in the readme file nor on the post page? it must be added iznt that? thanks much much for the help you are great |
It is in the text document that came with this mod, it is named, Staff Online Sideblock & Widget by BOP5 Install
|
True sorry my bad i appologize i didnt scrooled down till end :/ thats why it occurs thank you dear
|
It's cool, it happens to all of us at some point. :)
|
Any idea why i'm getting a databaser error?
Code:
Invalid SQL: |
Bummer..even with the update this still doesn't work for me ...I get the following error:
Warning: Invalid argument supplied for foreach() in [path]/includes/class_core.php(4606) : eval()'d code on line 12 |
Any idea about this BOP5? ....
|
All times are GMT. The time now is 09:14 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|