37
king76
Re: Newbb Hack - updated for 2.0.6
  • 2004/4/14 16:46

  • king76

  • Just popping in

  • Posts: 93

  • Since: 2003/1/15


Hello,

I have a problem with this hack...

On my website :

- One forum : PRIVATE (access by 2 groups only : Webmasters and "comité")

In the preference, I use : "Hidden Private forum without permissions"

But... If I turn on this option, the private forum is Hidden... same is I am the webmaster of the website...
If I from of "Comité" group, I can See the forum !!

You understand my bad english ?

I use XOOPS 2.06

Thks you

king


36
regen_r8
Re: Newbb Hack - updated for 2.0.6
  • 2004/3/4 21:41

  • regen_r8

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/5/23


I'm glad you got it working. Just remember the performance caveats -- if you are using the group access and have lots of users and lots of groups and lots of forums and lots of posts - the outer joins that are used in this mod have some inherent performance issues. For smallish sites, no one would notice, but on a site the size of this one, with lots of private forums, one might feel the performance hit in the seat of the pants, especially if one had high db server utilization (many hosts share DB servers between web servers because many sites are low db utilization (they theorize))


35
davmp
Re: Newbb Hack - updated for 2.0.6
  • 2004/3/4 20:29

  • davmp

  • Just popping in

  • Posts: 5

  • Since: 2004/2/12


No problem, I finally figured what was wrong with the group access. I blindly forgot to add XOOPS in front of the table ex: xoops_bb_forum_group_access !Dough! on my part

34
regen_r8
Re: Newbb Hack - updated for 2.0.6
  • 2004/3/4 19:41

  • regen_r8

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/5/23


Quote:
(BTW: no instructions came with the updated version)


My apologies, the Install instructions should be in the hack.html file. I cannot get to my site from work, and only have the 2.0.5 hack here. If the hack.html file is not present in the 2.0.6, you can download the 2.0.5 version to get the instructions...

33
DonXoop
Re: Newbb Hack - updated for 2.0.6

An update... It seems that the language hack didn't change functions.php in newbb (or I don't see it). I put the newbb hack file back and it seems to work fine for both hacks.

so far so good.

32
DonXoop
Re: Newbb Hack - updated for 2.0.6

Great mod and I've been using it since it came out!

I'm now looking at the language hack since it will be good for my site in Canada.

There is a conflict I'm guessing with the functions.php file that is changed by both hacks. I'll look at them and see if I can combine both and make it live.

These are two modules that I'd love to have together.

thumbs up.

31
davmp
Re: Newbb Hack - updated for 2.0.6
  • 2004/3/4 17:32

  • davmp

  • Just popping in

  • Posts: 5

  • Since: 2004/2/12


got it to work by permission: user (BTW: no instructions came with the updated version)

Also did a manual sql setup :
Table structure for table `bb_forum_group_access`
# hack for group access

CREATE TABLE bb_forum_group_access (
forum_id int(4) unsigned NOT NULL default '0',
group_id int(5) unsigned NOT NULL default '0',
can_post tinyint(1) NOT NULL default '0',
PRIMARY KEY (forum_id,group_id)
) TYPE=MyISAM;

Do I have to manually set up group permission? cause it is not allowing it the the admin private forums section (User works great!, Group does not)

Thanks in advance

30
davmp
Re: Newbb Hack - updated for 2.0.6
  • 2004/3/4 17:03

  • davmp

  • Just popping in

  • Posts: 5

  • Since: 2004/2/12


got it figured out, I just copied files and updated it. It works great!!!!!!

29
regen_r8
Re: Newbb Hack - updated for 2.0.6
  • 2004/3/4 17:01

  • regen_r8

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/5/23


There are install instructions in the hack - here is the short version.

You can overlay and update provided that you manually create the "group_access" table.

syntax for this is available in the mysql.sql file in the hack - just remember to add your table prefix...

-- also - my strong recommendations for all hacks - try in a safe sandbox before you hack your production site!!!!

It can be backed out by installing re-overlaying the files from the vanilla module and doing an update.

Good luck!

28
davmp
Re: Newbb Hack - updated for 2.0.6
  • 2004/3/4 16:36

  • davmp

  • Just popping in

  • Posts: 5

  • Since: 2004/2/12


Do I have to remove old Newbb an reinstall new or can I just add in to coresponding folders and do an update?

Login

Who's Online

240 user(s) are online (127 user(s) are browsing Support Forums)


Members: 0


Guests: 240


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