Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Hj Ahmad Rasyid Hj Ismail on August 20, 2010, 04:03:47 AM

Title: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Hj Ahmad Rasyid Hj Ismail on August 20, 2010, 04:03:47 AM
Link to Mod(s) (http://custom.simplemachines.org/mods/index.php?mod=2710)

RHTAMI - Remove Hot Topic And Message Icons

- For SMF 1.1.x and SMF 2.0.x
- Fully hook, no file modification For SMF 2.0.x.

1. Please do your own backup though every installation is backed up automatically.
2. This mod remove hot topic and message icons at four places in your forum.
3. They are in messsage index, display, recent and post templates.
4. All you need to do is turn it on or off in Mod Settings page, save it and you are good to go.
5. You can test it in all SMF 2.0.x lower version as IMO it should work just fine. ;)
6. Avoid using this mod with ROHTI - Re-Organize Hot Topic Icon (http://custom.simplemachines.org/mods/index.php?mod=2708) mod.
7. Do report if there is any error(s).


Thank you for using/testing it.


Yours friendly,
Abu Fahim Ismail.

BSD License. Feel free to modify accordingly but keep author's link if it is in there somewhere. ;)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fvalidator.w3.org%2Fimages%2Fvalid_icons%2Fvalid-xhtml10&hash=f3694497572838dc55641db875ff57107ebabaed)  (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fjigsaw.w3.org%2Fcss-validator%2Fimages%2Fvcss&hash=710d7530f8727db53c62cb8f44abbef39967e693)


#Change Logs

@Version 1.1.4
- Clean some left overs.
- Remove support for 2.0 RC.

@Version 1.1.3
- User can now choose whether to remove hot topic icons or message icons or both.

@Version 1.1.2
- Remove Hot Topic And Message Icons mod is now upgraded to a fully hook mod with no file modification.

@Version 1.1.1
- Remove check setting in mod setting page.
- Combine mods to be Remove Hot Topic And Message Icons mod (another package).

@Version 1.1.0
- Add check setting in mod setting page.

@Version 1.0.1
- Remove Message Icons mod is added.

@Version 1.0.0
- Remove Hot Topic Icons mod Initial Release.
Title: Re: Remove Hot Topic Icon
Post by: distante on September 06, 2010, 09:46:03 AM
hello!, is there any images or captures of this mod?
Title: Re: Remove Hot Topic Icon
Post by: sharks on September 06, 2010, 10:53:04 AM
Yeah, it would be great to see how the message index of the forum looks like after installing this mod. And please add screen-shots of any other section of the forum that this mod modifies.

On another note, i have to say that this mod is an excellent idea. I had suggested something similar not so long ago, where the column of the "hot topics" would be disabled based on selectable boards, as well as the "message icon" column. That way, we can have more useful space (width) on the screen for boards with many long topic titles. Do you think you could implement this in your next release? It would definitely be a significant improvement. ;)
Title: Re: Remove Hot Topic Icon
Post by: Hj Ahmad Rasyid Hj Ismail on September 11, 2010, 08:03:13 AM
Quote from: distante on September 06, 2010, 09:46:03 AM
hello!, is there any images or captures of this mod?

I have uploaded the images in the OP both in the mod page and here too.
Quote from: sharks on September 06, 2010, 10:53:04 AM
Yeah, it would be great to see how the message index of the forum looks like after installing this mod. And please add screen-shots of any other section of the forum that this mod modifies.

On another note, i have to say that this mod is an excellent idea. I had suggested something similar not so long ago, where the column of the "hot topics" would be disabled based on selectable boards, as well as the "message icon" column. That way, we can have more useful space (width) on the screen for boards with many long topic titles. Do you think you could implement this in your next release? It would definitely be a significant improvement. ;)

As stated above.

Thanks. Sure, I will add that removal of message icon in the another release so it will have two options later on.
Title: Re: Remove Hot Topic Icon
Post by: sharks on September 11, 2010, 09:57:17 AM
Quote from: ahrasis on September 11, 2010, 08:03:13 AM
Thanks. Sure, I will add that removal of message icon in the another release so it will have two options later on.
Thanks a lot, ahrasis. That would be awesome! I can't wait for the next release.

BTW, your screenshots should also show the message index before applying this mod. Just my 2 cts. ;)

And this link: http://smfing.sup.my/ from your topic is not working??

EDIT: I just installed this mod on my SMF 1.1.11. It installed successfully but i see no changes. Do i have to set permissions for each board or membergroup?

EDIT #2: OK, i found it. It's in the the Features and Options page.
Title: Re: Remove Hot Topic Icon
Post by: sharks on September 11, 2010, 10:43:20 AM
Bug!

When viewing the message index, i am getting this at the bottom of my message index page:
Page created in 0.207 seconds with 79 queries.   

I used to have below 20 queries at all times. Could you please check and see if you can optimize the number of queries used??
Title: Re: Remove Hot Topic Icon
Post by: Hj Ahmad Rasyid Hj Ismail on September 11, 2010, 02:59:41 PM
Quote from: sharks on September 11, 2010, 09:57:17 AM
Thanks a lot, ahrasis. That would be awesome! I can't wait for the next release.

BTW, your screenshots should also show the message index before applying this mod. Just my 2 cts. ;)

And this link: http://smfing.sup.my/ from your topic is not working??

EDIT: I just installed this mod on my SMF 1.1.11. It installed successfully but i see no changes. Do i have to set permissions for each board or membergroup?

EDIT #2: OK, i found it. It's in the the Features and Options page.

No problem. Will add the images before and after later.

About sup.my. I am still facing problem and trying to resolve it with my hosting.

Thanks. I'll update the OP for mod and here later for that too. And I will redirect user to Feature and Option page in next release.

Quote from: sharks on September 11, 2010, 10:43:20 AM
Bug!

When viewing the message index, i am getting this at the bottom of my message index page:
Page created in 0.207 seconds with 79 queries.   

I used to have below 20 queries at all times. Could you please check and see if you can optimize the number of queries used??

I am not sure about that. We don't actually create any new database for this mod. Let me test it further and see about it.
Title: Re: Remove Hot Topic Icon
Post by: distante on September 11, 2010, 05:47:07 PM
Quote from: sharks on September 11, 2010, 10:43:20 AM

When viewing the message index, i am getting this at the bottom of my message index page:
Page created in 0.207 seconds with 79 queries.   

I used to have below 20 queries at all times. Could you please check and see if you can optimize the number of queries used??

Don't suppose to be all the way around?  No hot topic, no queries to count topic's post?
Title: Re: Remove Hot Topic Icon
Post by: Hj Ahmad Rasyid Hj Ismail on September 12, 2010, 01:38:13 PM
It removes the icon but I am not sure about the queries, really. If the if else function caused that, I will remove it in the future so it will a simple remove rather then using if else function.
Title: Re: Remove Hot Topic Icon
Post by: sharks on September 13, 2010, 07:11:52 AM
Hi ahrasis

I apologize for my outcry of a "bug", but it seems like it was some other mod that i had installed just before this one, that was causing the excessive queries. I disabled and then enabled this mod, and it seems like it adds no extra query when viewing the message index. I see 16 queries before enabling this mod and still 16 queries after enabling this mod.

