Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Remove online/offline status
Avatar
Crunchii
Member
Free Members
sp_UserOfflineSmall Offline
Feb 5, 2012 - 8:36 am

Where can I remove the feature which is shown when people post?

P.S. I should have my own topic with questions 🙂

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 5, 2012 - 10:28 am

shown when people post?? not really following... do you want to remove the online/offline status in the user info area for each post (which has nothing to do with posting)? if so, you can just remove the template tag call for it in the sp theme you are using (make your own first)...

Avatar
Flora
Rookie
Free Members
sp_UserOfflineSmall Offline
Feb 5, 2012 - 2:02 pm

With a lot of the questions/ answers it would be great to inform users how to solve their problems with the "default" theme, just so they could get one theme working?

I too would like to remove the user "online/ offline" status and also their "Forum Posts" count which is shown under their name in the forums. I am not sure where to do that, and hacking away at it if I will remove that information for myself as Admin.

I also had a huge problem last night trying to find out how to work with the footer Forum Stats / Member Stats / Most Users Ever Online and all of that in the help forums. I think the problem is that all the forums here (in the help forums) have that as a footer, so every post here shows up as a result in search since the stats are on every page here. I finally just deleted all of that information in the spFoot, but now am not sure how I can get that information as an Admin, which I would like to.

Thanks for any info!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 5, 2012 - 2:14 pm

Flora agree if we know what the question is... since the OP question was not understood, a clarifying question was asked...

search can also be useful since we often answer the same question dozens of times...

the theme template files are just another php file, so you can do whatever you would like to control things...  the current default theme is how we choose to do things, but that is the power of themes as anyone can do what they want...  we highly recommend you make your own theme before customizing because if you make changes to ours, they will get overridden if you upgrade our theme...  see http://codex.simple-press.com/.....g-a-theme/ for help on creating your own theme from one of ours...

most display items are done with template tags in the theme...  so for your two things you want to remove, since they are topic views (list of posts), look in the spTopicView.php template file...  you will see where the online status and post count template tags are called to output those items... simply delete the function calls and the data will not be output...  holler if you still have trouble finding them...

as to the stats, if you only want to display it for admins, you need a quick check for an admin...  so in the spFoot.php template file, assuming you put the stats template tags back in, just surround it by a check for admin

if ($spThisUser->admin) {

   # here goes our stats template tags function calls

}

and the stats will only be shown to forum admins...

Avatar
Flora
Rookie
Free Members
sp_UserOfflineSmall Offline
Feb 5, 2012 - 2:58 pm

Thanks so much! I will now set out to work on that!

What I was saying is that because the support forums here have the Forum Stats - Member Stats - Currently Online and the other footer information listed on each and every page, search results have a hard time finding any answers regarding those words.

To help users and you (so you don't have to repeat yourself constantly!), I'll add this list of search terms, which will hopefully help others find this thread with it's answers in the future!

Thanks again, will have a few other questions if I can't sort them .. but am reading all of the threads here!

 

simple-press.com: "Remove Forum Stats" , "Remove Member Stats" , "Remove Most Users Ever Online", "Delete Forum Stats", "Delete  Member Stats", "Delete Most Users Ever Online", "Simple:Press Remove Forum Stats" , "Simple:Press Remove Member Stats" , "Simple:Press Remove Most Users Ever Online", "remove user online offline status", "remove Forum Posts count", "delete user online offline status", "delete Forum Posts count"

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 5, 2012 - 3:08 pm

that's what tags should be for... interestingly, I hadnt noticed they were off on this forum - probably from when it was a closed alpha... but I will turn them on... just need folks to use them wink

Avatar
PhilipJKM
Guest
Guests
Feb 6, 2012 - 8:16 am

You should have ratings for SP forum because I would give you a lot of 5 star ratings surprised

Thank you for your help and its apparently often in the tags I should do my work.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 6, 2012 - 8:53 am

Thanks.
I hope your digging is profitable!

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: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620