131
Roby73
Re: CBB - 4.05 - beta1
  • 2012/3/8 3:43

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


I try to resolved the problem in seo with link not in seo format.
i modify header.php the code:

/* for seo */
$toseo_url = array("index.php","viewforum.php","viewtopic.php","rss.php");
$seourl=false;
if(((
strpos(getenv('REQUEST_URI'), '.html') === false) && !empty($xoopsModuleConfig['do_rewrite']) && (!isset($_POST) || count($_POST) <= 0))) 
{
$seourl=true;
    if ( 
strpos(getenv("REQUEST_URI"),"/modules/newbb/index.php?mark_read") === false && in_array(basename(getenv('SCRIPT_NAME')),$toseo_url) && (trim(getenv("REQUEST_URI")) != '') && strpos(getenv("REQUEST_URI") , "/".REAL_MODULE_NAME."/") === false )  {


and in view file a mofity in this mode:
if (!empty($xoopsModuleConfig['do_rewrite']) && $seourl==false$nav->url XOOPS_URL.$nav->url;


In this mode external link not in seo mode and link from search.php work.
if not make this change the navigation page dont't work.

What you do think?

132
alfred
Re: CBB - 4.05 - beta1
  • 2012/3/8 15:13

  • alfred

  • Quite a regular

  • Posts: 249

  • Since: 2005/10/29


test with new svn-version
i have update the templates and fixed the icon3-error

133
Roby73
Re: CBB - 4.05 - beta1
  • 2012/3/8 17:49

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


The problem of the icon3.gif is fixed.

I look you have modify header.php and seo_url.php.... in seo format all is ok, but do not work if link is in normal format... Example to result of the search.php are not in seo and the navigation page don't work.


134
alfred
Re: CBB - 4.05 - beta1
  • 2012/3/8 18:41

  • alfred

  • Quite a regular

  • Posts: 249

  • Since: 2005/10/29


Can you test it?
i have updated.

135
Roby73
Re: CBB - 4.05 - beta1
  • 2012/3/8 21:32

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


Search result in seo format is ok !!

there is more the problem with the link in normal format, old link from google for example.

Thank you for your job and sorry for my requests.

136
alfred
Re: CBB - 4.05 - beta1
  • 2012/3/9 17:40

  • alfred

  • Quite a regular

  • Posts: 249

  • Since: 2005/10/29


i have update and fix many errors.
Please test it

137
Roby73
Re: CBB - 4.05 - beta1
  • 2012/3/9 22:26

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


i am testing new version, seo seem to be work very well!!

in a post i need an error:
Undefined variable: pseudo_height nel file /modules/newbb/include/functions.image.php alla linea 86

if i find other i tell to you.

138
sadistiko
Re: CBB - 4.05 - beta1
  • 2012/3/9 22:51

  • sadistiko

  • Friend of XOOPS

  • Posts: 477

  • Since: 2004/12/13


Can we upgrade from older CBB versions now? I have 3.08
Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr

139
Roby73
Re: CBB - 4.05 - beta1
  • 2012/3/9 23:09

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


I have upgrade from cbb 3.08.
Now big problem with 4.3 there aren't.
I use 4.3 in a medium big website...

I suggest you wait to upgrade... there are many upgrade to do. The newbb 4.3 is the future!!!



140
Roby73
Re: CBB - 4.05 - beta1
  • 2012/3/9 23:14

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


@alfred
a litle suggestion.

in viewtopic.php is possible set
$editor_configs["rows"] = empty($xoopsModuleConfig["editor_rows"])  ? 10 $xoopsModuleConfig["editor_rows"];
$editor_configs["cols"] = empty($xoopsModuleConfig["editor_cols"])  ? 30 $xoopsModuleConfig["editor_cols"];


as set in form.post.php?

$xoopsModuleConfig["editor_rows"] and $xoopsModuleConfig["editor_cols"] are to add in xoops_version?

Login

Who's Online

169 user(s) are online (120 user(s) are browsing Support Forums)


Members: 0


Guests: 169


more...

Donat-O-Meter

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

Latest GitHub Commits