vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=242)
-   -   [HOW TO - vB4] Create your own vBulletin page (https://vborg.vbsupport.ru/showthread.php?t=228112)

ngphuc2k 07-18-2011 06:23 PM

Thanks you very much

dej 07-19-2011 10:28 PM

After searching this thread for keyword: navbar - I found I'm having the same issue as this person:
https://vborg.vbsupport.ru/showpost....&postcount=585

The directions are excellent - I've encountered no errors.

But, I must be doing something wrong, because I can't get the page to appear in the navbar :confused:

I can pull it up -directly- just fine, by typing www.mydomain.com/test.php

Any help appreciated.

Thank you

Lynne 07-20-2011 01:55 AM

Quote:

Originally Posted by dej (Post 2222624)
After searching this thread for keyword: navbar - I found I'm having the same issue as this person:
https://vborg.vbsupport.ru/showpost....&postcount=585

The directions are excellent - I've encountered no errors.

But, I must be doing something wrong, because I can't get the page to appear in the navbar :confused:

I can pull it up -directly- just fine, by typing www.mydomain.com/test.php

Any help appreciated.

Thank you

This article does not create a page that has it's own navtab. You need to add that separately.

MyLibary 07-27-2011 02:50 PM

how do i close this page for only registered members?

Please help me.

Kind regard,
Marco.

HMBeaty 07-27-2011 02:56 PM

Quote:

Originally Posted by MyLibary (Post 2225615)
how do i close this page for only registered members?

Please help me.

Kind regard,
Marco.

Add this to your php file:
PHP Code:

if (!$vbulletin->userinfo['userid'])
{
    
print_no_permission();



MyLibary 07-27-2011 02:57 PM

Quote:

Originally Posted by HMBeaty (Post 2225619)
Add this to your php file:
PHP Code:

if (!$vbulletin->userinfo['userid'])
{
    
print_no_permission();



Where to put it?
I mean exactly place in the php page.

HMBeaty 07-27-2011 03:00 PM

Quote:

Originally Posted by MyLibary (Post 2225620)
Where to put it?

After:
PHP Code:

// #######################################################################
// ######################## START MAIN SCRIPT ############################
// ####################################################################### 


MyLibary 07-27-2011 03:05 PM

Thanks alot my dear friend :)

ilanyon 07-30-2011 07:10 AM

1 Attachment(s)
Hi all,
Great guide and created a number of pages for my site... However, when using IE8 there appears to be a problem with the navbar, but only for the pages that I have created using this tutorial... All others the navbar is fine...

(Unfortunately a lot of the government departments in Australia are still using IE8 - so this effects a lot of my users)

Attached are a couple of images...the first with the navbar display issues and the second of how they should be...

Funny thing is that this is only for 'guests' and once logged in as a registered user, it's all good...(as per the second screen shot)

Lynne - need your help please...issues only seem to be present when using pages created with your 'how to'...

site: www.aiyj.org

Any suggestions to fix this would be very much appreciated!

Cheers,

Ian

Lynne 07-31-2011 05:11 PM

Ian, can we get a link to the custom page to see the problem? The custom pages I found through your navtabs all look fine to me. Or, is this a problem only when you are logged in?


All times are GMT. The time now is 04:28 AM.

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.03307 seconds
  • Memory Usage 1,743KB
  • 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
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete