» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 99
7 members and 92 guests
asterix53, chachiksin, FlawlessWhite, MartaVersadi, Maydenayaa, MussyPussy, ViagraBuying
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Football Betting - best nfl betting promotions at sportsbook.com.
Oral Chelation - initial cleansing of your veins & arteries

Register Now! Contact Us

About this Page
This is a discussion on creating a new mod and have a couple questions. within the Nuke 7.x - Modules forums, part of the PHP-Nuke 7.x category; I'm creating a mod that allows my users to create/register their paintball teams. I've created a table ...



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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-05-2006, 02:01 AM
Junior Member
 
Join Date: Mar 2006
Posts: 8
creating a new mod and have a couple questions.
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 04:10 PM
Couple of General Questions ShRapNeR Open topics 5 02-16-2003 02:52 PM
block resources and a couple newb questions Drax Purged Topics 5 01-17-2003 09:00 PM
Just a couple of simple(?) questions... zlaxzzor Purged Topics 5 11-29-2002 11:18 AM
A couple of nuke questions.. XBleed Purged Topics 1 11-26-2002 10:45 PM


All times are GMT -5. The time now is 02:28 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.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