Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 4
Goto page 1, 2, 3, 4  Next
 
Reply with quote Download Post 
Post Sudoku Images For Dark Styles 
 
For all who want to change numbers for their dark styles !

RC versions
extract and upload sudoku folder to your :
templates\xxx\images\xxx\

Lopalong wrote: [View Post]


Open: Any dark theme folder and in the "style.cfg" (pearl.cfg for example).

Find:

include(IP_ROOT_PATH . 'templates/default/default.cfg');



affter add

Spoiler: [ Show ]


Pic demo
sudokupngdark

Enyoj  

EDIT : O s*** i missed section    .. please move this to Templates And Styles

sudoku.rar
Description: sudoku png for dark styles 
Download
Filename: sudoku.rar
Filesize: 112.66 KB
Downloaded: 69 Time(s)

 




____________
We are the phpBBorg. Lower your Crackers. Your phpological and forumological distinctivness will be added to our own. Resistance if futile!
 
Last edited by Limun on Thu 28 May, 2009 13:26; edited 1 time in total 
Limun - View user's profileSend private messageVisit poster's websitePersonal Gallery 
Back to topPage bottom
Thanks for the useful Topic Limun:
Jogge (28 May) 
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Sudoku Images For Dark Styles 
 
Moved for you

   
 




____________
Mods and themes for Icy Phoenix 1.3

IcyPhoenix UK is off-line permanently due to lack of time to update mods.
if anyone is interested in my templates I will upgrade them to Icy 2.0.
 
DWho - View user's profileSend private messageVisit poster's websitePersonal Gallery 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Sudoku Images For Dark Styles 
 
Black on white is a lot clearer.

Demo:

h**p://***.icyphoenix.com/viewtopic.php?p=25837#p25837


Download:

h**p://***.icyphoenix.com/viewtopic.php?p=25784#p25784
 



 
 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Sudoku Images For Dark Styles 
 
that depends on the like´s of everybody i think, Lopa.

Anyway I don´t use Sudoku.
I´m probably going to kick it out of script
 




____________
Driving me and my PC crazy, trying to create some pluggins
Icy-Mods.com ( IP 2.0 RC-1)
 
spydie - View user's profileSend private messageVisit poster's website 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Sudoku Images For Dark Styles 
 
A lot of things depend on people's point of view.

Even on how to add the extra coloured tiles without having to edit "Global" default configs which can and will more than likely reverse the same problem for light styles. Or not having to add the "new" colours to each and every darkish template either.

e.g.

Create a folder sudoku-bw (Black & White) and copy the changed tiles to that.

