Search
Left Quote    I have not failed. I've just found 10,000 ways that won't work.
- Thomas Alva Edison    
Right Quote
 
[login] | [Register]
Forum Index » PHP and mySQL » Viewing Topic and Replies
Post Reply


        Viewing Topic: Need a Tutorial
  This user is offline  Gurugeak
  Subject: "Need a Tutorial" Posted: @ 5:09 pm on Jul 31 2009   
Member #: 1007
Rank: User - (7)
Since: 07/31/09
Posts: 7

Hey im new to this website as you can see and i need some help.
I want to make a member system but i want it to be something like this:

1. i want when people register they get there own profile page with there username, email, earnings, and what not

2. I want referral links so when a member refers another member there earnings increase.

Thats pretty much it, but i have NO idea where to start or how to do this.

So can somebody please post a detailed tutorial how to do this, or if you have the files for this system or something can you give me them.

Please and thankyou


welna1432@hotma
il.com |     Viewed: 18,132 Times | Reply to This | To top
  This user is offline  bs0d
  Subject: "re: Need a Tutorial" Posted: @ 2:40 pm on Aug 01 2009    

Member #: 1
Rank: Admin. - (1,505)
Since: 02/06/05
Posts: 600
From: USA

Do you know PHP? If not, your first step will be to learn. Here are good PHP articles on this site by Jester:

  1. Introduction to PHP< /li>
  2. Simple PHP Tutorial
T hen, we do have a members system article that I put together. You can find it here: Complete Members System. It doesn't have the exact features that you mention (like referral links) but we can add that stuff easily later. This will get you a base line to work from.




-bs0d | AllSyntax.com

    Viewed: 18,123 Times | Reply to This | To top
  This user is offline  Gurugeak
  Subject: "re: Need a Tutorial" Posted: @ 4:10 pm on Aug 01 2009    
Member #: 1007
Rank: User - (7)
Since: 07/31/09
Posts: 7

Aright thanks, i could setup the member system but i would really appreciate it if you would after that help me to get what i wanted.




welna1432@hotma
il.com |     Viewed: 18,119 Times | Reply to This | To top
  This user is offline  bs0d
  Subject: "re: Need a Tutorial" Posted: @ 4:42 pm on Aug 01 2009    

Member #: 1
Rank: Admin. - (1,505)
Since: 02/06/05
Posts: 600
From: USA

I can help with any questions you have. If I can't help, usually someone else that frequents the forums may be able to help as well.




-bs0d | AllSyntax.com

    Viewed: 18,113 Times | Reply to This | To top
  This user is offline  Gurugeak
  Subject: "re: Need a Tutorial" Posted: @ 6:13 pm on Aug 01 2009    
Member #: 1007
Rank: User - (7)
Since: 07/31/09
Posts: 7

Aright thanks but all i really want is what i said above, so if you know how to do that then its all good.




welna1432@hotma
il.com |     Viewed: 18,111 Times | Reply to This | To top
  This user is offline  bs0d
  Subject: "re: Need a Tutorial" Posted: @ 10:38 pm on Aug 01 2009    

Member #: 1
Rank: Admin. - (1,505)
Since: 02/06/05
Posts: 600
From: USA

The members system tutorial shows you step by step how to create a members system for your website. Creating a profile page is easy, you just query the user data you want to show that is specific to the user from the members table. So if you pass the username or user id along in the URL of the profile page (such as: www.yoursite.co m/profile.php?u id=15) then you can use $_GET method to obtain the id, to which you will query from. Such as:

$user_id = $_GET['uid'];

Then use the $user_id variable in the WHERE condition of your SQL statements.



Edited at 10:42:35 pm on 08/01/09


-bs0d | AllSyntax.com

    Viewed: 18,108 Times | Reply to This | To top
  This user is offline  Gurugeak
  Subject: "re: Need a Tutorial" Posted: @ 12:24 am on Aug 03 2009    
Member #: 1007
Rank: User - (7)
Since: 07/31/09
Posts: 7

I love you man, your so pro - no homo lol. i have a question about the database connection. what do you put where? cause im lost on the dbserver. i tried my domain, my database user nothing works lol.

below i marked what i think is what. can you help out please? lol

<?php

$database[dbser ver]="web site.com" ; < NO IDEA WHAT THAT IS
$database[dbuse r]="user "; <DATA BASE USER
$database[dbnam e]="datab ase_1"; <DATABASE NAME
$database[dbpas s]="passw ord"; < DATA BASE PASSWORD
$table ="table1 ";

$connect = mysql_connect($ database['dbse rver'], $database['dbu ser'], $database['dbp ass']);

$select= mysql_select_db ($database['db name']);
?>




welna1432@hotma
il.com |     Viewed: 18,088 Times | Reply to This | To top
  This user is offline  bs0d
  Subject: "re: Need a Tutorial" Posted: @ 3:03 am on Aug 03 2009    

Member #: 1
Rank: Admin. - (1,505)
Since: 02/06/05
Posts: 600
From: USA

Who are you hosted by? Do you have a database setup? Website.com is the host of your database. You might need to check with your hosting company on this.

The username and password is the username and password that is used to access the database (to login).




-bs0d | AllSyntax.com

    Viewed: 18,082 Times | Reply to This | To top
  This user is offline  Gurugeak
  Subject: "re: Need a Tutorial" Posted: @ 7:49 pm on Aug 03 2009    
Member #: 1007
Rank: User - (7)
Since: 07/31/09
Posts: 7

Thanks that really did help alot, this is honestly the best and most friendly php site i have found so far.




welna1432@hotma
il.com |     Viewed: 18,069 Times | Reply to This | To top
  This user is offline  bs0d
  Subject: "re: Need a Tutorial" Posted: @ 10:07 pm on Aug 03 2009    

Member #: 1
Rank: Admin. - (1,505)
Since: 02/06/05
Posts: 600
From: USA

I appreciate it. I run the site myself, and I don't get as much time as I'd like to spend on it to add new content. But I'm glad you still found it useful.




-bs0d | AllSyntax.com

    Viewed: 18,064 Times | Reply to This | To top
  This user is offline  Gurugeak
  Subject: "re: Need a Tutorial" Posted: @ 5:33 pm on Aug 07 2009    
Member #: 1007
Rank: User - (7)
Since: 07/31/09
Posts: 7

Hey man i need help with the member system, i don't want to screw anything up any chance you can help me? and can i get your msn or something because it would be easier for me to talk to you in live chat rather than posting here everytime.




welna1432@hotma
il.com |     Viewed: 18,004 Times | Reply to This | To top
  This user is offline  bs0d
  Subject: "re: Need a Tutorial" Posted: @ 12:05 am on Aug 08 2009    

Member #: 1
Rank: Admin. - (1,505)
Since: 02/06/05
Posts: 600
From: USA

email me at my email address of my profile. I have GMail chat. I probably won't be able to help until Sunday, but you can email me your questions.




-bs0d | AllSyntax.com

    Viewed: 17,994 Times | Reply to This | To top
  This user is offline  Gurugeak
  Subject: "re: Need a Tutorial" Posted: @ 3:29 pm on Aug 09 2009    
Member #: 1007
Rank: User - (7)
Since: 07/31/09
Posts: 7

Aright cause i tried to add you to my msn using the email address on your profile lol. But yeah i'll try to email you ma questions.




welna1432@hotma
il.com |     Viewed: 17,974 Times | Reply to This | To top
Viewing Page: 1 of 1


1 |

You must be logged in to post on the forums. Login or Register








"AllSyntax.com" Copyright © 2002-2018; All rights lefted, all lefts righted.
Privacy Policy  |  Internet Rank