Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Okay - usual disclaimers apply - I cannot be held responsible if your forums die, or Elvis comes knocking on your front door etc...


In admin/docreategroup.php find this

-----------------------------------------
Make sure we don't already have 99 groups
$query = "
SELECT COUNT(*)
FROM {$config['tbprefix']}Groups
";
$sth = $dbh -> do_query($query);
list($num) = $dbh -> fetch_array($sth);
$dbh -> finish_sth($sth);

if ($num == "99") {
$html -> not_right("{$ubbt_lang['MAX_GROUP']}",$Cat);
}

and change it to...


// -----------------------------------------
// Make sure we don't already have 99 groups
// $query = "
// SELECT COUNT(*)
// FROM {$config['tbprefix']}Groups
// ";
// $sth = $dbh -> do_query($query);
// list($num) = $dbh -> fetch_array($sth);
// $dbh -> finish_sth($sth);
//
// if ($num == "99") {
// $html -> not_right("{$ubbt_lang['MAX_GROUP']}",$Cat);
// }

That is it - if you want to see how it works on my site go to http://www.nonleague.com register, select a team from the Ryman Premier League - go to Change Display settings under My Home and select another team in the Ryman Premier League, and see how the navigation above, and the side bar alters. (Only the Ryman Premier League is fully using the system at the moment.)

As I say, it may or may not work for you depending upon how you need to use groups.

I should also mention that my groups are not sequential - my numbering system goes up to over 5300, due to my database diving


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Sponsored Links
Entire Thread
Subject Posted By Posted
Increase the number of groups slayer60 11/21/2003 9:22 PM
Re: Increase the number of groups Zackary 11/21/2003 10:08 PM
Re: Increase the number of groups omegatron 11/21/2003 10:15 PM
Re: Increase the number of groups slayer60 11/24/2003 5:02 PM
Re: Increase the number of groups Astaran 11/25/2003 3:26 PM
Re: Increase the number of groups omegatron 11/25/2003 11:37 PM
Re: Increase the number of groups Ian_W 11/26/2003 12:36 AM
Re: Increase the number of groups slayer60 11/26/2003 12:52 AM
Re: Increase the number of groups Ian_W 11/26/2003 12:55 AM
Re: Increase the number of groups Ian_W 11/26/2003 1:25 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)