Search Players on convoytrucking.net

Started by Joshly98, July 28, 2012, 13:59

Joshly98

On convoytrucking.net, on the main page, perhaps there could be a Search Players box, where you can search for any registered player, like with the CT Toolbar for Internet browsers.

DJ_Smashon

+1 if you wanna see someones stats.
A.K.A NaftaTorque
Old ID=9149

Spekter

+1, there is no possible explanation for absence of such a feature.




Joshy

#3
I'll try adding a search box in testing and then pass the code onto Mick.

edit: done.

Code to be added at: body > div#container > div#header after the <h2> tag.

code updated: make sure the <div> is replaced with this and not inserted inside it!
Code (HTML) Select
<form method="get" action="index.php?show=search" style="float:right; margin-top:33px; padding-right:25px;"><input type="hidden" name="show" value="search"><input type="text" value="search for player..." onclick="this.value=''; this.style.color='#eee';" style="background-color:#222; border-radius:3px; border: #444 solid 1px; color:#999;" maxlength="23" name="search"></form>
[comment]test[/comment]
LAST SEEN
TOTAL TIME ON SERVER
SCORE
TRUCK LOADS
CONVOY SCORE
ACHIEVEMENTS
ARTIC
DUMPER
VAN
FUEL
CEMENT
ARRESTS
CARS STOLEN
COACH
PLANE
HELICOPTER
TOW TRUCK
LIMO
TRASH
ARMORED VAN
BURGLARIES
ARMORED VANS STOLEN
MISSIONS FAILED
OVERLOADED
FINES PAID
TOTAL SPENT ON FUEL
INTEREST EARNED
DISTANCE TRAVELLED
TIME IN JAIL
LAST MISSION
Generated using Azure Functions & CloudFlare Workers using the Convoy Trucking API. Updates every around 5 minutes. See the original SVG image. View source code (not updated with function yet)




Matias

At the end of url where it says playerid=xxxxx delete that and write playername=nickname
.__.

Vinny

Quote from: Beelzeboss on July 28, 2012, 14:21
At the end of url where it says playerid=xxxxx delete that and write playername=nickname
.__.


Thats what i do xD
I thought i was the only idiot to do so :P
Quote from: Spekter on December 13, 2016, 22:47
Quote from: Ethan on December 13, 2016, 22:31
why the fuck do you even bother breathing??
I bother breathing just so that i can tell you what a fucking moron you are, nothing more and nothing less.

$nake

Quote from: Vinny on July 28, 2012, 14:56
Quote from: Beelzeboss on July 28, 2012, 14:21
At the end of url where it says playerid=xxxxx delete that and write playername=nickname
.__.


Thats what i do xD
I thought i was the only idiot to do so :P
Or use Joshy's Search Engine :) or mine ct toolbar :D

Joshly98

Quote from: $nake on July 28, 2012, 15:04
Quote from: Vinny on July 28, 2012, 14:56
Quote from: Beelzeboss on July 28, 2012, 14:21
At the end of url where it says playerid=xxxxx delete that and write playername=nickname
.__.


Thats what i do xD
I thought i was the only idiot to do so :P
Or use Joshy's Search Engine :) or mine ct toolbar :D

What if you are not on a computer?  o.o

Vinny

Quote from: Joshly98 on July 28, 2012, 15:08

What if you are not on a computer?  o.o
:ukiddn: I am on my Samsung Wave 723, which is a pretty shitty smartphone and i can do it without problems
Quote from: Spekter on December 13, 2016, 22:47
Quote from: Ethan on December 13, 2016, 22:31
why the fuck do you even bother breathing??
I bother breathing just so that i can tell you what a fucking moron you are, nothing more and nothing less.

Joshly98

Thanks for adding this!

Topic locked.