|
| Author |
Message |
~HG~
Joined: 25 Sep 2005
Posts: 423
Location: Australia
|
Posted: 1/14/2006, 4:05 am Post subject: |
|
|
| Thoul wrote: |
| You shouldn't move the template file - it needs to stay where it was originally. All you need to do is move memberlist.php and change the $phpbb_root_path setting in that file from "./" to "./../". |
Ahhhh, I have just learnt something now thanks Thoul.
"./" = forum/file.php
"./../" = forum/admin/file.php
Thanks  _________________ ~HG~
|| Click here to view all my phpBB Communities || |
|
| Back to top |
|
 |
~HG~
Joined: 25 Sep 2005
Posts: 423
Location: Australia
|
Posted: 1/14/2006, 4:18 am Post subject: |
|
|
I have changed the root path as you have suggested but this creates another problem with images in memberlist.
The path of images becomes.
| Code: |
| http://www.galahscorner.com/forum/admin/templates/Gumleaf/images/lang_english/icon_pm.gif |
_________________ ~HG~
|| Click here to view all my phpBB Communities || |
|
| Back to top |
|
 |
Thoul
Joined: 14 Sep 2005
Posts: 169
|
Posted: 2/2/2006, 3:48 pm Post subject: |
|
|
Find this in your includes/functions.php file:
| Code: |
$images[$key] = str_replace('{LANG}', 'lang_' . $img_lang, $value);
|
Change it to:
| Code: |
$images[$key] = $phpbb_root_path . str_replace('{LANG}', 'lang_' . $img_lang, $value);
|
That should fix the images. _________________ Phantasy Star: The Fringes of Algo | phpBB Smith |
|
| Back to top |
|
 |
~HG~
Joined: 25 Sep 2005
Posts: 423
Location: Australia
|
Posted: 2/2/2006, 10:58 pm Post subject: |
|
|
Well that works but we still have another problem to overcome and that is the overall_header as the images and backgrounds included in overall_header.tpl do not show up on the memberlist.php page.
My guess this is because overall_header is not called anywhere in the admin files (to my knowledge) _________________ ~HG~
|| Click here to view all my phpBB Communities || |
|
| Back to top |
|
 |
|