Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 12-29-2008, 05:03 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

STANDARD_ERROR is also a template. Did you add it in there too? (There is even a condition around the navbar template in that template - you may want to remove that.)
Reply With Quote
  #12  
Old 12-29-2008, 08:37 PM
pein87's Avatar
pein87 pein87 is offline
 
Join Date: Sep 2008
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You might wont to open the nav bar templeate and only copy what you need from it and then make a new plugin with a new template and name it $navreg and thne import that porduct and add the $navreg to it.
Reply With Quote
  #13  
Old 12-29-2008, 09:01 PM
Pcwolfx?'s Avatar
Pcwolfx? Pcwolfx? is offline
 
Join Date: Dec 2007
Location: Istanbul, Turkey
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

STANDARD_ERROR in code <if condition="$navbar">
$navbar
<else />
<br /><br /><br />
</if>

but not view

--------------- Added [DATE]1230592246[/DATE] at [TIME]1230592246[/TIME] ---------------

Quote:
Originally Posted by Lynne View Post
STANDARD_ERROR is also a template. Did you add it in there too? (There is even a condition around the navbar template in that template - you may want to remove that.)

my STANDARD_ERROR template

Code:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<if condition="$show['search_noindex']"><meta name="robots" content="noindex,follow" /></if>
$headinclude
	<title>$pagetitle</title>
$headinsert
</head>
<body>
$header
$navbar

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="70%" align="center">
<tr>
	<td class="tcat">$vbphrase[vbulletin_message]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div align="$stylevar[left]">

		<if condition="$show['permission_error']">
			<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
			<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
			<input type="hidden" name="do" value="login" />
			<input type="hidden" name="url" value="$scriptpath" />
			<input type="hidden" name="vb_login_md5password" />
			<input type="hidden" name="vb_login_md5password_utf" />
			$postvars

			<input type="hidden" name="s" value="$session[sessionhash]" />
			<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

			<!-- permission error message - user not logged in -->


			<div class="smallfont">$vbphrase[not_logged_no_permission]</div>

			<ol>
				<li class="smallfont">$vbphrase[not_logged_in_fill_in_form]</li>
				<li class="smallfont">$vbphrase[may_not_have_sufficient_privileges]</li>
				<li class="smallfont">$vbphrase[administrator_may_disabled_account]</li>
			</ol>

			<fieldset class="fieldset">
				<legend>$vbphrase[log_in]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" align="center">
				<tr>
					<td>$vbphrase[username]:<br /><input type="text" class="bginput" name="vb_login_username" size="50" accesskey="u" tabindex="1" /></td>
				</tr>
				<tr>
					<td>$vbphrase[password]:<br /><input type="password" class="bginput" name="vb_login_password" size="50" tabindex="1" /></td>
				</tr>
				<tr>
					<td>
						<span style="float:$stylevar[right]"><a href="login.php?$session[sessionurl]do=lostpw">$vbphrase[forgotten_your_password]</a></span>
						<label for="cb_cookieuser"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser" tabindex="1" />$vbphrase[remember_me]</label>
					</td>
				</tr>
				<tr>
					<td align="$stylevar[right]">
						<input type="submit" class="button" value="$vbphrase[log_in]" accesskey="s" tabindex="1" />
						<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" tabindex="1" />
					</td>
				</tr>
				</table>
			</fieldset>

			<div class="smallfont"><phrase 1="register.php?$session[sessionurl]do=signup">$vbphrase[admin_required_register]</phrase></div>
			</form>

			<!-- / permission error message - user not logged in -->
		<else />
			<!-- main error message -->


			<div style="margin: 10px">$errormessage</div>


			<!-- / main error message -->
		</if>

		</div>
	</div>
	<!--
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[go_back]" accesskey="s" onclick="history.back(1); return false" />
	</div>
	-->
	</td>
</tr>
</table>

<br />

<if condition="!$show['enableforumjump']">
<!-- forum jump -->
<table cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
	<td>$forumjump</td>
</tr>
</table>
<!-- / forum jump -->
</if>

<br />

$footer

</body>
</html>
Reply With Quote
  #14  
Old 12-30-2008, 12:10 AM
pein87's Avatar
pein87 pein87 is offline
 
Join Date: Sep 2008
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I`ll see what i can do for you with what you`ve shown here and also i`ll need to know the version your using aswell.
Reply With Quote
  #15  
Old 12-30-2008, 05:51 AM
Pcwolfx?'s Avatar
Pcwolfx? Pcwolfx? is offline
 
Join Date: Dec 2007
Location: Istanbul, Turkey
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pein87 View Post
I`ll see what i can do for you with what you`ve shown here and also i`ll need to know the version your using aswell.
myversion is 3.7.4 PL1. i realize when i come http://xxx.com/register.php?do=addmember
navbar dont view. but when register.php?do=checkdate, register.php?do=register navbar view.
Reply With Quote
  #16  
Old 12-31-2008, 11:26 AM
Digitalus Digitalus is offline
 
Join Date: Aug 2006
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What you also can do is this..

Add a new product

Hook location: register_start
PHP Code:
$navbits construct_navbits(array('' => 'Register'));
    eval(
'$navbar = "' fetch_template('navbar') . '";'); 
Add $navbar in your register template
Reply With Quote
  #17  
Old 12-31-2008, 08:02 PM
Pcwolfx?'s Avatar
Pcwolfx? Pcwolfx? is offline
 
Join Date: Dec 2007
Location: Istanbul, Turkey
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digitalus View Post
What you also can do is this..

Add a new product

Hook location: register_start
PHP Code:
$navbits construct_navbits(array('' => 'Register'));
    eval(
'$navbar = "' fetch_template('navbar') . '";'); 
Add $navbar in your register template
i try 3.7 but not done
Reply With Quote
  #18  
Old 01-01-2009, 03:23 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The navbar is intentionally disabled during registration (and errors, and logouts). Is there any specific reason why you need it?
Reply With Quote
  #19  
Old 01-01-2009, 07:58 AM
Pcwolfx?'s Avatar
Pcwolfx? Pcwolfx? is offline
 
Join Date: Dec 2007
Location: Istanbul, Turkey
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dismounted View Post
The navbar is intentionally disabled during registration (and errors, and logouts). Is there any specific reason why you need it?
i want see navbar in register all steps. register steps total 3.
register.php, register.php?do=register, register.php?do=addmember. i try this https://vborg.vbsupport.ru/showpost....17&postcount=5 and navbar see register.php, register.php?do=register but not see this step ==> register.php?do=addmember in vbulletin version 3.7.4
Reply With Quote
  #20  
Old 01-03-2009, 07:30 AM
Pcwolfx?'s Avatar
Pcwolfx? Pcwolfx? is offline
 
Join Date: Dec 2007
Location: Istanbul, Turkey
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how can i do ??
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:21 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04497 seconds
  • Memory Usage 2,269KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete