When viewing the source this is what I see for post icons:
<a href="https://www.theiconsortium.com/iBASE/showicons.php?Cat=" target="new">Post Icon</a>
<br />
<select name="Icon" class="formboxes">
<option value="blush.gif" >blush</option>
<option value="chat.gif" >chat</option>
<option value="cool.gif" >cool</option>
<option value="crazy.gif" >crazy</option>
<option value="exclamation.gif" >exclamation</option>
<option value="disk.gif" >file</option>
<option value="frown.gif" >frown</option>
<option value="lightbulb.gif" >idea</option>
<option value="laugh.gif" >laugh</option>
<option value="link.gif" >link</option>
<option value="mad.gif" >mad</option>
<option value="book.gif" selected="selected" checked="checked">note</option>
<option value="poll.gif" >poll</option>
<option value="question.gif" >question</option>
<option value="ribbon.gif" >ribbon</option>
<option value="shocked.gif" >shocked</option>
<option value="smile.gif" >smile</option>
<option value="tongue.gif" >tongue</option>
<option value="trophy.gif" >trophy</option>
<option value="wink.gif" >wink</option>
</select>
<br />
My custom icons aren't listed in there. When I edit a post that had a custom icon there is no way for me to keep that custom icon.
These is the changes I made for Quick Reply:
" $Icon = get_input(""Icon"",""post"");
// strip off the URL
$Icon = basename($Icon);"
Replacing: $Icon = get_input("Icon","post");
" $PStatus = get_input(""PStatus"",""post"");
$dofav = get_input(""dofav"",""post"");
$quickreply = get_input(""quickreply"",""post"");
// -----------------
// If it came from the quick reply form
// we need to grab the ParentUser number for the reply
if (($quickreply) && (!$ParentUser)) {
$query = ""
SELECT B_PosterId
FROM {$config['tbprefix']}Posts
WHERE B_Number = $Parent
"";
$sth = $dbh -> do_query($query);
list($ParentUser) = $dbh -> fetch_array($sth);
} "
"Replacing:
$PStatus = get_input(""PStatus"",""post"");
$dofav = get_input(""dofav"",""post"");"
if ( (preg_match("/^\s*$/",$Subject)) || ($Body == "") || ($Body == " ") || ($Body == " ") || ($postername == "") ) {
"Replacing:
if ( (preg_match(""/^\s*$/"",$Subject)) || ($Body == """") || ($postername == """") ) {"
This is the change for Instant subscription:
"// Send an Email to the Subscribers if they are Subscribed to this board
if (($Approved == ""yes"") && ($config['subscriptions'] == 1))
{
$query = ""
SELECT U_Email,
U_Language
FROM {$config['tbprefix']}Users
LEFT JOIN {$config['tbprefix']}Subscribe ON S_UID = U_Number
WHERE S_UID = U_Number
AND S_Board = '$Board_q'
"";
$sth = $dbh -> do_query($query);
while ( list($Mailto,$Language) = $dbh -> fetch_array($sth) )
{
// -------------------------------------------=
// We need to make sure this user still exists
if ($Mailto) {
// -----------------------------------------------------------------
// Now if this user has a pre-selected language we use that language
// for the message we send out
if (!$Language) { $Language = $config['language']; }
require ""{$config['path']}/languages/$Language/addpost.php"";
$EmailBody = $Body;
if ($config['stripcodes']) { $EmailBody = preg_replace(""/<([^>])*>/"","""",$EmailBody); }
$EmailBody = eregi_replace(""<br />"", ""\r\n"", $EmailBody);
$newline = ""\n"";
if (stristr(PHP_OS,""win"")) { $newline = ""\r\n""; }
$to = $Mailto;
$mailer = new mailer;
$header = $mailer -> headers();
$subject = ""New Post To $Title from $postername"";
$msg = ""$postername has posted a message to $Title: $newline{$config['phpurl']}/showthreaded.php?Cat=$Cat&Board=$Board&Number=$Mnumber$newline${newline}------Message Below------${newline}Subject: $FormSubject${newline}${newline}Message:$newline$EmailBody"";
mail(""$to"",""$subject"",$msg,$header);
// --------------------------------------------------
// Now, we need to switch back to this users language
$Language = $user['U_Language'];
if (!$Language) { $Language = $config['language']; }
require ""{$config['path']}/languages/$Language/addpost.php"";
}
}
}"
"above:
// ---------------------------------------------
// Update the total post if the post is Approved"
Otherwise my addpost.php is stock and I don't see how these changes would affect whether or not custom icons are shown.