1
pmhoran
newbb 2.02 with Xoops 2.0.9.2 using Reynaldos ShortURLs - Problem & Solution
  • 2005/2/20 11:01

  • pmhoran

  • Not too shy to talk

  • Posts: 115

  • Since: 2003/2/21


Hi ...

I am a newbie to XOOPs & and idiot about PHP ... but just worked with "phppp (D.J.)" on the dev site to fix a problem I was having with the top menu popups being always fully extended on the new newbb 2.02.

It seems Reynaldos ShortURLs is the problem ...

To fix the problem caused in newbb 2.02 ... open the newbb module ... and edit the header.php file

The original looks like this from about line 36 to line 42

if(!empty($xoopsModuleConfig['pngforie_enabled'])){
    
$newbb_module_header .= '<style type="text/css">img {behavior:url("include/pngbehavior.htc");}</style>';
}
$newbb_module_header .= '
    <link rel="stylesheet" type="text/css" href="newbb.css" />
    <script src="include/js/newbb_toggle.js" type="text/javascript"></script>
    '
;


Change to
if(!empty($xoopsModuleConfig['pngforie_enabled'])){
    
$newbb_module_header .= '<style type="text/css">img {behavior:url("'.XOOPS_URL.'/modules/newbb/include/pngbehavior.htc");}</style>';
}
    
$newbb_module_header .= '
      <link rel="stylesheet" type="text/css" href="'
.XOOPS_URL.'/modules/newbb/newbb.css" />
      <script src="'
.XOOPS_URL.'/modules/newbb/include/js/newbb_toggle.js" type="text/javascript"></script>
'
;


Basically the '.XOOPS_URL.'/modules/newbb/ has to be added to the "file calls"

Making those changes fixed my problem with newbb

But now I am wondering how many more modules I am going to have to modify in the same way

Anyway ... hope I explained things good enough.

Take care
Peter

[Edited by Mithrandir : replacing phpbb with newbb to avoid confusion as newbb no longer has any connection with phpbb]

Login

Who's Online

141 user(s) are online (113 user(s) are browsing Support Forums)


Members: 0


Guests: 141


more...

Donat-O-Meter

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

Latest GitHub Commits