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)

Synicide 05-01-2004 06:38 PM

Well, here's a question for you guys. :D
I'd be forever grateful if somebody could get this to even semi-work.

I've chosen to use this method of creating pages since the thought of customizing a portal to get rid of all the blocks is beyond me. Pretty much all I need to do what a lot of the portals do, display threads from a "news" forum with simple comment links.

That's it, I just need to know how to get the title, date, author and comment links on there and I'd be all good - from there I can customize the template normally. ^_^

Thank you for all your help in advance, and I really hope somebody can solve this for me.

BTW: Does anybody find it odd that Greg hasn't visited this thread in a while?

caislander 05-02-2004 03:01 AM

Ok I got the extra page to display, thank all of you for the information :) I have this code in my template
Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle]</title>
$headinclude
</head>
<body>
$header

$navbar

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="tcat"><h2>City Ordinances (the Rules)</h2>
This forum is a great place to post questions,
answers, or have a productive discussion on web
development. While we may delete anything we
find inappropriate, it is rare that such a post is
made as the members here have been very helpful
to each other. The following are guidelines to follow
when posting a message or reply:</td>
</tr>
<tr>
<td class="alt1">$vbphrase[insult_flame]</td>
</tr>
<tr>
<td class="alt2">$vbphrase[no_spam]</td>
</tr>
<tr>
<td class="alt1">$vbphrase[illegal_material]</td>
</tr>
<tr>
<td class="alt2">$vbphrase[cross_posting]</td>
</tr>
<tr>
<td class="alt1">$vbphrase[homework]</td>
</tr>
<tr>
<td class="alt2">$vbphrase[flooding]</td>
</tr>
<tr>
<td class="alt1">$vbphrase[all_caps]</td>
</tr>
<tr>
<td class="alt2">$vbphrase[no_politics]</td>
</tr>
<td class="alt1">$vbphrase[mod_time]</td>
</tr>
<tr>
<td class="alt2">$vbphrase[read_faq_first]</td>
</tr>

</table>

$footer
</body>
</html>

the part that is hard coded into it displays just fine but the $vbphrases don't display at all, any ideas what i might have done wrong ?

Thanks for any assistance

Synicide 05-02-2004 03:35 AM

So can anybody help me with my little problem? :]

Synicide 05-03-2004 08:35 PM

I apologize for posting a 3rd time, but is there nobody that can help with this? It's been 2 days! o_O

SVTBlackLight01 05-03-2004 09:25 PM

Quote:

Originally Posted by Synicide
I apologize for posting a 3rd time, but is there nobody that can help with this? It's been 2 days! o_O


IMHO, it would be easier to modify one of the portals to do this than to add everything to this hack to accomplish what you need.

sross 05-03-2004 10:37 PM

i fixed my issue a few lines up, eval stuff was in the wrong place. mine works like I want now.

Synicide 05-04-2004 01:57 AM

Quote:

Originally Posted by SVTBlackLight01
IMHO, it would be easier to modify one of the portals to do this than to add everything to this hack to accomplish what you need.

Hmmm... just add it to the PHP... I guess I could take a look at that, Thanks SVT. :]

SVTBlackLight01 05-04-2004 02:04 AM

Take a look at vBadvanced. You could propably get by with a simple template mod once you get it installed (unless you are already running one instance of it). All the blocks are contained in the index template, so you could either remove them from the template or comment them out.

Bro_Joey_Gowdy 05-08-2004 07:48 PM

I have a statement then one question:

Ive placed this in the websites root directory as the main page of my site:
http://www.joeygowdy.com

My forums are in a different directory:
http://www.joeygowdy.com/forum

Ive already made all the required changes, now for the question:
If I ever choose the have the vbboard switched offline for updates, will the main site also be unavailable due to the fact that Im useing vbtemplates to power my main site?

Kwak 05-09-2004 03:58 PM

Is there a way that you can add new pages on your index directory rather than the forum directory?

Meaning, the new template works only if the file is added within the forum directory but would like to know if you can make these page work outside of a forum page.


BTW: Great hack! Clicks Install.

Edit: Sorry, I just realized you can not ask questions in here. :o


All times are GMT. The time now is 02:11 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.02012 seconds
  • Memory Usage 1,746KB
  • 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_code_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