Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Add More Topic Icons (Do it yourself mod) (Read 5123 times)
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Add More Topic Icons (Do it yourself mod)
Oct 21st, 2008 at 2:33am
Print Post  
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: Apr 22nd, 2009 at 1:06am by batchman »  

Add_Message_Icons.zip ( 11 KB | Downloads )

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Captain John
Senior Member
****
Offline


Pass to Port !

Posts: 264
Location: Reno Beach
Joined: Jan 18th, 2007
Gender: Male
Re: Add More Topic Icons (Do it yourself mod)
Reply #1 - Oct 21st, 2008 at 3:31am
Print Post  
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: Oct 21st, 2008 at 12:54pm by Captain John »  

Love to live and love on the water
Back to top
 
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Add More Topic Icons (Do it yourself mod)
Reply #2 - Oct 21st, 2008 at 3:35am
Print Post  
Yeah, I guess I can do that.

Done. Now a zip in the first post.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
bartez
Ex Member


Re: Add More Topic Icons (Do it yourself mod)
Reply #3 - Oct 21st, 2008 at 7:39am
Print Post  
ah nice! was wondering if this was possible Smiley

will try it later this week
  
Back to top
 
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Add More Topic Icons (Do it yourself mod)
Reply #4 - Oct 21st, 2008 at 1:52pm
Print Post  
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.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Outumuro
God Member
*****
Offline


Publisher - YaBB Toolbar

Posts: 569
Location: Los Angeles
Joined: Apr 14th, 2004
Gender: Male
Re: Add More Topic Icons (Do it yourself mod)
Reply #5 - Oct 27th, 2008 at 7:53am
Print Post  
  


Back to top
WWW  
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Add More Topic Icons (Do it yourself mod)
Reply #6 - Jan 5th, 2009 at 12:08am
Print Post  
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.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint