Jump to content
xisto Community

HmmZ

Members
  • Content Count

    365
  • Joined

  • Last visited

Everything posted by HmmZ

  1. Instead of directing the user to the registration page right away , you could just echo that they are not registered and then give them a link to the registration page. I am a newbie php'er, but: <?$register=$_POST['register'];$login=$_POST['login'];if($register){echo "Please register first";header("location: register.php");}else {if($login){$username=$_POST['username'];$password=$_POST['password'];$remember=$_POST['remember'];}if($remember==1){ $member_class=check_login($username, $password, true);echo "succesfully logged in, redirecting you";header("location: membersarea.php");}else { $member_class=check_login($username, $password, false);echo "The username and/or password you provided is wrong";header("location: login.php");}$logout=$_POST['logout'];if($logout){ $member_class=logout();}} Its probably completely wrong (doh!) but it was worth a shot, what i dont understand is the use of ->, is that actually php?
  2. if(!mysql_connect(what_ip?)){ ?> <img src="offline.gif"> <? } else { ?> <img src="online.gif"> <? } ?> its based on a simple code that i use to check and show if my forums are online: if(!mysql_connect(localhost, ***, ***)){?><img src="http://online.trap17.com/images/status_offline.gif" border="0" height="14"><?}else {?><img src="http://online.trap17.com/images/status_online.gif" border="0" height="14"><?}?> I dont know if it works with an ip instead of localhost tho, and im not sure if it has to select a db and pass. Also, if you want to get a whole list of members to be checked, you could use a db for it, selecting $username and $ip from the db for example: mysql_connect('localhost','db_name','db_password') or die("could not connect to db"); $username= "mysql_query('select username from table')"; $ip= "mysql_query('select ip from table')"; if($username=!$ip){ echo "username doesnt match the ip"; } else{ $connect= mysql_connect($ip);} if(!$connect){ echo "<img src=\"offline.gif\">";} else{ echo "<img src=\"online.gif\">";} something like that? im a newbie php coder so sorry if it is all wrong
  3. parental controls? There is no vulgar or any other form of inappropiate language...or anything else of that kind
  4. UPDATE! [+] -Changed font colors for news titles -Created and inserted 2 logos -Finished the screenshot gallery [-] -Working on a block for the gallery -Links section -Reviews section -Interviews section (I want to give gamer online an edge by doing interviews with game companys, if i get to reach them that is ) Additional feedback please? P.S. Ill, i dont understand your comment on the background, how is it flashy, i am not noticing it, has anyone else had this problem?
  5. I think php-code would be the solution here (not completely sure)<?php$value="";echo "<form action=\"xx\" method=\"post\">";echo "<input type=\"text\" value=$value name=\"xx\">";if($value=="examplevalue"){echo "You are not allowed to insert that name";}?>I know its not completely well written, but it globally shows how to do this(i think)
  6. also here, GOOGLE is your friend... Search term: image upload php code http://forums.xisto.com/no_longer_exists/ http://forums.xisto.com/no_longer_exists/ http://forums.xisto.com/no_longer_exists/ http://forums.xisto.com/no_longer_exists/
  7. Invisionize is a forum that offers a wide range of help, i found something but its for IPB 1.x External Login Form
  8. PHP-Tutorials are everywhere, but my recommendations go to http://www.w3schools.com/ http://www.hotscripts.com/ also offers a wide variety of tutorials and howtosPHP-Nuke skins are also crawling all over the net, making your own theme isnt that hard, the only real hard part is a forum skin, I recommend: http://www.nukemods.com/ http://forums.xisto.com/no_longer_exists/ http://forums.xisto.com/no_longer_exists/
  9. Kimiko, someone mentioned it before, go to http://forums.xisto.com/no_longer_exists/ They have a real easy to install shoutbox The code: <!-- BEGIN MYSHOUTBOX.COM CODE --><iframe src=\"http://201027.myshoutbox.com/\" width=\"152\" height=\"300\" frameborder=\"0\" allowtransparency=\"true\"></iframe><!-- END MYSHOUTBOX.COM CODE--> Explaining it:*The iframe is used to create an internal frame into your site, this enables the shoutbox to refresh occasionally *src directs to the source of the hard-coded shoutbox configuration, they host it for you *width and height lets you adjust the size of your shoutbox *frameborder lets you decide to use a border around your shoutbox or not *allowtransparency is a default setting made by myshoutbox.com, dont mind it, leave it there NOTE: Do not use that code as it refers to my shoutbox, you would get my shoutbox messages and thats not what we want. Just go to http://forums.xisto.com/no_longer_exists/ Register and follow the guides, they guide you through the whole process intensively
  10. What exactly are you wanting?Do you mean you want to have the login form of your forum somewhere else (e.g. homepage)?If so, tell me wich forum you are using
  11. Nice tutorial, but you messed it up on a point, the back of the rider went to the background too, losing the real focus on the bike+rider itself, overall great tutorial though
  12. Great tutorial, nice effect I tried it and got a nice effect and went experimenting, duplicated again (after another merge) and colorized it elseways differently, then I gave it a color halftone effect, this is what I had // image missing // it made it all less pretty tho, looked much nicer before i went experimenting
  13. Will doFinished the forum design too now!!!I think im almost done then I can finally start on the content...
  14. I have completely redesigned it again I found the theme too black, so i gave it more accents in red (just a bit ) It's not completely done yet, and please dont complain about the content because I am first doing the design before I start putting real content in it [+] Update on site [sumup]: *new design, less black more red *Shoutbox completely configured now, fits nicely into the site now *found a nice user stats script so i altered it (changed login form, content design and added pageviews) feedback please
  15. Well I have send an e-mail to the support desk of the shoutbox because I am using an external css but it doesnt seem to apply in mozilla..in ie however it works fine and is resized and done =/
  16. Ow and btw, why dont you like the forum? Ive been working my butt off to get most of the images selfmade, and red and black suited my Rakion Fansite Guess ill have to skin it over
  17. Like ive said, I just started this, as you can see in the main menu, im placing selfmade arrows to the left, so they wont touch the borders, i could adjust the padding (yes its posible) but i thought arrows would look nicer.The shoutbox is in development too, but ill rearrange it (colors will match no worries)I usually create my own websites, but I found out that its a crazy amount of work, making a selfmade news system, selfmade review system, selfmade download system, selfmade user login system. This is why I started using php-nuke, as it will be a community.(btw, why use another CMS when php-nuke has all i need and its easy to adjust. I couldnt care less wich CMS i use, as long as I can skin it the way I want)Anywayz, thanks for the feedback
  18. Please give me some feedback on the current looks of my website. Its gonna be a gaming community. Gamer Online
  19. First i was trying to get animation+rollover buttons and it worked, so im hopefully getting a positive reaction on this. What i have is an animated header: link-expired-image What i want is the last image to resize, as you can see it ends with a small logo and i want to centralize that WITHOUT resizing the particular logo to fit better in this image size. So right now i have a 280*200 image and i want the end to be 175-200*100 IS this possible? if so how?:S
  20. Well i got it to work..but it needs a whole lot of work, a html code must be inputted in the header.htmland the images for your buttons (buttons/buttons-rollover/etc..)so it takes some work but it looks nice
  21. ive been trying to create a header with menu build inside it, after making all the needed layers i went into imageready to get the buttons done, the buttons work..then i made a animation from 2 layers, but when i previewed it, it didnt show the animation, but the buttons still worked...so thats why im asking:is it possible to use buttons AND animations in 1 image?
  22. It works fine as it is Anyway..closing the php code is easier for me to use html to get tables and such done...instead of using: echo/print "<table border=\"0\" width=\"400\" etc..>"; Just works easier and it works :/
  23. Well seo-board is a free forum script and it was easy to include in the site design
  24. I have been working on a fansite for a game thats coming out soon, Rakion. And it seems that i am about done ^^ currently you can get redirected by just addressing online.trap17.com Rakion Online This is actually the first time that i was this close to finsihing a site, completely written myself (except for the forum...but I have modded it a bit ^^) Id like some feedback on the design (boxed website) and of course on anything else you can mention ^^
  25. No, IF statements open with {} and not with (). The ()is used for a detailed if statement if($session==false){ //what will happen if the statement is false }
×
×
  • 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.