xoops forums

Cifug

Quite a regular
Posted on: 4/20 12:21
Cifug
Cifug (Show more)
Quite a regular
Posts: 205
Since: 2007/12/13
#11

Re: NewBB 4.33 RC 13 Problem

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

Cifug

Quite a regular
Posted on: 4/20 23:53
Cifug
Cifug (Show more)
Quite a regular
Posts: 205
Since: 2007/12/13
#12

Re: NewBB 4.33 RC 13 Problem

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

Cifug

Quite a regular
Posted on: 4/21 0:39
Cifug
Cifug (Show more)
Quite a regular
Posts: 205
Since: 2007/12/13
#13

Re: NewBB 4.33 RC 13 Problem

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

Bleekk

Theme Designer
Posted on: 4/21 4:53
Bleekk
Bleekk (Show more)
Theme Designer
Posts: 920
Since: 2002/12/14
#14

Re: NewBB 4.33 RC 13 Problem

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

Cifug

Quite a regular
Posted on: 4/22 5:21
Cifug
Cifug (Show more)
Quite a regular
Posts: 205
Since: 2007/12/13
#15

Re: NewBB 4.33 RC 13 Problem

Does anyone have the missing xbootstrap templates for NewBB ?

Cifug

Quite a regular
Posted on: 4/23 21:28
Cifug
Cifug (Show more)
Quite a regular
Posts: 205
Since: 2007/12/13
#16

Re: NewBB 4.33 RC 13 Problem

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

clownface

Just popping in
Posted on: 4/27 6:51
clownface
clownface (Show more)
Just popping in
Posts: 6
Since: 4/18 6:44
#17

Re: NewBB 4.33 RC 13 Problem

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

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