Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
groups
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Support

2021-09-28 15:33:01
hello everyone, i have created a new group "vip premium" in admin cp
and it is not visible in the list of user groups on the site, can you tell me how to make it visible in the dropdown menu on the site, thank you in advance for your help.  :unsure
2021-09-28 16:30:05
What's the url  just need the end bit  url/???
2021-09-30 15:43:55
Hello, what I want to explain to you is that when you add a new group and you change the account of a member and you want to change his group status with the new group you created it is not possible because the new group is not visible, I created the premium member group and it is not visible in the groups below, the new premium member group created in the function "User Groups View" in admin cp is well visible in admin cp but not in the menu to change group to a member in account-details.php ?

Member
Power user
VIP
Uploader
Moderator
super moderator
Administrator
Last edited by niki on 2021-09-30 15:44:44
2021-10-01 07:31:54
@niki try this:




//////////////////////////////

if ($CURUSER["class"] > $user["class"]){
print("<tr><td class='css'>".T_("CLASS").": </td><td align='left' class='css'><select name='class' class='form-control' size='1' >\n");
$maxclass = $CURUSER["class"];
for ($i = 1; $i < $maxclass; ++$i)
print("<option value='$i' " . ($user["class"] == $i ? " selected='selected'" : "") . ">$prefix" . get_user_class_name($i) . "\n");
print("</select></td></tr>\n");
}




www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
Last edited by Botanicar on 2021-10-01 07:32:44
2021-10-01 07:46:28
In account-details

This is the code for dropdown
if ($CURUSER["class"] > $user["class"]){
print("<tr><td>".T_("CLASS").": </td><td align='left'><select name='class'>\n");
$maxclass = $CURUSER["class"];
for ($i = 1; $i < $maxclass; ++$i)
print("<option value='$i' " . ($user["class"] == $i ? " selected='selected'" : "") . ">$prefix" . get_user_class_name($i) . "\n");
print("</select></td></tr>\n");
}


There are 7 groups
Is vip premium id 8 or is admin id 8

Make group.sql backup then in phpmyadmin manually re order numbers
1(members) - 8(admin) this may help

Change your user class column in user table to 8 to see any changes
2021-10-04 14:06:20
thank you M-jay  works well
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728