Support Forum
'iconUnread' in Group View when custom Icon used for forum Icons
I just can't seem to get this working now. Do I need to declare 'iconUnread' in the array that starts on line 27 of sp-group-view-functions.php?
My old code was this after line 37 at least I think it was, can you tell me what is wrong?
# Check if a custom icon
if ($spThisForum->unread) {
$icon = $iconUnread;
$icon = SPTHEMEICONSURL.sanitize_file_name($icon);
}
else if (!empty($spThisForum->forum_icon)) {
$icon = SFCUSTOMURL.$spThisForum->forum_icon;
}
else {
$icon = SPTHEMEICONSURL.sanitize_file_name($icon);
}
if ($get) return $icon;$iconunread has to be declared somewhere... how are you getting a value in it???
Visit Cruise Talk Central and Mr Papa's World
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
Stefano Prete: 325
Carlos: 291
Member Stats:
Guest Posters: 621
Members: 17381
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10142
Posts: 79667
Support Forum
Offline

All RSS