Page 1 of 1

Phpbb3 Header Q

PostPosted: Mon May 31, 2010 10:40 pm
Author: Lycanth
I have a fresh install of phpbb3 right now, and was hoping to be able to put some sort of announcement box at the top, similar to the one found here: http://alphabet-city.com/phpBB3/index.php

Also, I was hoping there was an easy way to change urls.

Basically, I had a site at http://www.mysite1.com, and have made a new one at http://www.subsite.mysite1.com

Any way to have the subsite show when someone types the main url? Thanks in advance!

Re: Phpbb3 Header Q

PostPosted: Tue Jun 01, 2010 3:14 am
Author: CaNNon
Use this .htaccess in the root folder of the site you want to redirect, change the urls to where you want them to go.

Code: Select all
Options +FollowSymlinksRewriteEngine onrewritecond %{http_host} ^domain.com [nc]rewriterule ^(.*)$ [url=http]http://www.domain.com/$1[/url] [r=301,nc]

Re: Phpbb3 Header Q

PostPosted: Tue Jun 01, 2010 9:09 pm
Author: Lycanth
I tried this, but it doesn't seem to work?

There's a htaccess file already in the root. do i edit this, replace it or have both?

Re: Phpbb3 Header Q

PostPosted: Tue Jun 01, 2010 9:46 pm
Author: Helter
what is in the current root .htaccess?
not the phpbb root, but the public html root.

are you using IM3, Stargate Portal, or just a virgin phpbb3.x?

Re: Phpbb3 Header Q

PostPosted: Wed Jun 02, 2010 5:06 pm
Author: Lycanth
Thank you, I got redirect working. Is there any way to add a table/box in my header like that site?

Re: Phpbb3 Header Q

PostPosted: Wed Jun 02, 2010 5:48 pm
Author: MWE_001
Hi Ly. Glad to hear you got that redirect to work. I'm wondering if that is built into the template or if that is a mod. If it is a mod and we can find it, I can fix it up for you I'm sure if you can not.

On another note, how is the other 2 sites running these days?


Ray

Re: Phpbb3 Header Q

PostPosted: Wed Jun 02, 2010 6:02 pm
Author: Lycanth
It's not built into the template, I don't think, because that site offers different styles to use and that table/announcement box is on all of them.

I did look at one mod that's supposed to add an announcement box, but it doesn't have 3 sections like that one. To me, it looks a lot like a table.

And thanks, the HP one is doing great! The other one I'm just currently revamping, trying phpbb3 for the first time!

Re: Phpbb3 Header Q

PostPosted: Wed Jun 02, 2010 8:29 pm
Author: Helter
upload the two included files.
if you have additional styles, determine if they are based off of subsilver2 or prosilver and add the correct file to them.

open root/styles/prosilver/template/index_body.html

find

Code: Select all
<INCLUDE>


after, add

Code: Select all
 <INCLUDE>


open root/styles/subsilver2/template/index_body.html

find

Code: Select all
<INCLUDE>


after, add

Code: Select all
 <INCLUDE>


edit announcement.html with your content