Jump to content
MakeWebGames

CENilsen

Members
  • Posts

    25
  • Joined

  • Last visited

Personal Information

  • Location
    USA

CENilsen's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. The link doesnt work.....
  2. Way better design! though you don't need this:   <html> <head> <title>Bug Report</title> </head> <style> textarea { resize: none; } table { border-collapse: collapse; } </style> </html>   Also when reporting the bug you forgot to add break lines otherwise the boxes are kinda jammed.   echo '<form method="post"> <input type="text" name="Title" placeholder="Title" title="Title" spellcheck="true" required autofocus> <textarea rows="10" cols="45" name="Description" placeholder="Detailed explanation of error, page and code if possible." title="Description" spellcheck="true" required></textarea> <input type="submit" name="report" value="Report"> </form>';   Everything else works great!
  3. Well looking forward to a update :)
  4. I already did that.... but perhaps since you cant provide the images you should update the mod with removed image tags? I might work on re-designing the mod and post the code later.
  5. I was trying to work it with another script but instead i just deleted that script. Your script stand-alone works but there are some flaws:   <?php require "globals.php"; /* Designed and developed by Magictallguy and Script47, a team effort. The code here (named "Bug Report Centre") is provided "as is" with no warranty or gurantee of safety to existing code. Bug Report Centre has been fully tested and is found to work as intended. Bug Report Centre is released freely under the GNU License. Feel free to modify as you wish, as long as this comment block remains and remains untouched. */ ?><span style='font-size:2em;'>Spotted a bug?</span><br><a href="breport.php?act=add">Report it here!</a><? if($ir['user_level'] > 1) { echo ' · <a href="breport.php?act=edit"><img src="images/bugimage.png " title="Change bug status" /></a> · <a href="breport.php?act=del"><img src="/images/deletebug.png" title="Delete bugs" /></a> · '; }   So if you look at it you have images/bugimage.png and you have images/deletebug.png. Mind adding those png's? Otherwise the options don't show up.
  6. Thats what i got for the orig source.... they have a free bug report mod in the marketplace assuming that's the source your talking about. So if i take your mod as "the report center" and combine the functions with that its what i get. Because your mod alone wont function as the other files will be missing.
  7. Critical error has occurred, and page execution has stopped. Below are the details: PHP Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource (2) Thats what i get when i try to add a bug. This is breport.php   <?php include "globals.php"; if($ir['mailban']> 0) { die("you are banned from using this option for {$ir['mailban']} days."); } if($ir['user_level'] != 0) { $q=mysql_query("SELECT * FROM breport ORDER BY bugDATEPOST ASC",$c); print "<h3>Bug Reports</h3><br/> <hr width=50% /><b><font color=red>Please enter a real bug, not a false.</b><br /></font><hr width=50% /><br /> <a href='addbug.php'>[Add Your Bug]</a><br /><br /><table cellspacing=0 width=85% class=table border=1> <tr><th>ID</th><th>Bug Urgency</th><th>Bug Catagory</th><th>Bug Problem</th><th>Date Bug Added</th><th>Bug From</th><th>Bug Fixed?</th><th>Bug Message</th>"; if($ir['user_level']== 2) { print"<th>Delete</th><th>Edit</th>"; } while($r=$db->fetch_row($q)) { if($r['bugURGENCY']== 1) { $urgency="<font color=lightblue>Low</font>"; } if($r['bugURGENCY']== 2) { $urgency="<font color=green>Medium</font>"; } if($r['bugURGENCY']== 3) { $urgency="<font color=maroon>High</font>"; } if($r['bugURGENCY']== 4) { $urgency="<font color=red><b>Very High</b></font>"; } $sent=date('F j, Y, g:i:s a',$r['bugDATEPOST']); print "</tr> <tr><td>{$r['bugID']}</td><td>$urgency</td><td>{$r['bugTITLE']}</td><td>{$r['bugTEXT']}</td><td>$sent</td><td>{$r['bugBY']}</td><td><b>{$r['bugDONE']}</b></td><td>{$r['bugREADMSG']}</td>"; if($ir['user_level']== 2) { print "<td><a href='deletebug.php?bugid={$r['bugID']}'>Delete</a></td><td><a href='editbug.php?bugid={$r['bugID']}'>Edit</a></td>"; } print "</tr>"; } print "</tr></tr></table>"; } $h->endpage(); ?>
  8. Looking forward to it :)
  9. Grant this will help with the sale of your site: Post screenshots of traffic / revenue if any. Have the site up and running for previews. Screenshot of the license. Thanks
  10. add me CENilsen
  11. Mine posting the edit?
  12. You can thank my constant trial and error of all these mods it always seems like theirs a extra space somewhere or a line that doesn't need to be needed.....But yea ill try to see if i can get the ssi to work and hopefully i can post a finish product of what i use.
  13. boom that was the fix :) Lol i thought i was going crazy here
  14. Its all good i should have just posted it all to begin with. Pm sent. Also thanks for the reference!
  15. event_add($_POST['ref'], "For referring $username to the game, you have earned 2 valuable crystals!", $c); $e_rip = $db->escape($rem_IP); $db->query( "INSERT INTO `referals` VALUES(NULL, {$_POST['ref']}, $i, " . time() . ", '{$e_rip}', '$IP')"); } $link = mysql_connect("localhost", "test123", "test123"); mysql_select_db("test123", $link) or die(mysql_error()); $passwd = sha1(strtolower($username) . $_POST['password']); mysql_query("INSERT INTO test123.`smf_members` (`member_name`,`date_registered`,`real_name`,`emai l_address`,`passwd`) VALUES ('{$username}',unix_timestamp(),'{$username}','{$e mail}', '{$password}')"); mysql_close($link); echo "You have signed up, enjoy the game.<br /> > <a href='login.php'>Login</a>"; } } else {   Parse error: syntax error, unexpected T_STRING, expecting '}' in register.php on line 213 How would i go about using SSl? Thanks
×
×
  • Create New...