2006-12-11, 06:03 PM
Pages: 1 2
2006-12-18, 08:08 PM
help please ?
2006-12-18, 08:12 PM
I don't believe I quite understand what you're trying to say...
2006-12-18, 08:58 PM
They want to know how to allow the admin to give unlimited reputations. They used the 1000 number as an example of a LOT of reps I believe.
2006-12-18, 09:46 PM
hemi Wrote:They want to know how to allow the admin to give unlimited reputations. They used the 1000 number as an example of a LOT of reps I believe.
yes,how to allow the admin to give unlimited reputations users ?
sorry i'am bad speek english
2006-12-18, 10:42 PM
roy Wrote:hemi Wrote:They want to know how to allow the admin to give unlimited reputations. They used the 1000 number as an example of a LOT of reps I believe.
yes,how to allow the admin to give unlimited reputations users ?
sorry i'am bad speek english
I think he is looking for a way for the Admin to manually edit a user's reputation.
2006-12-18, 10:53 PM
roy Wrote:hemi Wrote:They want to know how to allow the admin to give unlimited reputations. They used the 1000 number as an example of a LOT of reps I believe.
yes,how to allow the admin to give unlimited reputations users ?
sorry i'am bad speek english
Well, I'd just add a big number like "100000000000000000000000000000000000000000000000000" in there so the admins could choose I don't think you can do it unlimited... (correct me if I'm wrong..)
2006-12-19, 02:20 AM
Quote:Well, I'd just add a big number like "100000000000000000000000000000000000000000000000000" in there so the admins could choose I don't think you can do it unlimited... (correct me if I'm wrong..)
Administrator, one time reputation +300 +500 how debt members ?
2007-02-11, 05:25 PM
Open ./admin/usergroups.php
find 2 times
Now open reputation.php
find
also find
replace with
This way ... only admins will be able to post rep 100+.. make sure to set the maximum for them in the user group settings.
Normal users cannot add rep with 100+
regards
find 2 times
$reputation_power = array(1 => 1, 2 => 2, 3 => 3);
replace with$reputation_power = array(1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6);
Now open reputation.php
find
for($i = 1; $i <= $reputationpower; $i++)
{
$positive_title = sprintf($lang->power_positive, "+".$i);
$positive_power = " <input type=\"radio\" name=\"reputation\" value=\"+{$i}\" id=\"pos{$i}\" {$vote_check[+$i]} /> <label for=\"pos{$i}\">{$positive_title}</label><br />".$positive_power;
$negative_title = sprintf($lang->power_negative, "-".$i);
$negative_power .= " <input type=\"radio\" name=\"reputation\" value=\"-{$i}\" id=\"neg{$i}\" {$vote_check[-$i]} /> <label for=\"neg{$i}\">{$negative_title}</label><br />";
}
replace with for($i = 1; $i <= $reputationpower; $i++)
{
$a = $i;
if($mybb->user['usergroup'] == 4)
{
$i = $i*100;
}
$positive_title = sprintf($lang->power_positive, "+".$i);
$positive_power = " <input type=\"radio\" name=\"reputation\" value=\"+{$i}\" id=\"pos{$i}\" {$vote_check[+$i]} /> <label for=\"pos{$i}\">{$positive_title}</label><br />".$positive_power;
$negative_title = sprintf($lang->power_negative, "-".$i);
$negative_power .= " <input type=\"radio\" name=\"reputation\" value=\"-{$i}\" id=\"neg{$i}\" {$vote_check[-$i]} /> <label for=\"neg{$i}\">{$negative_title}</label><br />";
$i = $a;
}
also find
// The power for the reputation they specified was invalid.
if($reputation > $mybb->usergroup['reputationpower'] || !is_numeric($mybb->input['reputation']))
replace with
// The power for the reputation they specified was invalid.
if($mybb->user['usergroup'] == 4)
{
$power = $mybb->usergroup['reputationpower']*100;
}
else
{
$power = $mybb->usergroup['reputationpower'];
}
if($reputation > $power || !is_numeric($mybb->input['reputation']))
This way ... only admins will be able to post rep 100+.. make sure to set the maximum for them in the user group settings.
Normal users cannot add rep with 100+
regards
2007-02-11, 05:48 PM
hi, zaher1988
only administrator,how one time reputation to give users, how ? thanks.
only administrator,how one time reputation to give users, how ? thanks.
Pages: 1 2