Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Template Shares (http://www.bvlist.com/forumdisplay.php?f=26)
-   -   function get_user_color (http://www.bvlist.com/showthread.php?t=11261)

HP 26th October 2017 18:16

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

DND 26th October 2017 19:39

you can't in TS since its encrypted, no ?

HP 26th October 2017 20:12

No its not encrypted decoder 5.6

DND 26th October 2017 20:38

then look in the functions file but as always any decoded file could have missing parts

HP 26th October 2017 21:53

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

thartley55 26th October 2017 22:29

In include/ts_functions.php...

there are two occurrences of get_user_color

HP 27th October 2017 10:14

Quote:

Originally Posted by thartley55 (Post 50776)
In include/ts_functions.php...

there are two occurrences of get_user_color

Ill check it out

Krypto 27th October 2017 14:04

You could use a text editor like SublimeText and use the Find in Files to search for it.

Chez 27th October 2017 22:41

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";



HP 28th October 2017 13:07

Quote:

Originally Posted by Chez (Post 50784)
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


All times are GMT +2. The time now is 18:30.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.