The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
From this mod: https://vborg.vbsupport.ru/showthread.php?t=62164
What wuld this script be if I would be to use vB 4.0? 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">Title</td>
</tr>
<tr>
<td class="alt1">Text</td>
</tr>
</table>
$footer
</body>
</html>
|
|
#2
|
|||
|
|||
|
PHP Code:
HTML Code:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
<title>{vb:raw vboptions.bbtitle}</title>
{vb:raw headinclude}
</head>
<body>
{vb:raw header}
{vb:raw navbar}
<div id="pagetitle">
<h1>{vb:raw pagetitle}</h1>
</div>
<h2 class="blockhead">Title</h2>
<div class="blockbody">
<div class="blockrow">
Text
</div>
</div>
{vb:raw footer}
</body>
</html>
|
|
#3
|
||||
|
||||
|
Quote:
|
|
#4
|
||||
|
||||
|
Actually, to make a quick correction (if I remember correctly)...
This PHP Code:
PHP Code:
|
|
#5
|
||||
|
||||
|
No need to suppress E_DEPRECATED warnings now, as they should be fixed.
|
|
#6
|
||||
|
||||
|
Quote:
Thank you Dismounted
|
|
#7
|
|||
|
|||
|
vB Style is god vBulletinized.
|
|
#8
|
|||
|
|||
|
Quote:
2. include the csrf protection We shouldn't start posting the outdated stuff
|
|
#9
|
|||
|
|||
|
what does following function do?
PHP Code:
|
|
#10
|
||||
|
||||
|
Quote:
Quote:
For example: [untested] PHP Code:
This would make the sidebar_1 template accessible via {vb:raw my_sidebar_1} in your main TEST template. |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|