_______________
Yep I know me,.. thats that guy ..
> Lets script :: The PtokaX Lua Board :: The PtokaX Script Database
> Lets script :: The PtokaX Lua Board :: The PtokaX Script Database
« Last edit by Dietrich on Fri Jul 01, 2005 7:43 pm. »
Page: 1
| Author | Post |
|---|---|
|
#1 Wed Mar 23, 2005 9:16 pm
|
|
|
Member
Registered: Mar 2005
Posts: 92
Location: Rethymno, Crete, Greece
|
Make the css a seperate file. I think it would really help (in many ways). Although I dont know how the img_dir would get parsed after doing so ..
_______________ Yep I know me,.. thats that guy .. > Lets script :: The PtokaX Lua Board :: The PtokaX Script Database « Last edit by Dietrich on Fri Jul 01, 2005 7:43 pm. » |
|
#2 Thu Mar 24, 2005 9:25 pm
|
|
|
Developer
Registered: Apr 2004
Posts: 2202
Location: Belgium
|
I don't know how I would do this. I can create a seperate .php file for the css and pass the img_dir via a GET variable, but it will make the CSS work apart from the template system of UseBB and its advantages (such as output compressing).
_______________ |
|
#3 Sat Mar 26, 2005 12:38 pm
|
|
|
Member
Registered: Mar 2005
Posts: 92
Location: Rethymno, Crete, Greece
|
Maybe something like this would work fine, havent tested it thought..
function GetBufferedFile($filename) {This returns the file contents as a string, that can then be used for anything strings are used for ._______________ Yep I know me,.. thats that guy .. > Lets script :: The PtokaX Lua Board :: The PtokaX Script Database |
|
#4 Sat Mar 26, 2005 1:39 pm
|
|
|
Developer
Registered: Apr 2004
Posts: 2202
Location: Belgium
|
That way fetching the CSS will cause much more processing time than like it is now.
_______________ |
|
#5 Sat Mar 26, 2005 1:43 pm
|
|
|
Member
Registered: Mar 2005
Posts: 92
Location: Rethymno, Crete, Greece
|
Well like it is now it certainly takes _me_ more time to process my css.. ( editing with some program with abilities suited for css editing is definately faster than in my script editor...)
[*edit*] Anyhow, I cant make you do it, if you dont want to.. ![]() _______________ Yep I know me,.. thats that guy .. > Lets script :: The PtokaX Lua Board :: The PtokaX Script Database « Last edit by Herodes on Sat Mar 26, 2005 1:45 pm. » |
Page: 1
UseBB Community is powered by UseBB 1 Forum Software