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

Xavi-Nena

I see that I have uploaded the wrong package to my board, it was the one for version 2.0 however in my package manager it only shows list files and delete...i wanted to ask if it would be ok if i just hit delete and upload the correct one for my board or will i have to go in and manually remove code it might have installed?

Bulakbol

@TDNY
You're welcome. Thanks too for using/trying this mod.

@eddie8
Try another browser. Try firefox or opera. Does the board description color show in the board index?

@NenaGb
I'm sorry but you have to uninstall the mod manually before you can install the new version.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

eddie8

Great Mod JohnnyB!

Yes latest version of FF is my primary browser, also checked with IE

when I enter the color Blue for the forum description wording its is not
blue, instead the the admin area  description textarea box is blue

I know after installing a bunch of mods it could very well be the smallest
of things, but your Mod to me is so complex to figure out and I am new

I see you put a lot of work into that, your Mod brings a forum to life everything
else works fine for me, I have a lot of mods maybe some minor edit conflict or
something with one of them

again thanks for the great Mod

Ed

tsouliang

Hello :)

I try this mod whith my 1.1.8
and there is an error message :

Erreur lors de l'installation du paquet
Au moins une erreur a été rencontrée lors d'un test d'installation de ce paquet. Il est vivement recommandé que vous ne continuiez pas son installation à moins d'être sûr de ce que vous faites et que vous avez fait très récemment une copie de sauvegarde de votre forum et de votre base de données. Cette erreur peut être causée entre autre par un conflit avec le paquet que vous tentez d'installer et un autre paquet que vous avez précédemment installé, une erreur dans le paquet lui-même, un paquet qui requiert un autre paquet que vous n'avez pas encore installé, ou un paquet écrit pour une autre version de SMF.
Instructions d'installation
Author: JohnyB  Mod Name: ColorizeBoards  Version: 3.0
Tested: Freshly installed SMF 1.1.4 and SMF 2.0 Beta 3 Public
This will install ColorizeBoards 3.0 mod.
       
Colorize Boards 3.0
- As the name implies, this mod will optionally colorize your board name and board description.
- It will also optionally colorize category and list of Child boards in board index.
- Display colorized list of Child boards in board index.
- Display colorized boards in Stats page and Recent posts page.
- Colorized categories and boards will colorize linktree as well.
       
Usage:
- When modifying or creating a board, enter the desired color under the board's name and under the board's description.
- Do the same thing when modifying or creating a category.
- To use your original colors, leave the color input box blank.

Supported Themes
- Default Core
- Babylon
- Classic

Actions d'installation
Actions d'installation pour "Colorize Boards":
L'installation de ce paquet effectuera les actions suivantes :
   Type    Action    Description
1.    Exécuter le code    ColorizeBoardsDB114.php    
2.    Appliquer la modification    ./Sources/Load.php    Réussite du test
3.    Appliquer la modification    ./Sources/BoardIndex.php    Réussite du test
4.    Appliquer la modification    ./Sources/MessageIndex.php    Réussite du test
5.    Appliquer la modification    ./Sources/ManageBoards.php    Réussite du test
6.    Appliquer la modification    ./Sources/Recent.php    Réussite du test
7.    Appliquer la modification    ./Sources/Stats.php    Réussite du test
8.    Appliquer la modification    ./Sources/Subs-Boards.php    Réussite du test
9.    Appliquer la modification    ./Themes/default/ManageBoards.template.php    Réussite du test
10.    Appliquer la modification    ./Themes/default/BoardIndex.template.php    Réussite du test
11.    Appliquer la modification    ./Themes/default/MessageIndex.template.php    Réussite du test
12.    Appliquer la modification    ./Themes/default/index.template.php    Échec du test
13.    Appliquer la modification    ./Themes/classic/BoardIndex.template.php    Réussite du test
14.    Appliquer la modification    ./Themes/classic/MessageIndex.template.php    Réussite du test
15.    Appliquer la modification    ./Themes/classic/index.template.php    Réussite du test
16.    Appliquer la modification    ./Themes/babylon/BoardIndex.template.php    Réussite du test
17.    Appliquer la modification    ./Themes/babylon/MessageIndex.template.php    Réussite du test
18.    Appliquer la modification    ./Themes/babylon/index.template.php    Réussite du test
19.    Appliquer la modification    ./Themes/default/languages/Modifications.english.php    Réussite du test
20.    Appliquer la modification    ./Themes/default/languages/Modifications.german.php    Passer le fichier
21.    Appliquer la modification    ./Themes/default/languages/Modifications.italian.php    Passer le fichier
22.    Appliquer la modification    ./Themes/default/languages/Modifications.french.php    Réussite du test
23.    Appliquer la modification    ./Themes/default/languages/Modifications.dutch.php    Passer le fichier
24.    Appliquer la modification    ./Themes/default/languages/Modifications.romanian.php    Passer le fichier

So what for the compatibility ?
Sorry for my englih, i'm french ;)

Thanks

Siirist

#264
Hello,

I would really like to use this. The screenshots are awesome!
This is what I found :

Mod Name: ColorizeBoards
Created By: Bulakbol 
Type: New Feature 
First Created: December 13, 2007, 09:38:43 PM
Last Modified: February 25, 2009, 06:55:52 PM
Latest Version: 3.0
Compatible With: 1.1.7, 1.1.8, 2.0 Beta 3 Public, 2.0 Beta 4, 2.0 RC1
Total Downloads: 37890


I downloaded ColorizeBoards.zip and then used the package manager to upload from my computer to the forum and apply.


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 failed

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 successful
11. Execute Modification ./Themes/default/MessageIndex.template.php Test successful
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 Skipping file
23. Execute Modification ./Themes/default/languages/Modifications.dutch.php Skipping file
24. Execute Modification ./Themes/default/languages/Modifications.romanian.php Skipping file

Manual Install Instructions for SMF - 1.1.8
An Error Has Occurred!
Sorry, but this modification does not appear to be compatible with the selected version.



I am using SMF ver 1.1.8  with the Core - Default theme and the following Mods


          Mod Name Version 
1. SMF 1.0.16 / 1.1.8 Update 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
2. eFloating Bar for Guest & Members 0.1   [ Uninstall ] [ List Files ] [ Delete ] 
3. Post Box Message 1.1   [ Uninstall ] [ List Files ] [ Delete ] 
4. Advanced Contact Form 1.1   [ Uninstall ] [ List Files ] [ Delete ] 
5. Welcome Topic Mod 2.0.2   [ Uninstall ] [ List Files ] [ Delete ] 
6. Admin Notepad 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
7. Member Awards 1.0.2   [ Uninstall ] [ List Files ] [ Delete ] 
8. Group on Registration 1.1.1   [ Uninstall ] [ List Files ] [ Delete ] 
9. SimplePortal 2.2.1   [ Uninstall ] [ List Files ] [ Delete ] 
10. Caps_Lock_Detection_on_Login 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
11. Admins Can Post As Alternative User 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
12. TextSizer 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
13. Force Reason for Deletion 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
14. Anti Bot: Are You Human/Bot? 2.2   [ Uninstall ] [ List Files ] [ Delete ]


I have attached
.../Sources/Recent.php



Last post by Bulakbol  on this topic =
Re: ColorizeBoards
« Reply #262 on: March 28, 2009, 11:11:04 AM »

From Bulakbol's profile =
Last Active: Today at 04:03:54 AM
Local Time: May 20, 2009, 12:53:34 PM


Is there any support available on this mod???


Thank you in advance.

Be Well,

Cloud Walker
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Bulakbol

@eddie8
Sorry but I have no idea why it is giving you different color. Check your color spelling.

@tsouliang
Sorry. I don't understand french either. If you will translate the errors to english, maybe I could help.

@Cloud Walker
I can download your file now but SMF is having problem with file attachment so you have to wait until it is fixed. BTW, upload the php files, not rtf files.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

skyfie

Hi guys...I'm a total newbie to all of this. I understand ColorizeBoards is specifically made for a couple of boards, but I saw that some folks were able to use Colorize on some of the custom themes. Is there any way to  make this work in the LiteDream theme? Many thanks, K

Bulakbol

@Cloud Walker
Sorry, busy in real life and can't login everyday to check. I have your file now though. I'll see what I can do.

@skyfie
Try to install the mod and let me know where you are having problem with.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

skyfie

Thank you :) I did get it installed, and the drop down menus to colorize do appear, but it's not applying the changes.

Bulakbol

@Cloud Walker
It should use the color for the category name. Make sure that the color spelling is correct  :P


@skyfie
Click on the save button after selecting color. Can you post a link to your website?
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Bulakbol

Thank you too for trying/using this mod.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

lucifur

my forum error log this message:  :-[

8: Undefined index: board_color
file: /httpdocs/forum/Sources/Recent.php
line: 143
   
8: Undefined index: board_color
file: /httpdocs/forum/Sources/Recent.php
line: 144


Lighting_site

is it work under 1.1.9?

Bulakbol

@lucifur
You installed another mod that altered the query that's why the field was not loaded. Try the attached Recent.php. Let me know how things goes.

@Lighting_site
If you installed the mod without error, then it should work.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Dudecci

Bump for this great topic!

Anyways, I'm using this theme called Siyah Inci on 1.1.9 and managed to install this mod succesfully. Now I need some help to edit the BoardIndex file so the colors show up. Here is the index.

Thanks

Bulakbol

I'll look at it when I have spare time today.I'll get back to you.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Bulakbol

@Dudecci
I looked at your BoardIndex.template.php and there are only three lines to change. You can do the edit by yourself. siya_inci/BoardIndex.template.php
Code (find) Select
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
', $board['description'];

Code (replace) Select
<b><a href="', $board['href'], '" name="b', $board['id'], '" style="color: '. $board['bcolor']. ';">', $board['name'], '</a></b>';
if (!empty($board['description']))
echo '<br /><span style="color: ', $board['dcolor'], ';">', $board['description'], '</span>';


Code (find) Select
<td class="windowbg" valign="middle" align="center" style="width: 12ex;"><span class="smalltext">
Code (replace) Select
<td class="windowbg" valign="middle" align="center" style="width: 12ex; color: '. $board['bcolor']. ';"><span class="smalltext">

Code (find) Select
$child['link'] = '<a href="' . $child['href'] . '" title="' . ($child['new'] ? $txt[333] : $txt[334]) . ' (' . $txt[330] . ': ' . $child['topics'] . ', ' . $txt[21] . ': ' . $child['posts'] . ')">' . $child['name'] . '</a>';
Code (replace) Select
$child['link'] = '<a href="' . $child['href'] . '" title="' . ($child['new'] ? $txt[333] : $txt[334]) . ' (' . $txt[330] . ': ' . $child['topics'] . ', ' . $txt[21] . ': ' . $child['posts'] . ')" style="color: '. $child['bcolor']. ';">' . $child['name'] . '</a>';
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Dudecci

Works perfectly, thanks!

Bulakbol

Quote from: Dudecci on July 16, 2009, 02:05:28 PM
Works perfectly, thanks!
You're welcome. Thanks too for using/testing this mod.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

FrelonVert

Great mod ! Can you update it for 2RC1.2 ? Don't work on it  :'(

Thanks

Advertisement: