The BoardMod Project
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum
BoardMod Support Forum
[ Home | Help | Search | Login | Register ]  

07.09.10 at 21:59:05, Welcome, Guest. Please Login or Register

Choose Language:
Page Index Toggle Pages: 1
Add More Topic Icons (Do it yourself mod) (Read 1667 times)
batchman
Hacker God
*****
Offline

Orlando, Florida, USA
Posts: 1202



21.10.08 at 02:33:17  
Attached is a mod file. You can install this mod, but you may want to edit it first. This is not a full-blown mod, it is more of a tutorial with a mod helper.

This is a tutorial about how to manually do what the old mod by Shoeb (Omario) used to do so much better.

I wanted to add an additional four icons to use as message icons, such as the thumbs up icon I used for this thread.

Since there is not currently a mod to do this, and since I can't really program, I hunted down some of the info on where bits of the code could be found at the YaBB support forum, and got some extra info and encouragement from Derek, here at BoardMod.

If you wish to, you can take the attached mods (one for 2.3 and one for 2.3.1) I have attached and install it. Included are the four extra icons the mod adds to the message icon list.

But you may not want to add the same icons that I did. If that is the case, you may prefer to go in and edit it for the icons you wish to add. I think it should be easy enough to figure out how to edit it to add different icons, and to make it more or less than four more being added on. (After all, if I was able to do it, I'm pretty sure almost everybody can!)

Upload your icons to the yabbfiles/Templates/Forum/default folder and chmod them.

Run your edited mod.

Upload Sources/Post.pl (3 changes)
Upload Sources/ModifyMessage.pl (1 change)
Upload Sources/Security.pl (1 change)
Upload Languages/Your Language/Post.lng

You should now have access to some more icons for your threads.

Issue to note: I have no idea why, but when I tried to use a gif with a number in the name (boos2.gif) it would not work. I had to rename it to boos.gif, and change the reference everywhere, before it would work.

I don't know if that would be the case for all gifs with numbers in the name, but I figured I would mention it for anybody who was running into problems.
« Last Edit: 22.04.09 at 01:06:31 by batchman »  
IP Logged
 


Improving my forum, one mod at a time!

...
Now up and running again, with an accurate link.

...

Captain John
Hacker Expert
****
Offline

Reno Beach, Ohio, USA
Posts: 250



Reply #1 - 21.10.08 at 03:31:13  
batchman, suggest you zip the MOD, clicking on now, displays mod as text in the browser, too much chance of errors, due to need for copy/paste

Do you have a suggested size for the icon or a Max size to look Good ?
« Last Edit: 21.10.08 at 12:54:42 by Captain John »  
IP Logged
 

Love to live and love on the water
batchman
Hacker God
*****
Offline

Orlando, Florida, USA
Posts: 1202



Reply #2 - 21.10.08 at 03:35:54  
Yeah, I guess I can do that.

Done. Now a zip in the first post.
 
IP Logged
 

Improving my forum, one mod at a time!

...
Now up and running again, with an accurate link.

...

bartez
Bloody Novice
*
Offline

Posts: 36



Reply #3 - 21.10.08 at 07:39:48  
ah nice! was wondering if this was possible Smiley

will try it later this week
 
IP Logged
 
batchman
Hacker God
*****
Offline

Orlando, Florida, USA
Posts: 1202



Reply #4 - 21.10.08 at 13:52:25  
No suggestions for sizes, though almost all that I added were general smilie sizes. Only one was a bit larger of a smilie, and it still worked fine for me. YMMV.
 
IP Logged
 

Improving my forum, one mod at a time!

...
Now up and running again, with an accurate link.

...

Outumuro
Hacker God
*****
Offline

Los Angeles, California, USA
Posts: 569



Reply #5 - 27.10.08 at 07:53:51  
 
IP Logged
 

...
... ... ... ... ...
batchman
Hacker God
*****
Offline

Orlando, Florida, USA
Posts: 1202



Reply #6 - 05.01.09 at 00:08:19  
This has been updated with a new mod file for 2.3.1, and the graphics added by the mod have been included. It still is more of a Do-It-Yourself mod, rather than the typical full-featured YaBB mod.

If anybody knows how to add this into the admin center, so that it can handle as many new icons as the user wishes to add, much like the Add More Smilies feature, or the extra icons for the Calendar mod, Shoeb Omar, who originally wrote the mod, has given permission for anybody to update his mods, as long as they give credit for his being the first one to code the idea.

And since I don't have the skills to take it to that level, if anybody else does, I'd be happy to turn the mod over to somebody more advanced.
 
IP Logged
 

Improving my forum, one mod at a time!

...
Now up and running again, with an accurate link.

...

Page Index Toggle Pages: 1
© 2000-2009 by - All rights reserved.

SourceForge.net Logo
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum