Page 1 of 1

portal and board index point to same link (Solved)

Posted: 18. January 2009 18:24
by dbjml
Your Portal Version: 1.0.2
Your phpBB Type: Premodded phpBB
MODs installed: Yes
Your knowledge: Beginner
Boardlink: http://www.chs.org.in

PHP Version: I think latest
MySQL Version: Latest available I hope.

What have you done before the problem was there?
Right from the install, portal and board index load only portal page.

What have you already tryed to solve the problem?
Nothing

Description and Message
I have my site installed at root on my server. Web Address is http://www.chs.org.in I have auto mod installed at my site. My phpbb version is phpbb 3.0.4 premoded (gym Sitemap and php_seo). Then I installed board3 portal. Problem at my site is

[*]Portal and Board Index point to same page, i.e. root or http://www.chs.org.in
How can I change the title at portal page which is "portal" at present to "my site title"?
How can I change the "portal" to "Home" and "Board index" to "Forum" at menu, content in portal?

Any help will be grately apperciated. Thankyou to all.[/i]

Re: portal and board index point to same link

Posted: 19. January 2009 10:57
by PeterS
Hey,

open /phpbb_seo/phpbb_seo_class.php
Find:

Code: Select all

$this->seo_static = array( 'forum' => 'forum', 'topic' => 'topic', 'post' => 'post', 'user' => 'member', 'group' => 'group', 'index' => '', 'global_announce' => 'announces', 'leaders' => 'the-team', 'atopic' => 'active-topics', 'utopic' => 'unanswered', 'npost' => 'newposts', 'pagination' => 'page', 'gz_ext' => '.gz' );
in the Line find:

Code: Select all

 'index' => ''
replace with:

Code: Select all

 'index' => 'forum.html'

open includes/functions.php
Find:

Code: Select all

'U_PORTAL'            => append_sid("{$phpbb_root_path}portal.$phpEx"),
replace with:

Code: Select all

'U_PORTAL'            => append_sid("/"),
thats all
Grz Peter

Re: portal and board index point to same link

Posted: 21. January 2009 17:22
by dbjml
Thanks peterS. I hope it will do the tricks.

Re: portal and board index point to same link

Posted: 21. January 2009 17:42
by dbjml
Sorry PeterS, but it did not solve the issue. Let me clearify it more. Earlier I could visit my forum by typing www.chs.org.in or www.chs.org.in/index or www.chs.org.in/index.php either of this 3 method take me to my home page. Now if I type www.chs.org.in i go to portal. If I type www.chs.org.in/index it says forum doesnot exist. if i type www.chs.org.in/index.php it again take me to portal or www.chs.org.in I did the modification as you told but it add to board index forum.html.html and leads to my error page. My phpbb is installed in root or in public_html forlder itself. Its latest premoded version (phpbb_seo_gymsitemap) and advance url is active. please help. if any other information is needed i can provide. thank you in advance.

Re: portal and board index point to same link

Posted: 22. January 2009 09:39
by PeterS
Hi,

sorry this was my fault!

change

'index' => '' with 'index' => 'forum'

without .html

I hope this works now.

Peter

Re: portal and board index point to same link

Posted: 22. January 2009 10:56
by dbjml
Well did try your suggestion and it assigned forum.html link to board index in main mainu. but when click on the link it redirect me to my error page saying page not found.

Re: portal and board index point to same link

Posted: 22. January 2009 12:03
by PeterS

Re: portal and board index point to same link

Posted: 23. January 2009 12:33
by dbjml
Thanks a lot PeterS. I apperciate your help. I figure out that there is a conflict in phpbb_seo and board3 portal. Once I deactivate the seo mod, everything was fine. I have put it up on the php_seo board and hope they will find out solution in next update. Thanks a lot once again.

Re: portal and board index point to same link

Posted: 23. January 2009 21:15
by PeterS
Hi,

you welcome, but in my Forum it works fine. I think there ist little mistake somewhere.

Peter

Re: portal and board index point to same link

Posted: 25. January 2009 15:50
by dbjml
Thanks a lot PeterS. Yep, your advise was absolutely and exactly what was needed to be done. Only thing that skipped from your suggestion is generate a new .htaccess file from php_seo tab in ACP and put it in root folder after adding the line

Code: Select all

DirectoryIndex portal.php index.php index.html index.htm
It was suggested to by seo admin at their site. And once done, its perfactly ok. Have a look at my site...its working now. Thanks a lot everybody.