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
Change Forum & Topic Icon in case of new post
Avatar
Dave
Member
sp_UserOfflineSmall Offline
Jan 29, 2012 - 7:07 am

Will a path work so we can store the icons in the custom icons folder alongside our other custom icons(I'm thinking of the custom forum icons I've created)?

Avatar
CuberToy
Member
Free Members
sp_UserOfflineSmall Offline
Jan 29, 2012 - 7:32 am

I've tried (just to see) don't seems to work. In fact that make sense.

Personnally, I put them in the images folder in the theme folder (as it is my theme, no need for other icon than the one I'm doing right now).

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 29, 2012 - 8:13 am

No sorry - these need to go with the theme.

FYI however, the next updates we release to SP core and plugins WILL allow you to store custom icons you might create for plugins also in the theme images folder which will preserve them from future plugin updates. This was already the case for a plugin's CSS file.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Dave
Member
sp_UserOfflineSmall Offline
Jan 30, 2012 - 3:44 am

OK, Maybe my eyes are tired, but I've added the following (along with a corresponding icon in the theme folder)...

# Start the 'groupHeader' section
sp_SectionStart('tagClass=spGroupViewSection', 'groupHeader');
sp_GroupHeaderRSSButton('tagClass=spButton spRight', __sp('Group RSS'), __sp('Subscribe to the RSS feed for this forum group'));

sp_GroupHeaderIcon('tagClass=spHeaderIcon spLeft&iconUnread=sp_GroupIconUnread.png');
sp_GroupHeaderName('tagClass=spHeaderName');
sp_GroupHeaderDescription('tagClass=spHeaderDescription');
sp_GroupHeaderMessage('tagClass=spHeaderMessage');

I've had another user create a new topic in a forum belonging to the group and there is no change in the icon.

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

Does the new post status icon along the group row report the new post?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Dave
Member
sp_UserOfflineSmall Offline
Jan 30, 2012 - 5:24 am

Yes, the new post icon shows in the group view inside the forum row.

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

Are you using a custom icon for that forum - uploaded and set in the edit forum admin panel?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Dave
Member
sp_UserOfflineSmall Offline
Jan 30, 2012 - 7:42 am

The icon I'm attempting to change is the group icon. The forum in question (the forum with the new topic) is using a custom icon that has been uploaded and set (and working) for some time.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 30, 2012 - 10:08 am

Ah understood.

The current position is that if you use a custom icon then that will be used regardless of state. The problem here is that to do this this with unique, custom icons (and most users will define a different icon for each forum) is going to require a second custom icon, a second field on the forum table and select list and ui on the create/edit forum admin panels. All of which were out of scope for such a late change to what is an almost released version.

That is planned however.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Propheticus
The Netherlands
Member
Free Members
sp_UserOfflineSmall Offline
Jan 31, 2012 - 10:14 am

To anyone that was using the SPTHEMEICONS constant to point to the dir/url of the used images: This constant no longer exists in the latest build. You've now got to use either SPTHEMEICONSURL or SPTHEMEICONSDIR.

Just sharing, because this change broke our in-house solution for showing custom 'topic/forum with new post(s)' icons.

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