51
srdjan007
Re: SEO hack for CBB v3.08
  • 2009/6/24 14:56

  • srdjan007

  • Just popping in

  • Posts: 6

  • Since: 2008/7/9 9


Hello,
thats correct, i somehow found which line in seo.php is causing me troubles, if I comment:
//$newUrl = ('/modules/content/'.$seoMap[$seoOp]);

---------------------

/*
* $Id: seo.php,v 1.5 2006/08/15 19:52:08 malanciault Exp $
* Module: newbbss
* Author: Sudhaker Raj <http://xoops.biz>
* Licence: GNU
*/

$seoOp = $_GET['seoOp'];
$seoArg = $_GET['seoArg'];
$seoOther = $_GET['seoOther'];


if (!empty($seoOther))
{
$seoOther = explode("/",$seoOther);
}

$seoMap = array('c' => "index.php");

if (! empty($seoOp) && ! empty($seoMap[$seoOp]))
{
// module specific dispatching logic, other module must implement as
// per their requirements.

//$newUrl = ('/modules/content/'.$seoMap[$seoOp]);




$_ENV['PHP_SELF'] = $newUrl;
$_SERVER['SCRIPT_NAME'] = $newUrl;
$_SERVER['PHP_SELF'] = $newUrl;
switch ($seoOp) {
case 'c':
$_SERVER['REQUEST_URI'] = $newUrl . '?id=' . $seoArg;
$_GET['id'] = $seoArg;

include($seoMap[$seoOp]);
}

}

exit;

?>


------------------
than I get page but with msg: module does not exist.

if i put: $newUrl = ('/modules/content/'.$seoMap[$seoOp]);
back,then i get blank page...what do you think it could be?
some modifications should be done in index.php?

Did you mean that rewrite rule is not correct?

br,
Srdan




52
srdjan007
Re: SEO hack for CBB v3.08
  • 2009/6/29 12:48

  • srdjan007

  • Just popping in

  • Posts: 6

  • Since: 2008/7/9 9


Please help.
So close but cannot get it work.

Login

Who's Online

134 user(s) are online (85 user(s) are browsing Support Forums)


Members: 0


Guests: 134


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits