Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Project U-232
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

Closed Thread
  #371  
Old 17th June 2016, 17:07
Bigjoos's Avatar
Bigjoos Bigjoos is offline
U-232 Dev
 
Join Date: May 2008
United Kingdom
Posts: 244
Exclamation 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  
Old 20th June 2016, 23:15
CAGADA CAGADA is offline
Senior Member
 
Join Date: Jan 2011
P2P
Posts: 17
Default
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>";
i tried
Code:
<font color='#".get_user_class_color($user['class']) . "'>".htmlsafechars($row["username"])."</font>
but dont work
  #373  
Old 21st June 2016, 07:50
Bigjoos's Avatar
Bigjoos Bigjoos is offline
U-232 Dev
 
Join Date: May 2008
United Kingdom
Posts: 244
Default
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  
Old 21st June 2016, 09:48
CAGADA CAGADA is offline
Senior Member
 
Join Date: Jan 2011
P2P
Posts: 17
Default
v3

Quote:
Originally Posted by Bigjoos View Post
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.
  #375  
Old 21st June 2016, 11:12
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,241
Default
make sure to add index to join queries.. they will fuck your server!
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
  #376  
Old 21st June 2016, 20:37
Napon Napon is offline
Banned
 
Join Date: Feb 2016
P2P
Posts: 522
Thumbs up
Quote:
Originally Posted by CAGADA View Post
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>";
i tried
Code:
<font color='#".get_user_class_color($user['class']) . "'>".htmlsafechars($row["username"])."</font>
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
  #377  
Old 22nd June 2016, 08:18
fireknight's Avatar
fireknight fireknight is offline
Administrator
 
Join Date: Aug 2010
Australia
Posts: 173
Default
Quote:
Originally Posted by Napon View Post
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 ).
  #378  
Old 22nd June 2016, 12:58
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,241
Default
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:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
  #379  
Old 10th July 2016, 18:56
Bigjoos's Avatar
Bigjoos Bigjoos is offline
U-232 Dev
 
Join Date: May 2008
United Kingdom
Posts: 244
Default 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  
Old 10th July 2016, 20:01
KOM20 KOM20 is offline
Member
 
Join Date: Jun 2016
Posts: 4
Smile
Quote:
Originally Posted by Bigjoos View Post
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
Closed Thread

Tags
project , project u232 , torrents tracker , u232

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 13:24. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.