Please help in installation

phpBB SEO Premod for phpBB3 support forum.
This premodded version of phpBB3 includes the three different type of URL rewriting for phpBB3 by phpBB SEO. It comes with several other Search Engine Optimization mods installed.

Moderator: Moderators

Please help in installation

Postby jintoppy » Mon Feb 22, 2010 8:36 am

Hi,

I am a newbie. I tried to install phpBB SEO Premod version 3.0.6 . Steps I have done is given below:
1. Copied all files except install directory and config.php from root to my phpbb directory.
2. Then while logged in as Administrator, took the url mysite/phpbb_seo/phpbb_seo_install.php
3. On taking this url, I can see the installation page of the mod. But, on clicking any link, it is getting redirected to the login page. I can't go further from there and install the mod.

Please help me to install the mod. I just need simple mod I think.

Thanks in advance,
Jinto
jintoppy
 
Posts: 9
Joined: Sun Feb 21, 2010 3:48 am

Advertisement

Re: Please help in installation

Postby dcz » Thu Mar 04, 2010 2:01 pm

3.0.7 is going to be release very shortly, so you may want to wait a bit more to use it directly.
About your issue, are you logged in as admin AND founder before you hit the install script ?
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21391
Joined: Fri Apr 28, 2006 9:03 pm

Re: Please help in installation

Postby jintoppy » Thu Mar 04, 2010 4:26 pm

Hi,

I tried to run the installation script after logging in as admin. I don't know, how to login as founder.
jintoppy
 
Posts: 9
Joined: Sun Feb 21, 2010 3:48 am

Re: Please help in installation

Postby dcz » Thu Mar 04, 2010 4:53 pm

Being a FOUNDER is not a login property, but a user property. If you started the board, you're FOUNDER, if not, you will need to ask an admin FOUNDER to grant you.
Or, if you have ftp access (which should be a good proof you have enough right to mess up ;)), you can delete :
Code: Select all
if ($user->data['user_type'] != USER_FOUNDER) {
   login_box($redirect, $user->lang['SEO_LOGIN_FOUNDER'],'', false, false);
}

in phpbb_seo/phpbb_seo_install.php to accept admin not being founder to also run the script.
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21391
Joined: Fri Apr 28, 2006 9:03 pm

Re: Please help in installation

Postby jintoppy » Thu Mar 04, 2010 5:49 pm

Hi,

Thanks for the guidance. I tried by deleting the code that is mentioned above. But, still I was getting redirected to login each time, I click on any tab in the phpbb_seo_install.php page. Then I removed the following lines too getting the idea from you. :D
Code: Select all
if (!$user->data['is_registered']) {
   login_box($redirect, $user->lang['SEO_LOGIN'],'', false, false);
}

if (!$auth->acl_get('a_')) {
   $user->session_kill(true);
   login_box($redirect, $user->lang['SEO_LOGIN_ADMIN'],'', false, false);
}


So, I think, I have removed all the user login checking. Then, I was able to install the SEO mod.

Thanks so much for showing me the right way.
jintoppy
 
Posts: 9
Joined: Sun Feb 21, 2010 3:48 am

Re: Please help in installation

Postby jintoppy » Fri Mar 05, 2010 5:46 am

Hi,

I am not sure, if I can continue asking in this topic, since, it is the next level. If I am wrong, sorry for that. Installation is successful. Now, please help in the implementation of the mod also. In the PHPBB SEO tab in ACP, I have enabled url rewriting, Selected Mixed mod. Then, added the following .htaccess to the root. But, I am getting the '404 Page not found' error.

Code: Select all
    # Lines That should already be in your .htacess
    <Files "config.php">
    Order Allow,Deny
    Deny from All
    </Files>
    <Files "common.php">
    Order Allow,Deny
    Deny from All
    </Files>

    # You may need to un-comment the following lines
    # Options +FollowSymlinks
    # To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist
    # Options -MultiViews
    # REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
    RewriteEngine On
    # REWRITE BASE
    RewriteBase /
    # HERE IS A GOOD PLACE TO FORCE CANONICAL DOMAIN
    # RewriteCond %{HTTP_HOST} !^cookeryshow\.com$ [NC]
    # RewriteRule ^(.*)$ http://cookeryshow.com/$1 [QSA,L,R=301]

    # DO NOT GO FURTHER IF THE REQUESTED FILE / DIR DOES EXISTS
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    #####################################################
    # PHPBB SEO REWRITE RULES ALL MODES
    #####################################################
    # AUTHOR : dcz www.phpbb-seo.com
    # STARTED : 01/2006
    #################################
    # FORUMS PAGES
    ###############
    # FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. "forum" REQUIRES TO BE SET AS FORUM INDEX
    # RewriteRule ^forum/forum\.html$ /forum/index.php [QSA,L,NC]
    # FORUM ALL MODES
    RewriteRule ^forum/(forum|[a-z0-9_-]*-f)([0-9]+)(-([0-9]+))?\.html$ /forum/viewforum.php?f=$2&start=$4 [QSA,L,NC]
    # TOPIC WITH VIRTUAL FOLDER ALL MODES
    RewriteRule ^forum/(forum|[a-z0-9_-]*-f)([0-9]+)/(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?f=$2&t=$4&start=$6 [QSA,L,NC]
    # GLOBAL ANNOUNCES WITH VIRTUAL FOLDER ALL MODES
    RewriteRule ^forum/announces/(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?t=$2&start=$4 [QSA,L,NC]
    # TOPIC WITHOUT FORUM ID & DELIM ALL MODES
    RewriteRule ^forum/([a-z0-9_-]*)/?(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?forum_uri=$1&t=$3&start=$5 [QSA,L,NC]
    # PHPBB FILES ALL MODES
    RewriteRule ^forum/resources/[a-z0-9_-]+/(thumb/)?([0-9]+)$ /forum/download/file.php?id=$2&t=$1 [QSA,L,NC]
    # PROFILES ALL MODES WITH ID
    RewriteRule ^forum/(member|[a-z0-9_-]*-u)([0-9]+)\.html$ /forum/memberlist.php?mode=viewprofile&u=$2 [QSA,L,NC]
    # USER MESSAGES ALL MODES WITH ID
    RewriteRule ^forum/(member|[a-z0-9_-]*-u)([0-9]+)-(topics|posts)(-([0-9]+))?\.html$ /forum/search.php?author_id=$2&sr=$3&start=$5 [QSA,L,NC]
    # GROUPS ALL MODES
    RewriteRule ^forum/(group|[a-z0-9_-]*-g)([0-9]+)(-([0-9]+))?\.html$ /forum/memberlist.php?mode=group&g=$2&start=$4 [QSA,L,NC]
    # POST
    RewriteRule ^forum/post([0-9]+)\.html$ /forum/viewtopic.php?p=$1 [QSA,L,NC]
    # ACTIVE TOPICS
    RewriteRule ^forum/active-topics(-([0-9]+))?\.html$ /forum/search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
    # UNANSWERED TOPICS
    RewriteRule ^forum/unanswered(-([0-9]+))?\.html$ /forum/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
    # NEW POSTS
    RewriteRule ^forum/newposts(-([0-9]+))?\.html$ /forum/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
    # THE TEAM
    RewriteRule ^forum/the-team\.html$ /forum/memberlist.php?mode=leaders [QSA,L,NC]
    # HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES

    # FORUM WITHOUT ID & DELIM ALL MODES (SAME DELIM)
    # THESE FOUR LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^forum/([a-z0-9_-]+)(-([0-9]+))\.html$ /forum/viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^forum/([a-z0-9_-]+)\.html$ /forum/viewforum.php?forum_uri=$1 [QSA,L,NC]
    # FIX RELATIVE PATHS : FILES
    RewriteRule ^forum/.+/(style\.php|ucp\.php|mcp\.php|faq\.php|download/file.php)$ /forum/$1 [QSA,L,NC,R=301]
    # FIX RELATIVE PATHS : IMAGES
    RewriteRule ^forum/.+/(styles/.*|images/.*)/$ /forum/$1 [QSA,L,NC,R=301]
    # END PHPBB PAGES
    #####################################################



Please guide me in this issue also. Also, what should I do to remove the extension? I don't want any extension. Precisely, I want the url to be like in
http://demo.phpbb-seo.net/. Please help me on this.
jintoppy
 
Posts: 9
Joined: Sun Feb 21, 2010 3:48 am

Re: Please help in installation

Postby jintoppy » Fri Mar 05, 2010 6:53 am

jintoppy wrote:Hi,

I am not sure, if I can continue asking in this topic, since, it is the next level. If I am wrong, sorry for that. Installation is successful. Now, please help in the implementation of the mod also. In the PHPBB SEO tab in ACP, I have enabled url rewriting, Selected Mixed mod. Then, added the following .htaccess to the root. But, I am getting the '404 Page not found' error.


Sorry. That was a mistake from my part. Changed setting in htaccess generator in include htaccess in the subdomain. Now, the seo mod works. :)
Now, I am using mixed mod. How, can I get seo url similar to http://demo.phpbb-seo.net? Which mod(Advanced or Mixed) should I use? What all are the changes needed in htaccess. Please advise.
jintoppy
 
Posts: 9
Joined: Sun Feb 21, 2010 3:48 am

Re: Please help in installation

Postby dcz » Fri Mar 05, 2010 8:38 am

The mixed and advanced mode .htaccess are the same. On the demo server, we've set the advanced mode, while on phpBB SEO, we're using the mixed one.
With SQL rewriting activated, the mixed mode is very powerful, because it allow you to use static rewriting for most topics, and set custom urls for the (most) important topics.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21391
Joined: Fri Apr 28, 2006 9:03 pm


Return to phpBB SEO Premod

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 12 guests