UBB.Dev
Posted By: BryanDS When Creating a Stylesheet ... Errors? - 02/26/2002 9:42 AM
Hey,

When trying to "Create a stylesheet" .. Im getting this...

Warning:
fopen("/sky/www/dancesafe.org/html/ubbthreads/stylesheets/crimson2.css","w")
- Permission denied in
/sky/www/dancesafe.org/html/ubbthreads/admin/donewskin.php on line 43

Warning: Supplied argument is not a valid File-Handle resource in
/sky/www/dancesafe.org/html/ubbthreads/admin/donewskin.php on line 44

Warning: Supplied argument is not a valid File-Handle resource

I would just fiddle with permissions for the donewskin.php file.. but Im not
sure about the supplied argument resource thing...

Thoughts?
Posted By: JoshPet Re: When Creating a Stylesheet ... Errors? - 02/26/2002 4:30 PM
Have you checked permissions for the stylesheets directory...making sure you can write there?
Posted By: BryanDS Re: When Creating a Stylesheet ... Errors? - 02/26/2002 8:34 PM
What, Exactly, should they be?
Posted By: msula Re: When Creating a Stylesheet ... Errors? - 02/27/2002 1:39 AM
I have mine set to 777
Posted By: BryanDS Re: When Creating a Stylesheet ... Errors? - 02/27/2002 1:40 AM
Ok, I changed the stylesheet directory to 777, and no errors.. but it doesnt place the option into my users skin choices?
Posted By: msula Re: When Creating a Stylesheet ... Errors? - 02/27/2002 1:44 AM
do you see a "blank" space there? because you need to make sure when you select it in the admin section to be displayed, you give it a name, otherwise it shows up blank
Posted By: BryanDS Re: When Creating a Stylesheet ... Errors? - 02/27/2002 1:56 AM
Yeah, I gave it a name allright..

rainyday.css

Its in the stylesheets directory..

Its showing up to edit in the admin window..

But its not showing up for my users to use..

Posted By: JustDave Re: When Creating a Stylesheet ... Errors? - 02/27/2002 2:21 AM
Your users need to select it in their prefs via "edit display" in the "my home" area. If this is to be used by everyone, even those that are not logged in you will need to set it as the default style sheet by editing your theme.inc.php script. (this can be done via the admin area) If this style sheet uses the same name as a previous style sheet your users may need to reload or refresh the page in their browsers. []https://www.ubbdev.com/threads/php/images/icons/smile.gif[/]
Posted By: BryanDS Re: When Creating a Stylesheet ... Errors? - 02/27/2002 2:48 AM
Ok, doing this the fun way :-)

Heres whats wrong in a picture.

[]http://www.dancesafe.org/temp/problem.jpg[/]

Now, that style Im using in this picture is the one I want my users to use... but see that its on on the menu?

Thats the problem....

(Ps, Ive refreshed, logged out, logged in, created new user etc... its never there... Ive recreated the stylesheet 4 times)
Posted By: AllenAyres Re: When Creating a Stylesheet ... Errors? - 02/27/2002 3:11 AM
Can you post lines #20-40 in your theme.inc.php file?
Posted By: BryanDS Re: When Creating a Stylesheet ... Errors? - 02/27/2002 3:21 AM
*/

// Theme variables

// Default style sheet
$theme['stylesheet'] = "theblues";

// What style sheets do you want to make available to your users
// Format: Filename without the .css extension: Description
// ie: 'stylesheet:The default style sheet,
// stylesheet2:Large font style sheet';
$theme['availablestyles'] = "blackandblue:Black and blue,
infopop:Infopop,
largetheblues:the blues (large fonts),
stylesheet:wild,
stylesheet2:desert,
stylesheet3:wild (large fonts),
stylesheet4:desert (large fonts),
theblues:the blues";

// Table cellpadding
$theme['cellpadding']= 3;

// Table cellspacing
$theme['cellspacing'] = 1;





Do I have to edit this manually every time?
Posted By: JustDave Re: When Creating a Stylesheet ... Errors? - 02/27/2002 3:38 AM
Depends on what your doing. If your modifying a current sheet, no. If your creating a completely new sheet, yes. If your setting a new default sheet, yes.

If you do edit a current sheet your users will have to refresh or reload the page to see the changes if they have the sheet cached in their browser.
Posted By: BryanDS Re: When Creating a Stylesheet ... Errors? - 02/27/2002 3:46 AM
hmm..

Ok, thanks.. Problem solved.. although I dont mind... that hopefully would be automatic in the next feature.

-Bry

heh, a lil hard work never hurt anyone, Im just glad Im willing to do it ;-)
Posted By: BryanDS Re: When Creating a Stylesheet ... Errors? - 02/28/2002 3:43 AM
Hey!

New issue...

Ever since I added the new skins... a couple of people are coming up with this http://www.dancesafe.org/temp/error.jpg

The ones Ive been able to talk to are using different versions of netscape..

These appear on all of the stylesheets now.. not just the ones Ive added


Also, others (isolated instances) are complaining that tha fonts are HUGE!

Like 16 point size at least.

Im getting stats on them, but Ive already made sure they werent at low screen resolutioon or had their font size in Windows set to large.. Also made sure they were using a lower zized style sheet type...)

thoughts?
Posted By: AllenAyres Re: When Creating a Stylesheet ... Errors? - 02/28/2002 6:53 AM
getting a 404 on that error image []https://www.ubbdev.com/threads/php/images/icons/smile.gif[/]
Posted By: AllenAyres Re: When Creating a Stylesheet ... Errors? - 02/28/2002 6:54 AM
oh, and can we get a link to one of your style sheet .css's? we can compare it to one of ours and see where the problem might be...
© UBB.Developers