Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2001
Posts: 126
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 126
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?

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Have you checked permissions for the stylesheets directory...making sure you can write there?

Joined: Nov 2001
Posts: 126
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 126
What, Exactly, should they be?

Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
I have mine set to 777

Joined: Nov 2001
Posts: 126
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 126
Ok, I changed the stylesheet directory to 777, and no errors.. but it doesnt place the option into my users skin choices?

Sponsored Links
Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
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

Joined: Nov 2001
Posts: 126
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 126
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..


Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
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[/]

Joined: Nov 2001
Posts: 126
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 126
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)

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Can you post lines #20-40 in your theme.inc.php file?


- Allen wavey
- What Drives You?
Sponsored Links
Joined: Nov 2001
Posts: 126
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 126
*/

// 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?

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
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.

Joined: Nov 2001
Posts: 126
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 126
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 ;-)

Joined: Nov 2001
Posts: 126
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 126
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?

Last edited by BryanDS; 02/27/2002 11:37 PM.
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
getting a 404 on that error image []https://www.ubbdev.com/threads/php/images/icons/smile.gif[/]


- Allen wavey
- What Drives You?
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
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...


- Allen wavey
- What Drives You?

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)