Version: , by Cassidy
Developer Last Online: Jul 2005
Version: Unknown
Rating:
Released: 04-05-2005
Last Update: Never
Installs: 0
No support by the author.
Not trying to be awkward or anything but is it possible in future versions you could make it so the user has to reach certain permissions or have an approval for making a clan because i kept getting people making clans and then deleting them just to be irritating. I'd like to see like.. usergroup permissions on clan makings or some kind of admin approval before the clan is made *_*
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Yes, I do plan to implement some form of limiting. I am planning to make creating a clan cost [currency].
As for the Admin Approval, that was the ancient way of doing it (PM an admin), but I will create a setting for Admin Approval
To create a "temp fix" for this, you can delete the "do=create" code from the clancp.php, and remove all references to this section from your templates (Warning: Not tested). This will revert the hack to force your users to PM you to create a clan, but will still retain all the advanced functions in the clancp.
Yes, I do plan to implement some form of limiting. I am planning to make creating a clan cost [currency].
As for the Admin Approval, that was the ancient way of doing it (PM an admin), but I will create a setting for Admin Approval
To create a "temp fix" for this, you can delete the "do=create" code from the clancp.php, and remove all references to this section from your templates (Warning: Not tested). This will revert the hack to force your users to PM you to create a clan, but will still retain all the advanced functions in the clancp.
I have actually changed all the "do=create" to "do=join" atm to stop people spam clan making with names like 0101habywb and stuff *_* I already have them pming me for new clans. Hmm hard to think of any other way to do it really.
alright here is a quick and dirty way to do a new clan
PHP Code:
if ($_REQUEST['do'] == 'createclan')
{
if ($bbuserinfo['clan'] > 0)
{
$clanerrortxt = "You are already in a Clan. Leave the clan you are in before trying to create a new clan.";
eval(standard_error($clanerrortxt));
die;
}
is whats there right now and i said this was dirty maybe raven wants to make this an option in the admincp but here you go. this was my 3 minute fix you can change the post # to anything you want so only people with over X posts can make clans
PHP Code:
if ($_REQUEST['do'] == 'createclan')
{
if (($bbuserinfo['clan'] > 0) || ($bbuserinfo['posts'] < 10))
{
$clanerrortxt = "You are already in a Clan. Leave the clan you are in before trying to create a new clan.<br/> or you dont have the minimum of 10 posts to start a clan";
eval(standard_error($clanerrortxt));
die;
}
another more thoughtout way is
PHP Code:
f ($_REQUEST['do'] == 'createclan')
{
if ($bbuserinfo['clan'] > 0)
{
$clanerrortxt = "You are already in a Clan. Leave the clan you are in before trying to create a new clan.";
eval(standard_error($clanerrortxt));
die;
}
else if ($bbuserinfo['posts'] < 10)
{
$clanerrortxt = "You dont have the minimum of 10 posts to start a clan";
eval(standard_error($clanerrortxt));
die;
}