SRCDS Steam group


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need some input on a idea (Gaming League)
#16
Så lav det da i PHP eller begge dele Big Grin
Reply
#17
Tro ikke det vil være så smart at blande det?

Måske vil jeg bruge et forum lavet i php, også ville jeg skulle bruge noget intregration.
Men udeover det ser jeg ikke noget lavet i php.

Selv om jeg har planer om at lavet et api tidligt.
Reply
#18
Slet ingen diskussion, alt skal bare laves i PHP! Smile
Reply
#19
Speek normal peoples language Toungue (or just put in in English beneath it Toungue)
~ trewq
Reply
#20
(03-05-2010, 09:27 PM)realchamp Wrote:  Så lav det da i PHP eller begge dele Big Grin

Then make it in PHP or both parts Big Grin

(03-05-2010, 09:30 PM)Nisd Wrote:  Tro ikke det vil være så smart at blande det?

Måske vil jeg bruge et forum lavet i php, også ville jeg skulle bruge noget intregration.
Men udeover det ser jeg ikke noget lavet i php.

Selv om jeg har planer om at lavet et api tidligt.

Don't think it is a good to mix it?

I might use a forum that is made in php, for that i might need some php integration.
But except for that i do not think ill make any thing else in php.

Even-tho i got intentions on making a api soon
Reply
#21
Eh, I suppose I could learn some ASP Toungue

What is:
<?php
echo "Hello World";
?>

In ASP?
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Reply
#22
<%=
"Hello World"
%>
But if you mean that you should take a look here:
1. http://www.asp.net/get-started/ <=== For the basic
2. http://www.asp.net/learn/mvc/ <=== I use the MVC framework
Reply
#23
Just thought i will give you a progress update:

The user system is done, so you can register, see your user, see other users, and such.
Also got a news system in place.

Next thing on the list is clans, and then teams.
Reply
#24
Let me ninja your design and then I will do it in php Big Grin (edit for you)
Reply
#25
You know the idea behind master pages?

Site.Master
Code:
<%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage" %>
<%@ Import Namespace="GamingLeague.Web.Helpers" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    
        <title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>

    <link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../../Scripts/jquery-1.2.6.min.js"></script>
    <script type="text/javascript" src="../../Scripts/Site.js"></script>
</head>
<body>
    <div class="information">
        This is a Developer Site, bugs will be hiding!
    </div>
    <div id="container">
        <div id="header">
            <div id="title">
                <h1>Gaming League</h1>
            </div>
            <div id="loginmenucontainer">
                <%-- renders a login link or the username and a logout link --%>
                <%= Html.LoginLink() %>
            </div>
            <div id="menucontainer">
                <ul id="menu">
                    <%= Html.MenuItem("Home", "Index", "Home") %>
                    <%= Html.MenuItem("Users", "Index", "Users") %>
                    <%= Html.MenuItem("About Us", "About", "Home")%>
                </ul>
            </div>
        </div>
        <%-- this is used for the "ajaxified" login --%>
        <div id="ajaxlogin">
        </div>
        <div id="content">
            <asp:ContentPlaceHolder ID="MainContent" runat="server" />
        </div>
        <div id="footer">
            Gaming League &copy; Copyright 2010
        </div>
    </div>
    <script type="text/javascript">
        $(document).ready(function() {
            styleLinks();
            initLogin('<%= Url.Action("LogonPartial", "Account") %>','<%= Url.Action("Logon", "Account") %>');
        });
    </script>
</body>
</html>

Site.css
Code:
/* css reset
--------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td
{
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 11pt;
    vertical-align: baseline;
    background: transparent;
}

body
{
    line-height: 1;
}

ol, ul
{
    list-style-position: outside;
}

ol
{
    list-style-type:decimal;
}

li ol
{
    list-style-type:lower-latin;
}

ul
{
    list-style-type: square;
}

blockquote, q
{
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after
{
    content: '';
    content: none;
}

table
{
    border-collapse: collapse;
    border-spacing: 0;
}

/* standard elements
----------------------*/

