Page 2 of 3
Re: [RC2] Custom Pages for phpBB Olympus 3.0 Beta5-RC3
Posted: Fri Aug 10, 2007 6:26 pm
by BigBlockMopar
Nice and simple Mod. Good work!
I'm using it on 2 of my forums already.
Now I would like to know how one can make sure only users of certain USERGROUPS or RANKS can see the content of such a custom page?
I did found out how to hide content for users who are not logged in.
Re: [RC2] Custom Pages for phpBB Olympus 3.0 Beta5-RC3
Posted: Sat Aug 18, 2007 6:12 pm
by Sergiy
where can we change title of page?
I don't like see Array any more

Re: [RC2] Custom Pages for phpBB Olympus 3.0 Beta5-RC3
Posted: Tue Aug 21, 2007 10:43 am
by ndss
Great mod but I would also like to edit the title. I will look into this but if anyone knows howto edit, be my guest. This mod works great with ProSilver also!
Re: [RC2] Custom Pages for phpBB Olympus 3.0 Beta5-RC3
Posted: Tue Aug 21, 2007 12:00 pm
by playerfr
I have stargate portal, is this compatible with it ? And is thier any progress on Dev ? any new version commign soon ?
Thanks

Re: [RC2] Custom Pages for phpBB Olympus 3.0 Beta5-RC3
Posted: Mon Aug 27, 2007 9:47 am
by carita
Exactly what I've been looking for. However it doesn't include the foother or header :S I don't know why! Does anyone else know?
Re: [RC2] Custom Pages for phpBB Olympus 3.0 Beta5-RC3
Posted: Mon Aug 27, 2007 10:15 am
by playerfr
I htink this mod is been abandoned

as AUthor did not replies for so long

Re: [RC2] Custom Pages for phpBB Olympus 3.0 Beta5-RC3
Posted: Mon Aug 27, 2007 6:24 pm
by carita
Well maybe there is someone smart out there that can answer our questions!

Re: [RC2] Custom Pages for phpBB Olympus 3.0 Beta5-RC3
Posted: Thu Aug 30, 2007 3:00 pm
by Trinity
Yeah if someone could figure out how to change the page title that would be awesome
Edit: See below 
Re: [RC2] Custom Pages for phpBB Olympus 3.0 Beta5-RC3
Posted: Thu Aug 30, 2007 3:08 pm
by Trinity
Okay, I deleted my original modification and really figured it out.
You need to add something in the language file.
What I did was go into the
language/en/common.php and added this:
Code: Select all
$lang = array_merge($lang, array(
'TRIBUTE' => 'Thomas Newman Tribute',
));
Then I went back into the
custom_page.php and changed the
to this:
Code: Select all
page_header($user->lang['TRIBUTE']);
Then, it worked!
Just change 'TRIBUTE' and 'Thomas Newman Tribute' to whatever you want.
Re: [RC2] Custom Pages for phpBB Olympus 3.0 Beta5-RC3
Posted: Fri Aug 31, 2007 3:39 pm
by BigBlockMopar
This only 'works' if you have only 1 custom_page.php in use.
I've already got several under different filenames.
I think the PageHeader title-variable should be set in the custom_page.php-file, so you can change it everytime you use the custom_page.php-file under a different name.
So just change this line;
into...
Re: [RC2] Custom Pages for phpBB Olympus 3.0 Beta5-RC3
Posted: Sat Sep 15, 2007 12:22 pm
by ChriZathens
At the end of the page I don't see the small table with the link "Board index"..
So, I edit the html pages , adding
<!-- INCLUDE breadcrumbs.html -->
at the end but it doesn't work...
What am I doing wrong ?
Re: [RC2] Custom Pages for phpBB Olympus 3.0 Beta5-RC3
Posted: Sat Sep 15, 2007 1:58 pm
by Elias
Very nice MOD you got there!
Re: [RC2] Custom Pages for phpBB Olympus 3.0 Beta5-RC3
Posted: Mon Oct 01, 2007 4:54 pm
by akakenny
Hello, nice mod, just one question, how would i make it so onlyl logged in members can view it? thanks
Re: [RC2] Custom Pages for phpBB Olympus 3.0 Beta5-RC3
Posted: Mon Oct 01, 2007 5:41 pm
by akakenny
Never mind ive found a fix,
in custom_pages.php under //start session manager
add
Code: Select all
//login
if ($user->data['user_id'] == ANONYMOUS)
{
$message = 'You must be logged in to view this page. Click <a href="login.php">HERE</a> to login';
trigger_error($message);
}
Re: [RC2] Custom Pages for phpBB Olympus 3.0 Beta5-RC3
Posted: Tue Nov 06, 2007 8:37 pm
by Granit
How to add more then one page?