|
View Poll Results: NEW tracker source: Project U-232 | |||
I will give it a try | 440 | 77.33% | |
No, i`m using another source | 72 | 12.65% | |
XAM is my hero, i`m sticking to Template Shares | 57 | 10.02% | |
Voters: 569. You may not vote on this poll |
#371
|
||||
|
||||
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. |
#372
|
|||
|
|||
how do I add user class color in torrenttable_functions.php?
Code:
".(isset($row["username"]) ? (($row["anonymous"] == "yes" && $CURUSER['class'] < UC_STAFF && $row['owner'] != $CURUSER['id']) ? "<font color='gray'><b><i>".$lang['torrenttable_anon']."</i></b></font>" : " <a href='userdetails.php?id=".(int)$row["owner"]."'><b>".htmlsafechars($row["username"])."</b></a>") : "<i>(".$lang["torrenttable_unknown_uploader"].")</i>")." </div>"; Code:
<font color='#".get_user_class_color($user['class']) . "'>".htmlsafechars($row["username"])."</font> |
#373
|
||||
|
||||
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. |
#374
|
|||
|
|||
v3
Quote:
|
#375
|
|||
|
|||
make sure to add index to join queries.. they will fuck your server!
__________________
Need HELP!? I can install:
|
#376
|
|||
|
|||
Quote:
|
#377
|
||||
|
||||
Quote:
Will never be shared by you ( as usual ). |
#378
|
|||
|
|||
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...
__________________
Need HELP!? I can install:
|
#379
|
||||
|
||||
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 !!!! |
The Following 2 Users Say Thank You to Bigjoos For This Useful Post: | ||
fireknight (11th July 2016),
KOM20 (10th July 2016)
|
#380
|
|||
|
|||
Quote:
amazing can't wait for this release thanks a lot guys for all the work u do |
Tags |
project , project u232 , torrents tracker , u232 |
|
|