Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
derek765
Regular
Regular


Joined: Sep 27, 2012
Posts: 99
Location: Okinawa, Japan

PostPosted: Thu Dec 06, 2012 4:19 am Reply with quote

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.

Image
 
View user's profile Send private message Visit poster's website
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Thu Dec 06, 2012 4:28 am Reply with quote

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! 
View user's profile Send private message Send e-mail Visit poster's website
derek765
PostPosted: Thu Dec 06, 2012 4:43 am Reply with quote

Negative, ended up switching to the default packaged fisubice RavenNuke theme.
 
nuken
PostPosted: Thu Dec 06, 2012 5:28 am Reply with quote

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

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
PostPosted: Thu Dec 06, 2012 6:23 am Reply with quote

Try refreshing the page and see if the it refreshes the css.
 
derek765
PostPosted: Thu Dec 06, 2012 6:58 am Reply with quote

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
PostPosted: Thu Dec 06, 2012 7:06 am Reply with quote

With more testing, I found out its only when guests are viewing it.
 
derek765
PostPosted: Thu Dec 06, 2012 5:06 pm Reply with quote

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: 1692
Location: Texas, USA

PostPosted: Thu Dec 06, 2012 6:33 pm Reply with quote

I see what you are saying there. I'll take a look at it and see what I can find.
 
View user's profile Send private message Visit poster's website
spasticdonkey
PostPosted: Thu Dec 06, 2012 7:05 pm Reply with quote

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.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©