Page 1 of 3

Modify Portal page

Posted: Mon May 09, 2011 7:59 pm
by Dragosvr92
Hi SpaceAce, If you have the time, could you teach me how may i get my Navigation bar (thing with Board Index link etc) on the Portal page header?

also the chatbox there too .. :)

Re: Modify Portal page

Posted: Mon May 09, 2011 9:11 pm
by itsallaboutmusic
Why do you want a chat box on the portal? Would that not take away from getting folks to the index page? Just interested in your rational.

Re: Modify Portal page

Posted: Tue May 10, 2011 7:28 am
by Dragosvr92
Id like to know how to do that. Spaceace did that on this forums also.

Re: Modify Portal page

Posted: Tue May 10, 2011 8:37 am
by duesmandella
I have the chatbox on the portal too. It doesnt take away from the index at all as long as you have the view new posts and index links on there. Plus i have chat notifications for new topics so people are always clicking through there as they are chatting(my chatbox is used ALOT)

Re: Modify Portal page

Posted: Tue May 10, 2011 9:06 am
by itsallaboutmusic
Makes sense, not sure that would work for my forum but I can see how it would work for others. Pretty sure Space can hook you up.

Re: Modify Portal page

Posted: Tue May 10, 2011 9:12 am
by Mintcopper
I'm sure spaceace can help with that ;)

Re: Modify Portal page

Posted: Tue May 10, 2011 3:50 pm
by Dragosvr92
He sure can, he added it here lol
Id like it more to add the navigation bar on the portal page.... any idea how to ? O.o

Re: Modify Portal page

Posted: Wed May 11, 2011 4:50 am
by spaceace
i should be able to help with this stuff tonight after work. i just need to look at your setup to see what changes need to me made.

Re: Modify Portal page

Posted: Wed May 11, 2011 5:08 pm
by Dragosvr92
Ok, but the changes should be the same that you've done.my portal wasnt modifyed,at all.

Re: Modify Portal page

Posted: Wed May 11, 2011 7:16 pm
by spaceace
ok, here's what i did to put the chat on my portal page...

open portal.php

find
Code: Select all
$user->setup('mods/lang_portal');
add after
Code: Select all
include($phpbb_root_path . 'shout.' . $phpEx);
open styles/your style/template/portal/portal_center.html

find
Code: Select all
<!-- IF S_DISPLAY_WELCOME -->
	<!-- IF S_DISPLAY_WELCOME_GUEST and S_USER_LOGGED_IN -->
	<!-- ELSE -->
		<!-- INCLUDE portal/block/welcome.html -->
	<!-- ENDIF -->
<!-- ENDIF -->
add after
Code: Select all
<!-- INCLUDE chat_body.html -->
and that is all i did to add chat to my portal ;)