View Single Post
  #2 (permalink)  
Old 11-07-2004, 12:31 PM
SiLvEr_SnAkE SiLvEr_SnAkE is offline
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.
__________________
Reply With Quote