The Classifieds
This topic has moved here: Subject: Is anyone bored and know HTML
  • Subject: Is anyone bored and know HTML
Subject: Is anyone bored and know HTML

Hello.

Ahhh, h3customs.com (I wrote the code for the first ever version of that website).

Interactivity in HTML is almost impossible to the point you want it. You will need to get something written in a side server scripting language such as php combined with SQL and a MySQL database. Then you will need to think of security and filtering and flood control.

In the end I don't think what your trying to do will bring that many more people and its not worth it for the amount of work.

Edit: This is the absolute most basic thing you would be looking at for the entering of gamertags let alone the displaying of them. Then there is the admin authentication and clear button. The following works based on the fact that you have a MySQL database, the settings are configured correctly to this code and there is a table called "registrations" in it.
<?php
if(isset($_POST['name'])){ //Runs following code if the submit button is pressed
$host="host"; //The host name of your SQL database
$user="user"; //The username of your SQL database
$pass="pass"; //Password for SQL database
$dbase="database"; //Database name
$connect=mysql_connect($host,$user,$pass); //Connect Function
if (!$connect) {//If it cannot connect
mysql_close($connect); //Ends the current connection to the database.
echo "Cannot connect to the first database!"; //Display the text inside the quotes.
}else { //If it does connect however...
echo ""; //Display the text inside the quotes upon connection.
}
mysql_select_db($dbase, $connect); //Selects database
$name = htmlentities(strip_tags($_POST['name'])); //Cleans the POST data
$posting = "INSERT INTO `registrations` ( name ) VALUES ( '$name' )"; //The SQL query
mysql_query($posting, $connect); //Runs the SQL query.
}
//Below: The form for submission
?>
<h1>Register</h1><BR><form method="post">
Gamertag: <input type="text" name="name"><BR>
<input type="submit" value="Enter">
</form>
Seems a bigger hassle now doesn't it, I commented each line of PHP so you get a basic idea of whats going on. Oh and by the way, your server would need to be able to parse php for this to work.

In the end the way to attract more members and users is to offer unique content and/or experiences. Gimmicks like custom game registrations don't often work that well, an alternative would be a forum topic. That way people could chat about the games to come and have a better time.

I hope something works out for you,
Sam152

[Edited on 03.15.2008 11:16 AM PDT]

  • 03.15.2008 10:55 AM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

very interesting, you would think that simply taking what a user inputs and displaying it in a list would be eaiser then that. If its not than i might as well use my method i do know because that wont really get me anywhere anyway.

Thanks for your help

[Edited on 03.15.2008 11:22 AM PDT]

  • 03.15.2008 11:22 AM PDT

Hello.

Posted by: XSoulessReaperX
very interesting, you would think that simply taking what a user inputs and displaying it in a list would be eaiser then that. If its not than i might as well use my method i do know because that wont really get me anywhere anyway.

Thanks for your help
Storing info on a web server needs to be secure and stuff, its really not that easy to set up initially and you really have to know the languages to get it running yourself. It's a lot of trouble when a thread in a forum would work.

[Edited on 03.15.2008 11:26 AM PDT]

  • 03.15.2008 11:25 AM PDT
Subject: Is anyone bored and know HTML
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

Hey all, im currently constructing a website for my clan and one of the pages i wish to include is a custom games page. Every week we have custom games and recruting people is hard and annoying to do. So i thought i could make a quick web page that was easy to enlist in my weekly custom games from and you wouldnt have to sign up for anything at all.

However i am not that well educated in HTML and dont know what to do.

What i need:

Somthing similar to the Enlisted player section of this webpage http://h3customs.com/detail.php?id=979

I dont want people to have to sign up to my webpage in order to enlist.

It doesnt have to link to thier gamercard when they type in there gamertag. It will just show what they typed in.

All it has to do is allow a user to type, store that info in a varible and put it into a list like the site i mentioned does.

The list should allow for at least 24 people.

One last thing i need is the ablity for me, the manager of the website, to be able to easily clear the list after the custom game is over.

I take programing classes in C++ but i dont know the ins and outs of HTML so im a having a bit of trouble with this. It would we great if someone could share how i could go about doing all the things i listed or even go as far as quickly writing the code and posting it to the forum.

Is any one interested?

[Edited on 03.15.2008 10:19 AM PDT]

  • 03.15.2008 10:18 AM PDT

-Quaere verum.

Got a report? Use the report tool or send a pm.
Chairleg Productions presents: 'Console Wars' and 'Games as Art?' (also on Halo Waypoint).

Moved to The Classifieds because the Bungie Community forum is not really the place to be discussing HTML for another website. If people see this thread and are interested in helping out, they can just PM the original poster.

  • 03.15.2008 11:31 AM PDT