Home ¤ Register ¤ FAQ ¤ Search ¤ Active Topics ¤ Log In

UseBB Zone » Modifications » Usergroups mod

Usergroups mod

Page: 1

Author Post
Member
Registered: Jan 2007
Posts: 1
Usergroups mod
This file was submitted by the poster at the posted time

UseBB Version: v1.0.x
File Version: 1.0
Demo: None

With this modification you get extensive control on usergroups that use your forum. You can create as many usergroups as you want, and add as many users as you want to it. You can set for each forum which usergroup can read, which can write, or set it to anyone for normal use.

Download This File
« Last edit by Spiros on Fri Jan 19, 2007 1:08 pm. »
Member
Registered: May 2007
Posts: 3
what do I do with this .diff file ? how to install ?
Member
Registered: Mar 2007
Posts: 5
Location: Russian, Cheluabinsk
It is possible to make it as usual updating, I do not understand how to work with it diff.
Member
Registered: Jul 2006
Posts: 38
It's from the readme file of my own modification, but it should help here, too:

Patch the poll-mod into your UseBB-Installation:

cd UseBB
patch -Np1 <../usebb_1.0.6b_poll.diff

Patch-command should be available on any Linux-machine and there are some versions
around for Windows. I think you can find them with Google.

For more information about UseBB and patch see:
http://www.usebb.net/community/topic-1236.html

If you do not want to use the patch-utility you can change the files manually, but this
is a lot of work, because you have to apply the diff-file manually:

Lines starting with "---" tell you which file you have to change (.htaccess for example):
--- UseBB/.htaccess 2007-04-11 21:01:58.000000000 +0200

Lines starting with "@@" tell you which lines you have to change (starting on line 24 for example):
@@ -25,7 +24,9 @@

The following lines tell you what you have to change:
RewriteRule ^topic-post([0-9]+)\.html?[\.,;\-]?$ topic.php?post=$1
- RewriteRule ^post-(forum|topic)([0-9]+)\.html?[\.,;\-]?$ post.php?$1=$2
+ #************pizzamampf************
+ RewriteRule ^post-(forum|topic|poll)([0-9]+)\.html?[\.,;\-]?$ post.php?$1=$2
+ #************pizzamampf************
RewriteRule ^post-topic([0-9]+)-quotepost([0-9]+)\.html?[\.,;\-]?$ post.php?topic=$1&quotepost=$2

Don't change the lines starting with a blank. Delete the lines starting with a "-". Add the lines starting
with a "+".
Member
Registered: Mar 2007
Posts: 5
Location: Russian, Cheluabinsk
For Linux I know as, but at me Windows.
Member
Registered: Jun 2007
Posts: 97
Location: Gatineau, QC, Canada
Wouldn't it be much simpler to write mod installation files in plain text, all the user has to do is load the install file in his/her editor along with the files that need to be modded then just go from one editor window to the next...

Unfortunately, I won't be able to use this mod...

Gene
_______________
Help me build my new Community:
The Forum Software Discussion Board
« Last edit by raygene on Sat Jan 05, 2008 7:40 pm. »
Member
Registered: Jan 2008
Posts: 4
Location: Krefeld
Here is a link:
http://gnuwin32.sourceforge.net/packages/diffutils.htm
Member
Registered: Sep 2006
Posts: 4
Location: GER
Hallo together!

Can someone upload premoded files? I would like to use the usergroup mod, but dont know what I have to do with the *.diff file. OK I can made it step by step when I read it in wordpad. Thats a lot of work and the risk of make a mistake is big. So can somebody help please?

Tia
ScanX
Member
Registered: Sep 2006
Posts: 4
Location: GER
Hello!

To all of you need premoded files. Many hours ago I finally did it. The package based on UseBB 1.0.8 vanilla.
Replace all files with them in the zip file. Run this query to update the database:

ALTER TABLE `usebb_forums` ADD `readaccess` INT(11) NOT NULL DEFAULT '-1';
ALTER TABLE `usebb_forums` ADD `writeaccess` INT(11) NOT NULL DEFAULT '-1';

CREATE TABLE `usebb_usergroup` (
`user_id` int(11) NOT NULL default '0',
`group_id` int(11) NOT NULL default '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

CREATE TABLE `usebb_usergroups` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(255) NOT NULL default '',
`descr` varchar(255) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

Have fun! :-)

--> usergroup_premoded.zip

Best regards
ScanX
Member
Registered: Sep 2008
Posts: 1
Is there any reason why this would not be working?

I have certain forums where I don't mind if people read, but I do not want them posting and even with the option set for them not to beable to post, they are able too.

Version 1.0.9
Member
Registered: Jul 2009
Posts: 1
Hi,

does this work also with Version 1.0.9? Please point me to the right direction.

Thanks, Andreas
Member
Registered: Jun 2009
Posts: 4
don't understand !

Page: 1

UseBB Zone » Modifications » Usergroups mod

Parse time: 0.0332 s · Server load: 0.71 · Template sections: 2 · SQL queries: 8