Staline wrote:Pheraps copy the style's folder in the root folder ?
That would just solve the first error later on with more styles installed will give you similiar errors and you need to add thoose to the root-folder.
I'm playing EVE at the moment but will try to solve the problem tomorrow if not tonight.
btw the navbar links-problem would not be solved with just copying the styles.
--- EDIT ---
I'm in the process of adding "PUN_ROOT" whereever it is needed(currently in header.php), perhaps it's not written to be used like this but I don't know atm.
Ok, I have now successfully got my own index.php and the header, announcement(if set) and footer.php added to my index.php...
To rickard: Perhaps this could be added to the release as standard?
Changes to header.php
- Added '.PUN_ROOT.' to links on following lines 165, 168, 172(2 links on this line)
- Removed line 65 and replaced it with: <?php echo '<link rel="stylesheet" type="text/css" href="'.PUN_ROOT.'style/'.$pun_user['style'].'.css" />' ?>
Changes to include/functions.php
- Added '.PUN_ROOT.' to links on following lines 235, 236, 239, 244, 246, 247, 256, 258, 259, 263 - 266
*BE AWARE* Additional navlinks(added thru options do not need PUN_ROOT because they will have a link relative to server-root *BE AWARE*
I think that were all links that needed a fix, please Rickard if this affects anything else I should be aware of reply here.
///
Christoffer "Holmen" Holmstedt