» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 105
0 members and 105 guests
No Members online
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
Rimonabant
www.rimonabant-weight-loss.com
Football Betting - best nfl betting promotions at sportsbook.com.
Poker Chips - Clay and composite poker chips for home games.

Register Now! Contact Us

About this Page
This is a discussion on Edit new user registration form within the Nuke 7.x - General forums, part of the PHP-Nuke 7.x category; How do you edit the new user registration form. I can delete all but the last couple lines, wich I ...



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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-07-2004, 11:18 AM
Junior Member
 
Join Date: Oct 2004
Posts: 21
Edit new user registration form
How do you edit the new user registration form.
I can delete all but the last couple lines, wich I think is code.
I am using php-nuke v7.4
These are the lines I would like to delete.
----------------------------------
As a registered user you can:

Post comments with your name
Send news with your name
Have a personal box in the Home
Select how many news you want in the Home
Customize the comments
Select different themes
Create your own Journal
Read custom headlines
some other cool stuff...
-------------------------------------
thanks
jokerjk
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 11-07-2004, 11:31 AM
Moderator
 
Join Date: Sep 2004
Location: Notts, UK
Posts: 330
go into account.php

and find

Code:
.""._ASREGUSER."
\n"
	    ."<ul>\n"
    	    ."[*]"._ASREG1."\n"
    	    ."[*]"._ASREG2."\n"
    	    ."[*]"._ASREG3."\n"
    	    ."[*]"._ASREG4."\n"
    	    ."[*]"._ASREG5."\n";
	$handle=opendir('themes');
	    while ($file = readdir($handle)) {
	    if ((!ereg("[.]",$file) AND file_exists("themes/$file/theme.php"))) {
		$thmcount++;
	    }
	}
	closedir($handle);
    	if ($thmcount > 1) {
	    echo "[*]"._ASREG6."\n";
	}
	$sql = "SELECT custom_title FROM ".$prefix."_modules WHERE active='1' AND view='1' AND inmenu='1'";
	$result = $db->sql_query($sql);
	while ($row = $db->sql_fetchrow($result)) {
	    $custom_title = $row[custom_title];
	    if ($custom_title != "") {
		echo "[*]"._ACCESSTO." $custom_title\n";
	    }
	}
	$sql = "SELECT title FROM ".$prefix."_blocks WHERE active='1' AND view='1'";
	$result = $db->sql_query($sql);
	while ($row = $db->sql_fetchrow($result)) {
	    $b_title = $row[title];
	    if ($b_title != "") {
		echo "[*]"._ACCESSTO." $b_title\n";
	    }
	}
	if (is_active("Journal")) {
	    echo "[*]"._CREATEJOURNAL."\n";
	}
	if ($my_headlines == 1) {
	    echo "[*]"._READHEADLINES."\n";
	}
    	echo "[*]"._ASREG7."\n"
	    ."[/list]\n"
the text you want to remove is represented by _ASREG# and are all specified in the language file modules>your accout>language>lang-english.php

Code:
define("_ASREGUSER","As a registered user you can:");
define("_ASREG1","Post comments with your name");
define("_ASREG2","Send news with your name");
define("_ASREG3","Have a personal box in the Home");
define("_ASREG4","Select how many news you want in the Home");
define("_ASREG5","Customize the comments");
define("_ASREG6","Select different themes");
define("_ASREG7","some other cool stuff...");
Either remove that from my account or change what it says in the laguage file. I would be inclined to change what it says because if you remove the wrong thing everything goes whappy :P
I've never changed this before so i'm not sure what has to stay and what doesnt.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-07-2004, 02:37 PM
Junior Member
 
Join Date: Oct 2004
Posts: 21
You were right, every time I deleted the last 4 it messed everything up.
I finally deleted three and changed the text in the rest.
Thanks
jokerjk
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
New user registration problem/bug nastey Nuke 7.x - General 0 06-27-2005 11:37 PM
custom registration form Kelu Purged Topics 0 04-11-2003 11:08 PM
Point all nuke links to forum registration and edit profile mikem FAQ/Fixes 0 04-06-2003 02:51 PM
User-navbar on top in edit forumprofile? zlaxzzor Purged Topics 8 12-17-2002 11:08 AM
registration for new user newbie3000 Purged Topics 0 12-05-2002 10:57 PM


All times are GMT -5. The time now is 05:56 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