body
{
    background:#222 url(/Content/bg_body.jpg) 0 0 repeat-x;
    font-family:Arial,Helvetica,sans-serif
}

h1,h2,h3,h4,h5,h6
{
    font-family: Trebuchet MS,Arial,Helvetica,sans-serif;
    margin: 1em 0 0;
}

p,blockquote,pre,q,dl,ol,ul,table
{
    margin-top:.5em;
}

h1,h2,h3,h4,h5,h6
{
    font-weight: lighter;
}

h1
{
    font-size: 2.5em;
    margin:.5em 0 0;
}

h2
{
    font-size: 1.5em;
}

h3
{
    font-size:1.3em;
}

h4
{
    font-size:1.2em;
}

h5
{
    font-size:1.1em;
}

p
{
    margin: .5em 0 0;
    text-align:justify;
}

ol ol, ul ul
{
    margin:0 0 .2em;
}

/* form elements
------------------*/

form fieldset
{
    margin:1em 0;
    padding:1em;
    border:1px solid #444;
}

form label
{
    display: block;
    float: left;
    width: 12em;
    margin-bottom:.5em;
}

form input[type=text], form input[type=password], form textarea
{
    display: block;
    margin: 0 0 .5em;
    color:#333;
    background-color:#DDD;
    border:1px solid #333;
    font-family:Arial,Helvetica,sans-serif;
    font-size:1em;
}

form textarea
{
    width: 40em;
    height:8.1em;
}

form input[type=text], form input[type=password]
{
    width: 15em;
}

form optgroup
{
    color:#F90;
    font-style:normal;
    font-size:1.1em;
    background-color:#333;
}

form option
{
    color:#333;
    background-color:#DDD;
    padding:.1em .3em;
}

form input[type=checkbox], form input[type=radio]
{
    display:block;
    clear:both;
    float:left;
    margin:.1em .5em 0 0;
    height:1em;
    width:1em;
    color:#333;
}

form input[type=checkbox]
{
    background-color:#DDD;
    border:1px solid #333;
}

form input[type=text]:focus, form input[type=password]:focus, form input[type=checkbox]:focus, form input[type=radio]:focus form textarea:focus
{
    background-color:#DB9;
    border:1px solid #F90;
}

form input[type=button], form input[type=submit], input[type=reset], form button
{
    padding:.15em;
    font-size: .9em;
}

form table input[type=text], form table input[type=password], form table textarea
{
    float:none;
    margin:0;
}

form table label
{
    width:auto;
}


/* page layout
----------------*/

#container
{
    max-width:980px;
    height:100%;
    margin:0 auto;
}

#header
{
}

#loginmenucontainer
{
    float:right;
    margin-top:1em;
    color:#999;
}

#menucontainer
{
    padding-top:.5em;
}

#content, #ajaxlogin
{
    margin-top:1em;
    padding:0 1em 1em;
    color:#BBB;
    background-color: #242424;
    border:1px solid #333;
    letter-spacing:.03em;
    line-height:130%;
}

#ajaxlogin
{
    display:none;
    padding-top:1em;
}

#footer
{
    margin: 1em 0 1em;
    color: #444;
    font-size: .8em;
    text-align: center;
}


/* header
-----------*/

#header h1
{
    margin:0;
    padding:1em;
    color:#EEF;
    background:#222 url(/Content/bg_header.jpg) 0 0 no-repeat;
    border:1px solid #333;
    border-top-width: 0;
}

/* menu
---------*/

ul#menu
{
    list-style:none;
    display:inline-block;
}

ul#menu li, #loginlink
{
    list-style:none;
    margin-right: .5em;
    padding:0 0 0 1em;
    display:inline-block;
    background: #333 url(/Content/roundcorner_topleft.png) 0 0 no-repeat;
}

ul#menu a, #loginlink a
{
    display: block;
    padding: .5em 1em .5em 0;
    color:#CCD;
    background:url(/Content/roundcorner_bottomright.png) right bottom no-repeat;
    font-weight:bold;
    text-decoration:none;
}

ul#menu li:hover, #loginlink:hover
{
    background-color:#3B3B3B;
}

ul#menu a:hover, #loginlink a:hover
{
    color:#DDE;
}

