PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
djslue
Hangin' Around


Joined: Sep 26, 2007
Posts: 34

PostPosted: Mon Jul 07, 2008 2:29 pm Reply with quote Back to top

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
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Mon Jul 07, 2008 4:57 pm Reply with quote Back to top

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?
View user's profile Send private message
djslue
Hangin' Around


Joined: Sep 26, 2007
Posts: 34

PostPosted: Mon Jul 07, 2008 5:23 pm Reply with quote Back to top

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
View user's profile Send private message
djslue
Hangin' Around


Joined: Sep 26, 2007
Posts: 34

PostPosted: Mon Jul 07, 2008 5:24 pm Reply with quote Back to top

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
View user's profile Send private message
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 3186
Location: near Albany NY

PostPosted: Mon Jul 07, 2008 5:37 pm Reply with quote Back to top

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.
View user's profile Send private message Visit poster's website
djslue
Hangin' Around


Joined: Sep 26, 2007
Posts: 34

PostPosted: Mon Jul 07, 2008 6:09 pm Reply with quote Back to top

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
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Mon Jul 07, 2008 6:44 pm Reply with quote Back to top

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.
View user's profile Send private message
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 3186
Location: near Albany NY

PostPosted: Mon Jul 07, 2008 7:11 pm Reply with quote Back to top

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.
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous 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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum