Author |
Message |
derek765
Regular


Joined: Sep 27, 2012
Posts: 99
Location: Okinawa, Japan
|
Posted:
Thu Dec 06, 2012 4:19 am |
|
I am using the default Site Info block which came with the new Raven 2.5 package.
I was doing some testing for errors or things I could fix, from viewing my site as a guest, so I logged out of admin and normal user login, and noticed that when as a guest, on the Online Now, it is showing 1 Visitor, but the image and text is overlapping, as showed in the provided pick, now I only I could disable the view of online users from guest, but I dont wanna do that.
 |
|
|
|
 |
nuken
RavenNuke(tm) Development Team

Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Thu Dec 06, 2012 4:28 am |
|
Is this and the other issues with that old theme that has the js issue? |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
 |
derek765

|
Posted:
Thu Dec 06, 2012 4:43 am |
|
Negative, ended up switching to the default packaged fisubice RavenNuke theme. |
|
|
|
 |
nuken

|
Posted:
Thu Dec 06, 2012 5:28 am |
|
What browser are you using? I just looked at your site in Chrome and FF 16 and did not see the issue. |
|
|
|
 |
derek765

|
Posted:
Thu Dec 06, 2012 5:52 am |
|
I am using FF 17, I just tested it with Chrome as well, and I see it, its only if your a guest, not logged in as a registered user. |
|
|
|
 |
nuken

|
Posted:
Thu Dec 06, 2012 6:23 am |
|
Try refreshing the page and see if the it refreshes the css. |
|
|
|
 |
derek765

|
Posted:
Thu Dec 06, 2012 6:58 am |
|
No, tested it with all updated browsers.
As a guest, not registered user or admin.
The Image and 1 Visitor overlap, but once logged into either admin or your account, its fine.
Dont understand it. lol |
|
|
|
 |
derek765

|
Posted:
Thu Dec 06, 2012 7:06 am |
|
With more testing, I found out its only when guests are viewing it. |
|
|
|
 |
derek765

|
Posted:
Thu Dec 06, 2012 5:06 pm |
|
Alright, I was messing around with the configuration and fixed the issue, I dont know how this was causing a issue with the Image and Text overlapping.
But if you guys wanted to check it out, here is how it was setup that was causing overlapping.
/blocks/block-User_Info.php
Code:/* ONLINE NOW SECTION */
$who_is_online_view = 0; // ONLINE NOW SECTION: Who can view? 0=everyone 1=user-only 2=admin-only 3=disable
$show_guest_guest = 1; // show online guests to 0=everyone 1=user-only 2=admin-only 3=disable
$max_display_guests = 10; // maximum number of online guests to display
$max_display_members = 10; // maximum number of online members to display
$showonlinecount = 1; // total count of online guests/members: Who can view? 0=everyone 1=user-only 2=admin-only 3=disable
$max_session_mins = 15; // how long before inactive users are dropped from online list
|
Then when changed to this configuration below, it fixed it.
Code:/* ONLINE NOW SECTION */
$who_is_online_view = 0; // ONLINE NOW SECTION: Who can view? 0=everyone 1=user-only 2=admin-only 3=disable
$show_guest_guest = 0; // show online guests to 0=everyone 1=user-only 2=admin-only 3=disable
$max_display_guests = 10; // maximum number of online guests to display
$max_display_members = 10; // maximum number of online members to display
$showonlinecount = 0; // total count of online guests/members: Who can view? 0=everyone 1=user-only 2=admin-only 3=disable
$max_session_mins = 15; // how long before inactive users are dropped from online list
|
|
|
|
|
 |
spasticdonkey
RavenNuke(tm) Development Team

Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA
|
Posted:
Thu Dec 06, 2012 6:33 pm |
|
I see what you are saying there. I'll take a look at it and see what I can find. |
|
|
|
 |
spasticdonkey

|
Posted:
Thu Dec 06, 2012 7:05 pm |
|
There is a slight bug on or around line 421. Good catch.
FIND
if ($g > 0 AND $OnlineGuestsModal) {
REPLACE WITH
if ($g > 0 AND $OnlineGuestsModal AND $viewlevel>=$show_guest_guest) {
Although with the settings you had first tried I would recommend setting
$who_is_online_view = 1;
Because with the other settings, everything in the list "should" only be displayed to users, which will prevent the entire (empty) "Online Now" section from appearing to guests. |
|
|
|
 |
|