vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   New-B vBulletin Owner - First Question (https://vborg.vbsupport.ru/showthread.php?t=285632)

BasilFawlty 07-16-2012 11:57 AM

New-B vBulletin Owner - First Question
 
Hello all,
I just took the plunge and purchased a vBulletin Publishing suite license this weekend. I have it set up in a sub-domain that is not accessible to the general public until I get it all set up (probably going to take a couple months).

I have been running UBBThreads for 10 years, so I have a lot of work ahead to get it all transferred over to vB.

My first question is, with Threads I could make other pages that would match the style and look of the main Threads pages. Can I do this with vB?

kall 07-16-2012 01:31 PM

Yep. :)

Lynne's article here should get you on the right track.

https://vborg.vbsupport.ru/showthrea...ht=custom+page

kh99 07-16-2012 01:45 PM

There's also this article: www.vbulletin.org/forum/showthread.php?t=229194 It's a less flexible solution but only requires that you create a template with your content.

Edit: ...actually, what I said above it's quite correct - your custom template would still need to be a complete html page, so this option is really just a shortcut.

BasilFawlty 07-16-2012 02:17 PM

Thanks guys! A million other questions to follow :)

BasilFawlty 07-21-2012 10:52 PM

Quote:

Originally Posted by kall (Post 2348672)
Yep. :)

Lynne's article here should get you on the right track.

https://vborg.vbsupport.ru/showthrea...ht=custom+page

Well, I started to try this, and step 1 was straight forward and I undersood it - create a .php page based on the example and upload it to my vB root directory. Easy enough. However, being very new to vB I got stuck at step 2. It says "Create a Template" in your MASTER STYLE. Do I just make a HTML page that looks like the example? How do I tell it to be in my MASTER STYLE? (Is that the same a "Default Style?"). Also, what file extension does the template need and where do I put it?

Also, the instructions for adding my new page to Who's Online - is that code I put in the template? DOes it matter where in the template? I'm sure these instructions make perfect sense if I understood vB better, but can you help me out and explain a little more about "how" I create the Template in the "MASTER STYLE and where do I put it and what file extension does it need?

Thanks in advance.

Simon Lloyd 07-21-2012 11:08 PM

To create it in your master style you will need to be in Debug mode, the code for who's online is entered in to a plugin using the plugin manager>add new plugin

BasilFawlty 07-21-2012 11:43 PM

Quote:

Originally Posted by Simon Lloyd (Post 2350274)
To create it in your master style you will need to be in Debug mode, the code for who's online is entered in to a plugin using the plugin manager>add new plugin

Ok, I modified my config.php and entered debug mode. I see that it now lists all the Templates used and Included Files, Hooks, etc. Ok, now what? I see in step 2 of the instructions that it provides HTML code for a template. Do I simply make a file with that code in it, or is there some other process I must follow? If I create this template for my new page from a stand alone editor, I know the file name is case sensitive, but what file extension, if any, do I give it (for example, in UBBThreads, which i'm moving from, templates had a .tpl extension. I guess what I'm asking is can you break down Step #2 in the above linked instructions and walk me through HOW I create a template for a page and put it where it needs to be. I got step one ok - created a page and uploaded it to my root. Sorry for the dumb questions, but I'm new at vBulletin and it seems to work quite differently from what I'm used to.

EDIT: Ok, stand by - I think the light bulb just went on. I found where I can "Add New Template" based on the "MASTER STYLE" in the Admincp. I copied the HTML in your example into that Template editor, then went to my "mypage.php" script and viola! It worked!

I'll play around awhile more - don't go too far - I may need you again! :)

Simon Lloyd 07-21-2012 11:58 PM

For MASTER STYLE, Go to Admincp > Styles and Templates > Style Manager > MASTER STYLE and create a new template

BasilFawlty 07-22-2012 12:15 AM

Thanks - see my edit above. I sort of stumbled on it and so far it seems to be working. Thanks for your help. Don't go too far thought LOL!

Simon Lloyd 07-22-2012 12:34 AM

Glad you're sorted :)

BasilFawlty 07-22-2012 01:05 AM

Being brand new to vB I am running a test board for several weeks/months until I figure my way around it all before I go live. Thanks for the help.

Simon Lloyd 07-22-2012 02:10 AM

You should ALWAYS have a test board and take back ups off-server as frequent as you can :)

BasilFawlty 07-23-2012 12:09 PM

Good advice. I have a separate hard drive on my server onto which I do highly backups.

Simon Lloyd 07-23-2012 01:11 PM

Dont forget to comment out the debug statement in your config.php like this //, because as it stands everyone could see that information if you were live.


All times are GMT. The time now is 06:18 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.01833 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)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