SunQuest
           WAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreWAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old March 31st, 2006, 10:03 AM
sadiqbaig sadiqbaig is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2005
Posts: 13 sadiqbaig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 25 m 17 sec
Reputation Power: 0
Need sum help

ORIGINAL CODE

PHP Code:
// Begin the registration process.
function Register()
{
    global 
$txt$boarddir$context$settings$modSettings$user_info$db_prefix$language;

    
// Check if the administrator has it disabled.
    
if (!empty($modSettings['registration_method']) && $modSettings['registration_method'] == 3)
        
fatal_lang_error('registration_disabled'false);

    
// If this user is an admin - redirect them to the admin registration page.
    
if (allowedTo('moderate_forum') && !$user_info['is_guest'])
        
redirectexit('action=regcenter;sa=register');
    
// You are not a guest so you are a member - and members don't get to register twice!
    
elseif (empty($user_info['is_guest']))
        
redirectexit();

    
loadLanguage('Login');
    
loadTemplate('Register');

// All the basic template information... 

Reply With Quote
  #2  
Old March 31st, 2006, 10:06 AM
sadiqbaig sadiqbaig is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2005
Posts: 13 sadiqbaig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 25 m 17 sec
Reputation Power: 0
my CODE

PHP Code:
function Register()
{
    global 
$txt$boarddir$context$settings$modSettings$user_info$db_prefix$language;

    
// Check if the administrator has it disabled.
    
if (!empty($modSettings['registration_method']) && $modSettings['registration_method'] == 3)
        
fatal_lang_error('registration_disabled'false);

    
if (
WIRELESS)
    
$context['sub_template'] = WIRELESS_PROTOCOL '_register';
    else
    {
        
loadLanguage('Login');
        
loadTemplate('Register');
        
$context['sub_template'] = 'register';
    }
    
// All the basic template information... 


but the problem is wml template opens

but web template is not opening plz help

Reply With Quote
  #3  
Old March 31st, 2006, 08:20 PM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Back in HEL
Dev Shed God 8th Plane (8500 - 8999 posts)
 
Join Date: Feb 2002
Location: Finland
Posts: 8,670 jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)  Folding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner Folder
Time spent in forums: 3 Months 3 Weeks 4 Days 6 h 10 m 50 sec
Reputation Power: 1618
Send a message via ICQ to jabba_29 Send a message via AIM to jabba_29 Send a message via MSN to jabba_29 Send a message via Yahoo to jabba_29 Send a message via Google Talk to jabba_29 Send a message via Skype to jabba_29
Facebook
Again, please use a more descriptive subject line or you will receive little or no help for this. Try to explain what you are trying to do in as much detail as possible and in the code snippets above explain what the relevant functions do (should do).

Does the original version work as expected?
__________________
Cheers,

Jamie


# skiFFie | Home of the 'accessibility module' for Drupal
# Jamie Burns [me] Accessibility Module [drupal]
# guidelines | search | wap resources | not getting help | fold to cure

# Any form of employment is strictly prohibited ......


__________________

Let the might of your compassion arise to bring a quick end
to the flowing stream of the blood and tears .....
Please hear my anguished words of truth.

__________________

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > Need sum help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway