Cyanide Posted September 10, 2008 Share Posted September 10, 2008 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: Quote Link to comment Share on other sites More sharing options...
Dylan Posted September 10, 2008 Share Posted September 10, 2008 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 Quote Link to comment Share on other sites More sharing options...
Cyanide Posted September 10, 2008 Author Share Posted September 10, 2008 Re: [v1] Travel to User Location button on profiles [FREE] Thanks for converting...I was going to, but I'm still doing updates on SA. Glad you like the script. Quote Link to comment Share on other sites More sharing options...
Joel Posted September 10, 2008 Share Posted September 10, 2008 Re: [v1] Travel to User Location button on profiles [FREE] Very nice Cyanide Quote Link to comment Share on other sites More sharing options...
jds137 Posted September 10, 2008 Share Posted September 10, 2008 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. Quote Link to comment Share on other sites More sharing options...
Cyanide Posted September 10, 2008 Author Share Posted September 10, 2008 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. Quote Link to comment Share on other sites More sharing options...
Isomerizer Posted September 10, 2008 Share Posted September 10, 2008 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 :? Quote Link to comment Share on other sites More sharing options...
Haunted Dawg Posted September 10, 2008 Share Posted September 10, 2008 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. Quote Link to comment Share on other sites More sharing options...
Isomerizer Posted September 10, 2008 Share Posted September 10, 2008 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? Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted September 11, 2008 Share Posted September 11, 2008 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... Quote Link to comment Share on other sites More sharing options...
dementor Posted September 11, 2008 Share Posted September 11, 2008 Re: [v1] Travel to User Location button on profiles [FREE] ? wouldnt You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. do the same thing ? Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted September 11, 2008 Share Posted September 11, 2008 Re: [v1] Travel to User Location button on profiles [FREE] maybe learn how to read code... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and maybe reply after you read posts... Quote Link to comment Share on other sites More sharing options...
dementor Posted September 11, 2008 Share Posted September 11, 2008 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 Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted September 11, 2008 Share Posted September 11, 2008 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 Quote Link to comment Share on other sites More sharing options...
dementor Posted September 11, 2008 Share Posted September 11, 2008 Re: [v1] Travel to User Location button on profiles [FREE] A post right above the reply button oh really :-P Maybe you dont see a reply button at the top of the post Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted September 11, 2008 Share Posted September 11, 2008 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 Quote Link to comment Share on other sites More sharing options...
dementor Posted September 11, 2008 Share Posted September 11, 2008 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 Quote Link to comment Share on other sites More sharing options...
dementor Posted September 11, 2008 Share Posted September 11, 2008 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 Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted September 11, 2008 Share Posted September 11, 2008 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 Quote Link to comment Share on other sites More sharing options...
dementor Posted September 11, 2008 Share Posted September 11, 2008 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: Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted September 11, 2008 Share Posted September 11, 2008 Re: [v1] Travel to User Location button on profiles [FREE] its 6:35am i have something to blame my lack of attention on... don't i actually know you... are you done with your tantrum yet... Quote Link to comment Share on other sites More sharing options...
dementor Posted September 11, 2008 Share Posted September 11, 2008 Re: [v1] Travel to User Location button on profiles [FREE] Heh my tantrum was in that one post now im just ironing out your faults :wink: Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted September 11, 2008 Share Posted September 11, 2008 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 Quote Link to comment Share on other sites More sharing options...
Cyanide Posted September 11, 2008 Author Share Posted September 11, 2008 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. Quote Link to comment Share on other sites More sharing options...
Haunted Dawg Posted September 11, 2008 Share Posted September 11, 2008 Re: [v1] Travel to User Location button on profiles [FREE] Or seperate those 2 jackasses to the war zone. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.