Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Project U-232 (http://www.bvlist.com/forumdisplay.php?f=80)
-   -   Project U-232 (http://www.bvlist.com/showthread.php?t=6342)

Bigjoos 17th June 2016 17:07

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.

CAGADA 20th June 2016 23:15

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']) ? "".$lang['torrenttable_anon']."" : "
                                  ".htmlsafechars($row["username"])."") : "(".$lang["torrenttable_unknown_uploader"].")")."
";
i tried
Code:

".htmlsafechars($row["username"])."
but dont work

Bigjoos 21st June 2016 07:50

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.

CAGADA 21st June 2016 09:48

v3

Quote:

Originally Posted by Bigjoos (Post 48991)
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.


DND 21st June 2016 11:12

make sure to add index to join queries.. they will fuck your server!:coffee:

Napon 21st June 2016 20:37

Quote:

Originally Posted by CAGADA (Post 48988)
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']) ? "".$lang['torrenttable_anon']."" : "
                                  ".htmlsafechars($row["username"])."") : "(".$lang["torrenttable_unknown_uploader"].")")."
";
i tried
Code:

".htmlsafechars($row["username"])."
but dont work
this will not work at all ive made the mod for the v3 its easy to add by one file only not 2 or 3

fireknight 22nd June 2016 08:18

Quote:

Originally Posted by Napon (Post 48996)
this will not work at all ive made the mod for the v3 its easy to add by one file only not 2 or 3

And I suppose that this mod that you have made.
Will never be shared by you ( as usual ).

DND 22nd June 2016 12:58

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...

Bigjoos 10th July 2016 18:56

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 !!!!

KOM20 10th July 2016 20:01

Quote:

Originally Posted by Bigjoos (Post 49052)
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 !!!!


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.