Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Remove most members online
Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Apr 4, 2012 - 1:12 pm

Yellow Swordfish said
In a theme using overlays then the name of the file will be .php not .css - so it will whatever you renamed default,.php to be. That is the CSS file.

I see, did not know that about overlays. Did remove the change to reset.css file and looked through my theme.php file. I did try to change

background: <?php echo($controlBackGround); ?>;

to

background: #FFFFFF;

But the menu was still transparent. So i did add the original string again. Supose i am still looking at the wrong place. cool

Link: http://friskyttarna.eu/forum

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Apr 4, 2012 - 2:00 pm

Check your friskyttarna.php and look for

#spMainContainer #spQuickLinksTopic .dd .ddChild,
#spMainContainer #spQuickLinksForum .dd .ddChild {

Under it should be a background setting.

The default is:

    background: <?php echo($alt2SectionBackGround); ?>;

You should be able to change it to whatever color you want from either the overlay file or hard code it like

background: #FFFFFF;
Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Apr 4, 2012 - 3:56 pm

Perfect.

Really appricate the help.

Thank you guys!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 4, 2012 - 4:07 pm

Good to hear it is sorted out.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Sep 27, 2012 - 6:06 am

Hi,

As this is linked to this topic I thought it would be better than starting a new one, is that right?

I have done the amendments as described above but it is still calling the information for the numbers which are now appearing against the wrong headings eg.

Without alterations:

Most Users Ever Online: 169

Currently Online: Paul, Kenn, Mary,
87 Guest(s)

Currently Browsing this Page: Kenn

With Alterations:

Currently Online: 169

Currently Browsing this Page: Paul, Kenn, Mary
55

Guest(s)Kenn
3

Can you offer any advice as I also only want to remove the most users ever online not the whole column.

Thanks

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 27, 2012 - 6:17 am

In am not sure what you have done to end up with that...

The CSS solution using the display:none; was the one to go for. What exactly did you do?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Sep 27, 2012 - 6:38 am

If I just do the css edit: #spMainContainer .spMostOnline span { display: none; },

It removed the text but not the number:

169

Currently Online: Paul, Kenn, Mary, news
72 Guest(s)

Currently Browsing this Page: Kenn

 

So I tried also removing the line in footer.php aswell:

#__sp('Most Users Ever Online: '),

and it gives this:

169

Currently Browsing this Page: Paul, Kenn, Mary, news
70

Guest(s)Kenn

 

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Sep 27, 2012 - 9:11 am

Try it without the span in there.

#spMainContainer .spMostOnline { display: none; }
Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Sep 28, 2012 - 5:50 am

Thanks very much, removed 'span' and works great.smile

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 28, 2012 - 5:57 am

Thanks for the update.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625