SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Tools and Files

Reply
 
Thread Tools Display Modes
Old 09/06/2016, 05:36 PM   #21
SecretBoss
Gangsta
 
SecretBoss's Avatar
 
Join Date: Dec 2014
Location: Greece
Posts: 822
Reputation: 102
Default Re: RPUCP - Roleplay User Control Panel (Ideal for RPs)

Quote:
Originally Posted by JasperM View Post
Good work once again, sB.

I just got some constructive criticism (I said parts of this at your own server's shoutbox aswell ):
- About half of the JavaScript scripts and CSS stylesheets you link to are used no-where in the UCP, but still creating extra page-load:
- The UCP would be easier to expand by others if it was done Object Oriented. Although it's probably a bit hard to change this now, you could see this as an idea for further projects.

Again, nice work
As I said I stopped developing the project, I didn't change anything from the time I decided to abandon it, so it is kinda unfinished

And UCP is already easy to expand by others, you can only create a page with just the following code

PHP Code:
<?php 
include 'includes/config.php'
include 
'includes/header.php';
checkForLogin();
?>
                <div class="row">
                    <div class="col-md-12">
                        <h1 class="page-header">
                            Example page
                        </h1>
                    </div>
                </div>

<?php
include 'includes/footer.php'
?>
Thanks for the feedback anyway
__________________
SecretBoss is offline   Reply With Quote
Old 30/06/2016, 08:18 AM   #22
nemanjasepa
Big Clucker
 
Join Date: Jun 2015
Posts: 50
Reputation: 0
Default Re: RPUCP - Roleplay User Control Panel (Ideal for RPs)

Not heavy design, but looking amazing !!
nemanjasepa is offline   Reply With Quote
Old 03/07/2016, 02:22 PM   #23
djhiago
Little Clucker
 
Join Date: Mar 2012
Posts: 2
Reputation: 0
Default Re: RPUCP - Roleplay User Control Panel (Ideal for RPs)

tem como você colocar o arquivo sql não ?
djhiago is offline   Reply With Quote
Old 03/07/2016, 02:47 PM   #24
SecretBoss
Gangsta
 
SecretBoss's Avatar
 
Join Date: Dec 2014
Location: Greece
Posts: 822
Reputation: 102
Default Re: RPUCP - Roleplay User Control Panel (Ideal for RPs)

Quote:
Originally Posted by nemanjasepa View Post
Not heavy design, but looking amazing !!
Thanks

Quote:
Originally Posted by djhiago View Post
tem como você colocar o arquivo sql não ?
English please...
__________________
SecretBoss is offline   Reply With Quote
Old 19/07/2016, 11:49 PM   #25
Pearson
Banned
 
Join Date: Jun 2015
Location: AUSTRALIA, SYDNEY
Posts: 291
Reputation: 30
Default Re: RPUCP - Roleplay User Control Panel (Ideal for RPs)

Can You Help Me To Change UCP Settings for my gm?
Pearson is offline   Reply With Quote
Old 26/07/2016, 07:00 PM   #26
Fratello
Huge Clucker
 
Fratello's Avatar
 
Join Date: May 2016
Location: Howard University
Posts: 325
Reputation: 38
Default Re: RPUCP - Roleplay User Control Panel (Ideal for RPs)

Mr.Takos, This is gold.

Now be ready for 5495849584985894 messages on ********, hope you understand me lol.
__________________
"It's not what you expect from life; But what life expect from you!"
Fratello is offline   Reply With Quote
Old 27/04/2017, 08:11 AM   #27
Tudounaozi
Little Clucker
 
Join Date: Oct 2015
Posts: 35
Reputation: 1
Default Re: RPUCP - Roleplay User Control Panel (Ideal for RPs)

If you would like to develop and support me, please add my skype a596203334 and you will be paid for it.
Tudounaozi is offline   Reply With Quote
Old 17/12/2017, 06:42 AM   #28
andySix
Big Clucker
 
andySix's Avatar
 
Join Date: Apr 2012
Location: 180 - Idlewood
Posts: 68
Reputation: 3
Post Re: RPUCP - Roleplay User Control Panel (Ideal for RPs)

Bro how does char.php and chars.php works i need to link to my own DB

This
PHP Code:
<?php 
include 'includes/config.php'
include 
'includes/header.php';
checkForLogin();

if(!isset(
$_GET['id']))
{
    echo 
'<META HTTP-EQUIV="Refresh" Content="0; URL=../pages/index.php">';    
    exit;    
}

$charaID $_GET['id'];
$sesuID $_SESSION['uID'];

$query $con->prepare("SELECT * from chars where charid = '$charaID'");
$query->execute();
$gData $query->fetch();

if(
$gData['accountid'] != $sesuID)
{
    echo 
'<META HTTP-EQUIV="Refresh" Content="0; URL=../pages/index.php">';    
    exit;    
}


?>
                <div class="row">
                    <div class="col-md-12">
                        <h1 class="page-header">
                            <?php echo $gData['charname']; ?>
                        </h1>
                    </div>
                </div>

            <div class="row">
                <div class="col-lg-2">
                    <img src="../bigskins/<?php echo $gData['charskin']; ?>.png" style="height:300px;">
                </div>
                <div class="col-lg-8">
                    <div class="panel panel-default">
                        <div class="panel-body">
                            <div class="row">
                                <div class="col-lg-6">
                                Hand Money: $<?php echo number_format($gData['playercash']); ?>
                                <hr />
                                Bank Money: $<?php echo number_format($gData['playerbankcash']); ?>
                                <hr />
                                Total Money: $<?php echo number_format($gData['playerbankcash'] + $gData['playercash']); ?>
                                <hr />
                                Phone Number: <?php if($gData['playerphonenumber'] != 0) echo $gData['playerphonenumber']; 
                                else echo 
"None"?>
                                <hr />
                                Level: <?php echo number_format($gData['playerexplevel']); ?>
                                <hr />
                                Respect Points: <?php echo number_format($gData['playerrespoints']); ?>/(EDIT THIS)
                                <hr />
                                Age: <?php echo number_format($gData['playerage']); ?>
                                <hr />
                                Health: <div class="progress progress-striped active"><div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="<?php echo $gData['phealthbar']; ?>" aria-valuemin="0" aria-valuemax="100" style="width: <?php echo $gData['phealthbar']; ?>%"></div></div>
                                <hr />
                                Armour: <div class="progress progress-striped active"><div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="<?php echo $gData['parmourbar']; ?>" aria-valuemin="0" aria-valuemax="100" style="width: <?php echo $gData['parmourbar']; ?>%"></div></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

<?php
include 'includes/footer.php'
?>
To this
PHP Code:
<?php 
include 'includes/config.php'
include 
'includes/header.php';
checkForLogin();

if(!isset(
$_GET['id']))
{
    echo 
'<META HTTP-EQUIV="Refresh" Content="0; URL=../pages/index.php">';    
    exit;    
}

$charaID $_GET['id'];
$sesuID $_SESSION['ID'];

$query $con->prepare("SELECT * from accounts where username = '$ID'");
$query->execute();
$gData $query->fetch();

if(
$gData['Accountid'] != $sesuID)
{
    echo 
'<META HTTP-EQUIV="Refresh" Content="0; URL=../pages/index.php">';    
    exit;    
}


?>
                <div class="row">
                    <div class="col-md-12">
                        <h1 class="page-header">
                            <?php echo $gData['username']; ?>
                        </h1>
                    </div>
                </div>

            <div class="row">
                <div class="col-lg-2">
                    <img src="../bigskins/<?php echo $gData['model']; ?>.png" style="height:300px;">
                </div>
                <div class="col-lg-8">
                    <div class="panel panel-default">
                        <div class="panel-body">
                            <div class="row">
                                <div class="col-lg-6">
                                Hand Money: $<?php echo number_format($gData['money']); ?>
                                <hr />
                                Bank Money: $<?php echo number_format($gData['bank']); ?>
                                <hr />
                                Total Money: $<?php echo number_format($gData['bank'] + $gData['money']); ?>
                                <hr />
                                Phone Number: <?php if($gData['phonenr'] != 0) echo $gData['phonenr']; 
                                else echo 
"None"?>
                                <hr />
                                Level: <?php echo number_format($gData['level']); ?>
                                <hr />
                                Respect Points: <?php echo number_format($gData['respect']); ?>
                                <hr />
                                Age: <?php echo number_format($gData['age']); ?>
                                <hr />
                                Health: <div class="progress progress-striped active"><div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="<?php echo $gData['phealth']; ?>" aria-valuemin="0" aria-valuemax="100" style="width: <?php echo $gData['phealth']; ?>%"></div></div>
                                <hr />
                                Armour: <div class="progress progress-striped active"><div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="<?php echo $gData['parmor']; ?>" aria-valuemin="0" aria-valuemax="100" style="width: <?php echo $gData['parmor']; ?>%"></div></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

<?php
include 'includes/footer.php'
?>
my database

Code:
`test`.`accounts` (`id`, `Online`, `UpdateDate`, `RegiDate`, `LastLogin`, `Username`, `Key`, `Email`, `IP`, `SecureIP`, `Registered`, `ConnectedTime`, `Sex`, `Age`, `BirthDate`, `Band`, `PermBand`, `Warnings`, `Disabled`, `Level`, `AdminLevel`, `SeniorModerator`, `DonateRank`, `Respect`, `XP`, `Money`, `Bank`, `pHealth`, `pArmor`, `pSHealth`, `Int`, `VirtualWorld`, `Model`, `SPos_x`, `SPos_y`, `SPos_z`, `SPos_r`, `BanAppealer`, `PR`, `HR`, `AP`, `Security`, `ShopTech`, `FactionModerator`, `GangModerator`, `Undercover`, `TogReports`, `Radio`, `RadioFreq`, `UpgradePoints`, `Origin`, `Muted`, `Crimes`, `Accent`, `CHits`, `FHits`, `Arrested`, `Phonebook`, `LottoNr`, `Fishes`, `BiggestFish`, `Job`, `Job2`, `Paycheck`, `HeadValue`, `Jailed`, `JailTime`, `WRestricted`, `Materials`, `Crates`, `Pot`, `Crack`, `Nation`, `Leader`, `Member`, `Division`, `FMember`, `Rank`, `DetSkill`, `SexSkill`, `BoxSkill`, `LawSkill`, `MechSkill`, `TruckSkill`, `DrugsSkill`, `ArmsSkill`, `SmugglerSkill`, `FishSkill`, `FightingStyle`, `PhoneNr`, `Apartment`, `Apartment2`, `Renting`, `CarLic`, `FlyLic`, `BoatLic`, `FishLic`, `CheckCash`, `Checks`, `GunLic`, `Gun0`, `Gun1`, `Gun2`, `Gun3`, `Gun4`, `Gun5`, `Gun6`, `Gun7`, `Gun8`, `Gun9`, `Gun10`, `Gun11`, `DrugsTime`, `LawyerTime`, `LawyerFreeTime`, `MechTime`, `SexTime`, `PayDay`, `PayDayHad`, `CDPlayer`, `Dice`, `Spraycan`, `Rope`, `Cigars`, `Sprunk`, `Bombs`, `Wins`, `Loses`, `Tutorial`, `OnDuty`, `Hospital`, `Married`, `MarriedID`, `MarriedTo`, `ContractBy`, `ContractDetail`, `WantedLevel`, `Insurance`, `NewMuted`, `NewMutedTotal`, `AdMuted`, `AdMutedTotal`, `HelpMute`, `Helper`, `ReportMuted`, `ReportMutedTotal`, `ReportMutedTime`, `VIPMuted`, `VIPMutedTime`, `GiftTime`, `AdvisorDutyHours`, `AcceptedHelp`, `AcceptReport`, `ShopTechOrders`, `TrashReport`, `GangWarn`, `FactionBanned`, `CSFBanned`, `VIPInviteDay`, `TempVIP`, `BuddyInvite`, `Tokens`, `PTokens`, `TriageTime`, `PrisonedBy`, `PrisonReason`, `Flag`, `TaxiLicense`, `TicketTime`, `Screwdriver`, `Smslog`, `Wristwatch`, `Surveillance`, `Tire`, `Firstaid`, `Rccam`, `Receiver`, `GPS`, `Sweep`, `SweepLeft`, `Bugged`, `pWExists`, `pWX`, `pWY`, `pWZ`, `pWVW`, `pWInt`, `pWValue`, `pWSeeds`, `Warrants`, `JudgeJailTime`, `JudgeJailType`, `BeingSentenced`, `ProbationTime`, `DMKills`, `Order`, `OrderConfirmed`, `CallsAccepted`, `PatientsDelivered`, `LiveBanned`, `FreezeBank`, `FreezeHouse`, `FreezeCar`, `Hydration`, `DoubleEXP`, `EXPToken`, `RacePlayerLaps`, `Ringtone`, `VIPM`, `VIPMO`, `VIPExpire`, `VIPSold`, `GVip`, `Speedo`, `Firework`, `Boombox`, `DrawChance`, `GoldBoxTokens`, `RewardHours`, `DMRMuted`, `Watchdog`, `CarsRestricted`, `Flagged`, `LepPoints`, `LepSafePoints`, `LastCarWarning`, `CarWarns`, `Scripter`, `Hours`, `Paper`, `MailEnabled`, `Mailbox`, `UnreadMails`, `TreasureSkill`, `MetalDetector`, `HelpedBefore`, `Business`, `BusinessRank`, `Trickortreat`, `RHMutes`, `RHMuteTime`, `GiftCode`, `Table`, `OpiumSeeds`, `RawOpium`, `Heroin`, `Syringe`, `Skins`, `Hunger`, `HungerTimer`, `HungerDeathTimer`, `Fitness`, `Credits`, `LastCharmReceived`, `HealthCare`, `TotalCredits`, `911Muted`, `ForcePasswordChange`, `ReceivedCredits`, `Pin`, `RimMod`, `Tazer`, `Cuff`, `CarVoucher`, `ReferredBy`, `PendingRefReward`, `Refers`, `Developer`, `Famed`, `FamedMuted`, `DefendTime`, `VehicleSlot`, `PVIPVoucher`, `ToySlot`, `RFLTeam`, `RFLTeamL`, `VehVoucher`, `SVIPVoucher`, `GVIPVoucher`, `GiftVoucher`, `FallIntoFun`, `ContactSlot`, `HungerVoucher`, `Vials`, `BoughtCure`, `AdvertVoucher`, `ShopCounter`, `ShopNotice`, `SVIPExVoucher`, `GVIPExVoucher`, `VIPSellable`, `ReceivedPrize`) VALUES ('', '0', '', NULL, NULL, '', '', '', '0.0.0.0', '0.0.0.0', '0', '0', '1', '18', '0000-00-00', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '5000', '20000', '50.00000', '0.00000', '0.00000', '0', '0', '299', '0.00000', '0.00000', '0.00000', '0.00000', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '-1', '-1', '-1', '255', '-1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '-1', '-1', '-1', '1', '0', '1', '1', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '-1', 'Nobody', 'Nobody', 'None', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Nobody', 'None', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0.00000', '0.00000', '0.00000', '0', '0', '-1', '0', '', '0', '0', '0', '0', '0', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0.00000', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '-1', '-1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '50', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '', '0', '0', '0', '0', 'Nobody', '0', '0', '0', '0', '0', '0', '0', '0', '0', '-1', '-1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
__________________
Proyect GzRp, 52% Percent
LULz
andySix is offline   Reply With Quote
Old 23/01/2018, 05:00 PM   #29
Astonish
Little Clucker
 
Join Date: Aug 2017
Posts: 36
Reputation: 0
Default Re: RPUCP - Roleplay User Control Panel (Ideal for RPs)

Any one can provide any assistance on this UCP i'll pay for it
Astonish is offline   Reply With Quote
Old 11/02/2018, 09:50 AM   #30
Astonish
Little Clucker
 
Join Date: Aug 2017
Posts: 36
Reputation: 0
Default Re: RPUCP - Roleplay User Control Panel (Ideal for RPs)

I can login now but it dont show character data just a blank screen saying My Characters i would be glad if any one can help on this matter
Astonish is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
User Control Panel chrisB463 Help Archive 2 18/06/2011 08:14 PM


All times are GMT. The time now is 04:45 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.