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 date
Avatar
MT
United States
Member
Free Members
sp_UserOfflineSmall Offline
Jul 5, 2012 - 9:42 pm

How do I remove posts' dates? especially on the main page where forums are listed..

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 5, 2012 - 11:41 pm

Depends on the page view, but it's all controlled by your sp theme and the template file in use. In each page view template file you will see a bunch of template functions which control the display elements.

For group view, the main forum page, the template file from your sp theme is spGroupView.php. Take a look inside the forum loop at the functions called and I think you can deduce which one does the dates. If not, llet me know and I can be more exact when not on a mobile device.

Btw, please be sure to use your own sp theme rather than edit one of ours to keep from losing mods on upgrades. See our codex article on creating your on theme if needs.

> >

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 6, 2012 - 2:07 am

sorry, that probably wasnt clear...  in group view, ie spGroupView.php, look for:

                                    sp_ForumIndexLastPost('tagClass=spInRowPostLink&nicedate=1&date=0&time=0&stackdate=0', __sp('Last Post'), __sp('No Topics'));

and change the arguments to be

                                    sp_ForumIndexLastPost('tagClass=spInRowPostLink&nicedate=0&date=0&time=0&stackdate=0', __sp('Last Post'), __sp('No Topics'));

that will inhibit the date display..

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