CommunityAdmins.com - Relocating memberlist.php - Page 2
YanksBlog.com, an unofficial New York Yankees fan blog
Add Us:   MySpace   Facebook   StumbleUpon
Username:    Password:
Remember Me?    
Relocating memberlist.php
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CommunityAdmins.com Forum Index -> Technical Issues
 See a User Guidelines violation? Please contact us.
Author Message

~HG~

Joined: 25 Sep 2005
Posts: 423
Location: Australia

PostPosted: 1/14/2006, 4:05 am    Post subject: Reply with quote

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 Wavey
_________________
~HG~

|| Click here to view all my phpBB Communities ||
Back to top

~HG~

Joined: 25 Sep 2005
Posts: 423
Location: Australia

PostPosted: 1/14/2006, 4:18 am    Post subject: Reply with quote

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

PostPosted: 2/2/2006, 3:48 pm    Post subject: Reply with quote

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

PostPosted: 2/2/2006, 10:58 pm    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CommunityAdmins.com Forum Index -> Technical Issues All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Links: Programming Forum

Network: iFroggy Network Blog - iFroggy Hosting - SportsForums.net - KarateForums.com - YanksBlog.com - phpBBHacks.com - PhotoshopForums.com - DeveloperCube - Managing Online Forums - ManagingCommunities.com - DrGregHouse.com - Bad Boy Blog - BadBoyForums.com - SodaRatings.com - Patrick O'Keefe

< Advertising - Contact - Staff - User Guidelines>

We Support phpBBHacks.com. Forum Buttons by Daz. Privacy Policy. Powered by phpBB © phpBB Group. phpBB SEO.
Copyright © 2005-2008. CommunityAdmins.com, iFroggy Network. All Rights Reserved.