1
fabou78
NewBB 5.0 loading wrong template?
  • 2019/9/12 15:00

  • fabou78

  • Friend of XOOPS

  • Posts: 43

  • Since: 2012/6/16


I have an issue on NewBB 5.00 where the web page is loading with unresolved smarty constant like this

_MD_USERS_ONLINE 1 _MD_BROWSING_FORUM
[ _MD_ADMINISTRATOR ] [ _MD_MODERATOR ]
0 _MD_ANONYMOUS_USERS
1 _MD_REGISTERED_USERS

I suspect that the template that is loaded when I click on furum is themes/xbootstrap/modules/newbb/newbb_index.tpl since I am running the xbootstrap theme. In that file all smarty constants are in the form of “_MD_XXXXXXX”.

However, if I look in modules/newbb/language/english/main.php all constants are in form of “_MD_NEWBB_XXXXXX".


I found out that the template here modules/newbb/templates/newbb_index.tpl make reference to the correct constants format “_MD_NEWBB_XXXXXX".

How can I force XOOPS to load newbb_index.tpl from modules/newbb/templates/ instead of loading it from themes/xbootstrap/modules/newbb/ ?

2
fabou78
Re: NewBB 5.0 loading wrong template?
  • 2019/9/12 20:04

  • fabou78

  • Friend of XOOPS

  • Posts: 43

  • Since: 2012/6/16


UPDATE: I have downloaded the latest version of XOOPS 2.5.10 and NEWBB 5.00 from github and tried the install a few time on my Linux server, I still encounter the same problem with the forum display.

Would be glad if someone confirm they see the same issue

3
Mamba
Re: NewBB 5.0 loading wrong template?
  • 2019/9/13 0:54

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Go to the /EXTRA folder in NewBB 5.0 and copy the /xbootstrap folder to the /themes folder.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

4
fabou78
Re: NewBB 5.0 loading wrong template?
  • 2019/9/13 20:50

  • fabou78

  • Friend of XOOPS

  • Posts: 43

  • Since: 2012/6/16


Thanks, it worked.

5
Mamba
Re: NewBB 5.0 loading wrong template?
  • 2019/9/15 9:49

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


I'm happy to hear that!
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Who's Online

265 user(s) are online (128 user(s) are browsing Support Forums)


Members: 0


Guests: 265


more...

Donat-O-Meter

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

Latest GitHub Commits