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)

MatiasCandy 02-16-2012 09:16 PM

Quote:

Originally Posted by Lynne (Post 2299954)
I don't think it has ever been discussed. There is another article in this forum about adding widgets to any page, so you should go read that one.

searching cannot find it, do you have a link?

GameOverViper 02-17-2012 11:10 PM

Hello, I'm starting on a project and I'm not exactly sure how to make it so in the bread crumbs, it shows another page that I made that is only viewable from the first created page.

I'm trying to make a few pages actually that will work off of others. I'm just curious as to how the bread crumbs work.

appsfinder 03-03-2012 10:43 AM

works great

brishi 03-18-2012 07:48 PM

OK, like a few other beginners have more than likely done I started out by using the coding from the vB3 posting which was pointed out to me by cellarius and I was getting a 3 line error. Now that I have switched over to this template I no longer get anything except a white page and if I vie the source code all I get is this :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type></HEAD>
<BODY></BODY></HTML>

I have looked through 154-20 pages of replies here and could not find an answer to correct myself, so need some help please. I am just using the basic 2 files used on the first page of this article and then will change the basic name to what I need when I know it is working properly.

NEVERMIND - Just kept checking and testing and found my silly error, I had the template as "Test" when it should have been "TEST"...Dohhhh!!! Great article btw Lynne and thanks for sharing!

Cheers,
BriShi

MacroPhotoPro 03-20-2012 01:01 PM

I have a Paid Subscription website, where I am able to ascribe permissions to my forums as well as to my CMS articles. The only parties who can see these pages are me, the Administrator (User Group 6), as well as my Subscribed Members (User Group 9). With this in mind, I have a few questions that I would be grateful for some clarification on:
1. Are these pages considered CMS pages and, if so, are they manageable under the Content Manager of CMS control in the ACP?;
2. If not, will creating these new pages be manageable anywhere in the ACP?;
3. If not, is there some coding that can be done in the default template to where only User Groups 6 and 9 are able to view the constructed pages?
Thank you for your time and for creating this valuable tutorial!

Jack

Rocket2009 03-20-2012 02:46 PM

I don't know about methods (1) and (2). As suggested elsewhere in this thread I effectively use a little code in the php page (not the vBulletin template). Mine looks like:

PHP Code:

// #######################################################################

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

// #######################################################################

if (!is_member_of($vbulletin->userinfo67515139111612))  
{
// give no permission unless in usergroup x, y, or z
        
print_no_permission();
}  

$navbits construct_navbits(array('' => 'TMGA Logos'));

$navbar render_navbar_template($navbits);



// ###### YOUR CUSTOM CODE GOES HERE ##### 


Lynne 03-20-2012 06:27 PM

Quote:

Originally Posted by MacroPhotoPro (Post 2311349)
I have a Paid Subscription website, where I am able to ascribe permissions to my forums as well as to my CMS articles. The only parties who can see these pages are me, the Administrator (User Group 6), as well as my Subscribed Members (User Group 9). With this in mind, I have a few questions that I would be grateful for some clarification on:
1. Are these pages considered CMS pages and, if so, are they manageable under the Content Manager of CMS control in the ACP?;
2. If not, will creating these new pages be manageable anywhere in the ACP?;
3. If not, is there some coding that can be done in the default template to where only User Groups 6 and 9 are able to view the constructed pages?
Thank you for your time and for creating this valuable tutorial!

Jack

1. No
2. They are manageable in the Style Manager where you may edit the templates.
3. See the post above this one.

MacroPhotoPro 03-21-2012 01:35 PM

Thank you both for your time, I appreciate it.

slammz 03-24-2012 04:52 AM

Quote:

Originally Posted by Lynne (Post 2311466)
1. No
2. They are manageable in the Style Manager where you may edit the templates.
3. See the post above this one.

How can I put certain forums on this page?

Lynne 03-24-2012 04:16 PM

Quote:

Originally Posted by slammz (Post 2312749)
How can I put certain forums on this page?

Just add the html in the template to link to the forums.

<a href="forumdisplay.php?f=xx">Form xx</a>


All times are GMT. The time now is 01:36 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.04854 seconds
  • Memory Usage 1,753KB
  • 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
  • (1)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