News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

ColorizeBoards

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

Previous topic - Next topic

Stef001

Thanks,

Now i have still one problem.
In the post.template.php i don`t have: // Finally the most important bit - the actual text box to write in!

So i don`t know where to put the code, can you please help.
I have attached the code.

Thanks Stef.
SMF 2.0.2 | SimplePortal 2.3.5

Garry1953

Works fine
I'm using on my forum.
Thanks.

Bulakbol

Quote from: Normally on January 22, 2008, 04:48:29 PM
Thanks,

Now i have still one problem.
In the post.template.php i don`t have: // Finally the most important bit - the actual text box to write in!

So i don`t know where to put the code, can you please help.
I have attached the code.

Thanks Stef.

awww I forgot about the post and topic count. That is part of the BoardIndex.template.php. I'll get back to you.


@Garry1953
    Nice setup.

I don't know if I have to extend board colors in Recent Posts and Stats.  If someone want it, I'll update the mod.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Bulakbol

Quote from: Normally on January 22, 2008, 04:48:29 PM
Thanks,

Now i have still one problem.
In the post.template.php i don`t have: // Finally the most important bit - the actual text box to write in!

So i don`t know where to put the code, can you please help.
I have attached the code.

Thanks Stef.

That is part of BoardIndex.template.php.  I forgot about it, sorry. here's complete one. Both BoardIndex.template.php and MessageIndex.template.php.

Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

ceewee

I had to change it manuelly, but when putting file in 2 package parsers I have third piece in board.template.php is unreadable.
Checked source of xml but can't figure it out.
Can't read between the bars. Some empty lines would be nice in xml.


Btw, i have rss icon and more so I have to change a lot manuelly as first change in both board and emssage.template.


Bulakbol

Hi ceewee. If I could help you , I will. Just let me know how and which file that you are having problem with. There are line numbers in the xml file to serve as a guide for manual installation. They are there only for approximation because custom theme of course have different lines from a virgin default core theme.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

dimdom

It works with two bugs....


Firts one in the attached picture...

and to error log I see a lot of these...

Undefined index: colorize_color
File: /----------/default/ManageBoards.template.php (eval?)
Line: 326


Any ideas?  :-\

Bulakbol

Quote from: dimdom on January 31, 2008, 10:29:18 AM
It works with two bugs....


Firts one in the attached picture...

and to error log I see a lot of these...

Undefined index: colorize_color
File: /----------/default/ManageBoards.template.php (eval?)
Line: 326


Any ideas?  :-\

Hi dimdom. The problem is in the language file. Open default/Modifications.english.php. Find the ?> php tag and move it at the very end of the file. It should look like this.

$txt['colorize_color'] = 'Color';

?>


Let me know if that will solve your problem.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

dimdom

Thanx, JohnyB.

That was it.

Excellent and clean job.

Bulakbol

You are welcome dimdom. Glad you are ok now.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

ceewee

Quote from: JohnyB on January 30, 2008, 03:03:58 PM
Hi ceewee. If I could help you , I will. Just let me know how and which file that you are having problem with. There are line numbers in the xml file to serve as a guide for manual installation. They are there only for approximation because custom theme of course have different lines from a virgin default core theme.
I don't have a virgin board , I have 95 mods installed :-)
when putting your file in the parser I couldn't read the third piece in board.template.php is unreadable.
Is that the one here on page 1?



Bulakbol

Quote from: ceewee on February 11, 2008, 02:07:04 PM
I don't have a virgin board , I have 95 mods installed :-)
when putting your file in the parser I couldn't read the third piece in board.template.php is unreadable.
Is that the one here on page 1?


Hi Cewee. The parser' text were too tiny and hard to read isn't it. You need magnifying glass to read it properly. I am not too sure if it's the one in the first page.  Let me know if I can do something to help you. Try to install it manually and if you have problem after installing, then maybe attach the file that you have problem with and I'll see what I can do.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

iONic

#92
As stated in earlier posts on this topic, the MOD changes in Admin panel BUT not on the board. And it is most likely because I have a different theme Scibble2. So I attempted to modify both the BoardIndex.template.php and the MessageIndex.template.php but was unable to locate the exact code for replacement?

My apologies, the second file did not show up in a code box as intended.

Files are attached.

Bulakbol

Wow Ionic, those were long. It looks neater if you just attached the files in question. I got 'em.  I'll take a look at them when I have a chance.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

iONic

Quote from: JohnyB on February 24, 2008, 04:56:29 PM
Wow Ionic, those were long. It looks neater if you just attached the files in question. I got 'em.  I'll take a look at them when I have a chance.

Your right, that was long! I intended both files to show up in a code box.  I tidied it up for the sake of the reader anyways!

Bulakbol

#95
Quote from: iONic on February 24, 2008, 05:15:32 PM
Quote from: JohnyB on February 24, 2008, 04:56:29 PM
Wow Ionic, those were long. It looks neater if you just attached the files in question. I got 'em.  I'll take a look at them when I have a chance.

Your right, that was long! I intended both files to show up in a code box.  I tidied it up for the sake of the reader anyways!

Hi Ionic. Here's your edited BoardIndex.template.php and MessageIndex.template.php. Let me know if there's problem.

<edit> Attachment deleted </edit>
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

iONic

Quote from: JohnyB on February 25, 2008, 12:52:27 AM
Hi Ionic. Here's your edited BoardIndex.template.php and MessageIndex.template.php. Let me know if there's problem.

JohnyB,

Absolutely Perfect. Thanks for the help, no....for the doing of the work! I appreciate it. Now I will have to compare code, so that I might be able to do this myself to other themes if needed.  By the way, did you find the code I could not?

iONic

Bulakbol

Hi iOnic. You are welcome.  ;) Yes, I found the code that you can't find. The theme changed the position of the number of post.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

nguyen

Hi JohnyB,
It seem the color is not working at recent posts in version 2.0? Please confirm that for me.
Thanks

Eliana Tamerin

I don't believe it's supposed to.
Do NOT PM me for support.

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

Advertisement: