Bravo List
Register
Go Back   > Bravo List > Torrents Trackers > Template Shares
Reply
  #1  
Old 26-10-17, 18:16
HP's Avatar
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 26-10-17, 19:39
DND's Avatar
DND DND is offline
Support
 
Join Date: Dec 2008
Posts: 970
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. TBDev Support
  5. Gazelle Support Install
  6. TSSE Install Support
Reply With Quote
  #3  
Old 26-10-17, 20:12
HP's Avatar
HP HP is offline
Banned
 
Join Date: Jul 2017
Posts: 10
Default
No its not encrypted decoder 5.6
Reply With Quote
  #4  
Old 26-10-17, 20:38
DND's Avatar
DND DND is offline
Support
 
Join Date: Dec 2008
Posts: 970
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. TBDev Support
  5. Gazelle Support Install
  6. TSSE Install Support
Reply With Quote
  #5  
Old 26-10-17, 21:53
HP's Avatar
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 26-10-17, 22:29
thartley55's Avatar
thartley55 thartley55 is offline
Senior Member
 
Join Date: Mar 2012
P2P
Posts: 39
Default
In include/ts_functions.php...

there are two occurrences of get_user_color
Reply With Quote
  #7  
Old 27-10-17, 10:14
HP's Avatar
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 27-10-17, 14:04
Krypto's Avatar
Krypto Krypto is offline
Administrator
 
Join Date: Jan 2008
P2P
Posts: 491
Default
You could use a text editor like SublimeText and use the Find in Files to search for it.
__________________


Please DO NOT "PM" me for Personal Support!! Keep all questions on the board so all can benefit.

Reply With Quote
  #9  
Old 27-10-17, 22:41
Chez's Avatar
Chez Chez is offline
Senior Member
 
Join Date: Sep 2011
P2P
Posts: 266
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; 28-10-17 at 01:43.
Reply With Quote
  #10  
Old 28-10-17, 13:07
HP's Avatar
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

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