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?
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_theme_include_path_start
If you need help to determine the path you need to provide more info.
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?
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.
Nobody can tell you the path unless you tell us where this file is and where your gallery is.
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
Try ../file.php
i tried that and it gave me an error!!
What error? Post real life URLs and paths.
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 (http://www.phpbb.com/phpBB/viewtopic.php?t=158595)
thank you.
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.
no problem. thank you so much for the reply.