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, 64 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 - How to turn this into full going module with .... OR EDIT... [ ]
 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
ug
Corporal
Corporal


Joined: May 16, 2003
Posts: 69


PostPosted: Sun May 25, 2003 10:33 am Reply with quoteBack to top

Ok here i have a script ...................

Quote:
<?php


// Profiles form
// This Profile submission form and system is written and copyrighted for UKSkate.com by Dave Anderson - UGSkate.com web development - Form use for PHP Nuke v6.5
// E-Mail Dave@ugskate.com

if (!eregi("modules.php", $PHP_SELF)) {
die ("Non puoi accedere a questo file direttamente...");
}

require_once("mainfile.php");

$module_name = basename(dirname(__FILE__));

get_lang($module_name);



global $prefix, $db, $cookie, $user, $module_name, $dbi, $user_prefix;

include ("header.php");

title("Submit Your Profile");

OpenTable();



echo "<center>NO Lies !</center>"

."<i></i><br>"

."<form ENCTYPE=\"multipart/form-data\" action=\"modules.php?mop=modload&name=Profiles&file=Submit\" method=\"post\">"

."Your Name: <input type=\"text\" name=\"name\" size=\"40\" maxlength=\"100\"><br>"

."Age: <input type=\"text\" name=\"age\" size=\"40\" maxlegnth=\"3\"></textarea><br><br>"

."E-Mail: <input type=\"text\" name=\"email\" size=\"30\" maxlength=\"60\"><br>"

."Website(s) ?: <input type=\"text\" name=\"website\" size=\"30\" maxlength=\"60\" value=\"http://\"><br>"

."Location: <input type=\"text\" name=\"location\" size=\"11\" maxlength=\"30\"><br>"

."Preferance: <input type=\"text\" name=\"preferance\" size=\"50\" maxlength=\"5\" value=\"Street/Park\"><br>"

."Current Setup: <br><textarea name=\"currentsetup\" cols=\"40\" rows=\"4\"></textarea><br><br>"

."Wanted Setup: <br><textarea name=\"wantedsetup\" cols=\"40\" rows=\"4\"></textarea><br><br>"

."Fav UK Skater(s): <input type=\"text\" name=\"favukskater\" size=\"30\" maxlength=\"60\"><br>"

."Fav int Skater(s): <input type=\"text\" name=\"favintskater\" size=\"30\" maxlength=\"60\"><br>"

."Fav Video: <input type=\"text\" name=\"favvideo\" size=\"11\" maxlength=\"10\"><br>"

."Vid of you: <input type=\"text\" name=\"video\" size=\"50\" maxlength=\"200\" value=\"http://\"><br><br>"

."Fav Song: <input type=\"text\" name=\"favsong\" size=\"11\" maxlength=\"10\"><br>"

."Everything Else: <br><textarea name=\"allelse\" cols=\"40\" rows=\"4\"></textarea><br><br>"

."Photo: <input name=\"userphoto\" type=\"file\" size=\"30\"><br><br>\n";

."<input type=\"submit\" name=\"Send\" value=\""._SEND."\">\n"

."</form><br>\n";


}

}
CloseTable();

include ("footer.php");

?>



Now ! the tricky part [for me anyways Wink] how can i make this submission page into a module that will be called Profiles, and when the user enters the module there will be a link to the baove script to submit a profile etc and there will be a list off all teh peoples name who have already submitted, so i need to know how to make teh page view the eavery persons name and also link it to a page that shows all teh fields and the answers like, Name : fwfewtew
age : y347
etc etc

and give the admin the ability to delete peoples profiles. and the bit i find teh hardenst is making teh above script submit the info to teh database so that the other pages can retrieve teh info Sad , now i dont have a clue on any of it, all i have is teh above script to submit Sad, i have looked at variouse other scripts in order to build that , .. also when i try to view that script i get , unexpected "." on line 66 .......


Help would be highly appreciated !, or is there any modules out there that do the same basically ? and i could just change the names of fields etc....

...or also ive been thinking if i could edit teh user registration, well the profile section of teh forums to add the above fields i could just have a link called profiles going to my Members list pages, how could i ad these fields? is it as simple as just adding them ???, i actually think that would be a better idea.....

im open for suggestions...

Thank you

Dave.


arghhh f*** thats getting annoying ... ALL THE "TEH"s = The ! lmao i type too sketchy Laughing
Find all posts by ugView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Sun May 25, 2003 12:09 pm Reply with quoteBack to top

You will need PHP, SQL, and Nuke experience to do this. If you don't have the experience, then hire someone to do it.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
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.258 Seconds - 237 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::