This release is a pretty straightforward one.
What this release does is go through your theme directory, find the most appropriate value for adsense colors (background, text, url, border, link), and inserts them into your mf_admin database automatically.
Quote:
Installation Instructions
You don't need to be a rocket scientist to install this, here's the basic howto.
Step 1:
Upload the two files in this to your forum root. This will be public_html, usually.
Step 2:
Login to your admin control panel (yourdomain/mf_admin)
Step 3:
Create a new template (go to styles->manage templates , at the bottom , click on add a new template). Call it 'theme'
In this 'theme' template, you need one line only:
{$themelang}
Step 4:
Go to yourforum/css.php . This will automatically import ALL theme variables for themes which do NOT have a border_color in them already. I chose border_color because it's the most commonly forgotten.
Step 5 (optional):
Browse the forum in your theme(s). This will verify that everything got imported correctly. Occasionally, themes will put out whacked out variables for css, or the script has to reach waaaay down there to pull a 'background' theme out, so it may not be ideal.
This is the best that can be done through automation, really, and it IS a lot better than doing it manually, trust me!
A thanks would be nice. Don't forget where you actually got the script from, hrrm?
|
Redistribution in ANY form is prohibited. You may redistribute the cssparser.php file, but NOT my css.php file, no matter how many changes you have made to it.