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)

Mum 08-13-2008 07:04 PM

MM i'd like to be able to do that as well :)

ringleader 08-13-2008 08:23 PM

Quote:

Originally Posted by ComputerVitals (Post 1597689)
Is there a way i can get a certain forum to display on this page?

Example.
My page content
Show one thread
Quick Reply box

You'd have to code it yourself, but the (barebones) instructions are here:
http://www.vbulletin.com/docs/html/m...r_implementing

ComputerVitals 08-14-2008 02:21 AM

I couldn't figure that one out. But I did find the Dreams chatbox intergrates very nicely.

If anyone would like to check it out. You can find it here.
http://www.computervitals.com/forum/Olympics.php

Thanks for the article and the help!!

tewage 08-14-2008 06:24 AM

Nice!

seanm07 08-14-2008 09:37 AM

I get a error
Code:

Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /home/admin/public_html/test.php on line 32

Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/admin/public_html/test.php on line 32

http://www.aouv.co.uk/test.php

amcd 08-14-2008 12:26 PM

move test.php to /forums

Stryker412 08-14-2008 02:26 PM

Quote:

Originally Posted by ComputerVitals (Post 1598156)
I couldn't figure that one out. But I did find the Dreams chatbox intergrates very nicely.

If anyone would like to check it out. You can find it here.
http://www.computervitals.com/forum/Olympics.php

Thanks for the article and the help!!

Wow, I like that. Mind sharing the code?

ComputerVitals 08-14-2008 03:03 PM

Some of the code has been modified to fit the site, so it may not work for every one. The widgets you see there you can get at NBC Olympics. Simply paste the widget code into the template where you like it and you're set.

Stryker412 08-14-2008 04:09 PM

How did you create the separate blocks for each module within the php file? Also, what chat program do you use, we use cyb chat and was wondering how to implement that into the Olympic page.

ComputerVitals 08-14-2008 04:42 PM

I have CYB for my main chat program on the forum page. But that isn't as easy to integrate with the custom page. So I also installed Dreams Chatbox, you can then add the chat box to the custom template were you want it. I also wanted 2 separate chats so the Olympics would be separate from the main chatbox. If you visit my main page, http://computervitals.com/forum you will see I have both of the chat boxes added, then the link in the 2nd chat box to link to the main Olympic page.

Here's how you set the separate blocks, this is all done in your new template you created for the page.
Start with this:
Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="tcat">Olympic Videos</td>
        <td class="tcat">Athletes to Watch</td>
        <td class="tcat">Olympic Photos</td>
</tr>

Add as many "tcat" as you need for the blocks.
Then format the table more
Code:

<tr>
        <td class="alt1" align="center">
Your content here for 1st block
</td>
        <td class="alt1" align="center">
Your content here for 2nd block
</td>
        <td class="alt1" align="center">
Your content here for 3rd block
</td>
</tr>
</table>

YOu can see I have it set into 3 sections, if you want them in their own tables, then you simple start this process all over again, adding different content.


All times are GMT. The time now is 05:03 AM.

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.03611 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
  • (3)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