GYM site map will work on omy forum?

The GYM Sitemaps & RSS module for phpBB. Sitemaps and RSS feeds for Google Yahoo! and MSN Live, support, add ons etc ...

Moderator: Moderators

GYM site map will work on omy forum?

Postby Professional » Wed Jul 09, 2008 6:21 am

hi.
i saw the mod i think it doesn't need rewrite to run.
is it right?
انجمن تخصصی نسل جدید موبایل ها-Apple Portal
My Handwritings: Professional Dreams
Every Thing That U Feel,Is Every Thing That I Feel.
User avatar
Professional
PR5
PR5
 
Posts: 550
Joined: Mon Apr 07, 2008 5:41 am
Location: 1/2 of the World

Advertisement

Postby SeO » Wed Jul 09, 2008 6:25 am

yes ;)
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Postby Professional » Wed Jul 09, 2008 1:27 pm

sorry i havent'n read the instruction that time.
i read it now.
i installed it at localhost at sub dirtory named: phpBB32
i got errors

i placed the sitemap.php and gymrss.php at /phpBB32/

i got this error for site map:
Code: Select all
Warning: main(./phpBB32/common.php): failed to open stream: No such file or directory in c:\program files\easyphp1-8\www\phpbb32\sitemap.php on line 13

Warning: main(): Failed opening './phpBB32/common.php' for inclusion (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in c:\program files\easyphp1-8\www\phpbb32\sitemap.php on line 13

Fatal error: Call to a member function on a non-object in c:\program files\easyphp1-8\www\phpbb32\sitemap.php on line 15


my site map is :

Code: Select all
<?php
/**
*
* @package phpBB SEO GYM Sitemaps
* @version $Id: sitemap.php 2007/04/12 13:48:48 dcz Exp $
* @copyright (c) 2006 dcz - www.phpbb-seo.com
* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License
*
*/
define('IN_PHPBB', true);
$phpEx = substr(strrchr(__FILE__, '.'), 1);
$phpbb_root_path = './phpBB32/';
include($phpbb_root_path . 'common.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
//$user->setup('gym_sitemaps/gym_sitemaps');
$user->setup();
// Start the process
require_once($phpbb_root_path . 'gym_sitemaps/includes/gym_sitemaps.' . $phpEx);
require_once($phpbb_root_path . 'gym_sitemaps/includes/gym_google.' . $phpEx);
$gym_google  = new gym_google();
exit;
?>



and i got this error for gymrss:

Code: Select all
Warning: main(./phpBB32/common.php): failed to open stream: No such file or directory in c:\program files\easyphp1-8\www\phpbb32\gymrss.php on line 13

Warning: main(): Failed opening './phpBB32/common.php' for inclusion (include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\') in c:\program files\easyphp1-8\www\phpbb32\gymrss.php on line 13

Fatal error: Call to a member function on a non-object in c:\program files\easyphp1-8\www\phpbb32\gymrss.php on line 15


my gymrss.php is here:

Code: Select all
<?php
/**
*
* @package phpBB SEO GYM Sitemaps
* @version $Id: rss.php 2007/04/12 13:48:48 dcz Exp $
* @copyright (c) 2006 dcz - www.phpbb-seo.com
* @license http://opensource.org/osi3.0/licenses/lgpl-license.php GNU Lesser General Public License
*
*/
define('IN_PHPBB', true);
$phpEx = substr(strrchr(__FILE__, '.'), 1);
$phpbb_root_path = './phpBB32/';
include($phpbb_root_path . 'common.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup(array('gym_sitemaps/gym_common', 'common'));
// Start the process
require($phpbb_root_path . 'gym_sitemaps/includes/gym_rss.' . $phpEx);

$gym_google  = new gym_rss();
exit;
?>


so what is the problem? :?
shoud i place that 2 file at root not phpBB32 folder?
انجمن تخصصی نسل جدید موبایل ها-Apple Portal
My Handwritings: Professional Dreams
Every Thing That U Feel,Is Every Thing That I Feel.
User avatar
Professional
PR5
PR5
 
Posts: 550
Joined: Mon Apr 07, 2008 5:41 am
Location: 1/2 of the World

Postby TomaS » Wed Jul 09, 2008 1:46 pm

you have to set it in acp too
phpBB podpora-slovak phpBB support
slovenský preklad pre phpbb3-slovak translate for phpBB3
predaj a kupa domeny, marketing a internetove podnikanie- Slovak domain center
TomaS
PR2
PR2
 
Posts: 229
Joined: Fri Jun 08, 2007 1:22 am

Postby Professional » Wed Jul 09, 2008 2:48 pm

TomaS wrote:you have to set it in acp too


can u explain more?
i think i did it.

another question:
we don't need to include any file at subsilver2 style?
because we shoud include some template & theme files at pro silver style :shock:
انجمن تخصصی نسل جدید موبایل ها-Apple Portal
My Handwritings: Professional Dreams
Every Thing That U Feel,Is Every Thing That I Feel.
User avatar
Professional
PR5
PR5
 
Posts: 550
Joined: Mon Apr 07, 2008 5:41 am
Location: 1/2 of the World

Postby TomaS » Wed Jul 09, 2008 2:54 pm

you have to add that prefix in acp in all field in main setup.
About style yes you have to add it but for subsilver is propably not released now
phpBB podpora-slovak phpBB support
slovenský preklad pre phpbb3-slovak translate for phpBB3
predaj a kupa domeny, marketing a internetove podnikanie- Slovak domain center
TomaS
PR2
PR2
 
Posts: 229
Joined: Fri Jun 08, 2007 1:22 am

Postby dcz » Wed Jul 09, 2008 3:26 pm

You don't need to change anything in the gymrss.php and sitemap.php file when you use them in the phpBB directory :

Code: Select all
$phpbb_root_path = './phpBB32/';


should just be :

Code: Select all
$phpbb_root_path = './';


The change you made is for when you would want to use these one level above phpBB (requires some config setting in acp as explained in install file).

++
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: 21325
Joined: Fri Apr 28, 2006 9:03 pm

Postby Professional » Thu Jul 10, 2008 5:07 am

tnx TomaS but i think it isn't necessary.

very thx dear dcz it works perfect now on localhost :D
i'll install it at my forum as soon as possible
انجمن تخصصی نسل جدید موبایل ها-Apple Portal
My Handwritings: Professional Dreams
Every Thing That U Feel,Is Every Thing That I Feel.
User avatar
Professional
PR5
PR5
 
Posts: 550
Joined: Mon Apr 07, 2008 5:41 am
Location: 1/2 of the World


Return to GYM Sitemaps & RSS

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 8 guests