You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 60 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Adding a User Referral box to the Registration Page [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
narius
Nuke Cadet
Nuke Cadet


Joined: Aug 18, 2004
Posts: 2

Location: Vancouver, Canada

PostPosted: Wed Aug 18, 2004 1:13 pm Reply with quoteBack to top

Hi there,

I've been using PHP Nuke for a few months now, and I've slowly learned the ins and outs of it. However, for my next project, I'm definately going to need some help. What I want to do is add a User Referred by: text box to the Registration page, so that new members who register may choose to write the name of the member who referred them. Even better would be if I could get a drop down box of all the members, and have them select from there.

Once they've chosen the member, then I want somehow that to go to a new module, where I can get a listing of each member, and how many people they have referred. This seems to be a relatively simple script, or modification of the registration page, but due to my little (current) experience programming in PHP (I've done Java, and Python, but no PHP yet), I'm a little weary of trying this alone.

The way I have planned this is this:

- In the Registration page, I add the User Referred by and then the text box, or drop down box of members.
- When a person registers, the referred member name is stored in a new row in the user's database table
- Somehow, I can get a module page to list each member, and have a number beside their name (or the individual members) of whom they referred.

That's it! Now, if anyone out there is willing to help, or point me in the right direction that'd be greatly appreciated.

Note: I tried to find a hack/addon/module, or anything that has already been created, but couldn't find anything. Maybe I wasn't looking in the correct spot, but if this has already been done, please let me know where and by whom, and I'll get into contact with them. Thanks.

_________________
- narius "dman"
http://www.narius.net
Find all posts by nariusView user's profileSend private messageSend e-mailVisit poster's websiteMSN MessengerICQ Number
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12383


PostPosted: Wed Aug 18, 2004 1:56 pm Reply with quoteBack to top

Add Fields mod perhaps?

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
narius
Nuke Cadet
Nuke Cadet


Joined: Aug 18, 2004
Posts: 2

Location: Vancouver, Canada

PostPosted: Wed Aug 18, 2004 1:59 pm Reply with quoteBack to top

Alright, for the past 20 minutes I have been tinkering around in there. So far, all I've been able to do is add the text box. Very Happy What I was trying to do next was add a row to the nuke_user SQL, but I cannot see anywhere there to add a new row. How exaclty is that done?

I checked out the Add Fields mod, but what I need is something a little more than that. However, that is actually still quite good, and I'll be able to use that mod for something else I had in mind.

_________________
- narius "dman"
http://www.narius.net
Find all posts by nariusView user's profileSend private messageSend e-mailVisit poster's websiteMSN MessengerICQ Number
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.249 Seconds - 354 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::