Copy the folder sudoku-bw to templates/common/images/sudoku-bw/*.*

Open: Any dark theme folder and in the "style.cfg" (pearl.cfg for example).

Find:

include(IP_ROOT_PATH . 'templates/default/default.cfg');

After Add:

Code: [Download] [Hide] [Select]
// SUDOKU - BEGIN
if (defined('IN_SUDOKU'))
{
    $images['sudoku_x'] = $common_images . 'sudoku-bw/sudoku_blank.gif';
    $images['sudoku_1'] = $common_images . 'sudoku-bw/1_given.gif';
    $images['sudoku_2'] = $common_images . 'sudoku-bw/2_given.gif';
    $images['sudoku_3'] = $common_images . 'sudoku-bw/3_given.gif';
    $images['sudoku_4'] = $common_images . 'sudoku-bw/4_given.gif';
    $images['sudoku_5'] = $common_images . 'sudoku-bw/5_given.gif';
    $images['sudoku_6'] = $common_images . 'sudoku-bw/6_given.gif';
    $images['sudoku_7'] = $common_images . 'sudoku-bw/7_given.gif';
    $images['sudoku_8'] = $common_images . 'sudoku-bw/8_given.gif';
    $images['sudoku_9'] = $common_images . 'sudoku-bw/9_given.gif';
    $images['sudoku_11'] = $common_images . 'sudoku-bw/11_given.gif';
    $images['sudoku_12'] = $common_images . 'sudoku-bw/12_given.gif';
    $images['sudoku_13'] = $common_images . 'sudoku-bw/13_given.gif';
    $images['sudoku_14'] = $common_images . 'sudoku-bw/14_given.gif';
    $images['sudoku_15'] = $common_images . 'sudoku-bw/15_given.gif';
    $images['sudoku_16'] = $common_images . 'sudoku-bw/16_given.gif';
    $images['sudoku_17'] = $common_images . 'sudoku-bw/17_given.gif';
    $images['sudoku_18'] = $common_images . 'sudoku-bw/18_given.gif';
    $images['sudoku_19'] = $common_images . 'sudoku-bw/19_given.gif';
    $images['sudoku_21'] = $common_images . 'sudoku-bw/1_ran.gif';
    $images['sudoku_22'] = $common_images . 'sudoku-bw/2_ran.gif';
    $images['sudoku_23'] = $common_images . 'sudoku-bw/3_ran.gif';
    $images['sudoku_24'] = $common_images . 'sudoku-bw/4_ran.gif';
    $images['sudoku_25'] = $common_images . 'sudoku-bw/5_ran.gif';
    $images['sudoku_26'] = $common_images . 'sudoku-bw/6_ran.gif';
    $images['sudoku_27'] = $common_images . 'sudoku-bw/7_ran.gif';
    $images['sudoku_28'] = $common_images . 'sudoku-bw/8_ran.gif';
    $images['sudoku_29'] = $common_images . 'sudoku-bw/9_ran.gif';
}
// SUDOKU - END


The same process can be used for "other" colours also - even polka-dotted ones.
 



 
 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Sudoku Images For Dark Styles 
 
You are on a roll my man!  Good job and yes I'm using this!

Thanks Limun!
 




____________
| Icy Phoenix ColorizeIt! |
Bipolar Disorder - Not good for you and definitely not good for everyone else.
 
Chaotic - View user's profileSend private messageVisit poster's websitePersonal Gallery 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Sudoku Images For Dark Styles 
 
Chaotic wrote: [View Post]
Good job and yes I'm using this!


Not very helpful!

You should be aware that the default.cfg is a "Global" file and does not belong in individual themes as per the instructions.

And you need to point these things out and how to make changes to the default.cfg by adding other globals after this line in the style.cfg.

include(IP_ROOT_PATH . 'templates/default/default.cfg');

Honest criticism and alternative methods are more beneficial to the user, than the continuous patronising "Good Job" echo!
 



 
 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Sudoku Images For Dark Styles 
 
Lopalong wrote: [View Post]
Chaotic wrote: [View Post]
Good job and yes I'm using this!


Not very helpful!

You should be aware that the default.cfg is a "Global" file and does not belong in individual themes as per the instructions.

And you need to point these things out and how to make changes to the default.cfg by adding other globals after this line in the style.cfg.

include(IP_ROOT_PATH . 'templates/default/default.cfg');

Honest criticism and alternative methods are more beneficial to the user, than the continuous patronising "Good Job" echo!


sorry but i dont understand your point  

i use default.cfg as individual in all my styles and it work correctly
 




____________
We are the phpBBorg. Lower your Crackers. Your phpological and forumological distinctivness will be added to our own. Resistance if futile!
 
Limun - View user's profileSend private messageVisit poster's websitePersonal Gallery 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Sudoku Images For Dark Styles 
 
Limun my friend,

If you use the default.cfg in your themes and there is an upgrade to the /default/default.cfg your themes won't know about it because you will still have your style.cfg pointing to the default.cfg in your style folder.

This may be fine for you, but users who download and install the style could be faced with now having to copy the /default/default.cfg to the style folder to include any new functions that may have been added. And if you have in fact made hard changes to the default.cfg in your style then it will become one hell of a mess for them trying to sort it out as to why any new changes have no effect to the style, and even worse if they overwrite it and remove any changes that you may have made.

Also, if a user asks how to change something that is or should be in the /default/default.cfg file then there will be more confusion when the changes are applied and the style doesn't recognise them because it no longer sees the /default/default.cfg.

The default.cfg is a "Global" file and really should be left as such and if you want to force changes to it for the benefit of the style, then add the changes as indicated after the line that calls the /default/default.cfg

Sheesh! How many .cfg's in this post.  
 



 
 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Sudoku Images For Dark Styles 
 
Lopalong wrote: [View Post]

Sheesh! How many .cfg's in this post.  


i shoud calll this topic .CFG-s  

anyway i see your point now and what you mean  

when i asked MG how to call one file from default folder if i need to change it and that this file dont affect other styles , he told me "just put file you need in directory of your style"     he didnt told "exept default.cfg   
so if    gona made some change in default.cfg i will    him a leg  

kidding  

if he gona made some changes in default.cfg i will add them to my styles for users also  

Thanks Lop
 




____________
We are the phpBBorg. Lower your Crackers. Your phpological and forumological distinctivness will be added to our own. Resistance if futile!
 
Limun - View user's profileSend private messageVisit poster's websitePersonal Gallery 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Sudoku Images For Dark Styles 
 
Limun wrote: [View Post]

if he gonna made some changes in default.cfg i will add them to my styles for users also  

Thanks Lop


You are only making a lot of unnecessary work for yourself by doing it that way, because it means that you will have to baby-sit every theme you make for changes that have been created; not only by MG, but by MOD authors as well who may add "Global" image paths etc to the /default/default.cfg to keep everything as it is meant to be.

Anyway, this is my last comment on the subject - Maybe MG can convince you not to add the default.cfg to the theme for all the same reasons.
 



 
 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Sudoku Images For Dark Styles 
 
MG told me to answer...

You do not need to edit default.cfg

For example, for prosilver it is enough doing that

OPEN prosilver_ip/prosilver_ip.cfg
FIND
Code: [Download] [Hide] [Select]
include(IP_ROOT_PATH . 'templates/default/default.cfg');

AFTER ADD
Code: [Download] [Hide] [Select]
// SUDOKU - BEGIN
if (defined('IN_SUDOKU'))
{
   $images['sudoku_x'] = $common_images . 'sudoku-bw/sudoku_blank.gif';
   $images['sudoku_1'] = $common_images . 'sudoku-bw/1_given.gif';
   $images['sudoku_2'] = $common_images . 'sudoku-bw/2_given.gif';
   $images['sudoku_3'] = $common_images . 'sudoku-bw/3_given.gif';
   $images['sudoku_4'] = $common_images . 'sudoku-bw/4_given.gif';
   $images['sudoku_5'] = $common_images . 'sudoku-bw/5_given.gif';
   $images['sudoku_6'] = $common_images . 'sudoku-bw/6_given.gif';
   $images['sudoku_7'] = $common_images . 'sudoku-bw/7_given.gif';
   $images['sudoku_8'] = $common_images . 'sudoku-bw/8_given.gif';
   $images['sudoku_9'] = $common_images . 'sudoku-bw/9_given.gif';
   $images['sudoku_11'] = $common_images . 'sudoku-bw/11_given.gif';
   $images['sudoku_12'] = $common_images . 'sudoku-bw/12_given.gif';
   $images['sudoku_13'] = $common_images . 'sudoku-bw/13_given.gif';
   $images['sudoku_14'] = $common_images . 'sudoku-bw/14_given.gif';
   $images['sudoku_15'] = $common_images . 'sudoku-bw/15_given.gif';
   $images['sudoku_16'] = $common_images . 'sudoku-bw/16_given.gif';
   $images['sudoku_17'] = $common_images . 'sudoku-bw/17_given.gif';
   $images['sudoku_18'] = $common_images . 'sudoku-bw/18_given.gif';
   $images['sudoku_19'] = $common_images . 'sudoku-bw/19_given.gif';
   $images['sudoku_21'] = $common_images . 'sudoku-bw/1_ran.gif';
   $images['sudoku_22'] = $common_images . 'sudoku-bw/2_ran.gif';
   $images['sudoku_23'] = $common_images . 'sudoku-bw/3_ran.gif';
   $images['sudoku_24'] = $common_images . 'sudoku-bw/4_ran.gif';
   $images['sudoku_25'] = $common_images . 'sudoku-bw/5_ran.gif';
   $images['sudoku_26'] = $common_images . 'sudoku-bw/6_ran.gif';
   $images['sudoku_27'] = $common_images . 'sudoku-bw/7_ran.gif';
   $images['sudoku_28'] = $common_images . 'sudoku-bw/8_ran.gif';
   $images['sudoku_29'] = $common_images . 'sudoku-bw/9_ran.gif';
}
// SUDOKU - END



No need to edit default.cfg, just define the images AFTER the include
 




____________
TheSteffen
Often SEARCH is the quickest way to get support.
IcyPhoenix German Support
 
TheSteffen - View user's profileSend private message 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Sudoku Images For Dark Styles 
 
TheSteffen wrote: [View Post]
MG told me to answer...

You do not need to edit default.cfg

For example, for prosilver it is enough doing that

OPEN prosilver_ip/prosilver_ip.cfg
FIND
Code: [Download] [Hide] [Select]
include(IP_ROOT_PATH . 'templates/default/default.cfg');


No need to edit default.cfg, just define the images AFTER the include


ha ..this is what Lopalong meaned
so all what i add affter AFTER the include
even for example
Spoiler: [ Show ]


it will read this one not that one from defaul.cfg? right ?
 




____________
We are the phpBBorg. Lower your Crackers. Your phpological and forumological distinctivness will be added to our own. Resistance if futile!
 
Limun - View user's profileSend private messageVisit poster's websitePersonal Gallery 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Sudoku Images For Dark Styles 
 
That is corrrect Limun.

This other example shows you how I added new vars and new card images suitable for the proSilver style only, by simply adding them to the prosilver_ip.cfg

And I hope this helps to give you a wider outlook on how to add extra's or change things for a single style.

  

Code: [Download] [Hide] [Select]
include(IP_ROOT_PATH . 'templates/default/default.cfg');

$template->assign_vars(array(
    'IMG_CWL' => $images['tbl_cwl'],
    'IMG_CWC' => $images['tbl_cwc'],
    'IMG_CWR' => $images['tbl_cwr'],

    'IMG_CWT' => $images['tbl_cw_t'],
    'IMG_CWB' => $images['tbl_cw_b'],
   )
);

// Yellow card
$images['icon_b_card'] = $current_template_images . 'buttons/card_blue.gif';
$images['icon_g_card'] = $current_template_images . 'buttons/card_green.gif';
$images['icon_bhot_card'] = $current_template_images . 'buttons/card_both.gif';
$images['icon_y_card'] = $current_template_images . 'buttons/card_yellow.gif';
$images['icon_r_card'] = $current_template_images . 'buttons/card_red.gif';
$images['icon_y_cards'] = $current_template_images . 'buttons/cards_yellow.gif';
$images['icon_r_cards'] = $current_template_images . 'buttons/cards_red.gif';


And to put it in another way:  

IP reads the style.cfg up to the include line -> then reads the default.cfg -> then reads any changes you have made for anything else you may have added or want to include.
 



 
 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Sudoku Images For Dark Styles 
 
Yes, you both are right  

This is a nice way to work with.

Didn't read Lopalongs post carefully enough  
 




____________
TheSteffen
Often SEARCH is the quickest way to get support.
IcyPhoenix German Support
 
TheSteffen - View user's profileSend private message 
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 4
Goto page 1, 2, 3, 4  Next


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events