Good job, ahrasis and i'm very earnestly waiting for your next releases with the improvements and additional features. :)
Title: Re: Remove Hot Topic Icon
Post by: Hj Ahmad Rasyid Hj Ismail on September 13, 2010, 07:33:04 AM
Thanks for updating sharks. At least I dont have to remove that in the mod. I'll try to update the mod soonest.
Title: Re: Remove Hot Topic Icon
Post by: flapjack on November 02, 2010, 08:24:42 PM
requesting update for rc4
Title: Re: Remove Hot Topic Icon
Post by: sharks on November 03, 2010, 01:41:57 PM
Quote from: Abu Aliya on September 13, 2010, 07:33:04 AM
Thanks for updating sharks. At least I dont have to remove that in the mod. I'll try to update the mod soonest.

Any news on when you might be releasing the new versions? I am also looking for a mod that would disable only the message icon column. Can you make that?
Title: Re: Remove Hot Topic Icon
Post by: Hj Ahmad Rasyid Hj Ismail on November 06, 2010, 07:00:30 PM
Updated for 2.0 RC4 and 1.1.12.

Remove Message Icon. You want message icon to be removed just in MessageIndex.template.php or Display.template.php or both template files?
Title: Re: Remove Hot Topic Icon (updated for 2.0 RC4 & 1.1.12)
Post by: flapjack on November 06, 2010, 07:05:19 PM
thanks buddy! :)
Title: Re: Remove Hot Topic Icon (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on November 06, 2010, 07:13:37 PM
No problem FJ  :)
Title: Re: Remove Hot Topic Icon (updated for 2.0 RC4 & 1.1.12)
Post by: sharks on November 07, 2010, 12:12:10 PM
Quote from: ahrasis on November 06, 2010, 07:00:30 PM
Remove Message Icon. You want message icon to be removed just in MessageIndex.template.php or Display.template.php or both template files?

Both would be perfect, so that all message icons (as well as the message icon column) can be removed entirely from all forum areas, when the "remove message icon" option is checked in the admin panel. Also, in the post editor, there should be no drop-down menu to select the message icon.

Thanks a lot for ALL your useful modifications! :)
Title: Re: Remove Hot Topic Icon (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on November 07, 2010, 02:04:20 PM
I am basically interested on learning how the MessageIndex.template.php and Display.template.php works in depth so basically, removing message icon is part of my interest. I am not sure when but I think I'll be doing it sometimes later.
Title: Re: Remove Hot Topic & First Message Icon Mod (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on November 11, 2010, 04:38:07 PM
Updated to fulfill some of the requests. Will prepare other mods to fulfill the others.
Title: Re: Remove Hot Topic & First Message Icon Mod (updated for 2.0 RC4 & 1.1.12)
Post by: sharks on November 11, 2010, 07:44:59 PM
Quote from: ahrasis on November 11, 2010, 04:38:07 PM
Updated to fulfill some of the requests. Will prepare other mods to fulfill the others.

Thanks for the updated release, ahrasis. :)

However, there is a small bug that needs to be fixed. After installing the Remove Hot Topic & First Message Icon Mod, there is still the option "Message icon: " when posting a new topic and when modifying an existing topic. That option should have been removed after installing your updated mod, as it's useless to allow selecting the message icon when the latter will not be displayed in the topics list.

Also, it would be perfect if you could integrate the following independent options in the admin panel:

1. remove hot topics icons only.
2. remove message icons only.
(if both options 1 and 2 are checked, then both should be disabled on the entire forum).

Thanks again for your efforts.
Title: Re: Remove Hot Topic & First Message Icon Mod (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on November 12, 2010, 05:31:11 AM
I will see to it later as it will require some times and testings. RC4 has shown a lot of changes which is quite surprising since it is supposed to be a security release only.
Title: Re: Remove Hot Topic & First Message Icon Mod (updated for 2.0 RC4 & 1.1.12)
Post by: sharks on November 12, 2010, 09:31:26 AM
Another thing that you missed. After installing your mod, when viewing unread posts, as well as unread replies, the hot post icons and message icons are still visible. They should be removed completely from the entire forum. I hope you will fix that also in your next release. :)
Title: Re: Remove Hot Topic & First Message Icon Mod (updated for 2.0 RC4 & 1.1.12)
Post by: juliegreen on November 12, 2010, 11:04:30 AM
what is the benefits of using this mod?
Title: Re: Remove Hot Topic & First Message Icon Mod (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on November 12, 2010, 01:35:08 PM
Quote from: ahrasis on August 20, 2010, 04:03:47 AM
This mod do as it says and remove hot topic and first message icon places,

i.e. before topic and in the legend box under messsage index.
It does not remove any or both icons at any other places.
Title: Re: Remove Hot Topic & First Message Icon Mod (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on November 12, 2010, 06:01:07 PM
Updated. Now it covers removal at all places for both hot topic icon and message icon. To remove any of them individually, please use respective file as stated in the OP.
Title: Re: Remove Hot Topic & First Message Icon Mod (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on November 12, 2010, 06:01:31 PM
Quote from: juliegreen on November 12, 2010, 11:04:30 AM
what is the benefits of using this mod?
Not much. Just as stated.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Ihmeliö on November 12, 2010, 06:45:01 PM
Still doesn't seem to remove the icons from the "unread posts" page...
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on November 12, 2010, 06:47:30 PM
Quote from: Ihmeliö on November 12, 2010, 06:45:01 PM
Still doesn't seem to remove the icons from the "unread posts" page...
It does remove it from unread posts and replies page. Have you try it?
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Ihmeliö on November 12, 2010, 06:53:37 PM
Quote from: ahrasis on November 12, 2010, 06:47:30 PM
It does remove it from unread posts and replies page. Have you try it?
Yes, I uninstalled the old one and then installed the new one. As the previous one, it did remove the icons from the boards directly, but not from the "unread topics" listing or the "your posts" listing.

I also tried to uninstall it, just to make sure that the code from the previous version was reset back to normal. And then I re-installed it. Still the same thing. The icons stay in the unread and your posts pages.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on November 12, 2010, 07:21:24 PM
I have just tested it again on SMF2.0 RC3 and SMF2.0 RC4, and the mod works fine. The message icons cannot be seen anywhere in message index, post, recent (unread posts and replies) and display.

Just in case you were confused, there are three of them at the download page. You will need to use only this one i.e. to only remove message icon: RemoveMessageIcon111.zip (http://custom.simplemachines.org/mods/index.php?action=download;mod=2710;id=161645).

Please ensure that you uninstalled the previous one and delete it when you have uninstalled.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Ihmeliö on November 13, 2010, 05:54:03 AM
Quote from: ahrasis on November 12, 2010, 07:21:24 PM
Just in case you were confused, there are three of them at the download page. You will need to use only this one i.e. to only remove message icon: RemoveMessageIcon111.zip (http://custom.simplemachines.org/mods/index.php?action=download;mod=2710;id=161645).

Please ensure that you uninstalled the previous one and delete it when you have uninstalled.
I did. It doesn't work in the view unread posts page. And I used the RemoveHotTopic&MessageIcon version, since I wanted to get rid of both. You did update that one too, didn't you?
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on November 13, 2010, 06:21:37 AM
Yes. I updated that too. The mod file is named as RemoveHotTopic&MessageIcon111.zip (http://custom.simplemachines.org/mods/index.php?action=download;mod=2710;id=161646).

I just downloaded it again from the mod site and tested it again minutes ago on SMF2.0 RC3 and SMF2.0 RC4. The mod is working fine. All hot topic icons and message icons and their columns are totally removed in all message index, unread posts, unread replies, post, and display page.

I am not sure why you are still facing that as I face no such problem at all. Are you using default theme or other custom theme?
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: BellGab.com on November 13, 2010, 08:26:56 PM
thanks for this mod.  i always HATED those icons.  nobody knows what they mean, they take up space, and they clutter the UI.  furthermore, the icons themselves don't look very good at all.  for a look at how this mod makes a forum look, click here (http://www.coastgab.com/).
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on November 13, 2010, 11:27:07 PM
Thanks for using and liking it. With number of replies and views columns, one would agree that there is no necessity for hot topic icons especially when it has its own dedicated (unnecessary) column.

And that is a nice forum. I think I will put a list of forums that are using this mod in the OP / first post so that anyone asking can refer to them as live samples. Yours will be the first one then.  ;D
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Ihmeliö on November 15, 2010, 06:21:23 PM
Yeah, of course I didn't doubt it working for you, but for some reason it didn't for us. Today, we also decided to try just the RemoveMessageIcon mod, so we uninstalled RemoveHotTopic&MessageIcon111, but for some reason weren't able to install the RemoveMessageIcon any more - it fails the test in ./Themes/default/Post.template.php   

If this helps, here's our current Post.template.php
http://mysql.paste-bin.com/view/08dea1b5
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on November 15, 2010, 08:23:23 PM
You might have changed this lines before that is why it cannot be modified using package manager. A single blank space or line add up or deletion could caused that error. Anyway, find it from 186-208:
echo '
                                                <dt>
                                                        <span', isset($context['post_error']['no_subject']) ? ' class="error"' : '', ' id="caption_subject">', $txt['subject'], ':</span>
                                                </dt>
                                                <dd>
                                                                <input type="text" name="subject"', $context['subject'] == '' ? '' : ' value="' . $context['subject'] . '"', ' tabindex="', $context['tabindex']++, '" size="80" maxlength="160" class="input_text" />
                                                </dd>
                                                <dt>
                                                        ', $txt['message_icon'], ':
                                                </dt>
                                                <dd>
                                                        <select name="icon" id="icon" onchange="showimage()">';

        // Loop through each message icon allowed, adding it to the drop down list.
        foreach ($context['icons'] as $icon)
                echo '
                                                                <option value="', $icon['value'], '"', $icon['value'] == $context['icon'] ? ' selected="selected"' : '', '>', $icon['name'], '</option>';

        echo '
                                                        </select>
                                                        <img src="', $context['icon_url'], '" name="icons" hspace="15" alt="" />
                                                </dd>
                                        </dl>';

Change to:echo '
                                                <dt>
                                                        <span', isset($context['post_error']['no_subject']) ? ' class="error"' : '', ' id="caption_subject">', $txt['subject'], ':</span>
                                                </dt>
                                                <dd>
                                                                <input type="text" name="subject"', $context['subject'] == '' ? '' : ' value="' . $context['subject'] . '"', ' tabindex="', $context['tabindex']++, '" size="80" maxlength="160" class="input_text" />
                                                </dd>
                                        </dl>';

I hope this help.

And a little advise, try learning how to parse at the download page so that you will know how to troubleshoot installation of any mod should you face problems in the future. The button is just below the mod. Just choose your mod, version and press the parse button. It will lead you to parse page and guide you with manual installation.

Good luck!
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: BellGab.com on November 15, 2010, 10:55:55 PM
Quote from: ahrasis on November 13, 2010, 11:27:07 PM
And that is a nice forum. I think I will put a list of forums that are using this mod in the OP / first post so that anyone asking can refer to them as live samples. Yours will be the first one then.  ;D
thanks, brother!
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Ihmeliö on November 17, 2010, 06:32:00 AM
Quote from: ahrasis on November 15, 2010, 08:23:23 PM
I hope this help.
I did the replacement, but it still doesn't install. The new post.template.php: http://mysql.paste-bin.com/view/b6dbaa5b

I'll try to acquaint myself with parsing...
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on November 17, 2010, 06:42:23 AM
It should be straight forward but I'm not sure why it doesn't work for you (both using package manager or manually). PM me with admin access if you want me to manually help you with it. Or attach all the relevant files here. Display.template.php, Post.template.php and Recent.template.php. I'll do it manually for you (I take it that you want to remove both hot topic & message icons).
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Ihmeliö on November 17, 2010, 06:47:43 AM
Quote from: ahrasis on November 17, 2010, 06:42:23 AM
It should be straight forward but I'm not sure why it doesn't work for you (both using package manager or manually). PM me with admin access if you want me to manually help you with it. Or attach all the relevant files here. Display.template.php, Post.template.php and Recent.template.php. I'll do it manually for you (I take it that you want to remove both hot topic & message icons).
I can't grant admin access, but here are the mentioned files:

Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on November 17, 2010, 07:38:25 AM
Please provide me this file as well: MessageIndex.template.php
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Ihmeliö on November 17, 2010, 07:39:34 AM
Ok:
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Ihmeliö on November 17, 2010, 07:41:22 AM
Oh, and: I would like to just first remove everything related to this mod, so that I could re-install the mod later, because I'm not sure if the users of our forum want to keep on using the mod - some found it difficult to follow without any icons at all; I guess we're going to try just removing the message icon column for now.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on November 17, 2010, 07:56:04 AM
Quote from: Ihmeliö on November 17, 2010, 07:41:22 AM
Oh, and: I would like to just first remove everything related to this mod, so that I could re-install the mod later, because I'm not sure if the users of our forum want to keep on using the mod - some found it difficult to follow without any icons at all; I guess we're going to try just removing the message icon column for now.
Thank you for informing at the very last minutes but I already finished with the manual changes so I guess I won't need to reply you anything further on this. I guess you will just need to restore your original file to achieve this on your own.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Ihmeliö on November 17, 2010, 10:40:49 AM
Quote from: ahrasis on November 17, 2010, 07:56:04 AM
Thank you for informing at the very last minutes but I already finished with the manual changes so I guess I won't need to reply you anything further on this.
I presume you're feeling frustrated for the useless work? I'm sorry, I just originally missed this part: "I take it that you want to remove both hot topic & message icons)." -- I thought I had said it more clearly than I apparently did that I'd first like to get all traces of the mod removed, before doing anything else.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on November 17, 2010, 12:05:40 PM
All this time you are talking about installation and claimed that it is not working though everybody else is installing it just fine and got it working fine too. So, I guess there is no point I am arguing with you on that and straight away help you with it, manually. It costs me some time but back then I was thinking of helping, even to the extend of manually editing files too. Unfortunately, some people do take for granted other people's time of helping.

So, if you want to restore, you should know that SMF do keep a backup automatically in your forumroot/Packages/backups folder. Find the backup in a compressed format file by the name of the mod. Make sure you get the right file (based on date and time to be exact). Extract the file to forum root either by copy and extract it there OR use cPanel file manager to extract the file on forum root.

Good luck.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Ihmeliö on November 17, 2010, 03:16:02 PM
Quote from: ahrasis on November 17, 2010, 12:05:40 PM
All this time you are talking about installation and claimed that it is not working though everybody else is installing it just fine and got it working fine too.
I claimed so because that's what happened for me - I'm not doubting that it worked for other people. And of course I don't think that it was your fault, and I am glad that you've helped me. I haven't taken your help for granted, and am grateful for it. :)
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: sharks on December 19, 2010, 02:46:49 PM
I tried installing this on a fresh SMF 1.1.12 (with no other mods installed prior to this mod) and i get this error:
Failed ./Themes/default/Recent.template.php

Can you please fix this? I have been going crazy by uninstalling all my other mods on my live forum, until there were no mods installed but it still gave me this error. So, i set up a fresh SMF installation and it still gave me this installation error, so there is no doubt that a little bit of code is not quite right somewhere. Hopefully someone can help to figure this out.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on December 26, 2010, 08:10:11 PM
sharks, i also faced the same trouble when using it. I am fixing it. Last time I tested it, the packages were just fine. I am attaching on of them here temporarily.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: sharks on December 28, 2010, 05:13:42 AM
Quote from: ahrasis on December 26, 2010, 08:10:11 PM
sharks, i also faced the same trouble when using it. I am fixing it. Last time I tested it, the packages were just fine. I am attaching on of them here temporarily.

Finally an update!! Thanks a lot, mate. :) Good to know you haven't retired. I also need the 'remove hot topics' mod.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Snorge on January 03, 2011, 04:09:42 AM
This mod only works for the default theme.  Can you add support for all themes?
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: tennis4you on January 03, 2011, 12:16:50 PM
I tried doing just the Message Icon one and got the following:

   1.    Execute Modification    ./Themes/default/MessageIndex.template.php    Test failed
      1.    Replace    ./Themes/default/MessageIndex.template.php    Test successful
      2.    Replace    ./Themes/default/MessageIndex.template.php    Test successful
      3.    Replace    ./Themes/default/MessageIndex.template.php    Test failed

I am using the default Curve on 2.04.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on January 03, 2011, 02:41:46 PM
Quote from: Snorge on January 03, 2011, 04:09:42 AM
This mod only works for the default theme.  Can you add support for all themes?

This is why the thread is here.

Quote from: tennis4you on January 03, 2011, 12:16:50 PM
I tried doing just the Message Icon one and got the following:

   1.    Execute Modification    ./Themes/default/MessageIndex.template.php    Test failed
      1.    Replace    ./Themes/default/MessageIndex.template.php    Test successful
      2.    Replace    ./Themes/default/MessageIndex.template.php    Test successful
      3.    Replace    ./Themes/default/MessageIndex.template.php    Test failed

I am using the default Curve on 2.04.

Just upload the relevant files here for help.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: tennis4you on January 03, 2011, 04:34:09 PM
Here it is:

Thanks!
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on January 04, 2011, 10:15:15 AM
Try the attached.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: sharks on January 06, 2011, 08:14:25 AM
I want to remove only the hot topics column from my fresh SMF 1.1.12 default theme.
I tried the specific hot topics mod from the smf mod site and i see this error when installing:

./Themes/default/Recent.template.php    Test failed

ahrasis, i appreciate all your efforts to make this mod functional, but this is taking a very long time, so maybe it would be easier for you if you just posted the edits instead.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on January 06, 2011, 10:01:14 AM
I can see you have a package parser and so is SMF. Why don't you use it. Currently this mod is locked at the mod site for reasons I do not know. So, not many I can do.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on January 06, 2011, 10:04:16 AM
Quote from: sharks on December 28, 2010, 05:13:42 AM
Quote from: ahrasis on December 26, 2010, 08:10:11 PM
sharks, i also faced the same trouble when using it. I am fixing it. Last time I tested it, the packages were just fine. I am attaching on of them here temporarily.

Finally an update!! Thanks a lot, mate. :) Good to know you haven't retired. I also need the 'remove hot topics' mod.

By the way, the file that I have attached prior to the above reply i.e. RemoveHotTopic&MessageIcon111.zip remove both Hot Topic & Message Icon is tested and was meant for you. Why is there so many questions about removing them individually when you can remove both at once? Just use this one mod to remove both icons.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: sharks on January 06, 2011, 02:47:36 PM
I used the updated package you attached to your reply and it still gives me an error when installing, which is why i suggested something simpler as i do not use the hot topics column at all and it's cluttering the screen unnecessarily. Some of my members like to use message icons, so i decided to leave it for now.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on January 13, 2011, 05:45:52 AM
I can help you manually removing them provided all relevant files are attached here. I'll show which codes to be removed or changed here then. This is simply because even many say they are using default, they have made changes to that default files and most of the times due to that one or two lines or codes are missing and will show error during installation.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: sharks on January 13, 2011, 11:35:41 AM
I believe you should make your mod strictly compatible with only SMF 1.1.12 and SMF 2.0 RC4. Start by the former. Any other variations in the 1.1.x and 2.0 branch should NOT be considered, to avoid wasting the potential of this mod.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on January 14, 2011, 08:01:18 AM
Thanks for the advices. I will look into it, when I am a little bit freer.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Sirenism on February 16, 2011, 08:32:34 PM
Your mod seems to have worked perfectly for RC5. :) Thanks very much.

I take that back. It works for the unread/new replies and when you click on the forum to view topics, but it messed up the inside of the topics. Meaning the signature is now about 75% instead of 100% of the width.  I've included screenshots. Hopefully you can help as it's a very lovely mod.

Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: sharks on February 17, 2011, 03:22:56 AM
Maybe it's finally time to fix this mod as 1.1.13 and RC5 is out.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: bloc on February 17, 2011, 04:28:04 AM
Interesting mod.. ever thought about making it a user-option? Those users that prefer to not see hot/message icons could simply turn it off.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: sharks on February 17, 2011, 04:58:38 AM
Yep, Bloc is already using this as a custom feature in his themes, but it would be great if this mod would enable these features across all themes.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on February 17, 2011, 11:31:22 AM
I am looking into this and hopefully I will return the user choices for it in next update and rectify the highlighted problems. Again, this mod is nothing fancy. Just a simple mod for those who dislike the unnecessary icons there. A separate zip for each version of SMF is a maybe. ;D
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: bloc on February 17, 2011, 12:45:04 PM
Yes, np. :) The reason I asked was that I am thinking of this as an option in my themes.

But of course, it won't work across themes.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: BellGab.com on February 17, 2011, 10:27:37 PM
awww... RC5 broke this mod.  damn.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: sharks on February 17, 2011, 11:38:30 PM
Quote from: CoastGab.com on February 17, 2011, 10:27:37 PM
awww... RC5 broke this mod.  damn.
Looks like ahrasis is going to have to work faster as i haven't yet upgraded from RC4 to RC5 due to that same fear of ending up with heaps of incompatible mods.
Back to this mod, it is certainly a great way of maximizing space on the forum screen, by getting rid of any unnecessary (according to each individual SMF forum's admin) columns.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: BellGab.com on February 18, 2011, 11:35:39 AM
Quote from: sharks on February 17, 2011, 11:38:30 PM
Quote from: CoastGab.com on February 17, 2011, 10:27:37 PM
awww... RC5 broke this mod.  damn.
Looks like ahrasis is going to have to work faster as i haven't yet upgraded from RC4 to RC5 due to that same fear of ending up with heaps of incompatible mods.
Back to this mod, it is certainly a great way of maximizing space on the forum screen, by getting rid of any unnecessary (according to each individual SMF forum's admin) columns.
i only use about 8 mods... but of those 8, this was the only one broken by the upgrade to RC5... sooo, it wasn't too terrible as far as breaking mods goes.

i really like this mod because i think all of those little icons make the forum look too busy, and i think most users have no idea wtf those icons mean.  they're pointless, and they look rather 1998.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Sirenism on February 18, 2011, 02:12:07 PM
I found that if I didn't apply the MOD to any themes just the default that it worked fine. :)
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: sharks on February 19, 2011, 02:24:49 AM
Quote from: CoastGab.com on February 18, 2011, 11:35:39 AM
i really like this mod because i think all of those little icons make the forum look too busy, and i think most users have no idea wtf those icons mean.  they're pointless, and they look rather 1998.

I couldn't agree more. :)
I have been trying to get rid of those annoying hot topics columns for a long time. Hopefully a proper (working) version for 1.1.13 and RC5 is released soon.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: abraamz on February 20, 2011, 07:28:54 AM
useful mod
In my forum it doesnt remove the icon from title. In a next version maybe you can update this also.
please look at the attachment
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: BellGab.com on March 01, 2011, 11:08:54 PM
I have $10 for the mod author when this one is updated to RC5. anyone want to match me?
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: BellGab.com on April 01, 2011, 10:52:34 PM
i forgot to mention that this mod does still work on RC5 if you apply it to the default theme and THEN enable your custom theme.  i saw someone else had mentioned this workaround earlier in the thread... and i finally got around to trying it... and whatta ya know!  it worked.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Nickhead on July 06, 2011, 02:44:22 AM
im running 1.1.14

tried emulating 12, but i get errors on both file edits.

mind you i as well parsed the files, but could not find the text that needed edited.

probably due to the fact i have made a ton of edits to my default theme.

so i have attached both files that need edited,

and was hoping someone would be so gracious to point out the edits i need to make

or are even willing to make the changes themselves?

thank you in advance.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: sharks on July 08, 2011, 12:56:35 AM
This mod is actually buggy and has never been fixed, as "i don't have time" is a very common line around here. Sorry to read about time management issues, Ahrasis, but i think this mod should be removed as it's comparable to a beta release.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on July 08, 2011, 04:47:32 AM
Quote from: sharks on July 08, 2011, 12:56:35 AM
This mod is actually buggy and has never been fixed, as "i don't have time" is a very common line around here. Sorry to read about time management issues, Ahrasis, but i think this mod should be removed as it's comparable to a beta release.
You can suggest that to the Customizer Team. I'm fine with it.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: BellGab.com on July 17, 2011, 04:25:17 AM
ahrasis... i think this mod is great.  it worked wonderfully on previous RC versions of the software, but i can't get it to work in 2.0 gold.  i sure do hope you'll consider updating this mod.  it made my forum look so good and clean.  either way, thanks for your contributions to SMF.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on July 17, 2011, 11:06:54 PM
I am in the process of updating this mod and few others. Since there is various critics, I need to make sure it works well before I release a new updates.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: BellGab.com on July 17, 2011, 11:11:06 PM
Quote from: ahrasis on July 17, 2011, 11:06:54 PM
Since there is various critics, I need to make sure it works well before I release a new updates.
understood.  just don't let anyone discourage you.  i'm very appreciative of your work, brother.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on July 18, 2011, 02:01:15 AM
Done. I have double checked and tested this mod on all version from 1.1.11 to 1.1.14 and 2 RC3 to 2.0 Gold. I hope it is working the same for all of you. Revert to me if anything is wrong, nicely ;)
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: BellGab.com on July 18, 2011, 01:22:08 PM
Quote from: ahrasis on July 18, 2011, 02:01:15 AM
Done. I have double checked and tested this mod on all version from 1.1.11 to 1.1.14 and 2 RC3 to 2.0 Gold. I hope it is working the same for all of you. Revert to me if anything is wrong, nicely ;)
hi.

i installed the updated version on 2.0 gold, and the installation is failing in:

./Themes/default/Post.template.php

i am using crip's "BR Finale" theme.  any suggestions?

thanks,
michael
CoastGab.com
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on July 18, 2011, 10:00:08 PM
As noted earlier, it won't work across themes. Thus, manual edit is needed in such a case.
Quote from: Bloc on February 17, 2011, 12:45:04 PM
Yes, np. :) The reason I asked was that I am thinking of this as an option in my themes.

But of course, it won't work across themes.

If you want, you can attached your Post.template.php here.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Nickhead on July 18, 2011, 11:39:28 PM
Quote from: Nickhead on July 06, 2011, 02:44:22 AM
im running 1.1.14

tried emulating 12, but i get errors on both file edits.

mind you i as well parsed the files, but could not find the text that needed edited.

probably due to the fact i have made a ton of edits to my default theme.

so i have attached both files that need edited,

and was hoping someone would be so gracious to point out the edits i need to make

or are even willing to make the changes themselves?

thank you in advance.

^^^^^^^^

;D
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on July 19, 2011, 12:47:41 AM
Quote from: Nickhead on July 18, 2011, 11:39:28 PM
Quote from: Nickhead on July 06, 2011, 02:44:22 AM
im running 1.1.14

tried emulating 12, but i get errors on both file edits.

mind you i as well parsed the files, but could not find the text that needed edited.

probably due to the fact i have made a ton of edits to my default theme.

so i have attached both files that need edited,

and was hoping someone would be so gracious to point out the edits i need to make

or are even willing to make the changes themselves?

thank you in advance.

^^^^^^^^

;D
Please try the new release first.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Nickhead on July 19, 2011, 04:12:55 PM
did that before the post.

my issue is the number of mod edits ive made, this mod cannot find the correct text to edit.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: BellGab.com on July 19, 2011, 06:18:53 PM
Quote from: ahrasis on July 18, 2011, 10:00:08 PM
If you want, you can attached your Post.template.php here.
here you go.  thanks.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on July 21, 2011, 11:22:53 PM
Quote from: Nickhead on July 19, 2011, 04:12:55 PM
did that before the post.

my issue is the number of mod edits ive made, this mod cannot find the correct text to edit.

I guess you just have to do manual modifications and go through line by line then. Good luck!
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 Gold & 1.1.14)
Post by: Hj Ahmad Rasyid Hj Ismail on July 21, 2011, 11:36:31 PM
Quote from: CoastGab.com on July 19, 2011, 06:18:53 PM
Quote from: ahrasis on July 18, 2011, 10:00:08 PM
If you want, you can attached your Post.template.php here.
here you go.  thanks.
Try this one.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 Gold & 1.1.14)
Post by: BellGab.com on July 26, 2011, 08:22:58 PM
Quote from: ahrasis on July 21, 2011, 11:36:31 PM
Quote from: CoastGab.com on July 19, 2011, 06:18:53 PM
Quote from: ahrasis on July 18, 2011, 10:00:08 PM
If you want, you can attached your Post.template.php here.
here you go.  thanks.
Try this one.
that worked.  i really appreciate it.  i'm sending you a donation.

do u have a donation button anywhere?
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on July 27, 2011, 01:52:20 AM
Quote from: Nickhead on July 19, 2011, 04:12:55 PM
did that before the post.

my issue is the number of mod edits ive made, this mod cannot find the correct text to edit.
If you want you can attach the respected files like CoastGab. But do try the latest version first.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on July 27, 2011, 01:54:09 AM
Quote from: Snorge on January 03, 2011, 04:09:42 AM
This mod only works for the default theme.  Can you add support for all themes?
If you use SMF 2.0x, you can choose to install on other themes and see whether it can install. If it can't you can always revert here with the respective files.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 Gold & 1.1.14)
Post by: Hj Ahmad Rasyid Hj Ismail on July 27, 2011, 02:05:57 AM
Quote from: CoastGab.com on July 26, 2011, 08:22:58 PM
Quote from: ahrasis on July 21, 2011, 11:36:31 PM
Quote from: CoastGab.com on July 19, 2011, 06:18:53 PM
Quote from: ahrasis on July 18, 2011, 10:00:08 PM
If you want, you can attached your Post.template.php here.
here you go.  thanks.
Try this one.
that worked.  i really appreciate it.  i'm sending you a donation.

do u have a donation button anywhere?
Great. And I don't need the donation, really. But do donate to SMF instead. Here is the link: http://www.simplemachines.org/contribute/donate.php
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Hj Ahmad Rasyid Hj Ismail on July 27, 2011, 02:09:19 AM
Quote from: Sirenism on February 18, 2011, 02:12:07 PM
I found that if I didn't apply the MOD to any themes just the default that it worked fine. :)

Quote from: abraamz on February 20, 2011, 07:28:54 AM
useful mod
In my forum it doesnt remove the icon from title. In a next version maybe you can update this also.
please look at the attachment
Try the latest version.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 RC4 & 1.1.12)
Post by: Nickhead on July 27, 2011, 02:55:00 AM
Quote from: ahrasis on July 27, 2011, 01:52:20 AM
Quote from: Nickhead on July 19, 2011, 04:12:55 PM
did that before the post.

my issue is the number of mod edits ive made, this mod cannot find the correct text to edit.
If you want you can attach the respected files like CoastGab. But do try the latest version first.

its in the original link of my quote, i didnt want to double post it.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 Gold & 1.1.14)
Post by: Hj Ahmad Rasyid Hj Ismail on July 28, 2011, 12:29:37 AM
Quote from: Nickhead on July 27, 2011, 02:55:00 AM
Quote from: ahrasis on July 27, 2011, 01:52:20 AM
Quote from: Nickhead on July 19, 2011, 04:12:55 PM
did that before the post.

my issue is the number of mod edits ive made, this mod cannot find the correct text to edit.
If you want you can attach the respected files like CoastGab. But do try the latest version first.

its in the original link of my quote, i didnt want to double post it.
Have you try the latest version yet? If you didn't, try it first. If still not working, revert to me again. I'll try to manually modify your files.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 Gold & 1.1.14)
Post by: Nickhead on July 28, 2011, 02:55:28 AM
sure have man... and thanks for stickin with me on this.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 Gold & 1.1.14)
Post by: MiY4Gi on July 28, 2011, 04:26:50 AM
Mm, I installed the Message Icons mod, but something went wrong. At first it worked, then I refreshed the page again, and kaboom! The message icon reappeared, and it's column was huge, and all the other columns were messed up. Then I "reverse installed" it, by attempting to uninstall it, but adding the code that the uninstaller will remove - in other words, I made the changes that the uninstaller would un-make.

So I got it working, but I reckon the problem was caused by the installer package.

Great mod by the way. Now I just gotta figure out how to remove the message icon from PortaMx.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 Gold & 1.1.14)
Post by: Hj Ahmad Rasyid Hj Ismail on July 28, 2011, 04:34:44 AM
Quote from: Nickhead on July 28, 2011, 02:55:28 AM
sure have man... and thanks for stickin with me on this.
No problem. Here you go.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 Gold & 1.1.14)
Post by: Hj Ahmad Rasyid Hj Ismail on July 30, 2011, 04:02:30 AM
Quote from: MiY4Gi on July 28, 2011, 04:26:50 AM
Mm, I installed the Message Icons mod, but something went wrong. At first it worked, then I refreshed the page again, and kaboom! The message icon reappeared, and it's column was huge, and all the other columns were messed up. Then I "reverse installed" it, by attempting to uninstall it, but adding the code that the uninstaller will remove - in other words, I made the changes that the uninstaller would un-make.

So I got it working, but I reckon the problem was caused by the installer package.

Great mod by the way. Now I just gotta figure out how to remove the message icon from PortaMx.
Great to hear that. I hope you are successful in removing them from PortaMx. Their staffs are also supportive, if you need any help to customize.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 Gold & 1.1.14)
Post by: societyofrobots on December 02, 2011, 12:15:17 AM
Can anyone confirm that this works on v2.0.1? I'm getting one error when trying to install:
1.   Replace   ./Themes/default/MessageIndex.template.php   Test failed

I just want to make sure it isn't another mod causing a conflict . . .
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 Gold & 1.1.14)
Post by: MiY4Gi on December 02, 2011, 05:42:09 AM
SMF 2.0.1 only includes minor edits, and none of those edits affect this mod. That error of yours is definitely caused by conflict with another mod. You'll have to manually edit the MessageIndex.template.php file.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 Gold & 1.1.14)
Post by: orion310591 on October 09, 2012, 07:46:00 AM
Im using this mode on 2.0.2.

and im getting tiny error shown on photo
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.mediafire.com%2Fconv%2F3684d9e62e480d317a48f97a419c41dfc525bd32e10854bf9bc68f25a73df4324g.jpg&hash=518add0a6790cb28675da984b1136b2f1c4f74fb) (http://www.mediafire.com/view/?mm8lzc1gr5rxxub)
http://www.mediafire.com/view/?vu7c8h3yyre9u#mm8lzc1gr5rxxub

i have tried

Remove Hot Topic & Message Icons Mod

and

Remove Hot Topic

even after uninstalling im still having this double buttons problem

i would like to use only Remove Hot Topic

its the same on both...
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 Gold & 1.1.14)
Post by: Hj Ahmad Rasyid Hj Ismail on October 09, 2012, 08:43:10 AM
That is not what the mod should do. It doesn't remove that menu button. It just remove hot topic and/or message icons (depending on which package you chose). I am not sure how to remove that second menu button but I can surely check it for you.
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 Gold & 1.1.14)
Post by: Rain Forest on June 30, 2013, 06:08:26 AM
Any updates for 2.0.4? :)
Title: Re: Remove Hot Topic & Message Icons Mod(s) (updated for 2.0 Gold & 1.1.14)
Post by: Hristo on June 30, 2013, 06:44:40 AM
They work fine with 2.0.4
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Hook Version!)
Post by: Hj Ahmad Rasyid Hj Ismail on December 23, 2014, 09:18:19 AM
Mod is updated and upgraded.

#Change Logs

@Version 1.1.2
- Remove Hot Topic And Message Icons mod is now upgraded to a fully hook mod with no file modification.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Hook Version!)
Post by: tranhiep_116 on December 23, 2014, 09:34:57 AM
i work it on 2.0.4 very helpful  ;D
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Hook Version!)
Post by: Hj Ahmad Rasyid Hj Ismail on December 23, 2014, 09:37:23 AM
Nice to hear that it is working. Thanks for the feedback.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Hook Version!)
Post by: akbora on December 23, 2014, 01:25:14 PM
congratulations you are hero of hooks...

This mod removed all icons why?
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Hook Version!)
Post by: Hj Ahmad Rasyid Hj Ismail on December 23, 2014, 01:27:51 PM
Some people prefer simplicity and don't need / want all that hot topic and message icons.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Hook Version!)
Post by: akbora on December 23, 2014, 01:31:47 PM
No I mean that I installed your mod this removed two icons my forum

I only want to remove hot topic icon

Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Hook Version!)
Post by: Hj Ahmad Rasyid Hj Ismail on December 23, 2014, 01:35:43 PM
Until I create a separate version for removing either hot topic or message index, kindly use the older package. Thank you.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Hj Ahmad Rasyid Hj Ismail on December 23, 2014, 02:16:48 PM
Updated to add option to remove one of the icons or both in Mod Settings page.


#Change Logs

@Version 1.1.3
- User can now choose whether to remove hot topic icons or message icons or both.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: BellGab.com on January 31, 2015, 12:30:11 AM
Hi.  I've attached a screenshot of the error I'm getting.  Thanks for any help.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Hj Ahmad Rasyid Hj Ismail on January 31, 2015, 01:17:28 AM
Ok. Will look into this. Anyway, which version of this mod did you use?
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: BellGab.com on January 31, 2015, 02:02:44 AM
Quote from: ahrasis on January 31, 2015, 01:17:28 AM
Ok. Will look into this. Anyway, which version of this mod did you use?

those errors were generated using 1.3 and after i posted that screenshot, i upgraded to 1.4.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Steve on January 31, 2015, 09:53:25 AM
The obvious next question being did you get the same errors after upgrading ...
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Hj Ahmad Rasyid Hj Ismail on February 01, 2015, 12:08:21 AM
I just want to make sure of the version as I might overlook something while from 1.1.3 to 1.1.4. My guess is that it is repeating eventhough he is using the latest version. $context though is globalized, have been seen to cause undefined index error since it is source/template specific. As such I am removing $context['icon_url'] while updating the mod to 1.1.5 version.


#Change Logs

@Version 1.1.5
- Trying to fix error reported in here (http://www.simplemachines.org/community/index.php?topic=396729.msg3788604#msg3788604).

Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: BellGab.com on February 01, 2015, 01:07:46 AM
Quote from: Steve on January 31, 2015, 09:53:25 AM
The obvious next question being did you get the same errors after upgrading ...

Yes.

Newest version now installed...
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: BellGab.com on February 02, 2015, 01:59:10 AM
here's the new error since updating to latest version of mod:

Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Hj Ahmad Rasyid Hj Ismail on February 02, 2015, 09:29:38 AM
I cannot update OP for the time being but the mod is updated in trying to fix error you just reported.

#Change Logs

@Version 1.1.6
- Trying to fix error reported in here (http://www.simplemachines.org/community/index.php?topic=396729.msg3789122#msg3789122).
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: BellGab.com on February 02, 2015, 12:38:27 PM
Quote from: ahrasis on February 02, 2015, 09:29:38 AM
I cannot update OP for the time being but the mod is updated in trying to fix error you just reported.

#Change Logs

@Version 1.1.6
- Trying to fix error reported in here (http://www.simplemachines.org/community/index.php?topic=396729.msg3789122#msg3789122).

new version installed.  i'll report back.  thanks.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: akbora on February 02, 2015, 12:49:02 PM
A lot of errors I have...

error_handler   Sources/RHTAMI.subs.php:154

error_handler   Sources/RHTAMI.subs.php:152

So I uninstalled it. Thanks
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Hj Ahmad Rasyid Hj Ismail on February 03, 2015, 12:55:14 AM
No problem akbora. But if you can more details on the version and the error(s), that will be much appreciated.

And thank you BellGab. I will be awaiting for your report of any more error(s).
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: BellGab.com on February 04, 2015, 01:36:15 AM
The errors have cleared up since the last update.  Thank you.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Hj Ahmad Rasyid Hj Ismail on February 06, 2015, 02:30:29 AM
Thanks to you too BellGab.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: BellGab.com on February 06, 2015, 05:09:00 AM
Quote from: ahrasis on February 06, 2015, 02:30:29 AM
Thanks to you too BellGab.

i hope versions of SMF going forward will rip all of these little icons and doodads out by default.  they couldn't look more 1996 and nobody cares to see them.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Steve on February 06, 2015, 08:35:49 AM
Quote from: BellGab.com on February 06, 2015, 05:09:00 AMi hope versions of SMF going forward will rip all of these little icons and doodads out by default.  they couldn't look more 1996 and nobody cares to see them.

Agreed. I see no purpose in them anymore.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Arantor on February 06, 2015, 02:07:33 PM
Hot topic icons were removed from 2.1, message icons were not (because people do actually use that)
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Steve on February 06, 2015, 03:29:40 PM
Cool beans.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: BellGab.com on February 09, 2015, 02:33:51 AM
Quote from: Arantor on February 06, 2015, 02:07:33 PM
Hot topic icons were removed from 2.1, message icons were not (because people do actually use that)

well, i'll admit i'm quite minimalist.  on my forum, i don't even display signatures, personal text, post counts, etc... very clean and simple, but many people have told me it's the uncluttered overall appearance that really made them enjoy using the forum.  everybody's different, though... and all of this stuff can be changed to one's liking, which is all that matters.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: BellGab.com on March 30, 2015, 02:23:54 AM
hi there.  i have the following repeating entry in my cpanel error log:


File does not exist: Themes/default/images/post/.gif 


since that's the folder where all of these little message icons reside, could the error be related to this mod?
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Hj Ahmad Rasyid Hj Ismail on March 30, 2015, 04:44:02 AM
I think that means gif file is wrongly name or missing but it doesn't seem to relate to this mod. Please check your SMF error log for any trace of error from this mod, if any.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: BellGab.com on March 30, 2015, 05:14:15 AM
Quote from: ahrasis on March 30, 2015, 04:44:02 AM
I think that means gif file is wrongly name or missing but it doesn't seem to relate to this mod. Please check your SMF error log for any trace of error from this mod, if any.

no entries in the smf error log that pertain to rhtami.

the problem is something is calling ".gif"... a file name that's nonexistent.  it's being called from multiple pages on the forum, so it looks to be something that happens with each page load.  i just don't know how to go about determining what's calling it.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Hj Ahmad Rasyid Hj Ismail on April 01, 2015, 08:54:49 AM
Can you list your mods? May be we can check which mod is the culprit from the list.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: BellGab.com on April 19, 2015, 05:41:08 PM
Quote from: ahrasis on April 01, 2015, 08:54:49 AM
Can you list your mods? May be we can check which mod is the culprit from the list.
Sorry, I just saw this. After almost 8 years of modding and hacking my forum, I decided to just do a clean installation of SMF. It was time. There were several things that weren't right. All is fine now. Thx.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Hj Ahmad Rasyid Hj Ismail on April 19, 2015, 11:44:24 PM
No problem.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: 420Connect.co.uk on May 19, 2015, 07:16:35 AM
Hey ahrasis,

I'm testing out how the mods I currently use, work with the new theme I am planning to use and think I've stumbled upon something that hopefully is just a quick fix!

Basically using the mod with the theme "Redsy" causes the body / icons to display strangely, with huge spacing issues.

.. it seems to work fine on locked and stickied posts but not for "normal" ones.

Much appreciated if you're able to take a look!

http://custom.simplemachines.org/themes/index.php?lemma=2833 - Theme


Many thanks!
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Hj Ahmad Rasyid Hj Ismail on May 19, 2015, 09:46:37 AM
The mod especially hook version is designed for default template. I believe that theme is new. I suggest you tried out old version 111. Highlight any error(s) during installation in here.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: 420Connect.co.uk on May 19, 2015, 10:34:23 AM
Hey,

Thanks for the reply and pointers!

I tried out the previous version and indeed helped highlight what part was going wrong.

echo '
<tr>
<td class="icon1 ', $color_class, '">
<img src="', $settings['images_url'], '/topic/', $topic['class'], '.gif" alt="" />
</td>
<td class="icon2 ', $color_class, '">
<img src="', $topic['first_post']['icon_url'], '" alt="" />
</td>
<td class="subject ', $alternate_class, '">
<div ', (!empty($topic['quick_mod']['modify']) ? 'id="topic_' . $topic['first_post']['id'] . '" onmouseout="mouse_on_div = 0;" onmouseover="mouse_on_div = 1;" ondblclick="modify_topic(\'' . $topic['id'] . '\', \'' . $topic['first_post']['id'] . '\');"' : ''), '>
', $topic['is_sticky'] ? '<strong>' : '', '<span id="msg_' . $topic['first_post']['id'] . '">', $topic['first_post']['link'], (!$context['can_approve_posts'] && !$topic['approved'] ? '&nbsp;<em>(' . $txt['awaiting_approval'] . ')</em>' : ''), '</span>', $topic['is_sticky'] ? '</strong>' : '';


looks like this for me:

echo '
<tr>
<td class="icon1 ', $color_class, '">
<img src="', $settings['images_url'], '/topic/', $topic['class'], '.gif" alt="" />
</td>
<td class="icon2 ', $color_class, '">
<img src="', $topic['first_post']['icon_url'], '" alt="" />
</td>
<td class="subject ', $alternate_class, '">
<div ', (!empty($topic['quick_mod']['modify']) ? 'id="topic_' . $topic['first_post']['id'] . '" onmouseout="mouse_on_div = 0;" onmouseover="mouse_on_div = 1;" ondblclick="modify_topic(\'' . $topic['id'] . '\', \'' . $topic['first_post']['id'] . '\');"' : ''), '>
', $topic['is_sticky'] ? '' : '', '<span id="msg_' . $topic['first_post']['id'] . '">', $topic['first_post']['link'], (!$context['can_approve_posts'] && !$topic['approved'] ? '&nbsp;<em>(' . $txt['awaiting_approval'] . ')</em>' : ''), '</span>', $topic['is_sticky'] ? '' : '';


I tried manually making the edits but that caused another sort of weird issue with how it was displayed, but with further playing around, I've found the the theme seems to sort of rely on the "<td></td>" line before the "<td class="icon2 ', $color_class, '">" to display correctly..

for now I have:

echo '
<tr>
<td class="icon1 ', $color_class, '">

</td>
<td class="icon2 ', $color_class, '">
<img src="', $topic['first_post']['icon_url'], '" alt="" />
</td>
<td class="subject ', $alternate_class, '">
<div ', (!empty($topic['quick_mod']['modify']) ? 'id="topic_' . $topic['first_post']['id'] . '" onmouseout="mouse_on_div = 0;" onmouseover="mouse_on_div = 1;" ondblclick="modify_topic(\'' . $topic['id'] . '\', \'' . $topic['first_post']['id'] . '\');"' : ''), '>
', $topic['is_sticky'] ? '' : '', '<span id="msg_' . $topic['first_post']['id'] . '">', $topic['first_post']['link'], (!$context['can_approve_posts'] && !$topic['approved'] ? '&nbsp;<em>(' . $txt['awaiting_approval'] . ')</em>' : ''), '</span>', $topic['is_sticky'] ? '' : '';


This at least removes the actual icons but their column remains..  it kinda does the job I guess, but if I could drop that column without messing up the display for the rest that would be preferred!  O:)
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Hj Ahmad Rasyid Hj Ismail on May 19, 2015, 11:50:52 PM
If you are using only Redsy theme for your site and want to remove the hot topic / message icon using hook version of this mod, then open RHTAMI.subs.php. Change $color_class = 'windowbg' to $color_class = 'windowbg4'.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: DrGecko on November 09, 2015, 06:24:21 PM
Hi - the mod doesn't seem to work with the New Look theme. Any advice?
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Hj Ahmad Rasyid Hj Ismail on November 09, 2015, 07:50:14 PM
All mods are made for default theme and never meant for others. If they work, it is a bonus. If they do not, you have to make adjustments to that mods.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: DrGecko on November 09, 2015, 08:56:01 PM
Ah, ok. I appreciate the answer.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Hj Ahmad Rasyid Hj Ismail on November 10, 2015, 12:07:37 AM
No problem. As an extra note to help you, you should try to use the old, non-hook version. There you can see error(s) during installation. Fix that error(s) or report them here so you should be able to get the right help to remove Hot Topic and Message Icons manually.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Dwev on February 14, 2018, 11:12:49 AM
I have RHTAMI 1.1.6 installed in SMF 2.0.15, and the "Remove message icons" option is on, while the option for " Remove hot topic icons" is off.

But somehow both Message icons AND Hot Topic icons are gone.

Is this a bug in this mod?
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Dwev on March 20, 2018, 08:01:44 PM
Since my question above never got an answer I'm wondering if this one will:

Our forum generates at the moment a very high number of errors linked to RHTAMI with the following text:

Quote2: Parameter 1 to RHTAMI_Displays() expected to be a reference, value given

Does anyone know what causes this, and more important, how to get rid of it?
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: BellGab.com on April 29, 2018, 06:47:09 AM
Quote from: Dwev on March 20, 2018, 08:01:44 PM
Since my question above never got an answer I'm wondering if this one will:

Our forum generates at the moment a very high number of errors linked to RHTAMI with the following text:

Quote2: Parameter 1 to RHTAMI_Displays() expected to be a reference, value given

Does anyone know what causes this, and more important, how to get rid of it?

This mod generated a lot of error log entries for me until I downgraded to 1.1.1.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Dwev on April 29, 2018, 08:38:59 AM
Quote from: BellGab.com on April 29, 2018, 06:47:09 AM
This mod generated a lot of error log entries for me until I downgraded to 1.1.1.

Thanks, at least I know I'm not the only one that got all of these errors.

In the meantime I removed this mod entirely, and getting actually quite used to all of these funny icons everywhere... ;)
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: BellGab.com on May 02, 2018, 05:44:03 AM
Quote from: Dwev on April 29, 2018, 08:38:59 AM
...getting actually quite used to all of these funny icons everywhere... ;)

I could never get used to that.  On my forum, nobody knows what the icons mean and I can guarantee you nobody missed them after they were removed.  I think they just make the forum look awful and cluttered.  I'm pretty minimalist on these things, though.  I don't even allow signatures, colored text or the usual doodads that show up under avatars on 99% of the forums out there.  Keeps things looking clean.

Cheers.
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Dwev on May 02, 2018, 12:43:07 PM
I agree, I liked the forum much better with the clutter of all of these icons.

But the Hook version throws lots of errors, and the 1.1.1 throw errors when I want to install them.

So I will have to invest some time in them, time I don't have right now...   :(
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Mike66 on November 13, 2021, 09:05:03 AM
Anybody tried this with 2.1?
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Sesquipedalian on November 13, 2021, 11:32:14 AM
Quote from: Mike66 on November 13, 2021, 09:05:03 AMAnybody tried this with 2.1?
For SMF 2.1, try this: https://custom.simplemachines.org/index.php?mod=4217
Title: Re: RHTAMI - Remove Hot Topic And Message Icons (Fully Hook!)
Post by: Mike66 on November 13, 2021, 12:21:16 PM
Yes Sesquipedalian, that works thanks  :)

The only difference that I can see, is that it leaves the empty column in place.

Cheers
Mike