AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   HLstatsX:CE (https://forums.alliedmods.net/forumdisplay.php?f=156)
-   -   Disable location on player profile (https://forums.alliedmods.net/showthread.php?t=334771)

asdfxD 10-18-2021 09:10

Disable location on player profile
 
title..

how can i disable the information about the players location (web player profile)? I do not want to show.

Edit: Solved.

delete 'hlstats_Players.city,' from pages/playerinfo.php

evans 10-30-2022 12:53

Re: Disable location on player profile
 
Yea, i was solving same problem, open the file called playerinfo_general.php (in pages folder). Look for this code (starts at line 104 for me).
Code:

                                                <?php
                                                        if ($playerdata['country'])
                                                        {
                                                                echo 'Location: ';
                                                                //if ($playerdata['city']) {
                                                                //        echo htmlspecialchars($playerdata['city'], ENT_COMPAT) . ', ';
                                                                //}
                                                                echo '<a href="'.$g_options['scripturl'].

Comment out and change this file as shown. There should stay only country in location. Worked for me.


All times are GMT -4. The time now is 18:48.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.