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
Icon Text and removing : from first/last poster
Avatar
Moggle
Member
Free Members
sp_UserOfflineSmall Offline
Jan 20, 2012 - 3:36 am

First of all, thank you for a fantastic forum plugin.

 

Now my queries, in the previous versions, you are able to remove the icon texts, i.e. profile, members etc.  How do I remove them in version 5?

 

Also, I have heavily changed my theme to display the different headings like other forums, i.e. Topics, Posts, First Post, Last Post columns etc.  I have noticed that if I remove some text, I am left with the : symbol.  I have discovered that this is in the core files and I do not wish to edit these files.  Is there a way to remove the : from sp_TopicIndexFirstPost and sp_TopicIndexLastPost from the theme files?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 20, 2012 - 5:59 am

1 - Text on buttons: At least I assume you mean the text on buttons. Yu have obviously already been looking through the code so that's a good start.

V5 is now theme driven. So if you go to the templates and find - for example - the spHead template you will see all the calls for the header display elements including the labels that are passed. These are for button labels and for tooltips on the buttons. So you can just remove them if you do not want any text. You can also - should you want to - change the buttons for links and as soon as we are able over the next few weeks we will be documenting all of this in a new codex.

2 - Those pesky colons: While probably a fringe case you raise a damn good point. Those colons should be in the theme template and NOT in the core code. I will open a ticket now and see if we can change that quickly before release. The main issue there is that we can not place the colons in the string of text but we can concatenate them in the labels so they can be easily changed or removed. So - will be done our end.

As always - we recommend that you create your own theme to save it from future updates. We will have a codex article on that soon as well!

andy-signature.png
YELLOW
SWORDFISH
Avatar
Moggle
Member
Free Members
sp_UserOfflineSmall Offline
Jan 20, 2012 - 6:11 am

Thank you for the quick response. 

I've managed to remove the text next to the buttons now.  Didn't think it was that simple and I have looked in the sp_head template before but couldn't find anything, guess it was one of those days as I have been making huge changes.

 

Its quite strange with the colons.  I've managed to remove the colons from the counts (i.e. TopicIndexViewCount) by changing the stack to 1.  If a similar approach could be done for the first/last poster, then that would be great.

 

Thank you again for a wonderful plugin.  Keep up the good work.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 20, 2012 - 6:39 am

Will be done. As soon as I can and hopeefully for the next update

andy-signature.png
YELLOW
SWORDFISH
Avatar
Moggle
Member
Free Members
sp_UserOfflineSmall Offline
Feb 27, 2012 - 9:53 am

Regarding the colons, although this has been updated for the main forums, but when you view the subforums of a specific forum, it still displays the colons. Will this be updated in the next release?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 27, 2012 - 10:11 am

Sounds like an oversight on my part so yes. Will look into it.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Moggle
Member
Free Members
sp_UserOfflineSmall Offline
Mar 2, 2012 - 11:03 am

one more area with rogue colons in sp-list-view-functions.php.

Thanks.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 2, 2012 - 12:56 pm

Yes - got it thanks.

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