vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   How do I use a vB table on a external non-vB page? (https://vborg.vbsupport.ru/showthread.php?t=199008)

Triky 12-16-2008 12:15 PM

How do I use a vB table on a external non-vB page?
 
For example, I would like to use this code on a external non-vB page:

Code:

<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr>
    <td class="tcat">Test
    </td>
</tr>
</table>

Can you please give me some advice on how can I do this?

Seven Skins 12-16-2008 01:07 PM

HTML Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
  <title></title>
  <style type="text/css">
  .tcat {background: #99CCFF;color: #000000;}
  </style>
</head>

<body>
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr>
    <td class="tcat">Test
    </td>
</tr>
</table>
</body>

</html>


Like this ^^.

Triky 12-16-2008 01:23 PM

Yup, I know that.. :p
But..there is no way to call it directly from vB?

Seven Skins 12-16-2008 01:27 PM

If your CSS is in file system you can link it to your page.

Lynne 12-16-2008 01:50 PM

Are you familiar with these articles - How to create your own vBulletin-powered page! (uses vB templates) or [How-To] vBulletin API Basics: Creating Custom Pages & Misc.

Gio~Logist 12-16-2008 02:09 PM

Quote:

Originally Posted by Seven Skins (Post 1686609)
If your CSS is in file system you can link it to your page.

Yep, that would be the easiest way :up:


All times are GMT. The time now is 07:00 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.01094 seconds
  • Memory Usage 1,725KB
  • 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
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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