Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Grudge on March 14, 2004, 06:17:48 AM

Title: Message Icon Mod (Quick Reply)
Post by: Grudge on March 14, 2004, 06:17:48 AM
Link to Mod (http://mods.simplemachines.org/index.php?mod=21)

This MOD allows you to simply and easily add new message icons to your board. Once installed you can access the "manager" from the admin menu. From here you can easily add icons to your board. Note that to add a new icon you must FIRST ensure that you have uploaded it to your: /themes/default/images/post directory. This version also allows you to display icons   on quick reply.
Title: Re: Message Icon Mod (Quick Reply)
Post by: CarLBanks on October 16, 2004, 07:29:02 PM
The ordering doesn't work in RC2.
Title: Re: Message Icon Mod (Quick Reply)
Post by: Grudge on October 17, 2004, 06:13:44 PM
Are you trying to the one off my package server or the one from the mod site? The one from the mod site is out dated, install from my package server direct instead.
Title: Re: Message Icon Mod (Quick Reply)
Post by: CarLBanks on October 17, 2004, 10:21:57 PM
I did from the package server.
Title: Re: Message Icon Mod (Quick Reply)
Post by: Grudge on October 18, 2004, 06:47:53 AM
Quote from: CarLBanks on October 17, 2004, 10:21:57 PM
I did from the package server.
What error do you get? Javascript error I assume?
Title: Re: Message Icon Mod (Quick Reply)
Post by: CarLBanks on October 18, 2004, 11:16:06 AM
No error, the arrows to reorder do not show up.
Title: Re: Message Icon Mod (Quick Reply)
Post by: TarantinoArchives on October 23, 2004, 12:50:14 PM
where in the admin panel do i find this? i cant see it
Title: Re: Message Icon Mod (Quick Reply)
Post by: Grudge on October 25, 2004, 07:08:11 AM
Should be on the left hand side somewhere. I think you *might* have to enable it from "Feature Settings and Options" first though.
Title: Re: Message Icon Mod (Quick Reply)
Post by: CarLBanks on November 03, 2004, 12:35:16 PM
It just showed up and I can't change the order of the icons.
Title: Re: Message Icon Mod (Quick Reply)
Post by: Lord_Novice on November 06, 2004, 11:16:40 PM
Your mod is great.
But isnt there a mod to display smileys on quick reply?
Title: Re: Message Icon Mod (Quick Reply)
Post by: -=RelakS=- on June 10, 2005, 08:34:08 AM
Grudge, can you write a step-by-step installation Guide for your mod?

Unfortunately I can't install it. There is no zlib component at my free web page provider, so the package manager won't working.

Thanks!
Title: Re: Message Icon Mod (Quick Reply)
Post by: Grudge on June 10, 2005, 09:06:26 AM
OK, it will be a bit of work but here goes: (Note the exact filenames I give may be wrong but close enough to guess)

1) Download the mod
2) Extract the tar.gz file
3) There should be a file called somethinglike modIcondb.php (Not with a 'P' in it), upload it to your SMF directory and run it from your browser - this sets up the database
4) Open the .mod file, and follow each instruction in the mod file - it will tell you what to edit step by step.
5) Upload the arrow images to your Themes/default/images directory

Then, if there is a file called something like MsgIcon.php but that in the Sources directory. If there is one called MsgIcon.template.php that goes in the Themes/default directory. If there is one called MsgIcon.english.php put that in your Themes/default/languages directory.

Hope that helps!

Grudge
Title: Re: Message Icon Mod (Quick Reply)
Post by: -=RelakS=- on June 10, 2005, 09:22:15 AM
Well...
I could figure out almost all, what you wrote, but how can I "Install this mod file"? Open all the mentioned file, and do the changes, what are in the .mod file?

I think, that the "upload changes" means uploading the new icons.

Anyway, thank you for Your quick answer :)


(I'm from Hungary, so sorry, if my posts are hardly readable :S )
Title: Re: Message Icon Mod (Quick Reply)
Post by: Grudge on June 10, 2005, 09:49:07 AM
-=RelakS=-,

You need to download a copy of your forum files to your PC. Then, open msgicon_qr.mod and make each of the changes documented in that file to the files you've downloaded. Then reupload the files to your forum.
Title: Re: Message Icon Mod (Quick Reply)
Post by: -=RelakS=- on June 10, 2005, 02:10:23 PM
Hi'

I just installed the mod, and I like it very well! :)

But a comment:
In the .mod file, I should write insertable and very conspicuous comments, like:

/* **** Message Icon Mod **** START **** */

This is for if somebody want to delete the mod (eg.: like to install a newer version) then the uninstall I think more simplier.

The other thing I like to mentiom: I should write the editable files in directory and alphabetical order.

Thanks for your work, anyway :)
Title: Re: Message Icon Mod (Quick Reply)
Post by: -=RelakS=- on June 13, 2005, 05:23:53 AM
Hi!

I found a problem,with the quick reply section. When I want to close, then it is closing only the ikons, not the whole qr box. If the qr is initialli closed, then it open olni the icons.

Title: Re: Message Icon Mod (Quick Reply)
Post by: -=RelakS=- on June 13, 2005, 07:08:13 AM
Well, I added these lines, and everything is fine :)


<search for>
<a name="quickreply"></a>
</search for>

<add after>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
  <tr>
  <td>
</add after>

<search for>
<tr>
<td colspan="2" class="catbg"><a href="javascript:swapOptions();"><img src="', $settings['images_url'], '/', $options['display_quick_reply'] == 2 ? 'collapse' : 'expand', '.gif" alt="+" border="0" id="quickReplyExpand" /></a> <a href="javascript:swapOptions();">', $txt['quick_reply_1'], '</a></td>
</tr>
</search for>

<add after>
</table>
    </td>
  </tr>
</add after>

<search for>
<form action="', $scripturl, '?action=post2" method="post" name="postmodify" onsubmit="submitonce(this);" style="margin:0px;">
<td colspan="2" class="windowbg">
</search for>

<add after>
<table border="0" cellspacing="1" cellpadding="3" class="bordercolor" width="100%" style="clear: both;">
  <tr>
    <td colspan="2" class="windowbg">
</add after>

<search for>
echo '
<input type="hidden" name="sc" value="' . $context['session_id'] . '" />
<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />
</form>
</td>
</tr>
</table>
</search for>

<add after>
    </td>
  </tr>
</table>
</add after>

Title: Re: Message Icon Mod (Quick Reply)
Post by: Grudge on June 13, 2005, 02:06:49 PM
Glad to hear you sorted it -=RelakS=-. As this feature is pretty much in the next release of SMF (1.1) I won't be fixing the package :)
Title: Re: Message Icon Mod (Quick Reply)
Post by: -=RelakS=- on June 13, 2005, 04:40:08 PM
Quote from: Grudge on June 13, 2005, 02:06:49 PM
Glad to hear you sorted it -=RelakS=-. As this feature is pretty much in the next release of SMF (1.1) I won't be fixing the package :)

Eeeerr ..... What will be with the Quick Reply? :D
Title: Re: Message Icon Mod (Quick Reply)
Post by: Grudge on June 13, 2005, 06:41:04 PM
Well - the one thing 1.1 doesn't do is add the message icons to the quick reply - so maybe I'll to release a mod to do that I guess :)
Title: Re: Message Icon Mod (Quick Reply)
Post by: Isaac on June 19, 2005, 10:23:08 PM
Is it possible to add other images to change in this Mod?  Like the on/ off icons?
Title: Re: Message Icon Mod (Quick Reply)
Post by: Grudge on June 20, 2005, 01:37:38 PM
No, completely different areas. This is just for adding message icons.
Title: Re: Message Icon Mod (Quick Reply)
Post by: Isaac on June 20, 2005, 11:54:18 PM
Quote from: Grudge on June 20, 2005, 01:37:38 PM
No, completely different areas. This is just for adding message icons.
Ok, thanks for the reply. :)
Title: Re: Message Icon Mod (Quick Reply)
Post by: goldenboy48 on December 05, 2007, 06:10:32 PM
Quote from: Grudge on June 13, 2005, 06:41:04 PM
Well - the one thing 1.1 doesn't do is add the message icons to the quick reply - so maybe I'll to release a mod to do that I guess :)

please do that.....it would just like vbulletin then :D
Title: Re: Message Icon Mod (Quick Reply)
Post by: saosangmo on February 24, 2010, 04:13:33 AM
I need this mod for SMF 2.0 RC 2. Does anyone release something like this.

thanks