How would I change the writing on the screen that says:
Quote:
You will receive a confirmation email with a link to a page you should visit to activate your account in the next 24 hours.
Notice: Account preferences are cookie based.
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
* Access to Downloads
* Access to Web Links
* Access to WebMail
* Access to Content
* Access to gallery
* Access to Bug Report
* Create your own Journal
* Read custom headlines
* some other cool stuff...
Register Now! It's Free!
We don't sell/give to others your personal info.
I know to go into lang_english.php in Your_Account folder but I couldnt find half the things up there in it (like I couldnt find "Access to gallery"), plus I dont just want to change some of the text, I want to remove some lines also.
For Example _ASREG1 reads "Post comments with your name". You can find _ASREG1 in modules/Your_Account/language/lang-english.php. If you want to change the text change it in the language file. If you want to delete the line altogether delete the line
Code:
."<li>"._ASREG1."\n"
and it disappears.
Next is the Themes part......below the code shown above, you will find.
Code:
$handle=opendir('themes');
while ($file = readdir($handle)) {
if ((!ereg("[.]",$file) AND file_exists("themes/$file/theme.php"))) {
$thmcount++;
}
}
closedir($handle);
if ($thmcount > 1) {
echo "<li>"._ASREG6."\n";
}
This counts the number of themes you have and if there are more than one, echoes _ASREG6 on the screen. Again _ASREG6 is in the language file and can be edited there. If you dont want it to appear...even though you have more than one theme, just delete that whole block of code.
Next is the "access to various modules" part.
Code:
$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 = stripslashes(check_html($row[custom_title], "nohtml"));
if ($custom_title != "") {
echo "<li>"._ACCESSTO." $custom_title\n";
}
}
This checks for Modules which are activated...but are for registered members only. It then loops thru them all and echoes Access to "the module" on the screen. Thats why you cannot find it in the language file.....the messages are created on the fly. If you dont want those access messages to appear, you can delete that whole block of code. If you want some and not others, then it is gonna need some fancy coding with if then and elses to decide which ones to display. That would go inside the while loop.
Next part is the same but for blocks.
By now...if you haven't got the drift, I would give up lol.
_________________
rawaccess Nuke Soldier
Joined: Sep 09, 2004
Posts: 23
Posted:
Thu Sep 30, 2004 10:55 pm
this should be added into the PHPHOWTO manual
toxicjason Nuke Soldier
Joined: Aug 06, 2005
Posts: 20
Location: Minneapolis, MN
Posted:
Sun Aug 07, 2005 10:30 am
I'm trying to change the registration page to include my terms of use. I have been monkeying with this for hours now and I'm definately missing something.
Is there a good resource for this? I don't know what to do at this point.
I tried adding:
.""._TERMSOFUSE."<br>\n" to the your_account/index page and...
define(“_TERMSOFUSE”, --followed by my terms of use-- to the your_account/languages/lang-english page...
when i do, the following shows up on my registration page:
_REGNEWUSER (_ALLREQUIRED)
Nickname:
_EMAIL:
Password:
_RETYPEPASSWORD:
(_BLANKFORAUTO)
Security Code:
Type Security Code:
What am I doing wrong? Is there an easier way to do this and I'm just making it more complicated?
Ideally I would like the terms of use to appear in a scrollable inline frame but couldn't get that to work either. Its find if the whole thing displays on the registration page.
Also, I want the register button to appear after the terms of use.... I'm really confused and struggling on this!!
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