ul#menu li.selected a, #loginlink.selected a
{
    color:#F90;
}

#loginmenucontainer span
{
    font-weight: bold;
    margin-right: 1em;
}

#loginlink
{
    margin-right:0;
}

/* content
------------*/

#content a, #ajaxlogin a
{
    color:#C60;
    text-decoration:none;
}

#content a:hover, #content a:active, #content a:focus, #ajaxlogin a:hover, #ajaxlogin a:active, #ajaxlogin a:focus
{
    text-decoration:underline
}

#content a:visited
{
    color:#A40;
}

#content a.external
{
    background:url(/Content/link_external.png)  0 50% no-repeat;
    margin-left:5px;
    padding-left:13px;
}

#content a.image
{
    background:url(/Content/link_image.png) 0 50% no-repeat;
    margin-left:5px;
    padding-left:13px;
}

#content a.document
{
    background:url(/Content/link_document.png) 0 50% no-repeat;
    margin-left:5px;
    padding-left:13px;
}

#content h1,h2,h3,h4,h5,h6
{
    color:#F90;
}

#content ul, #content ol
{
    padding-left: 2em;
}

#content table
{
    border-collapse:collapse;
}

#content th
{
    background-color:#333;
    min-width:3em;
}

#content th,td
{
    padding:.2em .5em;
}

#content th
{
    border:1px solid #222;
}

#content td
{
    border:1px solid #333;
}

/* footer
-----------*/

/* ajax login
---------------*/
#ajaxlogin p
{
display:block;
position:relative;
top:0;
left:0;
width:400px;
margin-top:0;
}

#ajaxlogin form
{
display: block;
position:relative;
top:-2.5em;
left:450px;
width:450px;
margin-bottom:-2.5em;
}

#ajaxlogin input[type=checkbox]
{
margin-left:8em;
}

#ajaxlogin input[type=submit]
{
width:7em;
margin: .5em 0 0 7.5em;
}

#ajaxlogin label
{
width:7em;
}

#ajaxlogin label[for=rememberMe]
{
width:10em;
}

/* messages
-------------*/

div.information, div.error, div.success, ul.validation-summary-errors
{
    margin:1em 0;
    padding:1em;
}

div.information
{
    color:#C60;
    background-color:#FF9;
    border:1px solid #F90;
}

div.error, ul.validation-summary-errors
{
    color: #F00;
    background-color:#C99;
    border:1px solid #900;
}

div.success
{
    color: #060;
    background-color:#9C9;
    border:1px solid #060;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

/* News
-------------*/

div.NewsPost
{
    margin-top:1em;
    margin-bottom:1em;
    background-color: #242424;
    border:1px solid #333;
    letter-spacing:.03em;
    padding: 1em;
}

Screenshots
[Image: gamingleaguescreenshot.th.png]
[Image: gamingleaguescreenshot2.th.png]
Oh yah, i know there is a lot of space on the profile page, but the idea is you should be able too see the latest matches.

[Image: gamingleaguescreenshot3.th.png]
But if you really wanna help, ill just add you to the SVN, then you can edit the design on your own? As it could really use a overhaul!
Reply
#26
Looks cool. Yeah reading C#/Asp.net is easy Smile But writtin' something that works is a pain in the ass.
Reply
#27
If you wanna help with the webdesign ill put you on as Dev, and give you access to the svn, that should make it easier for you?

(There is no commitments what so ever, if you don't feel like doing any thing I wont beat you)
Just don't sell the code xD
Reply
#28
I hate working on design part, so no thanks Smile But I've enough capacity for a complete rewrite to php. (which will be that day you realize asp.net sucksBig Grin)
Reply
#29
(03-07-2010, 09:44 PM)realchamp Wrote:  I hate working on design part, so no thanks Smile But I've enough capacity for a complete rewrite to php. (which will be that day you realize asp.net sucksBig Grin)

Lol Toungue
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Reply
#30
Sounds like a very cool idea, but you will have to put a lot of time in this project
Slå den med jeres fiberforbindelser...

[Image: 1308107839.png]
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)