View Single Post
  #14  
Old 12-11-2012, 05:14 AM
powerchaos's Avatar
powerchaos powerchaos is offline
WebMaster
 
Join Date: May 2008
Posts: 130
Gender: Male
Credits: 10,160
powerchaos
Send a message via AIM to powerchaos Send a message via MSN to powerchaos
Default

i use version 1.3.1 and i am doing a rewrite of the script , so i got no idea what bugs are left in the current script

for the css , use the same fix

Code:
http://".$_SERVER['SERVER_NAME']."
on that way the css will always point to the right location

i putted that variable in the array for easy include , but the template of me looks like this

Code:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>:BROWSERTITLE:</title>
<link rel="stylesheet" href=":URL:/templates/main/style.css" type="text/css" media="screen" />
<link rel="stylesheet" href=":URL:/css/menu.css" type="text/css" />
</head>

:URL: = ".$_SERVER['SERVER_NAME']."

also i am not sure if it is fixed for me , if you go to the profile page then it is still out of his context ( seems to be in a wrong table or it is just the tempalte )

i only fixed a part so the seo url would work with out messing up the context ( like pets.demonpower.com/1/test_egg ) as it refused to load the css file , the above fix force the css file to be loaded from the http:// instead of just trying to find it in a folder

after that i started to write from scratch , so i dit not solve any other bugs in it at current moment

Greetigns From PowerChaos
Reply With Quote