
lucky3809
Members-
Posts
1,115 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
Events
Everything posted by lucky3809
-
For them to pick there own color, add a dropdown and add the colors they can pick from, or you can use css color codes then make a function for it...then add function to name.. http://makewebgames.io/showthread.php/34232-Change-Username-Color?highlight=nameFormat
-
Need part-time on demand coder for site
lucky3809 replied to realmoflegends's topic in General Discussion
like your login should have added a hover effect of those lights lol. Also it sucks you cant use gmail to register... I'm not about to create a yahoo one to check it out... Got the same error message as realmoflegends, and have never signed up or been to the game. Unless you put it that way for the time being... Demo account dont work either because you fed it. lol. -
This new version of the foums is annoying
lucky3809 replied to scorpiic venom's topic in Feedback and Site Support
yeah check your script just dont copy and paste... or you can download a browser that is compatible... -
totally agree with you!!! What I hate is when someone does NOT know anything about.... php,mysql,css,html,javascript, ect, and just copy and paste codes... You will eventually need to learn them if you plan to start a game....
-
The line selecting the field in the query ending in question is... $q=$db->query("SELECT * FROM hitman_agency WHERE h_done=0 ORDER BY h_added ASC",$c); the line associated with the error is one of these... $user1=$db->fetch_row($db->query("SELECT * FROM users WHERE userid={$r['h_from']}",$c)); $user2=$db->fetch_row($db->query("SELECT * FROM users WHERE userid={$r['h_to']}",$c)); $tr=mysql_fetch_array($db->query("SELECT * FROM users WHERE userid={$r['h_from']}",$c)); Your problem is after userid= part of the query, make sure your linking the page to the right action. also change the mysql_fetch_array to $db->fetch_row that could be the error...
-
CSS is used freely you can't copyright it... As for images yes you can copyright them, but doubt for free though... And it doesn't really work like that, you just don't run down to the police department when you see something of yours online... You first ask them to remove it, then you go to their web host and have them take down the website for infringements, if they dont remove it, then you seek a lawyer... Police has nothing to do with it...They have more serious cases to do then run around chasing people through the internet over images...
-
forum is not secured anyone can get your login and pass still or anyone's info really, you somewhat secured the cmarket, but not fully either...
-
Yeah there is a way, don't put your site on the internet =] Firefox can bypass the no right click...
-
The table name is hitman_agency as for the fields look over the script shouldnt be hard to spot them out in queries Fields.... think they are all int 11... h_id h_from h_to h_daysleft h_price h_crystals h_ done h_fails h_added CREATE TABLE IF NOT EXISTS `hitman_agency` ( `h_id` int(11) NOT NULL auto_increment, `h_from` int(11) NOT NULL default '0', `h_to` int(11) NOT NULL default '0', `h_daysleft` int(11) NOT NULL default '0', `h_price` int(11) NOT NULL default '0', `h_crystals` int(11) NOT NULL default '0', `h_ done` int(11) NOT NULL default '0', `h_ fails` int(11) NOT NULL default '0', `h_ added` int(11) NOT NULL default '0', PRIMARY KEY (`h_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-
That sucks he never paid you, I don't understand why people are like that on these game forums, but i guess that's an expectation with children, should some how make it where they need to pay first then a link is sent to their mailbox to the files after payment has went through and cleared. I never trust anyone on here,to give them codes before paying...
-
just take out the update query for the password to be changed solves that problem with people changing it.... also may want to delete the installer... never know people on the internet...
-
for each directory you add ../ YOU have : include "../core/top.php"; SHOULD be : include "/../top.php"; (guessing your core directory is in your root directory, if its not and its in another directory above the root add another ../before your php page...) you would not add core or the directory name... as for your images, you would add them as /images/pic.png a slash before the image directory... So your line : <img src=\"img/pm.png\" alt=\"pm\"/> should be : <img src="/img/pm.png" alt="pm"/>
-
<form action="#" method="post" name="contactform" id="contactform"> shouldnt the # be the link to the page that is sending the info to the database? Maybe change it to sendmail.php ? Is there such a value such as value="php/sendmail.php"?? Just sticks out those two things...
-
OMG lol open up Torn's source, and copy the jqery scripts, then copy the area in which those drag and drop is at in the source code, then take out torns names and link it with your tables in your databas, and the fields.. really simple if you know how to copy haha...
-
LOL... This is an epic fail on jacks part... As for calling Danny a dumb ass, he is one of the smartest coders on this forum, he knows his stuff... Anyhow if you don't know what your database is and how to find it in your cpanel then you shouldn't be running a game, and should be picking up mysql for dummys book... Just saying
-
If it's not updating then your if else brackets aren't in the right position in your script...Or else your query is wrong and it's not updating... but imo if it's not displaying anything its your brackets placed wrong...
-
Maybe it has something to do with your globals.php? it's not the preferences one...so got to be something that is included in header.. which is globals...
-
OMG your kidding you don't know how to link it? You already have newspaper.php in your other page that you ware clicking... just add ?action=add in your browser put http://www.yourgame.com/newspaper.php?action=add Think you should really learn php look on the net for some tuts... I dont have time to teach lol.... As for it directly showing it, it will directly go to the form if you add the ?action=add to your link...
-
You did not direct the link to the action like I said... where ever the link is you need to add... newspaper.php?action=add then it will appear... you can't just add newspaper.php that's not how you have your script.. You added actions so they need to be called... If you dont want it that way you need to recode it and make a submit page separate from the form... You currently have if($_GET['action'] == 'add') and if($_GET['action'] == 'added') which you need to add the action to your link... such as I have typed prior...
-
it is echo statement it needs to be ('.$ir['new_announcements'].')
-
Checked it... <?php include "globals.php"; if($_GET['action'] == 'add') { print "<br /> <h3>Add Advertisement ($5,000)</h3><br /> <table width='80%' border='0' cellspacing='1' class=''> <tr colspan='2'> <th><b>Newspaper:</b></th></tr> <td> <form action='newspaper.php?action=added' method='post'> <table width='100%'> <tr> <td valign=top>Title: </td> <td valign=top> <input type='text' name='npTITLE' class='textbox'> </td></tr> <tr> <td valign=top>Message: </td> <td valign=top> <textarea rows=8 cols=40 name='npBODY' class='textbox'></textarea> </td></tr> <tr> <td valign=top> </td> <td valign=top > <input class='textbox' type='submit' value='Place Ad ($5000)' /> </td> </table></form>"; } if($_GET['action'] == 'added') { if($ir['money']<5000) { print "You do not have enough money to add an ad.<br />"; exit; } print "Congratulations, you bought a an ad for \$5,000!"; $q=$db->query("SELECT * FROM newscontent LIMIT 1",$c); $ncontent=mysql_result($q,0,0); $q=$db->query("SELECT * FROM papercontent LIMIT 1",$c); $content=mysql_result($q,0,0); $q=$db->query("SELECT * FROM npaper LIMIT 10"); while($na=mysql_fetch_array($q)) { $db->query("UPDATE users SET money=money-5000 WHERE userid=$userid"); $title=str_replace(array("\n"),array("<br />"),strip_tags($_POST['npTITLE'])); $body=str_replace(array("\n"),array("<br />"),strip_tags($_POST['npBODY'])); $q=$db->query("INSERT INTO `npaper` VALUES (NULL, '$userid', '$title', '$body', unix_timestamp())"); print "Ad Added!<br /><a href='http://newspaper.php' target='_blank'>>Back</a>"; } } ?> Your link in your other page to go to this one needs to be newspaper.php?action=add Your money should not be greater it should be less than 5k... changed that for you also.
-
Didn't do nothing but added the $vars, and changed the print to echo... anyways <br /> is all over because of this forum... Dont know if i took them off in the places i dont have your css file... <?php global $db,$c,$ir, $set; $hc=$set['hospital_count']; $jc=$set['jail_count']; $ec=$ir['new_events']; $mc=$ir['new_mail']; echo ' <ul id="menu"><br /> <li><a href="index.php">Home</a></li><br /> <li><a href="explore.php">Z-1. The Trails</a></li><br /> <li><a href="bank.php">Bank</a></li><br /> <li><a href="gym.php">Gym</a></li><br /> <li><a href="criminal.php">Crimes</a></li><br /> <li><a href="mail.php">Messages(<span id="msg_count">'.$mc.'</span>)</a></li><br /> <li><a href="events.php">Events(0)</a></li><br /> <li><a href="inventory.php">Inventory</a></li><br /> <li><a href="hospital.php">Hospital[<span id="hospital">'.$hc.'</span>]</a></li><br /> <li><a href="jail.php">Jail [<span id="jail">'.$jc.'</span>]</a></li><br /> <li><a href="gangs.php">Your Gang</a></li><br /> <li><a href="forums.php">Forums</a></li><br /> <li><a href="newspaper.php">Newspaper</a></li><br /> <li><a href="search.php">Search</a></li><br /> </ul><br /> <ul id="menu"><br /> <li><a href="new_chat.php">Chat</a></li><br /> <br /> <li><a href="yourfriends.php">Your Friends</a></li><br /> <li><a href="itempedia.php">Item Guide</a></li><br /> <li><a href="donator.php">Upgrade Account</a></li><br /> <li><a href="preferences.php">Edit Account</a></li><br /> <li><a href="logout.php">Logout</a></li><br /> <br /> </ul></div><br /> <div id="menu_foot"><br /> <img src="images/header_24.jpg" alt="" /><br /><br /> </div><br /> <br /> </div><br /> </td><br /> <td> <br /> <div id="middle_divide"></div><br /> </td><br /> '; ?> anytime you add print or echo statement make sure all your quotes are the same they cant be mixed of double and single, it has to be one or the other....You had single quotes in your spans and all others were double thought you would know the basics, that's why i never mention it before... pays to learn before you code, there are many sites on the internet that offer tutorials, you may want to read about your echo and print statements as well as your IF statements...
-
Think I have helped you before your under a new name, anyways have you added the sqls to your database? Before I believe I helped you with a mod you had not added the sqls why you gotten the blank page...
-
yeah take out the accept part and have it only update the user instead of it sending a acceptance event... and its better to go through your database and set the marriage part back then test it again, then needing to make 100's of account to test it...what i do lol...