PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  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
christianb
Worker
Worker


Joined: Nov 24, 2004
Posts: 131
Location: Batesville, AR

PostPosted: Fri Jul 01, 2005 6:27 pm Reply with quote Back to top

posted
View user's profile Send private message Visit poster's website
CurtisH
Life Cycles Becoming CPU Cycles


Joined: Mar 15, 2004
Posts: 638
Location: West Branch, MI

PostPosted: Fri Jul 01, 2005 7:07 pm Reply with quote Back to top

Ok I modded the file for you.
View user's profile Send private message Visit poster's website Yahoo Messenger
christianb
Worker
Worker


Joined: Nov 24, 2004
Posts: 131
Location: Batesville, AR

PostPosted: Fri Jul 01, 2005 7:58 pm Reply with quote Back to top

The first part (edit user) works great.
The second part - that was changed - takes me to a white page and says "Done" lol
View user's profile Send private message Visit poster's website
CurtisH
Life Cycles Becoming CPU Cycles


Joined: Mar 15, 2004
Posts: 638
Location: West Branch, MI

PostPosted: Fri Jul 01, 2005 8:01 pm Reply with quote Back to top

Like I said, it doesn't work on some of the newer versions. Sorry. Sad
View user's profile Send private message Visit poster's website Yahoo Messenger
christianb
Worker
Worker


Joined: Nov 24, 2004
Posts: 131
Location: Batesville, AR

PostPosted: Fri Jul 01, 2005 8:10 pm Reply with quote Back to top

I've got an idea - gonna play with it.

Here's where I'm going with it:
Code:
    case "new_user":
     if (is_user($user)) {
            mmain($user);
        } else {
if ($ya_config['allowuserreg']==0) {
    if ($ya_config['coppa'] == intval(1)) {
       if($_POST['coppa_yes']!= intval(1)) {
         include("modules/$module_name/public/ya_coppa.php");
         exit;
     }
          }
     if ($ya_config['tos'] == intval(1)) {
       if($_POST['tos_yes'] != intval(1)) {
         include("modules/$module_name/public/ya_tos.php");
         exit;
     }
          }
        if ($ya_config['coppa'] !== intval(1) OR $ya_config['coppa'] == intval(1) AND $_POST['coppa_yes'] = intval(1)){
       if ($ya_config['tos'] !== intval(1) OR $ya_config['tos'] == intval(1) AND $_POST['tos_yes']=intval(1)){       
           if ($ya_config['requireadmin'] == 1) {
                    include("modules/$module_name/public/new_user1.php");
                } elseif ($ya_config['requireadmin'] == 0 AND $ya_config['useactivate'] == 0) {
                    //Header("url=forums.html&file=profile&mode=register");
               include("modules/$module_name/public/new_user2.php");
                } elseif ($ya_config['requireadmin'] == 0 AND $ya_config['useactivate'] == 1) {
               include("modules/$module_name/public/new_user3.php");
                }
             }
         }
           }else {
    disabled();   
  }
}
    break;
View user's profile Send private message Visit poster's website
christianb
Worker
Worker


Joined: Nov 24, 2004
Posts: 131
Location: Batesville, AR

PostPosted: Fri Jul 01, 2005 8:41 pm Reply with quote Back to top

I believe I fixed the issue. Instead of using the //Header (removing the //), I changed the new_user2.php to new_user3.php. All I need to do is edit a couple of lines and it is practically what I am after in the first place. Thanks for your help.
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