vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   How to create your own vBulletin-powered page! (uses vB templates) (https://vborg.vbsupport.ru/showthread.php?t=62164)

karlm 07-08-2007 03:10 AM

aww poo, this would be good, but doesnt' seem to work for me. blank white page, no source at all when inspected LoL.

I'm at a loss, every character is accounted for - no missing ;s or similar. :(

eta - it's case sensitive... TEST test :p

problem resolved LoL

ragtek 07-08-2007 05:18 AM

1 Attachment(s)
Quote:

Originally Posted by rnmcd (Post 1285404)
So it adds the header, footer and navbar, etc to the page and you can enter the 'body' of the page?

Ragtek, how did you create the new links in your navbar?

it add's all what you need:D

every template, you want/need can be put in!(navbar,header,footer,option,postbit,...)

for the menu: http://www.vbulletin.com/docs/html/m...mplates_vbmenu
or do you mean this:Attachment 66682

rnmcd 07-08-2007 01:39 PM

Quote:

Originally Posted by ragtek (Post 1285575)
or do you mean this:Attachment 66682

Yes, I was referring to the navbar in your image. How did you insert "Stencil Tutorials," for example?

ragtek 07-08-2007 01:54 PM

in navbar template ad:

Code:

<br /><div id="navcontainer">
<ul id="navlist">
<li><a href="http://www.ragtek.org">Portal</a></li>
<li><a href="index.php">Forum</a></li>
<li><a href="http://www.ragtek.org/gallery/">Gallery</a></li>

<li><a href="stencil.php">Stencil Tutorials</a></li>
<li><a href="calendar.php">Kalender</a></li>
<li><a href="linkliste.php">Linkliste</a></li>
<li><a href="showthread.php?t=2827">Forum Benutzung</a></li>
</ul>
</div>

to the style add:
Code:

#navcontainer
{
background: #222222;
font: normal normal 11px Verdana, Geneva, Arial, Helvetica, sans-serif;
}
#navlist
{
list-style: none outside none;
margin: 0;
padding: 0;
}
@media all {
#navlist {
text-align: right
}
}
#navlist li
{
bottom: 11px;
display: inline;
line-height: 1.2em;
margin: 0;
padding: 0;
position: relative;
}
html>body #navlist li
{
background: #000;
margin: 0 3px 0 0;
padding: 4px 0px 4px 0;
}
#navlist a, #navlist a:link, #navlist a:visited
{
background: #222222;
border: 1px solid #FFF;
bottom: 2px;
color: #FFCC00;
cursor: pointer;
display: inline;
height: 1em;
margin: 0;
padding: 3px 5px 3px 5px;
position: relative;
left: 2px;
text-decoration: none;
}
#navlist a:hover
{
background: #000000;
bottom: 1px;
color: #FFF;
position: relative;
right: 1px;
}
#navlist a:active
{
background: #000000;
bottom: 0px;
color: #FFF;
position: relative;
right: 0px;
}
#navlist li#active
{
background: #369;
bottom: 13px;
display: inline;
margin: 0 3px 0 0;
padding: 0;
position: relative;
}
html>body #navlist li#active
{
background: #000;
margin: 0 4px 0 4px;
}
#navlist #active a, #navlist #active a:link, #navlist #active a:visited, #navlist #active a:hover
{
background: #369;
border-bottom: none;
border-left: 1px solid #9CC;
border-right: 1px solid #9CC;
border-top: 1px solid #9CC;
bottom: 0;
color: #FFF;
cursor: text;
margin: 0;
padding: 2px 5px 0 5px;
position: relative;
right: 0;
}
.link_n a:link, .link_n a:visited {
        display:block;
        text-align:center;
        padding:4px;
    background: #000000;
        border-top:1px solid #ffffff;
        border-left:1px solid #ffffff;
        border-right:1px solid #ffffff;
        margin:12px 6px 0 0;
        font-size:11px;
        font-weight:bold;
        color:#ffffff;
        text-decoration:none;
}

.link_n a:hover {
        background: #000000;
        border-top:1px solid #ffffff;
        border-left:1px solid #ffffff;
        border-right:1px solid #fffff;
}
.link_n_a a:link, .link_n_a a:visited {
        display:block;
        text-align:center;
        padding:5px 4px 5px 4px;
    background: #222222;
        border-top:1px solid #ffffff;
        border-left:1px solid #ffffff;
        border-right:1px solid #ffffff;
        margin:10px 6px 0 0;
        font-size:11px;
        color:#ffffff;
        font-weight:bold;
        text-decoration:none;
}
.link_n_a a:hover {
        background: #222222;
        border-top:1px solid #ffffff;
        border-left:1px solid #ffffff;
        border-right:1px solid #ffffff;
}

.link_n, .link_n_a{
        float:left;
}


radarhunter 07-08-2007 02:48 PM

Excellent Man Love Ya Thanks A Lot

I created 2 pages

www.stepheniansonline.com/forum/Oops.php

http://www.stepheniansonline.com/for...ertisement.php

T_Richardson 07-08-2007 09:46 PM

If you want your pages to viewable only to members add this under require_once('./global.php'); in your php file.

PHP Code:

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

See this post: https://vborg.vbsupport.ru/showthrea...65#post1286165

DieselMinded 07-09-2007 04:43 AM

I Have Made 3 Of These Pages

http://www.dieselbombers.com/sponsors.php

http://www.dieselbombers.com/linkswap.php

http://www.dieselbombers.com/toptruck.php

And I have added the Whos online (Where) additional Hack , IT Displays as so..

UNKNOWN LOCATION
/toptruck

Ect.. For all 3 pages

How do i change the UNKNOWN LOCATION TO ( Currently Viewing ) ?

T_Richardson 07-09-2007 09:24 AM

are your files in the same folder as the the global.php? You might have to specify the location.

blazingpc 07-10-2007 12:23 PM

I have made several pages but I was wondering if it would be possible to add some forum sections to 1 of these pages?

cobaltcoupe 07-11-2007 06:15 PM

So you can put like a regular html page on your VB website? This is kind of cool.


All times are GMT. The time now is 03:26 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.02259 seconds
  • Memory Usage 1,756KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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