U-232 Support forum
We are currently experiencing issues with our support forum.
For limited support you can catch me and some of the Dev team on https://u-232.servebeer.com. Alternatively you can post here and I'll do my best to answer as quick as possible. Sorry for any inconvenience caused, we will have the support forum back online as soon as we can. |
how do I add user class color in torrenttable_functions.php?
i tried
Code:
".(isset($row["username"]) ? (($row["anonymous"] == "yes" && $CURUSER['class'] < UC_STAFF && $row['owner'] != $CURUSER['id']) ? "".$lang['torrenttable_anon']."" : " Code:
".htmlsafechars($row["username"])." |
Which version of U-232 ? There is differences between them.
You either need a left join to users table on browse.php so that you can grab class, or you add class to torrents table and you insert the uploaders user class on takeupload.php, then simply display it by grabbing class from browse.php and using format_username, without doing so will result in an undefined index and color wont show. Also U-232 has functions like format_username so you need to be specific which version. |
v3
Quote:
|
make sure to add index to join queries.. they will fuck your server!:coffee:
|
Quote:
|
Quote:
Will never be shared by you ( as usual ). |
just take the code part from requests
put it into torrenttable functions adjust query callings and shit. and you are good to go.. if you notice, on the requests page..users that make request have class color, donor pic, warning pic and so on.. its not rocket science people... |
U-232 Support forum & U-232 v5 Release
Support forum update - Lost the DB
Temporary url https://u-232.servebeer.com/smf/index.php Be patient while we restore data and bring it back online. U-232 V5 U-232 v5 is currently being tested for pre-release, github will be updated once we are happy, stay tuned !!!! |
Quote:
amazing can't wait for this release thanks a lot guys for all the work u do :cool: |
All times are GMT +2. The time now is 17:27. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.