looking at this, in the file you just named:
Quote:
$icons_radio = new XoopsFormRadio(_MD_MESSAGEICON, 'icon', $icon);
$subject_icons = XoopsLists::getSubjectsList();
foreach ($subject_icons as $iconfile) {
$icons_radio->addOption($iconfile, '<img src="'.XOOPS_URL.'/images/subject/'.$iconfile.'" alt="" />');
}
$forum_form->addElement($icons_radio);
Is there a way to change this to:
if myfield1 is not null,
display myfield1
if myfield2 is not null,
display myfield2
etc. In which myfields are custom fields from the user profile?
Also, because <{$topic.topic_icon}> is written for the viewforum page, and I need it for the newbb_thread page, how/where would I need to alter code so that it would display as <{$topic_post.topic_icon}> instead?