The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#41
|
|||
|
|||
![]()
Hi,
This code works fine on Linux server. I am trying to use the same code on Windows server and I have an error. Warning: array_merge() [function.array-merge]: Argument #2 is not an array in C:\Domains\myDomain.net\wwwroot\includes\init.php on line 506 Warning: implode() [function.implode]: Bad arguments. in C:\Domains\myDomain.net\wwwroot\includes\init.php on line 511 Unable to add cookies, header already sent. File: C:\Domains\myDomain.net\wwwroot\includes\init.php Line: 506 Do you have an idea why it is different for Windows server and how to solve this problem? Thank you. |
#42
|
||||
|
||||
![]()
I am not sure if this would work with what I am trying to do.
I found a glossary script from http://glossword.info and I want it to look like the rest of my forum/site at www.4xtraders.com/forum. I plan on using the script at http://www.4xtraders.com/forum/glossary/. If you are to look at my main page and my glossary page, I am not able to have the header and footer (also the left and right columns). I would like to know how and what I need to do to be able to have my glossary script inserted into my header and footer. This glossary script also uses a header, footer and a index (actually called indexpage.html... all from it's template folder) to display the terms. Any help would be great as this is the best glossary that I have found unless any one else is using or has seen one better that can be intergrated to use vb's template layout Thanks to all that reply |
#43
|
|||
|
|||
![]() Quote:
|
#44
|
|||
|
|||
![]()
Hi,
This script works fine on Linux server, but I have a problem with this script on Windows server. Dose somebody knows what is the difference? Script works on Linux server without //chdir('/patsh'); What patsh I should setup for chdir for Windows server? chdir('c:/domain.com/wwwroot'); chdir('c:/domain.com'); chdir('domain.com'); I will appreciate your help. |
#45
|
|||
|
|||
![]()
Does anyone have an example of;
calling a template inside another templete Php code PHP Code:
I have a template that does--and displays what I want it to Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <html> <head> <meta name="description" content="$foruminfo[description]" /> <title>$vboptions[bbtitle] - VB xxxx Index</title> $headinclude </head> <body> <!-- logo --> <!-- <a name="top"></a> --> $_phpinclude_output $header $navbar <br> <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> <tr> <td align="left"><span class="nav"><a class="nav" href="[bburl]">Forum Index</a> -> <a href="{other_INDEX}" class="nav">somewhere Index</a></span></td> </tr> </table> <table width="100%" cellspacing="1" cellpadding="3" border="0"> <tr> <td valign="top"> <table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0"> <tr> <th class="thead">Welcome to <i>xxxx</i></th> </tr> <tr> <td class="alt1" width="500"><span class="gen">SOME TEXT HERE.<br />You can learn <a href="{X_FAQ}">more about xxxx</a> in the 'help' section.<br /> <br />What are you waiting for? <a href=".....">Start</a>!</span></td> </tr> </table> <br /> {XXX_FEATURES} </td> <td valign="top"> {XXXX_STATS} </td> </tr> </table> $footer what would be the syntax for adding (or pulling the data) from the other template? the xxx_features template has Code:
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0"> <tr> <th class="thTop">Features</th> </tr> <tr> <td class="catLeft"><span class="cattitle">Featured</span></td> </tr> <tr> <td class="row1"><span class="genmed"> <!-- BEGIN feat --> * <a class="genmed" href="{feat_xxx.U_VIEWxxxST}">{feat_xxx.XXXX_NAME}</a> - <a class="genmed" href="{feat_xxxx.U_VIEWYYY}">{feat_xxx.YYYY_TITLE}</a> {feat_xxx.YYYY_DESC}<br/> <!-- END feat_s --> </span> </td> </tr> <tr> <th class="thTop">List Features</th> </tr> <tr> <td class="catLeft"><span class="cattitle">Featured lists</span></td> </tr> <tr> <td class="row1"><span class="genmed"> <!-- BEGIN feat_pl --> * <a class="genmed" href="{feat_pl.U_VIEWPL}">{feat_pl.PL_TITLE}</a> {feat_pl.PL_DESC}<br/> <!-- END feat_pl --> </span> </td> </tr> <tr> <td class="catLeft"><span class="cattitle">in play</span></td> </tr> <tr> <td class="row1"><span class="genmed"> <!-- BEGIN upl_YYYs --> * <a class="genmed" href="{upl_YYYY.U_VIEWART}">{upl_YYYY.ARTIST_NAME}</a> - <span class="genmed" href="{upl_YYYY.U_VIEWYYYY}">{upl_YYYY.YYYY_TITLE}</a><br/> <!-- END upl_songs --> </span></td> </tr> </table> Trying to port a bunch of old stuff from my phpbb forums At a lose on how vb pulls data from template to template Hope you guys can help Thanks in advance!! TB |
#46
|
||||
|
||||
![]()
I'm having some problems as well - can;t get a couple of phrases to show...
This is my php file (ruelsPop.php) PHP Code:
HTML Code:
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"> <tr> <td class="tcat">$vbphrase[forum_rules]</td> </tr> <tr> <td class="panelsurround" align="center"> <div class="panel"> <div align="left"> $vbphrase[forum_rules_description] </div> </div> </td> </tr> </table> PHP Code:
Any ideas? |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|