vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Missin Code (https://vborg.vbsupport.ru/showthread.php?t=281952)

rockerzteam 04-23-2012 04:02 PM

Missin Code
 
1 Attachment(s)
Code:

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

<div class="smallfont">You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:</div>

<ol>
<li class="smallfont">You are not logged in. Fill in the form at the bottom of this page and try again.</li>
<li class="smallfont">You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?</li>
<li class="smallfont">If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.</li>
</ol>

<fieldset class="fieldset">
<legend>Log in</legend>
<table cellpadding="0" cellspacing="3" border="0" align="center">
<tr>
<td rowspan="4"><img src="http://wwwfaithfullyexiled.com/images/misc/lock.png"></td>
<td>User Name:<br /><input type="text" class="bginput" name="vb_login_username" size="50" accesskey="u" tabindex="1" /></td>
</tr>
<tr>
<td>Password:<br /><input type="password" class="bginput" name="vb_login_password" size="50" tabindex="1" /></td>
</tr>
<tr>
<td>
<span style="float:right"><a href="login.php?do=lostpw">Forgotten Your Password?</a></span>
<label for="cb_cookieuser"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser" tabindex="1" />Remember Me?</label>
</td>
</tr>
<tr>
<td align="right">
<input type="submit" class="button" value="Log in" accesskey="s" tabindex="1" />
<input type="reset" class="button" value="Reset Fields" accesskey="r" tabindex="1" />
</td>
</tr>
</table>
</fieldset>

<div class="smallfont">The administrator may have required you to <a href="register.php?do=signup">register</a> before you can view this page.</div>
</form>

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


I am missing this after upgrading to 3.8.7 PL2 from 3.8.4

rockerzteam 04-23-2012 04:04 PM

Where do I add this code.

rockerzteam 04-23-2012 04:10 PM

1 Attachment(s)
This next attached image is what it should look like.

ForceHSS 04-23-2012 07:49 PM

is it the same on the default skin

rockerzteam 04-23-2012 10:38 PM

Quote:

Originally Posted by ForceHSS (Post 2322911)
is it the same on the default skin

Yes it is the same on the default theme as well.

ForceHSS 04-24-2012 01:37 AM

and what did you change in that template

BirdOPrey5 04-24-2012 12:44 PM

Is your Admin CP telling you any templates need to be reverted?

Boofo 04-24-2012 02:11 PM

This link seems to be wrong in the code:


rockerzteam 04-24-2012 07:56 PM

Quote:

Originally Posted by Boofo (Post 2323109)
This link seems to be wrong in the code:

That was a demo code of what needs to be added.

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

Quote:

Originally Posted by BirdOPrey5 (Post 2323094)
Is your Admin CP telling you any templates need to be reverted?

Code:

COD4
footer
Default Template Updated in vBulletin 3.8.2 by vBulletin Solutions
Your Custom Template Last Edited in vBulletin 3.7.0 by miner        [Edit Template]
[View History]
[Revert]
forumhome_forumbit_level1_nopost
Default Template Updated in vBulletin 3.8.0 Beta 2 by vBulletin Solutions
Your Custom Template Last Edited in vBulletin 3.7.0 by miner        [Edit Template]
[View History]
[Revert]
forumhome_forumbit_level1_post
Default Template Updated in vBulletin 3.8.0 Beta 2 by vBulletin Solutions
Your Custom Template Last Edited in vBulletin 3.7.0 by miner        [Edit Template]
[View History]
[Revert]
Darkness2
FORUMDISPLAY
Default Template Updated in vBulletin 3.8.5 by vBulletin Solutions
Your Custom Template Last Edited in vBulletin 3.8.1 by Sean        [Edit Template]
[View History]
[Revert]
postbit
Default Template Updated in vBulletin 3.8.7 Beta 1 by vBulletin Solutions
Your Custom Template Last Edited in vBulletin 3.8.1 by Sean        [Edit Template]
[View History]
[Revert]
postbit_legacy
Default Template Updated in vBulletin 3.8.7 Beta 1 by vBulletin Solutions
Your Custom Template Last Edited in vBulletin 3.8.1 by Sean


ForceHSS 04-24-2012 10:10 PM

Lol you need to revert them all or at least remove the skin and upload an updated one.

rockerzteam 04-25-2012 01:15 PM

Quote:

Originally Posted by ForceHSS (Post 2323224)
Lol you need to revert them all or at least remove the skin and upload an updated one.

Its not because of any theme I am using. It is also missing on the default 3.8.7 vbulletin theme as well.

BirdOPrey5 04-26-2012 10:31 AM

wait- is it just the image of the lock that is missing?

rockerzteam 04-26-2012 11:04 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2323683)
wait- is it just the image of the lock that is missing?

No. Users are not able to register from that section due to missing code. It should say the admin has required you to register here. You see its missing.

BirdOPrey5 04-26-2012 02:13 PM

That's in the STANDARD_ERROR template.

Look for this code right before the </form> line:

Code:

<div class="smallfont"><phrase 1="register.php?$session[sessionurl]do=signup">$vbphrase[admin_required_register]</phrase></div>
If it's not there, add it back.

If it is there then check your phrase manager, the phrase admin_required_register is probably blank or missing.

rockerzteam 04-26-2012 04:34 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2323749)
That's in the STANDARD_ERROR template.

Look for this code right before the </form> line:

Code:

<div class="smallfont"><phrase 1="register.php?$session[sessionurl]do=signup">$vbphrase[admin_required_register]</phrase></div>
If it's not there, add it back.

If it is there then check your phrase manager, the phrase admin_required_register is probably blank or missing.

Both are there. And nothing is blank in the phrase.

Code:

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

BirdOPrey5 04-26-2012 09:06 PM

So the English translation of the phrase is NOT blank? Because usually it would be.

rockerzteam 04-26-2012 10:04 PM

No its not. I never had this problem with 3.8.4 but with 3.8.7 alot of things seem broken.

BirdOPrey5 04-28-2012 05:55 PM

OK well if the English translation isn't blank, what is it?


All times are GMT. The time now is 12:09 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01906 seconds
  • Memory Usage 1,757KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete