• Welcome to Simple Machines Community Forum. Please login or sign up.
December 03, 2021, 07:50:33 AM

News:

Wondering if this will always be free?  See why free is better.


Message Icon Mod (Quick Reply)

Started by Grudge, March 14, 2004, 06:17:48 AM

Previous topic - Next topic

Grudge

Link to Mod

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.
I'm only a half geek really...

CarLBanks


Grudge

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.
I'm only a half geek really...

CarLBanks


Grudge

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?
I'm only a half geek really...

CarLBanks

No error, the arrows to reorder do not show up.

TarantinoArchives

where in the admin panel do i find this? i cant see it

Grudge

Should be on the left hand side somewhere. I think you *might* have to enable it from "Feature Settings and Options" first though.
I'm only a half geek really...

CarLBanks

It just showed up and I can't change the order of the icons.

Lord_Novice

Your mod is great.
But isnt there a mod to display smileys on quick reply?
Não subestime os Superaprendizes

Pocket Heroes recruta Superaprendizes

-=RelakS=-

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!

Grudge

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
I'm only a half geek really...

-=RelakS=-

June 10, 2005, 09:22:15 AM #12 Last Edit: June 10, 2005, 09:24:06 AM by -=RelakS=-
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 )

Grudge

-=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.
I'm only a half geek really...

-=RelakS=-

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 :)

-=RelakS=-

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.


-=RelakS=-

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>


Grudge

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 :)
I'm only a half geek really...

-=RelakS=-

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

Grudge

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 :)
I'm only a half geek really...

Advertisement: