Advice on site
Re: Advice on site
Let me explain. $phpbb_root_path is the relative path to your phpBB installation. One dot means the current directory, two dots means the parent directory. It always needs a slash at the end.
So if your board is in /board/ (like we have here), and the file you want to use is in / (the webroot), your $phpbb_root_path has to be: ./board/ .
If your file is in /board/fun/, $phpbb_root_path would have to be: ./../ .
If your file is in /board/fun/games/, $phpbb_root_path has to be: ./../../ .
I hope you get it.
So if your board is in /board/ (like we have here), and the file you want to use is in / (the webroot), your $phpbb_root_path has to be: ./board/ .
If your file is in /board/fun/, $phpbb_root_path would have to be: ./../ .
If your file is in /board/fun/games/, $phpbb_root_path has to be: ./../../ .
I hope you get it.
Donate to phpBBModders.net - we're poor!
Re: Advice on site
Ahh thats helped me out. Cheers. I was editing part of the file which used php_root, when i hadn't defined it right.
Now it works perfect
I'm almost done now, i juse need to put my website navigation at the top of the forum, and remove the default phpbb header arrangement. Is this all in overall_header.html?
Code: Select all
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './community/';
Now it works perfect
I'm almost done now, i juse need to put my website navigation at the top of the forum, and remove the default phpbb header arrangement. Is this all in overall_header.html?
Re: Advice on site
Righto, i reckon i should be able to work this out hehe. Fingers crossed.
THinking about it, do i put the html for the navigation in the overall_head.html, and the uniqu CSS for it in the common.css file?
-----
I happen to notice you have a feed on your home page, feeeding topic titles to your homepage. Was this coded by yourself, or was it a mod to export to rss?
thanks again
THinking about it, do i put the html for the navigation in the overall_head.html, and the uniqu CSS for it in the common.css file?
-----
I happen to notice you have a feed on your home page, feeeding topic titles to your homepage. Was this coded by yourself, or was it a mod to export to rss?
thanks again
Re: Advice on site
The class used to create RSS feeds is custom-coded. It uses phpBB's template system.
Donate to phpBBModders.net - we're poor!
Re: Advice on site
Thats very clever I'm guessing there are no plans for a public realease hehe.
Could you answer my other question, about the html/css of the header please, then i know if i understand it right. :
"do i put the html for the navigation in the overall_head.html, and the uniqu CSS for it in the common.css file?"
Could you answer my other question, about the html/css of the header please, then i know if i understand it right. :
"do i put the html for the navigation in the overall_head.html, and the uniqu CSS for it in the common.css file?"
Re: Advice on site
YesCrispy wrote:Thats very clever I'm guessing there are no plans for a public realease hehe.
Could you answer my other question, about the html/css of the header please, then i know if i understand it right. :
"do i put the html for the navigation in the overall_head.html, and the uniqu CSS for it in the common.css file?"
This is what our menu looks like in overall_header.html:
Code: Select all
<ul class="bevelmenu">
<li><a href="/">Home</a></li>
<li class="active"><a href="./index.php">Board</a></li>
<li><a href="/articles/">Articles</a></li>
<li><a href="/blog/">Blog</a></li>
<li><a href="/tools/">Tools</a></li>
<li><a href="/rules/">Rules</a></li>
<li><a href="/about/">About</a></li>
<li><a href="/contact/">Contact</a></li>
<li><a href="./ucp.php?mode=logout">Logout [ Semi_Deus ]</a></li>
</ul>
Keep an eye on us, were back in business..
Re: Advice on site
righto, thats cleared things up for me. cheers.
Re: Advice on site
A little, update. I'm just waiting on a coder to code my header, but this is what i have so far:
[img]http://i35.tinypic.com/rmo9rn.jpg[/img]
OR
[img]http://i34.tinypic.com/fblr9w.jpg[/img]
Haven't decided which yet, properbly the rising sun one.
[img]http://i35.tinypic.com/rmo9rn.jpg[/img]
OR
[img]http://i34.tinypic.com/fblr9w.jpg[/img]
Haven't decided which yet, properbly the rising sun one.
Re: Advice on site
Right, ok. I coded the navigation. But i have two quries.
1) I have a button which displays 'login' and one wich says 'logout' for the navigation, how can i add a <if> variable to it, more to the point, what variable do i need?
2) how can i get arid of the line gap in between the top of the banner, and bottom of the navigation.
Board: http://dsminded.com/community
Cheers. -Clive
1) I have a button which displays 'login' and one wich says 'logout' for the navigation, how can i add a <if> variable to it, more to the point, what variable do i need?
2) how can i get arid of the line gap in between the top of the banner, and bottom of the navigation.
Board: http://dsminded.com/community
Cheers. -Clive
Re: Advice on site
i tried this:
<!-- S_USER_LOGGED_IN --><a href="http://dsminded.com/community/ucp.php?mode=logout"><img src="http://dsminded.com/community/styles/proGrey/imageset/logout.gif" width="104" height="31" border="0" alt=""><!-- ENDIF -->
Brings an error up:
Parse error: syntax error, unexpected '}' in /home/swabru7r/public_html/community/cache/tpl_proGrey_overall_header.html.php on line 108
<!-- S_USER_LOGGED_IN --><a href="http://dsminded.com/community/ucp.php?mode=logout"><img src="http://dsminded.com/community/styles/proGrey/imageset/logout.gif" width="104" height="31" border="0" alt=""><!-- ENDIF -->
Brings an error up:
Parse error: syntax error, unexpected '}' in /home/swabru7r/public_html/community/cache/tpl_proGrey_overall_header.html.php on line 108
-
- Supporter
- Posts: 316
- Joined: 18 Sep 2007, 14:35
- Real name: David
- Contact:
Re: Advice on site
you need to do <!-- IF S_USER_LOGGED_IN -->
That's like, I can't beat my neighbor in an argument, so instead I kill his dog.
-Best English Teacher Ever
Re: Advice on site
Wicked mate, worked a treat. an't belive i forgot the IF.
I done <!-- IF not S_USER_LOGGED_IN --> for the login button, and it worked a treat.
I used {U_LOGIN_LOGOUT} for the logout url fienld so the session data would match up right. -Worked great
Cheers for your help again evil and harmlessgoat22.
I done <!-- IF not S_USER_LOGGED_IN --> for the login button, and it worked a treat.
I used {U_LOGIN_LOGOUT} for the logout url fienld so the session data would match up right. -Worked great
Cheers for your help again evil and harmlessgoat22.
Re: Advice on site
ans:2) add negative css margin to the bottom half.
Keep an eye on us, were back in business..