11
Cifug
Re: NewBB 4.33 RC 13 Problem
  • 2017/4/20 12:21

  • Cifug

  • Quite a regular

  • Posts: 208

  • Since: 2007/12/13


There are quite a few NewBB templates missing in the xBootstrap theme.

Does anyone have the full set of NewBB templates for xBootstrap theme in Xoops core install files? I have been looking at the templates in /modules/newbb/ and really don't understand how they work.

Cheers,
Marty

12
Cifug
Re: NewBB 4.33 RC 13 Problem
  • 2017/4/20 23:53

  • Cifug

  • Quite a regular

  • Posts: 208

  • Since: 2007/12/13


I got this error again...
Quote:
Cifug wrote:
When I post I get a blank page with this error:
Fatal errorCall to a member function getPermission() on null in /modules/newbb/class/post.php on line 634


Debug says this:
NoticeUndefined variabletopicHandler in file /modules/newbb/class/post.php line 634

I added Trabis code.
Quote:
trabis wrote:
Try adding the line:
$topicHandler xoops_getModuleHandler('topic''newbb');

before
$thread_action = array();
 
// irmtfan add pdf permission


in class class/post.php around line 623.

It appears this has fixed the problem.

Marty

13
Cifug
Re: NewBB 4.33 RC 13 Problem
  • 2017/4/21 0:39

  • Cifug

  • Quite a regular

  • Posts: 208

  • Since: 2007/12/13


In newbb_viewforum.tpl on line 19 I changed:
<{if $viewer_level gt 1}>

to
<{if $viewer_level gt 0}>

This seamed to work. Is this the correct thing to do?

Cheers,
Marty

14
Bleekk
Re: NewBB 4.33 RC 13 Problem
  • 2017/4/21 4:53

  • Bleekk

  • Theme Designer

  • Posts: 939

  • Since: 2002/12/14


Yes this was it.
This change should be submitted to github

15
Cifug
Re: NewBB 4.33 RC 13 Problem
  • 2017/4/22 5:21

  • Cifug

  • Quite a regular

  • Posts: 208

  • Since: 2007/12/13


Does anyone have the missing xbootstrap templates for NewBB ?

16
Cifug
Re: NewBB 4.33 RC 13 Problem
  • 2017/4/23 21:28

  • Cifug

  • Quite a regular

  • Posts: 208

  • Since: 2007/12/13


Quote:

Bleekk wrote:
Which missing bootstrap templates do you need the most?
Maybe i can help you out with them


New topic, reply post and edit post are not boostrap.

One improvement would be to put user name above the avatar:
Change newbb_thread.tpl line 10:
<{if $topic_post.poster.uid != 0}>

to
<{if $topic_post.poster.uid != 0}><br>


If I find any more I'll post here in this thread.

Thank you so much Bleekk

17
clownface
Re: NewBB 4.33 RC 13 Problem
  • 2017/4/27 6:51

  • clownface

  • Just popping in

  • Posts: 6

  • Since: 2017/4/18


That's great news someone is looking at it now.

Just so I can avoid confusion, where is this updated download?

Login

Who's Online

68 user(s) are online (36 user(s) are browsing Support Forums)


Members: 0


Guests: 68


more...

Donat-O-Meter

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

Latest GitHub Commits