Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares
Reply
  #1  
Old 26th October 2017, 18:16
HP HP is offline
Banned
 
Join Date: Jul 2017
Posts: 10
Default function get_user_color
Hi all im looking for
function

Ive looked in all files to find
get_user_color

But not come ascros this anyone know where this is i need to change a few thinhs in it
Reply With Quote
  #2  
Old 26th October 2017, 19:39
DND DND is online now
VIP
 
Join Date: Dec 2008
Posts: 1,241
Default
you can't in TS since its encrypted, no ?
__________________
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)
Reply With Quote
  #3  
Old 26th October 2017, 20:12
HP HP is offline
Banned
 
Join Date: Jul 2017
Posts: 10
Default
No its not encrypted decoder 5.6
Reply With Quote
  #4  
Old 26th October 2017, 20:38
DND DND is online now
VIP
 
Join Date: Dec 2008
Posts: 1,241
Default
then look in the functions file but as always any decoded file could have missing parts
__________________
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)
Reply With Quote
  #5  
Old 26th October 2017, 21:53
HP HP is offline
Banned
 
Join Date: Jul 2017
Posts: 10
Default
Yep looked in there no and looked in files where i would think it be in and none hold this lol its in a file somewhere lol
Reply With Quote
  #6  
Old 26th October 2017, 22:29
thartley55 thartley55 is offline
Senior Member
 
Join Date: Mar 2012
P2P
Posts: 204
Default
In include/ts_functions.php...

there are two occurrences of get_user_color
Reply With Quote
  #7  
Old 27th October 2017, 10:14
HP HP is offline
Banned
 
Join Date: Jul 2017
Posts: 10
Default
Quote:
Originally Posted by thartley55 View Post
In include/ts_functions.php...

there are two occurrences of get_user_color
Ill check it out
Reply With Quote
  #8  
Old 27th October 2017, 14:04
Krypto Krypto is offline
Retired from BVList
 
Join Date: Jan 2008
P2P
Posts: 510
Default
You could use a text editor like SublimeText and use the Find in Files to search for it.
Reply With Quote
  #9  
Old 27th October 2017, 22:41
Chez's Avatar
Chez Chez is offline
Senior Member
 
Join Date: Sep 2011
P2P
Posts: 278
Default
You can create you own function by making a switch statement.
For example:

PHP Code:
function user_class_color($class$username) {
 switch (
$class)
  {
    case 
VIP:
      return 
"<span style='color: red;'>" $username "</span>";
      break;
    case 
USER:
      return 
"<span style='color: blue;'>" $username "</span>";
      break;
  }
    return 
"$username";

__________________
http://www.bvlist.com/images/avatars/signaturepics/sigpic16443_2.gif

Last edited by Chez; 28th October 2017 at 01:43.
Reply With Quote
  #10  
Old 28th October 2017, 13:07
HP HP is offline
Banned
 
Join Date: Jul 2017
Posts: 10
Thumbs up
Quote:
Originally Posted by Chez View Post
You can create you own function by making a switch statement.
For example:

PHP Code:
function user_class_color($class$username) { switch ($class)  {    case VIP:      return "<span style='color: red;'>" $username "</span>";      break;    case USER:      return "<span style='color: blue;'>" $username "</span>";      break;  }    return "$username";} 
Noted its something im working on for tsse 5.7 many thax one and all
Reply With Quote
Reply

Tags
function , getusercolor

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 22:39. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.