1
Mkjones
Topic link not showing
  • 2012/11/18 0:09

  • Mkjones

  • Just popping in

  • Posts: 24

  • Since: 2009/7/29


Bit of an odd problem. I am running CBB forum with some member only forums. I was hoping to set these forums so that the member can act as a moderator and also be the only one to be able to start new topics. It works but the topic link isn't showing. I know it works as I used the 'new topic create link' when logged in as a member, the same member that I made a moderator for that particular forum. Also the list of permissions shows: 'You can start a new topic'. Is there a way to fix this?

I just noticed that if I create a topic (created by moderator) and the user clicks on the topic to view it the new topic icons appear. They just don't show on the topic listing page of the forum.

2
irmtfan
Re: Topic link not showing
  • 2012/11/18 4:33

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


what is your newbb/cbb version?
i dont see this issue in 4.3

3
Mkjones
Re: Topic link not showing
  • 2012/11/18 10:21

  • Mkjones

  • Just popping in

  • Posts: 24

  • Since: 2009/7/29


My version is 3.08. Same version that is in the module downloads. Where do you get the latest version from?

I have created a test user if you want to see what is happening.

user: Testing
password: testing
Forum url: Member's Forums
allowed to create a topic in 'Mark's Forum' but not 'DHesketh forum'

problem:
Topic link not showing on topic page but showing when viewing the topic itself

4
Mkjones
Re: Topic link not showing
  • 2012/11/18 15:13

  • Mkjones

  • Just popping in

  • Posts: 24

  • Since: 2009/7/29


Fixed this kinda. I have the links and images showing now but if a user isn't allowed to post then they get the warning instead. Good enough I think.

Deleted test user too.

5
irmtfan
Re: Topic link not showing
  • 2012/11/19 2:42

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


you should set permissions correctly for all groups and this is rather hard to manage.

but it seems there is a minor issue in newbb permissions too.
if a user is a forum moderator but dont have access to "post" it still should have all access like webmaster.

to fix this in 3.08
open class/forum.php line 569
change this:
if (newbb_isAdministrator()) return true;

with this:
if (newbb_isAdmin($forum)) return true;


newbb_isAdmin is a more general function and return true if a user is forum moderator so it is better to check just a module admin.

6
Mkjones
Re: Topic link not showing
  • 2012/11/19 9:38

  • Mkjones

  • Just popping in

  • Posts: 24

  • Since: 2009/7/29


Great. That seems to have fixed it.

Thanks

7
irmtfan
Re: Topic link not showing
  • 2012/11/19 10:13

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Thank you too for finding this minor bug.
I update newbb 4.3 irmtfan branch:
http://sourceforge.net/p/xoops/svn/10257/

As i always said for a better outcome we should work together.
in this case with more newbb testers we will find more bugs.
unfortunately still we dont have any official stable release for newbb after 3.08
I hope everybody help to release a stable version ASAP.


Login

Who's Online

411 user(s) are online (281 user(s) are browsing Support Forums)


Members: 0


Guests: 411


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