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 - 4:26 am

Hi,

Would appricate if you could tell me how to remove the "most members online" status from the forum footer.

Thank you in advance

Thomas

 

Edit

I just saw the blog linking plugin. Does it work with new posts only, or could i use it to link old posts as well?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 4, 2012 - 6:31 am

Is it just that one line you want to remove or that section of the stats box?

The linking plugin does not currently support any automated method of linking existing blog posts. Loading an old blog post in the WP editor and then updating it will optionally create a new forum topic however - but that is strictly a manual procedure of course.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Apr 4, 2012 - 8:19 am

Yes it´s only that line. Current users online and other stats i do want to keep.

Okey thanks, a pity i could not use the plugin to link existing post. The reason i asked was because i have been thinking of changing from a business theme to a blog theme at my site.

Oh well, seems like i will continue using my old theme. kiss

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 4, 2012 - 8:23 am

for the stats, look in the theme spFoot.php template file... you will see near the bottom calls to template tags to output various stats elements... just remove the ones you dont want...

as always, we suggest you use your own sp theme and not one of ours... see: http://codex.simple-press.com/.....g-a-theme/

Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Apr 4, 2012 - 8:33 am

I have been trying to edit the spFoot.php template by removing:

__sp('Most Users Ever Online: ')

 

But it did mess up the template.

However the reason i did pay for silver membership is because i have very limited knowledge in php. So i would greatly appricate if you could take your time to give me a concrete example of which part of the original code to remove.

 

P.S.

By the way, i am using a "child" sp-theme.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 4, 2012 - 9:35 am

That part is just a label and is required although can be empty.

The reason I asked if you just wanted to remove that single part is because I looked at the code when you asked the question and it does not look like  we currently support removing a single line but only the whole column.

So we can tell you how to remove the column but if you want just the one line we will need to do some work on core code first.

However, a simple workaround for speed would be to hide that single like and you could do this by adding the following to your SP CSS style file:

#spMainContainer .spMostOnline { display: none; }

which while I have not tried it yet - should do the trick.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Apr 4, 2012 - 9:42 am

Thank you, it worked like a charm.

No need to rework the code, i am perfectly happy with this solution.

P.S.

Another question, is there any way to hide the entire section (unread and recently updated topics) between the forum and the footer?

D.S.

How to change the background of the "unread and recently updated topics" drop down menu? It´s transparent at the moment, which make it very hard to read the topics since the text blend in to the forum text.

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

The recent post list template function is in the spGroupView.php template which you can edit using the theme editor. This is the template for what is, essentially, the front page of the forum.

Right down at the bottom is a call to the display function sp_RecentPostList() - you can simply remove that line or comment it out (put a # in front of it).

For the background of the QuickLinks you will actually need the CSS file itself. Start at the bottom and work up - not far - to the start of the QuickLinks section and in that first block you will see the 'background-color'. It really depends on what theme you have based yours on but it might be a php echo function for an overlay. You can remove that of course and just apply what ever colour you prefer. Any problems doing that just come back and we can help out.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Apr 4, 2012 - 12:28 pm

Thank you very much. The php fix removed the section i wanted - brilliant!

I got a bit confused with the css file, because the only one i am able to find is the "reset.css". I am using your default theme as base for my child theme. Is reset.css the correct file?

Edit

Did try to edit the reset.css file and changed transparent to #ffffff. Worked great, but when i am hovering with my pointer over the text in the drop down menu, the blue "marker" color only shows beside the text, not "over". The text section is white. How to accomplish that the entire row is the same color?

Sorry about my bad english. I hope you understand what i want to accomplish.

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

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.

Can you remove your changes and give me a link to your forum as it sounds a little like you might be getting some 'bleed' through from your WP theme and that might nee to be handled differently.

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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626