CommunityAdmins.com - Relocating memberlist.php
Find affordable web hosting packages at iFroggy Hosting
Add Us:   MySpace   Facebook   StumbleUpon
Username:    Password:
Remember Me?    
Relocating memberlist.php
Goto page 1, 2  Next
 
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/12/2006, 2:34 pm    Post subject: Relocating memberlist.php Reply with quote

OK as you may have read I move my member list (link only) to the Admin section so that it complies with Australian Privacy laws to some degree.

Because the link is not publically viewable it takes away the temptation to view the list by ordinary members.

What I want to know from the phpBB experts here is what changes would I need to make to files other than memberlist.php to have it included in admin/memberlist.php ?

I am sure that some change would need to be made in page_header.php to show where that file can be found and possibly in some other .php files as well but that I am not sure of.

Also what effect would moving it to admin/ have on any updates etc as I notice quite a few updates have included the memberlist.php file?
_________________
~HG~

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

Ex0dus

Joined: 26 Sep 2005
Posts: 235
Location: Zarasu, Lithuania

PostPosted: 1/12/2006, 2:45 pm    Post subject: Reply with quote

why not rename memberlist.php (rename it to something silly) and then put the admin only tags on a link around it (similar to how to the administration panel link works) and leave it that way. Less work and it still hides it from public view (even by typing in memberlist.php).

Saves alot of work.

Of course you can always delete memberlist.php (never really tried) and get a user list mod put into your site.

Either option would be less work and less hassle >_<

-Ex0dus
Back to top

~HG~

Joined: 25 Sep 2005
Posts: 423
Location: Australia

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

Yeah renaming it would be simple to do I guess and come to think of it, I already have a user list mod installed in the ACP.

Still I would be interested in seeing what others have to say on this one.
_________________
~HG~

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

Thoul

Joined: 14 Sep 2005
Posts: 169

PostPosted: 1/12/2006, 5:23 pm    Post subject: Reply with quote

Quote:
Also what effect would moving it to admin/ have on any updates etc as I notice quite a few updates have included the memberlist.php file?


If you do the updates manually, no effect - just remember that you moved the file. If you do them automatically, you might have to move memberlist back out of admin/ temporarily or (if using EasyMod) change a path somewhere in the update file.

Quote:
What I want to know from the phpBB experts here is what changes would I need to make to files other than memberlist.php to have it included in admin/memberlist.php ?


I don't follow what you mean here.
_________________
Phantasy Star: The Fringes of Algo | phpBB Smith
Back to top

Ex0dus

Joined: 26 Sep 2005
Posts: 235
Location: Zarasu, Lithuania

PostPosted: 1/12/2006, 5:55 pm    Post subject: Reply with quote

i think hes wondering if other files (such as anything in the includes directory) needs to be changed so that memberlist.php would work in the admin panel.

on that note, you would have to move memberlist_body.tpl to your templates/admin directory for starters =p (i know its obvious but its the kind of thing id forget)

-Ex0dus
Back to top

Brent

Joined: 09 Jan 2006
Posts: 42
Location: New York

PostPosted: 1/12/2006, 6:02 pm    Post subject: Reply with quote

So how do you do all this?
_________________
Brent Kincer - AdminsCube.com Owner
E-Mail Me - brent@adminscube.com
Back to top

Thoul

Joined: 14 Sep 2005
Posts: 169

PostPosted: 1/12/2006, 7:07 pm    Post subject: Reply with quote

Quote:
on that note, you would have to move memberlist_body.tpl to your templates/admin directory for starters =p (i know its obvious but its the kind of thing id forget)


You wouldn't have to, actually. The only thing that would have to be changed is the $phpbb_root_path setting in memberlist.php itself.
_________________
Phantasy Star: The Fringes of Algo | phpBB Smith
Back to top

~HG~

Joined: 25 Sep 2005
Posts: 423
Location: Australia

PostPosted: 1/13/2006, 3:56 am    Post subject: Reply with quote

Thats the sort of thing that I was referring to with other files Thoul.

The root path of the file and if it is called anywhere in the includes files that would need to be changed?
_________________
~HG~

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

~HG~

Joined: 25 Sep 2005
Posts: 423
Location: Australia

PostPosted: 1/13/2006, 4:04 am    Post subject: Reply with quote

Just as a test I moved the memberlist.php to admin as well as the template for it into admin templates and when I try to call up the page in my browser all I get is a white page.

That means that some change would need to be made to move it permanently into admin.
_________________
~HG~

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

Thoul

Joined: 14 Sep 2005
Posts: 169

PostPosted: 1/13/2006, 2:40 pm    Post subject: Reply with quote

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 "./../".
_________________
Phantasy Star: The Fringes of Algo | phpBB Smith
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 1, 2  Next
Page 1 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.