Jump to content
xisto Community

HmmZ

Members
  • Content Count

    365
  • Joined

  • Last visited

Everything posted by HmmZ

  1. <form target="entropychat" action="http://online.trap17.com:2084/">Nick Name: <input type="text" name="nick" value=""><input type="hidden" name="channel" value="online.trap17.com"><input type="submit" value="Enter Chat"></form> Thats the normal cgi chat code and I have a few questions concerning it: -Is it possible to change background and other colors? -Is it possible to (when click submit) to open it in the same window...completely resized to serve as a gamechat? -When I first logged in everything was fine, I modified the above code to get the players name and "force" it to use it in the chat, is it possible to end the session of a username? if so i would like to put a logout button in the chat too. Thanks in advance, easy and fast chat rocks ^^ (now just modify it o.O)
  2. No need for that...and besides..its functioning fine as it is...i wrote an e-mail to the game staff concerning the game status..hopefully i will get a good answer from them ^^
  3. forget the image part...it works..just gotta screw around with the position >.>when i set absolute: left: 0px, it shows perfect in ie, but in mozilla its screwed up
  4. No the game doesnt show their game status, and their forums are a chaos..ill try writing an e-mail to them...as for the image suggestion..it seems it doesnt work =/. Any other ideas?
  5. Damnit, I just found out that IE(6) doesnt show the images from my if statements? anyone can help me on that too? <table bgcolor="#440000" cellspacing="0" width="270" height="175" border="0" style="position: absolute; top: 0px; left: 1000px; background-image: url('http://forums.xisto.com/no_longer_exists/ align="left"><?phpif(!mysql_connect(localhost, ***, ***)){?><img src="http://forums.xisto.com/no_longer_exists/; border="0" width="176" height="1" style="position: absolute; top: 42px; left: 1000px;"><img src="http://forums.xisto.com/no_longer_exists/; border="0" style="position: absolute; top: 42px; left: 1176px;"><?}else {?><img src="http://forums.xisto.com/no_longer_exists/; border="0" width="176" height="1" style="position: absolute; top: 42px; left: 1000px;"><img src="http://forums.xisto.com/no_longer_exists/; border="0" style="position: absolute; top: 42px; left: 1176px;"><?}?></td></tr></table> ANY help would be appreciated =/ (It does show the images in Firefox...so i don't understand >.<)
  6. I'm currently making a fansite for a game thats coming out soon and im wondering how I can show the game status: Meaning..is the game down? or is the game up? I of course don't have access to their servers and I have no IP whatsoever, Im very sure they won't give out much info on their servers either, because their current game (GunBound) is getting hacked like crazy, releasing server info might cause problems for both me and Softnyx At the moment I have only the forum status (wich is pretty easy), and a n/a image on my Game Status. Is there a possibility to get their game status by contacting the game in another way? or is there a way to get it with minimum info of the gameservers? The game im talking about is Rakion My fansite is located at: online.trap17.com Thanks in advance
  7. Thanks guys, i'll try it out and btw tonic...photoshop DOES do rollovers ^^ (in imageready)
  8. I want to give Home and Forum to be actual links (i think photoshop doesnt have hotspots like dreamweaver), but also to be rollover buttons, is this more clear?
  9. I was wondering, if it's possible to give a button in an image a hyperlink property, i tried googling and couldn't find anything relevant.With slice i can give an image (apparently) a hyperlink property, but is this also possible with a rollover image?
  10. I am about to place a streaming game trailer from a game that im making a fansite for, I have the location of the streaming video from the creators site, but i need a code to place it on my webbie.besides that, If you have any advice or warnings concerning bandwidth, please let me knowThe file:256kbgame_trailer.avi_00005964056.jpgIF i would use the location, how can i adjust the size of the popup? I prefer to let it show in one specific table in my webpage(not the same table as the game trailer button), how can i direct it to show in the other table?javascript:void viewImgPop('/files/mov/20050204_Rakion_Play_Shot.avi_00005964056.jpg')thanks in advance..
  11. Nice looking forum, i havent registered yet, but i may do that soon, i dont know if you have em, but dont forget smilies, also, the login form is a bit big, lower it if you can.But it sure looks good, you got a stylesheet for it, so people can make custom skins and such?
  12. I've been watching the news of the Vatican closely lately, not because im a believer of their religion, simply out of curiosity.There was only one pope in the past that got assigned in 4 voterounds, unfortunately can't remember the name, but it's quite unique that a pope gets chosen so quickly.Imagine, Millions of people are excitingly waiting for the oldest cardinal to mention the new pope's name on the balcony, then, imagine the sound of "Habemus Papam!" going synchronized out of millions of mouth, not even the big bang could top that
  13. Ive checked all the queries numberous times but I can't find the error, also, i have a file (news.php) wich has the EXACT same code of displayNews and that one is NOT showing errors....please, could it be anything else?
  14. *BUMP*please respond? I rewrote the whole thing and i still have the error
  15. I'm truly sorry that im bugging you so much, but I am learning alot now :/. now, hopefully the last one (sorry!) Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/ridouan/public_html/News/main.php on line 15 I've been googling a bit to hope and save you the trouble, but I couldn't find anything relevant function displayNews($all=0){ global $db,$max_items; if($all==0){ $query="select id,title,newstext,"."date_format(postdate, '%Y-%m-%d') as date"."from news order by postdate desc limit $max_items";} else { $query="select id,title,newstext,"."date_format(postdate, '%Y-%m-%d') as date"."from news order by postdate desc"; } $result=mysql_query($query); while ($row=mysql_fetch_assoc($result)){ echo "<table border=\"1\" width=\"300\" align=\"center\">\n"; $date=$row['date']; $title=htmlentities($row['title']); $news=nl2br(strip_tags($row['newstext'],'<a><b><i><u>')); echo "<TR><TD><b>$title</b> posted on $date</td></tr>\n"; echo "<TR><TD>$news</td></tr>\n"; $comment_query="select count(*) from news_comments"."where news_id={$row['id']}"; $comment_result=mysql_query($comment_query); $comment_row=mysql_fetch_row($comment_result); echo "<TR><TD><a href=\"{$_server['php_self']}"."?action=show&id={$row['id']}\">Comments</a>"."($comment_row[0]}</td></tr>\n"; echo "</table>\n"; echo "<br>\n";} if($all==0){ echo "<a href=\"{$_server['php_self']}"."?action=all\">View all news</a>\n";}} I sincerely hope this is my last question for you
  16. *BUMP*why isn't anyone checking this out, it's a great and free game..
  17. Great guide, first step to your own webhosting Imperium! Now all we need is a few good dedicated server comps, t3, uhm..what else?
  18. I think I see the problem, its checking a wrong query, try the following (old code first to see where you can find it) // Fields are clear, add user to database // Setup query $q = "INSERT INTO `dbUsers` (`username`,`password`,`email`) " ."VALUES ('".$_POST["username"]."', " ."PASSWORD('".$_POST["password"]."'), " ."'".$_POST["email"]."')"; // Run query $r = mysql_query($q); // Make sure query inserted user successfully if ( !mysql_insert_id() ) { die("Error: User not added to database."); } replace if(!mysql_insert_id()) with this: if(!$r) let me know if that fixes your problem
  19. So what would be a proper way of signaling the end of it then?
  20. Yep, forgot the } one the first part, any suggestions on the second part? (main.php)
  21. There was no need in making 2 threads for this..
  22. Yea you heard it, im back but this time with something else...news, as in, displaying news I found a great guide on how to basically create a news system (the point is that i could use a CMS, but I wanna do everything myself....with help ) Anyway, back to the topic, I'm getting weird errors in a few of my files: <?phpfunction displayOneItem($id){ global $db; $query="select * from news where id=$id"; $result=mysql_query($query); if(mysql_num_rows($result)==0){ echo "<td align=\"center\">Bad news id</td>\n"; return; $row=mysql_fetch_assoc($result); echo "<table border=\"1\" width=\"300\">\n"; $title=htmlentities($row['title']); $news=nl2br(strip_tags($row['newstext'],'<a><b><i><u>')); echo "<TR><TD><b>$title</b></td></tr>\n"; echo "<TR><TD>$news</td></tr>\n"; echo "</table>\n"; echo "<br>\n"; displayComments($id);}?>with the error: Parse error: parse error, unexpected $ in /home/ridouan/public_html/News/item.php on line 26 But, according to the guide, the displayComments($id); is a necessary line???Hhelp ill make a shorter second, for the sake of clear reading >.> in my main file im getting a t_string error: Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/ridouan/public_html/News/main.php on line 64 you can find the full code here Fortunately, the other 3 files (addcomment, comment and news) are seeming to work properly (no errors when I run them), hopefully someone can help here :|
  23. check out http://www.hotscripts.com/ They got a whole bunch of tutorials AND scripts (free)
  24. I'm assuming you included a config.php or atleast a connect query? Also, (that must be me), i dont see an actualy sql query taking place, All your sql querys are inside set variables, to my noobish eye it doesn't seem to ultimately actually run one of those querys P.S. next time use , because not using it is considered hosting credit spam..
  25. I had my own private server a long while ago (using some crappy EMU, can't remember the name even anymore ) and I had my share of custom items aswell, the problem with custom items is the client side, a private server using custom items need to supply them in their patchfile, wich, if you have many items (at the end i had over 50items) could be a pain for the patch size. As long as a private server immediately brings out a small new patch (update), custom items can't go wrong, but that's the problem with most private servers, they lack organisation, meaning they also bleed to death.Running a private server is something incredibly fun, but to actually attract users, a private server needs aslot of maintainance, updates and custom stuff, I might do it one day again, but if Im gonna do it, i want to use Aegis (official RO EMU).Yep, that's me, the person with great ambition and the lack of skills
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.