Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
3 registered (Mike L, Iann128, JimUK), 47 Guests and 16 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/02/04
Posts: 195
Top Posters (30 Days)
Ruben 49
DennyP 24
Gizmo 23
Dunny 18
SteveS 14
AllenAyres 12
dbremer 10
drkknght00 9
SD 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#1794 - 07/23/06 09:16 PM [NOTABUG] Might be a Styles Export/Import Problem
Mors Offline
addict
Registered: 06/26/06
Posts: 471
Loc: So. California
I just downloaded the stylesheet the Zarzal was nice enough to share with us. After figuring out how it import it and copy images etc.. The .css it created after the import had a slight issue.

color: #000000;
background: url('images/koniro/bkg2.png') #467FC1;
font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;

All of the references to images didn't have the / in front of 'images/koniro/bkg2.png' Therefore the images didn't load properly. I had to manually add the / infront of '/images/koniro/bkg2.png' Then they loaded properly.





Edited by Rick (07/24/06 11:25 PM)
_________________________
Happy Customer !!!
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#1796 - 07/23/06 09:20 PM Re: Might be a Styles Export/Import Problem [Re: Mors]
Mors Offline
addict
Registered: 06/26/06
Posts: 471
Loc: So. California
Also before I even got this far I was getting a 2.php error at line 11:

<?php
$style_array = array(
"id" => '2',
"general" => "",
"avatars" => "",
"forumimages" => "",
"graemlins" => "",
"icons" => "",
"markup_panel" => "",
"news" => "",
"wrappers" => ,
"css" => "_1153695038.css"
);
?>

I had to add "" after wrappers like this "wrappers" => "",

then the error went away.
_________________________
Happy Customer !!!
Top
#1800 - 07/24/06 02:51 AM Re: Might be a Styles Export/Import Problem [Re: Mors]
Zarzal Offline
old hand
Registered: 06/05/06
Posts: 1142
Loc: Berlin, Germany
The images must be upload manual to this directory (/(threadsroot)/styles/images/koniro. I must use a relative path without / and the images loads perfect on my server.
If you put a / in front of the path the images directory is under the root and not inside the threads stucture.
_________________________
my board: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
Top
#1806 - 07/24/06 03:34 AM Re: Might be a Styles Export/Import Problem [Re: Zarzal]
Mors Offline
addict
Registered: 06/26/06
Posts: 471
Loc: So. California
Originally Posted By: Zarzal
The images must be upload manual to this directory (/(threadsroot)/styles/images/koniro. I must use a relative path without / and the images loads perfect on my server.
If you put a / in front of the path the images directory is under the root and not inside the threads stucture.


Ahh this problem might have something to do with the BASE_URL and the FULL_URL references then. Not sure.. I had to add them to make them work.
_________________________
Happy Customer !!!
Top
#1821 - 07/24/06 11:36 AM Re: Might be a Styles Export/Import Problem [Re: Mors]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
As for the images portion. When creating/editing a style, this is at the top:

Quote:

If you use any images within your css properties make sure you include the full url and the images reside within their own directory in the styles directory.
Example: http://www.ubbcentral.com/version7/styles/image/image.gif


The reason for this is so the full path is translated during the export process so it will work when imported.
Top
#1822 - 07/24/06 11:43 AM Re: Might be a Styles Export/Import Problem [Re: Rick]
Zarzal Offline
old hand
Registered: 06/05/06
Posts: 1142
Loc: Berlin, Germany
To what is it translated? I dont like to give stylesheets to the world with my full image path. If they dont change it they use my images on my server and my bandwidth.
_________________________
my board: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
Top
#1826 - 07/24/06 11:48 AM Re: Might be a Styles Export/Import Problem [Re: Zarzal]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
If I were to export a style that had this:

http://www.ubbcentral.com/version7/styles/image/image.gif

When exported it would be changed to this:

FULL_URL/styles/images/image.gif

If I then import that into my personal site it would change to:

http://www.wcsoft.net/styles/images/image.gif
Top
#1828 - 07/24/06 12:01 PM Re: Might be a Styles Export/Import Problem [Re: Rick]
Zarzal Offline
old hand
Registered: 06/05/06
Posts: 1142
Loc: Berlin, Germany
thank you for the information. I try it.
/Edit: Done, works well. I go and update my downloadable stylsheet.


Edited by Zarzal (07/24/06 12:10 PM)
_________________________
my board: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Custom forum permissions
by ntdoc
05/18/12 02:07 PM
Forum Stats
10489 Members
36 Forums
33841 Topics
181698 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image