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)

edrecovery 08-01-2013 05:31 PM

Using the code provided, where do I put my templet title? where it says define this script? Please don't color code it, I can't see that.

edrecovery 08-03-2013 06:48 PM

I've took out 'test' everywhere it said test, and when I go to http://www.growingpetals.com/home.php I get a blank page. but when I go to http://growingpetals.com/misc.php?do=page&template=home I'm able to view the page.

hinomaru 08-15-2013 08:14 AM

Hello,

I want to make a table with 5 column at the custom page, and the page like this :

https://vborg.vbsupport.ru/external/2013/08/15.jpg

How to make it like that?

Thanks

Lynne 08-15-2013 03:52 PM

Quote:

Originally Posted by hinomaru (Post 2438982)
Hello,

I want to make a table with 5 column at the custom page, and the page like this :

https://vborg.vbsupport.ru/external/2013/08/15.jpg

How to make it like that?

Thanks

Just put a table in the template code?

hinomaru 08-16-2013 06:19 AM

yes..only put a table in the template code

Raz3r 09-21-2013 10:16 PM

Let me apologize if this was already answered, but i have spent hours reading threw things only to NOT find the answer to my question. My question is I made the custom page without a problem and all works just fine but what i would like to do is only allow certain groups to be able to view the page what is the step by step process that is needed to accomplish this? what files do i need to edit and what is the content needed to edit them with? I hope someone out there can help me fix this as i have been stuck for a while now

Rocket2009 09-21-2013 10:28 PM

Here is the code I use to make sure someone is a member, but you could change 'userid' to 'usergroup' with the appropriate test. I am including the banner so you can see where it fits. But it follows the require_once. I put xxxxxxx in for my account user name for the call to global.php. Hope this helps.

PHP Code:


require_once('/home/xxxxxxx/public_html/forum/global.php');

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

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

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

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



Raz3r 09-22-2013 12:09 AM

thank you for that bit of information but its still not exactly what im looking for I welcome any other suggestions again let me remind you I want to make the page so that only certain groups can view the page if possible i'm looking for the exact code needed to make this work correctly and or instructions to any files that may need edited again thank you for your response as that was one of the issues I was hoping to have corrected

ozzy47 09-22-2013 12:11 AM

How are you showing your members that this page exists? NavTab link somewhere etc?

Raz3r 09-22-2013 01:16 AM

yes i am showing threw the subnav under quick links I do not have currently have this to a live site yet i am currently working with localhost getting things working correctly before i put this live


All times are GMT. The time now is 01:32 AM.

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.02189 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)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