News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

ColorizeBoards

Started by Bulakbol, December 18, 2007, 06:34:51 PM

Previous topic - Next topic

Bulakbol

@DachaArh.
Open your default/languages/Modifications.serbian-lat-utf8.php and add this line at the very bottom before the ?> tag
$txt['colorize_color'] = 'Color';

You can translate the word "Color" to Serbian language.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Kimmen

Hey JohnyB  :D

I want to innstall this mod on my forum. Im using 1.1.4 and have innstalled MCLegendII.2 mod and thats the only mod i have innstalled at the forum. When applying the mode i get this:

10.     Execute Modification     ./Themes/default/BoardIndex.template.php     Test failed

Thats the only thing that fails. I have not innstalled this mod becuase of this and wonder what to do next.


Greetings
Kim

Bulakbol

#182
@^code_future^
Have you tranlated the language string to your language?


@Kim Arne
Attach your BoardIndex.template.php and I'll try to edit it for you.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Kimmen

Here is my boardindex.

I have not innstalled the mode yet.

Bulakbol

@Kim Arne
   I don't know why all lines in your BoardIndex.template.php are double spaced. Any mod that search for two or more lines will fail. I managed to edit your BoardIndex.template.php btw and attached. Use it after the installation.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Kimmen

#185
Thx, i tried to innstall and that went ok. I have also added this file you edited, and that went ok also. But i only get the categorys in forum to show colour. Not the Forum Boards or Board description. I can see the fields for adding colour, but when i do, it wont work.



As you can see, categorys work, but Boards doesent. (Too se picture, right click and view image)



I can see the fields, no problem. When i enter a colourcode and press modify, it doesent work. When i come back to the admin panel, the colour i enter is gone. Its like it wont save the colour.

I have sent you an admin account on PM, that yopu can login to my site and perhaps fix it from there if you have time.

(Too se picture, right click and view image)

Greets
Kim

tk2012

I loaded this on v2.0 b3.1 and as I expected... NO PROBLEMS WHATSOEVER!

I'm using the default theme and have at least 20 other mods on my site.  I noticed that the MOD LINK does not list b3.1 but does list b3.  In case anyone was wondering, it worked perfectly for me.

I will say it again and again... YOU ROCK !!!!!!!!!!!!

ManilaGurL

Will this work on SMF1.1.5, DilberMC and Tinyportal installed?

Eliana Tamerin

Have you tried it? You may need to manually edit DilberMC's files, but otherwise it should work, yes.
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

ManilaGurL

What do I need to edit?

10.     Execute Modification     ./Themes/default/BoardIndex.template.php     Test failed
11.    Execute Modification    ./Themes/default/MessageIndex.template.php    Test failed


Installations actions for "Colorize Boards":
Installing this package will perform the following actions:
Type Action Description
1. Execute Code ColorizeBoardsDB114.php
2. Execute Modification ./Sources/Load.php Test successful
3. Execute Modification ./Sources/BoardIndex.php Test successful
4. Execute Modification ./Sources/MessageIndex.php Test successful
5. Execute Modification ./Sources/ManageBoards.php Test successful
6. Execute Modification ./Sources/Recent.php Test successful
7. Execute Modification ./Sources/Stats.php Test successful
8. Execute Modification ./Sources/Subs-Boards.php Test successful
9. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
10. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
11. Execute Modification ./Themes/default/MessageIndex.template.php Test failed
12. Execute Modification ./Themes/default/index.template.php Test successful
13. Execute Modification ./Themes/classic/BoardIndex.template.php Test successful
14. Execute Modification ./Themes/classic/MessageIndex.template.php Test successful
15. Execute Modification ./Themes/classic/index.template.php Test successful
16. Execute Modification ./Themes/babylon/BoardIndex.template.php Test successful
17. Execute Modification ./Themes/babylon/MessageIndex.template.php Test successful
18. Execute Modification ./Themes/babylon/index.template.php Test successful
19. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
20. Execute Modification ./Themes/default/languages/Modifications.german.php Skipping file
21. Execute Modification ./Themes/default/languages/Modifications.italian.php Skipping file
22. Execute Modification ./Themes/default/languages/Modifications.french.php Test successful
23. Execute Modification ./Themes/default/languages/Modifications.dutch.php Skipping file
24. Execute Modification ./Themes/default/languages/Modifications.romanian.php Skipping file

Bulakbol

@Manilagurl
  Attach your altered BoardIndex.template.php and MessageIndex.template.php and I'll edit them when I have spare time.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

ManilaGurL

Attached are the two files. Thanks for being helpful, JohnyB.. I hope this won't be the last as I really like your mods. LOL! *hint : Stars and Badges* :)

Bulakbol

Here are your files Manilagurl. Please use them after you installed the new version of ColorizeBoards mod. Thanks for using this mod.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

blouogies20

I have ColorizeBoards mod installed But I have one problem look at the screen shot




Where the red arrow are that color shouldn't be orange it should change to the color of that board right?

As I understand I should edit the template files... So how do I do that?

Eliana Tamerin

I don't believe that's part of the change. Though you could probably include that anyways.
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

blouogies20

#195
ok but how can I edit my  template  files to change colors because it looks silly  >:(

Bulakbol

If you want to include the "last post by", you have to edit your BoardIndex.template.php and look for
<b>', $txt[22], '</b>  ', $txt[525], ' ', $board['last_post']['member']['link'] , '<br />

replace
<span style="color: ', $board['bcolor'], '"><b>', $txt[22], '</b>  ', $txt[525], '</span> ', $board['last_post']['member']['link'] , '<br />

If you can't find the code then I can't help you without telling me which theme you are using.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

blouogies20

Ok this has changed -



Btw I'm using SMF 1.1.5 and the theme I'm using is TG Colors made by Smoky.

I have attached my boardindex file of the default theme too.

ManilaGurL

It worked like a charm! Thanks again, JohnyB! :)

blouogies20

I have missed understood you JohnyB yes I agree with ManilaGurL  it does work like a charm.

How can I edit the rest of the orange with the same color as each borad?

Advertisement: