Jump to content
MakeWebGames

Recommended Posts

Posted

This is just something simple I threw together because a couple of my players requested it.

Hope someone else can get some use out of it.

What it does:

Adds a link on a users profile that takes you to that users location, and redirects you back to said users profile.

Still charges a fee, and blocks users from traveling to a city above their level.

travelto.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

Add this link where ever you want on viewuser.php:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

:evil: Enjoy :evil:

Posted

Re: [v1] Travel to User Location button on profiles [FREE]

Very nice

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

I think this is converted right

edit: it works :) tested to see

Posted

Re: [v1] Travel to User Location button on profiles [FREE]

I like it, and added it to www.mobslife.net

One thing I did was added to donators only, as people wont use it, since its more expensive than the monorail. Another thing I added was you cant access from jail, or the hosp. I noticed on alot of scripts here that is missing, and if you type the script as a url, you can access it from both. And that is even when you are in either one.

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: [v1] Travel to User Location button on profiles [FREE]

You can change the fee....its really simple...I have my monorail set at $5000 lol

As for adding the donor only and cant access while in jail and hospital, nice add.

Thanks.

Posted

Re: [v1] Travel to User Location button on profiles [FREE]

Erm, I may be missing something here..

But i don't see them input variables being filtered...

This is prone to obvious xss / sql injections :?

Posted

Re: [v1] Travel to User Location button on profiles [FREE]

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

So, i just added some tabs and cleaned the code out, i took the donator only thing away. Secured the $_GET.

Posted

Re: [v1] Travel to User Location button on profiles [FREE]

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

needs to be print ' / echo '

otherwise your script's gonna error..

And $_GET['to'] is still unsecure?

Posted

Re: [v1] Travel to User Location button on profiles [FREE]

This is a waste of time but simpley add

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

but a simpler idea...

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

2 lines of code lol i mean its alot quicker than the first post now isn't it...

Posted

Re: [v1] Travel to User Location button on profiles [FREE]

Was fucking wrong with you

You like fucking arguing do you dont take that fucking tone with my you idiot

Is obious I didnt see the code above me ......

 

And why the fuck do I need to learn how to read code ........

Plunker dont be taking some tones because were on the internet I hate idiots

Posted

Re: [v1] Travel to User Location button on profiles [FREE]

i'm not actually arguing i was pointing out how you was wrong

and if you hate idiots can you explain how what you posted made no sense

im sorry if you can't read a post that is right above the reply button...

don't*

obviously*

me*

didn't*

 

NOTE: i suggest editing your post and removing the cuss words before this post along with many others is moved into the war zone

Posted

Re: [v1] Travel to User Location button on profiles [FREE]

 

Was fucking wrong with you

You like fucking arguing do you dont take that fucking tone with my you idiot

Is obious I didnt see the code above me ......

 

And why the fuck do I need to learn how to read code ........

Plunker dont be taking some tones because were on the internet I hate idiots

i'm not actually arguing i was pointing out how you was wrong

and if you hate idiots can you example how what you posted made no sense

im sorry if you can't read a post that is right above the reply button...

don't*

obviously*

me*

didn't*

 

NOTE: i suggest editing your post and removing the cuss words before this post along with many others is moved into the war zone

Are you seriously just adding ' ....

You definitely went hard fishing for mistakes lol

Posted

Re: [v1] Travel to User Location button on profiles [FREE]

 

im going to edit my post cause i don't like cuss words in my posts

Yes because this will end world hunger or the world wont end because you edited your post come on man now your acting like some bitch :-D

Posted

Re: [v1] Travel to User Location button on profiles [FREE]

no i have been in several fights on here and i don't want to be seen has the starter of another but

keep in mine the following

i've never lost one...

if you use the top reply button then maybe you should read posts before replying

and finally

make sure your code works because the one you posted would have let people travel to the same place they are at... bit stupid don't you think..

monorail didn't originally have a stop users from traveling to same location code in it :-D

Posted

Re: [v1] Travel to User Location button on profiles [FREE]

Thats why the link only appears if there not in the same city

come on man jeeez lets just not argue because my code works fine 8-) :mrgreen: :wink:

Posted

Re: [v1] Travel to User Location button on profiles [FREE]

Back on topic:

good mod but worthless when the code i post (first) would work with less complication

off topic:

everyone has faults but not many can admit it

Posted

Re: [v1] Travel to User Location button on profiles [FREE]

Ok, I posted something to be nice, and all that came from it is alot of criticism and 2 kids fighting.....admin or mod please delete thread.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...