Path to custom header include Path to custom header include
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Path to custom header include

Started by santosh_iit32, January 08, 2007, 11:32:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

santosh_iit32

what is this "Path to custom header include"... how do i specify in the "Themes settings"?

i tried like ../page.php and various styles but nothing ever shows up but gives error! I know this sound stupid but could anyone help me with this?


santosh_iit32

I want to include this in the header

<?php
define
('override_phpbb_root_path''forum/');
@require(
override_phpbb_root_path 'lb_login.php');
?>


so whats the path?

santosh_iit32

couldn't find the edit button!

Its a login script for phpbb forum which is integrated with this gallery. I tried creating a file named "file.php" with the codes above and tried to link but couldn't help me please.

Nibbler

Nobody can tell you the path unless you tell us where this file is and where your gallery is.

santosh_iit32

file is located at the base and the file name is say "file.php" and the gallery is located at the folder "gallery"

The physical path is:

Quotehttp://domain.com/file.php and
http://domain.com/gallery

Joachim Müller


santosh_iit32

i tried that and it gave me an error!!

Joachim Müller

What error? Post real life URLs and paths.

santosh_iit32

i tried that with a simple page and it works but when i tried with this mod, it doesn't work and so the problem lies in the mod: http://www.phpbb.com/phpBB/viewtopic.php?t=158595

thank you.

Joachim Müller

You can not include anything - code snippets that require the modification of the file header will not work using the custom_header include. Just use a simple custom mod that checks if a user is logged in and displays a login form (just basic HTML) if it doesn't. Search the board for such a basic loginform hack. We can't help you with third-party phpBB mods.

santosh_iit32

no problem. thank you so much for the reply.