Quick Register

Started by SMFHacks.com Team, August 21, 2006, 07:56:10 PM

Previous topic - Next topic

SMFHacks.com Team

Link to Mod
Rate this Mod

Adds a registration form to the default theme that allows a user to register without leaving the page. Only displayed to guests.


Place all bug reports and feature requests on this site:
http://www.smfhacks.com/index.php?action=modtracker
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

vbgamer45

Updated the mod to SMF 1.1 RC3 finally heh.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

HHwarriors

THANX :) but i dont know how to get 1.0.8 to 1.1RC3
So can you PLZ make it to 1.0.8 ?
www.HHWarriors.co.nr

www.HHWarriors.co.nr <<|>> Want my latest DOWNLOADS Visit my Blog <=HERE=>

vbgamer45

Quote from: HHwarriors on September 21, 2006, 02:48:09 PM
THANX :) but i dont know how to get 1.0.8 to 1.1RC3
So can you PLZ make it to 1.0.8 ?
You run the upgrade found on
http://www.simplemachines.org/download/

You will need to redo any mods that you have installed and upgrade custom to rc3 if it exists.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

HHwarriors

Quote from: vbgamer45 on September 21, 2006, 02:52:21 PM
Quote from: HHwarriors on September 21, 2006, 02:48:09 PM
THANX :) but i dont know how to get 1.0.8 to 1.1RC3
So can you PLZ make it to 1.0.8 ?
You run the upgrade found on
http://www.simplemachines.org/download/

You will need to redo any mods that you have installed and upgrade custom to rc3 if it exists.
What is the eazyest way to upgrade it ?
www.HHWarriors.co.nr

www.HHWarriors.co.nr <<|>> Want my latest DOWNLOADS Visit my Blog <=HERE=>

HHwarriors

#5
When i try to chance the code for a other skin my self its got messed up, heres a link to mod: http://www.simplemachines.org/community/index.php?topic=107552.0
Quick Register

You see what i mean when u see that image ^^

Can anyone make this code for that skin "Neon" ?`??

Heres code for Fast reg:

<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
<id>vbgamer45:QuickRegister</id>
<version>1.0</version>

<file name="$themedir/index.template.php">
<operation>
<search position="after><![CDATA[// The main content should go here.]]></search>
<add><![CDATA[
if ($context['user']['is_guest'])
{
loadLanguage('Login');
echo '
<div class="tborder">
<div class="catbg2">Quick Register</div>
<div class="windowbg" align="center">
<form action="', $scripturl, '?action=register2" method="post" name="creator" id="creator">

' . $txt[98] . '&nbsp;<input type="text" name="user" size="30" maxlength="25" />
' . $txt[69] . '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="email" size="30" /><br />
' . $txt[82] . '&nbsp;&nbsp;&nbsp;<input type="password" name="passwrd1" size="30" />
' . $txt[81] . '&nbsp;<input type="password" name="passwrd2" size="30" /><br />

<input type="checkbox" name="regagree" class="check" />I agree to Registration Agreement

<div align="center">
<input type="submit" name="regSubmit" value="', $txt[97], '" />
</div>
</form>
</div>
</div>';
}]]></add>

</operation>
</file>

</modification>


here is the Index.tempelate for Neon

<?php

// Version: 1.0; index



/* This template is, perhaps, the most important template in the theme.  It

contains the main template layer that displays the header and footer of

the forum, namely with main_above and main_below.  It also contains the

menu sub template, which appropriately displays the menu; the init sub

template, which is there to set the theme up; (init can be missing.) and

the linktree sub template, which sorts out the link tree.



The init sub template should load any data and set any hardcoded options.



The main_above sub template is what is shown above the main content, and

should contain anything that should be shown up there.



The main_below sub template, conversely, is shown after the main content.

It should probably contain the copyright statement and some other things.



The linktree sub template should display the link tree, using the data

in the $context['linktree'] variable.



The menu sub template should display all the relevant buttons the user

wants and or needs.



For more information on the templating system, please see the site at:

http://www.simplemachines.org/

*/



// Initialize the template... mainly little settings.

function template_init()

{

global $context$settings$options$txt;



/* Use images from default theme when using templates from the default theme?

if this is 'always', images from the default theme will be used.

if this is 'defaults', images from the default theme will only be used with default templates.

if this is 'never' or isn't set at all, images from the default theme will not be used. */

$settings['use_default_images'] = 'never';



/* What document type definition is being used? (for font size and other issues.)

'xhtml' for an XHTML 1.0 document type definition.

'html' for an HTML 4.01 document type definition. */

$settings['doctype'] = 'xhtml';

$settings['catch_action'] = array('sub_template' => 'action_wrap');

}

function 
template_action_wrap()

{

global $context$settings$options$scripturl$txt;

}

// The main sub template above the content.

function template_main_above()

{

global $context$settings$options$scripturl$txt$modSettings;



// Show right to left and the character set for ease of translating.

echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html'
$context['right_to_left'] ? ' dir="rtl"' '''><head>

<meta http-equiv="Content-Type" content="text/html; charset='
$context['character_set'], '" />

<meta name="description" content="'
$context['page_title'], '" />

<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />

<script language="JavaScript" type="text/javascript" src="'
$settings['default_theme_url'], '/script.js"></script>

<script language="JavaScript" type="text/javascript"><!--

var smf_theme_url = "'
$settings['theme_url'], '";

var smf_images_url = "'
$settings['images_url'], '";

// --></script>

<title>'
$context['page_title'], '</title>';



// This is here because Gecko browsers properly support white-space....

if ($context['browser']['is_gecko'])

echo '

<style type="text/css"><!--

.code

{

white-space: pre;

}

--></style>'
;



echo '

<link rel="stylesheet" type="text/css" href="'
$settings['theme_url'], '/style.css" />';



/* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)

Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.

Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big.

Standards compliance mode happens when you use xhtml... */

if ($context['browser']['needs_size_fix'])

echo '

<link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/fonts-compat.css" />';



// Show all the relative links, such as help, search, contents, and the like.

echo '

<link rel="help" href="'
$scripturl'?action=help" target="_blank" />

<link rel="search" href="' 
$scripturl '?action=search" />

<link rel="contents" href="'
$scripturl'" />';



// If we're viewing a topic, these should be the previous and next topics, respectively.

if (!empty($context['current_topic']))

echo '

<link rel="prev" href="' 
$scripturl '?action=;topic=' $context['current_topic'] . '.0;prev_next=prev" />

<link rel="next" href="' 
$scripturl '?action=;topic=' $context['current_topic'] . '.0;prev_next=next" />';



// If we're in a board, or a topic for that matter, the index will be the board's index.

if (!empty($context['current_board']))

echo '

<link rel="index" href="' 
$scripturl '?action=;board=' $context['current_board'] . '.0" />';



// We'll have to use the cookie to remember the header...

if ($context['user']['is_guest'])

$options['collapse_header'] = !empty($_COOKIE['upshrink']);



// Output any remaining HTML headers. (from mods, maybe?)

echo $context['html_headers'], '



<script language="JavaScript" type="text/javascript"><!--

var current_header = '
, empty($options['collapse_header']) ? 'false' 'true'';



function shrinkHeader(mode)

{'
;



// Guests don't have theme options!!

if ($context['user']['is_guest'])

echo '

document.cookie = "upshrink=" + (mode ? 1 : 0);'
;

else

echo '

document.getElementById("upshrinkTemp").src = "'
$scripturl'?action=jsoption;var=collapse_header;val=" + (mode ? 1 : 0) + ";sesc='$context['session_id'], ';" + (new Date().getTime());';



echo '

document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");



document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";



current_header = mode;

}

// --></script>

</head>

<body><table width="800" align="center" cellpadding="0" cellspacing="0"><tr>

<td width="17" valign="top" align="center" class="sidebar">&nbsp;</td><td width="766"><img src="'
$settings['images_url'], '/header.gif"/><br/>

<table width="100%" cellpadding="0" cellspacing="0">

<tr>

<td class="navigation" width="100%" height="30" align="left">

<table cellpadding="0" cellspacing="0">

<td height="30" class="navigationlinksmessage" onmouseover="this.className=\'navigationlinksovermessage\'" onmouseout="this.className=\'navigationlinksmessage\'"><a href="'
$scripturl'?action=pm">You have '$context['user']['unread_messages'], ' new messages</a></td>

<tr>

</tr>

</table>



</td>

<td class="navigation" width="100%" height="30" align="right" style="border-bottom: 1px solid black;">

<table cellpadding="0" cellspacing="0">

<tr>'
;

template_menu();

echo
'

</tr>

</table>



</td>

</tr>

</table>'
;



// The main content should go here.  A table is used because IE 6 just can't handle a div.

echo '

<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>

<td id="bodyarea" style="padding: 1ex 20px 2ex 20px;">



<!--user info, keystats, and news-->

<table width="100%" cellpadding="0" cellspacing="0">

<tr id="upshrinkHeader"'
, empty($options['collapse_header']) ? '' ' style="display: none;"''">

<td width="100%">

<table width="100%" cellpadding="0" cellspacing="0">

<tr>

<td width="152" height="25"><img src="'
$settings['images_url'], '/userinfotab.gif"/></td><td width="100%" height="25" style="background-image:url('$settings['images_url'], '/tabbg.gif);"></td><td width="152" height="25"><img src="'$settings['images_url'], '/keystatstab.gif"/></td>

</tr>

</table>

<div class="tborder">

<table width="100%" cellpadding="0" cellspacing="1">

<tr><td width="100%" colspan="2" style="background-image:url('
$settings['images_url'], '/smallgrad.gif);" height="5"></td></tr>

<tr>

<td width="50%" class="windowbg2" style="padding: 4px;"><span class="smalltext">'
;



// If the user is logged in, display stuff like their name, new messages, etc.

if ($context['user']['is_logged'])

{

echo '

'
$txt['hello_member'], ' <b>'$context['user']['name'], '</b>';



// Only tell them about their messages if they can read their messages!

if ($context['allow_pm'])

echo ', '$txt[152], ' <a href="'$scripturl'?action=pm">'$context['user']['messages'], ' '$context['user']['messages'] != $txt[153] : $txt[471], '</a>'$txt['newmessages4'], ' '$context['user']['unread_messages'], ' '$context['user']['unread_messages'] == $txt['newmessages0'] : $txt['newmessages1'];

echo '.';



// Is the forum in maintenance mode?

if ($context['in_maintenance'] && $context['user']['is_admin'])

echo '<br />

<b>'
$txt[616], '</b>';



// Are there any members waiting for approval?

if (!empty($context['unapproved_members']))

echo '<br />

'
$context['unapproved_members'] == $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="'$scripturl'?action=regcenter">'$context['unapproved_members'] == $txt['approve_member'] : $context['unapproved_members'] . ' ' $txt['approve_members'], '</a> '$txt['approve_members_waiting'];



// Show the total time logged in?

if (!empty($context['user']['total_time_logged_in']))

{

echo '

<br />'
$txt['totalTimeLogged1'];



// If days is just zero, don't bother to show it.

if ($context['user']['total_time_logged_in']['days'] > 0)

echo $context['user']['total_time_logged_in']['days'] . $txt['totalTimeLogged2'];



// Same with hours - only show it if it's above zero.

if ($context['user']['total_time_logged_in']['hours'] > 0)

echo $context['user']['total_time_logged_in']['hours'] . $txt['totalTimeLogged3'];



// But, let's always show minutes - Time wasted here: 0 minutes ;).

echo $context['user']['total_time_logged_in']['minutes'], $txt['totalTimeLogged4'];

}



echo '<br />

<a href="'
$scripturl'?action=unread">'$txt['unread_since_visit'], '</a><br />

<a href="'
$scripturl'?action=unreadreplies">'$txt['show_unread_replies'], '</a><br />

'
$context['current_time'];

}

// Otherwise they're a guest - so politely ask them to register or login.

else

{

echo '

'
$txt['welcome_guest'], '<br />

'
$context['current_time'], '<br />



<form action="'
$scripturl'?action=login2" method="post" style="margin: 3px 1ex 1px 0; text-align:right;">

<input type="text" name="user" size="10" /> <input type="password" name="passwrd" size="10" />

<select name="cookielength">

<option value="60">'
$txt['smf53'], '</option>

<option value="1440">'
$txt['smf47'], '</option>

<option value="10080">'
$txt['smf48'], '</option>

<option value="302400">'
$txt['smf49'], '</option>

<option value="-1" selected="selected">'
$txt['smf50'], '</option>

</select>

<input type="submit" value="'
$txt[34], '" /><br />

'
$txt['smf52'], '

</form>'
;

}





echo
'

</span>

</td><td width="50%" class="windowbg2" style="padding: 4px;"><span class="smalltext">

Our users have posted a total of

<b>'
$modSettings['totalMessages'], '</b> articles.<br/>

This forum contains 

<b>'
$modSettings['totalTopics'], '</b> topics.<br/>

We have <b>'
$modSettings['memberCount'], '</b> registered users.<br />

Please welcome <a href="'
$scripturl'?action=profile;u='$modSettings['latestMember'], '">'$modSettings['latestRealName'], '</a>, our newest member.

</span>

</td></tr></table></div>

<table width="100%" cellpadding="0" cellspacing="0" style="border-right: 2px solid black; border-left: 2px solid black; border-bottom: 1px solid black;">

<tr>

<td class="navigation" width="80%" valign="middle">

<table cellpadding="0" cellspacing="0" align="left" width="100%"><tr><td height="30" width="100%" class="navigation" style="padding-left: 6px;"><span class="smalltext"><b>News:</b> '
$context['random_news_line'], '</span></td></tr></table></td>

<td class="navigation" width="20%" valign="middle">

<table cellpadding="0" cellspacing="0" align="right" width="100%">

<tr><td height="30" width="100%" class="navigationlinksmark" onmouseover="this.className=\'navigationlinksovermark\'" onmouseout="this.className=\'navigationlinksmark\'"><a href="#">Mark All Forums Read</a></td></tr></table></td></tr></table>

<table width="100%" cellpadding="0" cellspacing="0">

<tr>

<td width="45" height="16"><img src="'
$settings['images_url'], '/tabbotleft.gif"/></td>

<td width="100%" height="16" style="background-image:url('
$settings['images_url'], '/tabbotmid.gif);"></td><td width="45" height="16"><img src="'$settings['images_url'], '/tabbotright.gif"/></td>

</tr></table></td></tr></table>



'
;

}



function 
template_main_below()

{

global $context$settings$options$scripturl$txt;



echo '</td></tr></table>';



// Show the "Powered by" and "Valid" logos, as well as the copyright.  Remember, the copyright must be somewhere!

echo '



<div id="footerarea" style="text-align: center; padding-bottom: 1ex;'
$context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' '''">

<script language="JavaScript" type="text/javascript"><!--

function smfFooterHighlight(element, value)

{

element.src = smf_images_url + "/" + (value ? "h_" : "") + element.id + ".gif";

}

// --></script>

<table cellspacing="0" cellpadding="3" border="0" align="center" width="100%">

<tr>

<td valign="middle" align="center" style="white-space: nowrap;">

'
theme_copyright(), '

</td>

</tr>

</table>'
;



// Show the load time?

if ($context['show_load_time'])

echo '

<span class="smalltext">'
$txt['smf301'], $context['load_time'], $txt['smf302'], $context['load_queries'], $txt['smf302b'], '</span>';



echo '

</div>'
;



// This is an interesting bug in Internet Explorer AND Safari.  Rather annoying, it makes overflows just not tall enough.

if ($context['browser']['is_ie'] && !$context['browser']['is_ie4'] || $context['browser']['is_mac_ie'] || $context['browser']['is_safari'])

{

// The purpose of this code is to fix the height of overflow: auto div blocks, because IE can't figure it out for itself.

echo '

<script language="JavaScript" type="text/javascript"><!--'
;



// Unfortunately, Safari does not have a "getComputedStyle" implementation yet, so we have to just do it to code...

if ($context['browser']['is_safari'])

echo '

window.addEventListener("load", smf_codeFix, false);



function smf_codeFix()

{

var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");



for (var i = 0; i < codeFix.length; i++)

{

if (codeFix[i].className == "code" && codeFix[i].offsetHeight < 20)

codeFix[i].style.height = (codeFix[i].offsetHeight + 20) + "px";

}

}'
;

else

{

echo '

var window_oldOnload = window.onload;

window.onload = smf_codeFix;



function smf_codeFix()

{

var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");



for (var i = 0; i < codeFix.length; i++)

{

if (codeFix[i].currentStyle.overflow == "auto" && (codeFix[i].currentStyle.height == "" || codeFix[i].currentStyle.height == "auto") && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0))

codeFix[i].style.height = (codeFix[i].offsetHeight + 36) + "px";

}



if (window_oldOnload)

window_oldOnload();

}'
;

}



echo '

// --></script>'
;

}



echo '

<table width="100%" cellpadding="0" cellspacing="0" style="border-right: 2px solid black; border-left: 2px solid black; border-bottom: 1px solid black;">

<tr>

<td class="navigation" width="80%" valign="middle">

<table cellpadding="0" cellspacing="0" align="left" width="100%"><tr><td height="30" width="100%" class="navigation" style="padding-left: 6px;"><span class="smalltext">'
;

// Footer menu - no more scrolling up!

 
echo '



<a href="'
$scripturl'">' $txt[103] . ' :: </a>

<a href="'
$scripturl'?action=help">' $txt[119] . ' :: </a>';

// How about the [search] button?

if ($context['allow_search'])

echo '

<a href="'
$scripturl'?action=search">' $txt[182] . ' :: </a>';



// Is the user allowed to administrate at all? ([admin])

if ($context['allow_admin'])

echo '

<a href="'
$scripturl'?action=admin">' $txt[2] . ' :: </a>';



// Edit Profile... [profile]

if ($context['allow_edit_profile'])

echo '

<a href="'
$scripturl'?action=profile">Profile :: </a>';



// The [calendar]!

if ($context['allow_calendar'])

echo '

<a href="'
$scripturl'?action=calendar">' $txt['calendar24'] . ' :: </a>';



// If the user is a guest, show [login] and [register] buttons.

if ($context['user']['is_guest'])

{

echo '

<a href="'
$scripturl'?action=login">' $txt[34] . ' :: </a>



<a href="'
$scripturl'?action=register">' $txt[97] . '</a>';

}

// Otherwise, they might want to [logout]...

else

echo '

<a href="'
$scripturl'?action=logout;sesc='$context['session_id'], '">' $txt[108] . '</a>';





echo
'

</td></tr></table></td>

<td class="navigation" width="20%" valign="middle">

<table cellpadding="0" cellspacing="0" align="right" width="100%">

<tr><td height="30" width="100%" class="navigationlinksmark" onmouseover="this.className=\'navigationlinksovermark\'" onmouseout="this.className=\'navigationlinksmark\'"><a href="http://model98.org/index.php?">Theme by Tippmaster</a></td></tr></table></td></tr></table>

</td><td width="17" class="sidebar" valign="top" align="center">&nbsp;</td></tr></table>

</body>

</html>'
;

}



// Show a linktree.  This is that thing that shows "My Community | General Category | General Discussion"..

function theme_linktree()

{

global $context$settings$options;



// Folder style or inline?  Inline has a smaller font.

echo '<span class="nav"'$settings['linktree_inline'] ? ' style="font-size: 10px;"' '''>';



// Each tree item has a URL and name.  Some may have extra_before and extra_after.

foreach ($context['linktree'] as $link_num => $tree)

{

// Show the | | |-[] Folders.

if (!$settings['linktree_inline'])

{

if ($link_num 0)

echo str_repeat('<img src="' $settings['images_url'] . '/icons/linktree_main.gif" alt="| " border="0" />'$link_num 1), '<img src="' $settings['images_url'] . '/icons/linktree_side.gif" alt="|-" border="0" />';

echo '<img src="' $settings['images_url'] . '/icons/folder_open.gif" alt="+" border="0" />&nbsp; ';

}



// Show something before the link?

if (isset($tree['extra_before']))

echo $tree['extra_before'];



// Show the link, including a URL if it should have one.

echo '<b>'$settings['linktree_link'] && isset($tree['url']) ? '<a href="' $tree['url'] . '" class="nav">' $tree['name'] . '</a>' $tree['name'], '</b>';



// Show something after the link...?

if (isset($tree['extra_after']))

echo $tree['extra_after'];



// Don't show a separator for the last one.

if ($link_num != count($context['linktree']) - 1)

echo $settings['linktree_inline'] ? ' &nbsp;|&nbsp; ' '<br />';

}



echo '</span>';

}



// Show the menu up top.  Something like [home] [help] [profile] [logout]...

function template_menu()

{

global $context$settings$options$scripturl$txt;



// Show the [home] and [help] buttons.

echo '



<td height="30" class="navigationlinkshome" onmouseover="this.className=\'navigationlinksoverhome\'" onmouseout="this.className=\'navigationlinkshome\'"><a href="'
$scripturl'">' $txt[103] . '</a></td>

<td height="30" class="navigationlinks" onmouseover="this.className=\'navigationlinksover\'" onmouseout="this.className=\'navigationlinks\'"><a href="'
$scripturl'?action=help">' $txt[119] . '</a></td>';

// How about the [search] button?

if ($context['allow_search'])

echo '

<td height="30" class="navigationlinks" onmouseover="this.className=\'navigationlinksover\'" onmouseout="this.className=\'navigationlinks\'"><a href="'
$scripturl'?action=search">' $txt[182] . '</a></td>';



// Is the user allowed to administrate at all? ([admin])

if ($context['allow_admin'])

echo '

<td height="30" class="navigationlinks" onmouseover="this.className=\'navigationlinksover\'" onmouseout="this.className=\'navigationlinks\'"><a href="'
$scripturl'?action=admin">' $txt[2] . '</a></td>';



// Edit Profile... [profile]

if ($context['allow_edit_profile'])

echo '

<td height="30" class="navigationlinks" onmouseover="this.className=\'navigationlinksover\'" onmouseout="this.className=\'navigationlinks\'"><a href="'
$scripturl'?action=profile">Profile</a></td>';



// The [calendar]!

if ($context['allow_calendar'])

echo '

<td height="30" class="navigationlinks" onmouseover="this.className=\'navigationlinksover\'" onmouseout="this.className=\'navigationlinks\'"><a href="'
$scripturl'?action=calendar">' $txt['calendar24'] . '</a></td>';



// If the user is a guest, show [login] and [register] buttons.

if ($context['user']['is_guest'])

{

echo '

<td height="30" class="navigationlinks" onmouseover="this.className=\'navigationlinksover\'" onmouseout="this.className=\'navigationlinks\'"><a href="'
$scripturl'?action=login">' $txt[34] . '</a></td>



<td height="30" class="navigationlinks" onmouseover="this.className=\'navigationlinksover\'" onmouseout="this.className=\'navigationlinks\'"><a href="'
$scripturl'?action=register">' $txt[97] . '</a></td>';

}

// Otherwise, they might want to [logout]...

else

echo '

<td height="30" class="navigationlinks" onmouseover="this.className=\'navigationlinksover\'" onmouseout="this.className=\'navigationlinks\'"><a href="'
$scripturl'?action=logout;sesc='$context['session_id'], '">' $txt[108] . '</a></td>';



// the upshrink button

echo'

<td height="30" class="navigationlinks" onmouseover="this.className=\'navigationlinksover\'" onmouseout="this.className=\'navigationlinks\'">

<a href="#" onclick="shrinkHeader(!current_header); return false;"><img id="upshrink" src="'
$settings['images_url'], '/', empty($options['collapse_header']) ? 'upshrink.gif' 'upshrink2.gif''" alt="*" title="'$txt['upshrink_description'], '" style="margin: 2px 0;" border="0" /></a><img id="upshrinkTemp" src="'$settings['images_url'], '/blank.gif" alt=""/></td>';

}



?>
www.HHWarriors.co.nr

www.HHWarriors.co.nr <<|>> Want my latest DOWNLOADS Visit my Blog <=HERE=>

krus

HI,

i have installed quick register mod in rc3 and its working fine people are able to register through it but when they click on register they get a error meesage "Please try again. If you come back to this error screen, report the error to an administrator"

Is there any way instead of this error the get direct login on forum?

Please help

ProtoMan.EXE

Hi everyone , I installed this mod and it worked fine. But most of my members told me that most of the time they viewed my site as a guests and it is really annoying for them So can you tell me how to hid it ? I can't uninstall it , it always said Template Parse Error so please tell me how to hid it ? Thank you very much  :'(

xyxis_fahim

what code do I have to add for custom theme?
thanks in advance

greyknight17

Is there a bug in this mod when installed in 1.1.3? I installed this on a clean 1.1.3 forum and it shows this error:

The letters you typed don't match the letters that were shown in the picture.

asdas2

this mod will be useful can anyone please make this mod for smf 1.1.3 please
www.chillparadise.com

for all desi people .... get everything u ever wanted.... log in to view hidden stuff.

greyknight17

What do you mean? It is already updated to work on 1.1.3 :)

vbgamer45

Currently no mod does not support CAPTCHA yet if you have it enabled on your forum.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

asdas2

i have succesfully installed this mod ... but nothing happpend ..... why .... any idea ?

www.chillparadise.com
www.chillparadise.com

for all desi people .... get everything u ever wanted.... log in to view hidden stuff.

greyknight17

Did you install it manually or through Packages? You have to install it manually because you are using a custom (dilber) theme.

asdas2

Quote from: greyknight17 on July 08, 2007, 11:24:59 PM
Did you install it manually or through Packages? You have to install it manually because you are using a custom (dilber) theme.

i installed it via package... and how would u install it manuallly?
www.chillparadise.com

for all desi people .... get everything u ever wanted.... log in to view hidden stuff.

TrueSatan


Mortal159

Has anyone had problems with registration in 1.1.3 for users with different browsers?

Im having problems with IE not being able to use the quick register. It works just fine on firefox, but IE when you fill in the form and submit it only refreshes the page.

Ideas???
www.SynisterMustang.net
www.PostNoctisTees.com
www.StreetBikeTech.com

greyknight17

I have the error mentioned here when installed on a new 1.1.3 forum.

jossanaijr

I installed Quick Register Mod and I like the idea but my forum is forbiden to less then 18 years and this mod is not working because of that (error message).
Any sugestion or option?

jossanaijr

And I also notice that I have to disable "visual verification image" or it does not work even after I had disabled age restrictions.

jossanaijr

vbgamer45
It is working but I'm having some errors:
Quoteits working fine people are able to register through it but when they click on register they get a error meesage"Please try again. If you come back to this error screen, report the error to an administrator"


Is there any way instead of this error the get direct login on forum?
Well, I had tried as a guest to register.  I receive messages as #1 This username is already in use #2 This email is already in use #3 Or the above message.  In fact I had used this username (test) before and this email before too but both are NOT in my Members list anymore (I double checked).  Even when I tried the search option they did not exist.  Well, this message appears BUT it WORKS!  When I loggon again as administrator the new user (test) is waiting for approval, bla, bla, bla.  So it is working but something is making to create those kind of errors messages and I'm affraid guest gave up to come back or keep trying to register n times.

L.G.S

Does this mod with Visual Ver.?
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


th2mods

can the creator tell us how to use this on custom themes.

Gears of war fan site/modding site ||| Get the latest halo 2 plugins
------------------------------------------------------------------------

jossanaijr

bump....bump...
creator?

th2mods


Gears of war fan site/modding site ||| Get the latest halo 2 plugins
------------------------------------------------------------------------

jossanaijr

Quote from: jossanaijr on July 12, 2007, 12:28:00 AM
I installed Quick Register Mod and I like the idea but my forum is forbiden to less then 18 years and this mod is not working because of that (error message).
Any sugestion or option?
bump
QuoteAnd I also notice that I have to disable "visual verification image" or it does not work even after I had disabled age restrictions.
bump
QuoteWell, I had tried as a guest to register.  I receive messages as #1 This username is already in use #2 This email is already in use #3 Or the above message.  In fact I had used this username (test) before and this email before too but both are NOT in my Members list anymore (I double checked).  Even when I tried the search option they did not exist.  Well, this message appears BUT it WORKS!  When I loggon again as administrator the new user (test) is waiting for approval, bla, bla, bla.  So it is working but something is making to create those kind of errors messages and I'm affraid guest gave up to come back or keep trying to register n times.
bump...

jossanaijr

bumping...... No sugestion?

vbgamer45

I would suggest to unistall the mod if it gives any problems.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

jossanaijr

Quote from: vbgamer45 on August 02, 2007, 07:50:51 PM
I would suggest to unistall the mod if it gives any problems.
Hi vbgamer45,
I would like to use it because I like the idea but I'm looking for if there is an option to use it with visual verification image and age registration setup.

vbgamer45

Not currently built into the mod would require some coding on my part and do not currently have the time to do so.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

jossanaijr


GouroB

i installed the script, loaded perfectly but getting this error


Quoteletters you typed don't match the letters that were shown in the picture.

i know this is coz of image varification i have, but cant i disable image varification for quick reg or can u enable image to show in quick reg bar ? anyways thx for the great mod :D

Loony Tune

Great idea. Another small problem is that I have installed the 'Are You Human' mod and it doesn't work with it. Uninstalled fine though.

vbgamer45

Yeah If a mod adds extra features to the main registration page the quick register mod can not pick them up.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Loony Tune

Quote from: vbgamer45 on January 06, 2008, 02:07:30 PM
Yeah If a mod adds extra features to the main registration page the quick register mod can not pick them up.

Makes sense. Great idea though

jrallen01

#36
Quote from: vbgamer45 on August 02, 2007, 07:50:51 PM
I would suggest to unistall the mod if it gives any problems.
So what is the uninstall procedure? Thank you in advance.

Never mind, I commented out the code .

vbgamer45

You should normally just uninstall using the package manager.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

jrallen01

I tried and the uninstall wouldn't run. I wonder if it's because I installed several versions ago and the forum upgraded... or perhaps another mod was applied that prevented it from uninstalling. Thanks for the reply.

pcigre

Quote from: vbgamer45 on July 08, 2007, 10:44:08 PM
Currently no mod does not support CAPTCHA yet if you have it enabled on your forum.

Any chance for this?

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

dotch

In SMF visual verification image is enabled by default. and most forums use it. After installing the mod, a message was displayed saying the mod was installed successfully. But I did not get any warning that the mod wouldn't work because visual verification image was enabled. There is also no warning in the mod's description on the mod's page. The word CAPTCHA as used here, was unknown to me.

2.5 months later I found out by coincidence the mod did not work :(

So here is the unofficial warning: This mod does NOT work as long as you do not disable visual image verification !!!

But thanks anyhow. I could have written this mod myself, but was too lazy  :D

Bigdealer

Its not working for me

My site is www.eastenderstvsoap.co.uk/forum

I installed it. Am i installing the right way? Please help!

vbgamer45

Works on default theme only. You would need to add code to custom theme.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

SN

any idea how to install this on Crips Reference theme?

on the instructions for manual install ''// The main content should go here.'' cannot be found iin the index.template.php

so i have no idea where to put the code

vbgamer45

I would probably place it after the menu call for the theme
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Smitten

Hi Vbgamer45, thanks for this mod, is great!
But i can't install it in my custom theme, so i give you my index.template to analize it.

Thanks for all!

Biology Forums

Could you please update this mod so that it includes a visual verification? :-[

Padre gremista

Here, I install the Mod with SMF emulation (version 1.1.1) and install. However, the words is not working, is not showing in theme that I use (bluecolor). How resolve this?

Thanks for help.

Obs: My SMF version is 2.0.6.
www.gremioemfoco.info - A comunidade gremista na internet.

Arantor

This mod does not state it is compatible with any of the 2.0 series.

Padre gremista

Quote from: Sir Cumber-Patcher on February 03, 2014, 05:37:26 PM
This mod does not state it is compatible with any of the 2.0 series.

Good, but, there anyone that works in SMF 2.0 series?
www.gremioemfoco.info - A comunidade gremista na internet.

Arantor

Unlikely given the changes in 2.0.

Rumpa

any idea to upgrade it SMF 2.0.9

Advertisement: