41
king76
Re: Newbb Hack - updated for 2.0.6
  • 2004/4/15 13:17

  • king76

  • Just popping in

  • Posts: 93

  • Since: 2003/1/15


Hi,

Quote:
I love your english... You sound like one of the french knights from Monty Python and the 'oly Grail...


Lol ! Your luck it's I like the Chicago Blues, also.. grrr

Quote:

Seriously, take a look at your webmaster group. Being the Admin user, it is possible that you have somehow been removed from the webmaster group. The hack cares only about group membership.

As for the script not cleaning up old forums? No it leaves everything in place, but creates a new table that you must populated with forum group access rights.


Excuse me, but I don't understand...

I've found a solution, using a new account 'king' (group admin) for access to my private forum and don't use my another account (webmaster) for logging

Thks

42
king76
Re: Newbb Hack - updated for 2.0.6
  • 2004/4/15 13:50

  • king76

  • Just popping in

  • Posts: 93

  • Since: 2003/1/15


Rich,

Do you have a problem with groupaccess functions ?

Look here :
https://xoops.org/modules/newbb/viewtopic.php?topic_id=16805&post_id=80181&order=0&viewmode=flat&pid=80178&forum=4#forumpost80181

I think that you must rename functions saveaccess, listgroups, etc.. because You have also some conflicts with others module (Wfsection, Mydownload, etc ..)

Thank you very much

king

43
regen_r8
Re: Newbb Hack - updated for 2.0.6
  • 2004/4/15 21:01

  • regen_r8

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/5/23


King,

My hack doesn't use or modify groupaccess functions for two reasons:

1) most of what I wanted required that I modify sql queries that went across forums (search, index, recent topics, etc.) The SQL that is used may be less efficient than the original, because of some "outer joins".

2) I originally wrote the hack in 2002 for XOOPS 1.3.5 before the current group access "API" was as well thought out as it is now, and before I was as familiar with xoops.

-- None of the changes in this hack affect code outside of the newbb module.

44
file2mail
Newbb Hack - updating for 2.0.7?
  • 2004/6/26 1:54

  • file2mail

  • Just popping in

  • Posts: 27

  • Since: 2004/5/23


Will you be updating the hack for XOOPS 2.0.7???

45
asche
Re: Newbb Hack - updating for 2.0.7?
  • 2004/7/20 21:30

  • asche

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/4/5 9


I am also running XOOPS 2.0.7 an need to hide the private forums as well.

Does anybody know an easy way to do this. Would the 2.0.6 hack also run with 2.0.7 or how much adjustment has to be made. Is anybody working on hiding the private Forum in 2.0.7?

I really hope there is a solution to the problem, because on my site the non-registered users must be able to view the public forum, but may not see the private forum.

asche

46
regen_r8
Re: Newbb Hack - updating for 2.0.7?
  • 2004/7/21 2:34

  • regen_r8

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/5/23


This hack appears to run fine on 2.0.7 - the XOOPS instance on my dev machine has some other issues, I have upgraded on site to 2.0.7 and this hack appears to work fine. none of the the hacked files are affected.

I would use caution, as I have not been able to prove this out in a a controlled test. If you have a development or test server try it there, and if there are issues, I will be happy to investigate.

Cheers,

Rich

47
asche
Re: Newbb Hack - updating for 2.0.7?
  • 2004/7/22 7:48

  • asche

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/4/5 9


... this is a great hack. Just what I was looking for. I just installed the hack and the private forum ist hidden all right. Only thing else that changed is, that I cant see "Most viewed Topics" anymore.

Looking in table NEW_Blocks I noticed, that "Most Viewed Topics", "Most Active Topics" ....are reinserted with a new id. Looking in blockadmin only the webmaster can see block "Most Viewed Topics" and set it visible again.

Is it possible to "add" "Most Viewed Topics" back to the block admin for all user_groups? Or is this expected behaviour for some reason, that these block showing overview of post from different user-groups dont work properly? Are there any more "effects" with this hack worth to be known?

Yes, it is nice to work transparent for all usergroups and forums. But I dont like to "visitors" to see the "structure of the company" by seeing the private forum. So this hack is very essential. Thanks a lot. I hope the good permission of XOOPS system keeps on improving.

48
asche
Re: Newbb Hack - updating for 2.0.7?
  • 2004/7/23 22:31

  • asche

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/4/5 9


Problem with permission on "Most viewed topics" is solved by adding new records for all groups and blocks in table group_permission.

49
regen_r8
Re: Newbb Hack - updating for 2.0.7?
  • 2004/7/24 0:39

  • regen_r8

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/5/23


-- I believe that this would normally be accomplished when the module was "updated" through the module admin panel.

50
asche
Re: Newbb Hack - updating for 2.0.7?
  • 2004/7/26 13:57

  • asche

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/4/5 9


I am sure I have done the update.

Is it possible to display "Most Viewed Topics" containing also postings in private topics (right now I can only see topics of public forums).

In the end it is like asking for a permission on the single post, so the usergroups of the public forums can not see the threads from private forums, but the usergroups with private forums can see their own private postings.

If there is no easy solution with permission on single post, maybe it is possible to have two different blocks "Most Viewed Topics", one showing public posts, one showing private posts.

Are there any solutions around or maybe good ideas for solutions?

- thinking groupwise? -


Login

Who's Online

155 user(s) are online (103 user(s) are browsing Support Forums)


Members: 0


Guests: 155


more...

Donat-O-Meter

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

Latest GitHub Commits