Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 93
9 members and 84 guests
bearmchdressesr, coo5ewkin4sjcpg, cycwcwlinlt2gti, ess3grdexmusica, napry4goleobg9t, pesbxbtcontr3jk, rem3noqoval4fiw, ronaldtianyiti2, vacex9ga
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > PHP-Nuke 7.x > Nuke 7.x - Modules

Reply
 
LinkBack Thread Tools Display Modes
creating a new mod and have a couple questions.
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 8
Join Date: Mar 2006
creating a new mod and have a couple questions. - 04-05-2006, 03:01 AM

I'm creating a mod that allows my users to create/register their paintball teams.

I've created a table called nuke_teams and put it in my data base. My table categories are; name, city, state, owner, website.

I've set it up to insert the date into all the categories except for owner. I'd like to make the script detect the user that is logged in and registering the team, then insert that user's username into the owners category.

I'm not sure how to do that, could someone give me a clue?

The other question I have;

I have a register.php in my module's directory. All this file does, is include an html form that lets the users register. The problem I have is that when I have the users click "submit" it goes to a white page, and says record added(true). I've tried to change the insert.php file into a module file, and if I try to access it throuh "modules.php?name=teamreg&file=insert" it says, "sorry, no such file exists".
If I try to access it through "modules/teamreg/insert.php, it tells me that I don't have access.

I'd like to get rid of the white page, and try to keep it within the module.
I thought I was do'n it right, but its not cooperating.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
A couple of questions asdfghh Nuke 6.5 to 6.9 - General 5 10-10-2004 05:10 PM
Couple of General Questions ShRapNeR Open topics 5 02-16-2003 03:52 PM
block resources and a couple newb questions Drax Purged Topics 5 01-17-2003 10:00 PM
Just a couple of simple(?) questions... zlaxzzor Purged Topics 5 11-29-2002 12:18 PM
A couple of nuke questions.. XBleed Purged Topics 1 11-26-2002 11:45 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31