Author |
Message |
djslue
Hangin' Around
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Sep 26, 2007
Posts: 34
|
Posted:
Mon Jul 07, 2008 2:29 pm |
|
Hey, I want to customize what it says when people register. This is the text that is there when people register.
The site Administrator will review your application
and send you an activation link if you are approved.
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 Shout
Access to User's Custom Box
Access to News
Access to Forums
Access to Photos
Create your own Journal
some other cool stuff...
Register Now! It's Free!
We don't sell/give to others your personal info.
How can I edit this please.
thanks
steve |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
Site Admin
![](modules/Forums/images/avatars/41f0b40a419280935f3a0.gif)
Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Mon Jul 07, 2008 4:57 pm |
|
The top part can be defined in the language file, and the "As a registered user" stuff is more complicated, since its determine by the active modules you're using.
We are considering the ability to determine whether or not the "As a registered user" stuff is displayed in the upcoming release of RNYA, but it hasn't been implemented yet.
So the question is, do you want to change / eliminate the "As a registered user" stuff? |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
djslue
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Jul 07, 2008 5:23 pm |
|
Hey man, I would like to remove this stuff in the white box, It doesn't really apply to my site and looks out of place. Is this possible ?
thanks
Steve
![Image Image](http://www.hiphophits.net/images2/untitled3.JPG) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
djslue
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Jul 07, 2008 5:24 pm |
|
Sorry, I would like to Keep
"The site Administrator will review your application
and send you an activation link if you are approved."
if possible.
thanks
steve |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
fkelly
Former Moderator in Good Standing
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY
|
Posted:
Mon Jul 07, 2008 5:37 pm |
|
You should be able to find where these messages are generated in the new_user.php program. This is in the Your_Account/public directory. In the version I am looking at there is code like this:
Code:echo ''._COOKIEWARNING.'<br />';
echo ''._ASREGUSER.'<br />';
echo '<ul>';
echo '<li>'._ASREG1.'</li>';
echo '<li>'._ASREG2.'</li>';
echo '<li>'._ASREG3.'</li>';
echo '<li>'._ASREG4.'</li>';
echo '<li>'._ASREG5.'</li>';
$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.'</li>'; }
$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 '<li>'._ACCESSTO.' '.$custom_title.'</li>'; }
}
$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 '<li>'._ACCESSTO.' '.$b_title.'</li>'; }
}
if (is_active('Journal')) { echo '<li>'._CREATEJOURNAL.'</li>'; }
if ($my_headlines == 1) { echo '<li>'._READHEADLINES.'</li>'; }
echo '<li>'._ASREG7.'</li>';
echo '</ul>';
|
If you just eliminate everything after the _ASREGUSER including the whole unordered list, it should do what you want. But obviously I haven't tried that so do it with a backup on a test system. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
djslue
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Jul 07, 2008 6:09 pm |
|
Hey, I have 3 different files,
new_user1.php
new_user2.php
new_user3.php
I did the changes you said to the "new_user1.php" file and it seems to have worked. Should I remove it from the others too ? or leave them alone ?
thanks again for all the help.
Steve |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Jul 07, 2008 6:44 pm |
|
fkelly is looking at the new version of RNYA. In the 4.4.2 version you're using, you'll need to change the one that corresponds to the type of approval you require. I believe you're using 2, but it wouldn't hurt to do the others, too. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
fkelly
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Jul 07, 2008 7:11 pm |
|
Thanks Kguske!. I was scratching my head at that question. I had seen the new_user2 and new_user3 files but wasn't sure how or why they were used. We learn a little every day in serendipitous ways. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|