Dear NTLDR/Lee,
Thanks for the info. With risk of sounding somewhat lame, could you please give me some more specific information on how to implement this? E.g.
1. Do I have to rename the index.php to vbindex.php?
2. The new pages, do I create them within the vbulletin control panel?
3. How can a new template page look like? What do I have to include? Specific example would be great.
Best regards,
Quote:
Originally posted by NTLDR
This is why I've chosen not to use a portal system, because it looks the same as everyone elses site and is mean't for a lot of things I don't need or want to do, this way I can fully integrate with my forums and have a common design thoughout my site.
Here is the code you need to find and change for a muli-paged vBindex:
In the vbindex php file change (its right at the end):
PHP Code:
eval("dooutput(\"".gettemplate('home')."\");");
To:
PHP Code:
if (!$page)
// no page specified
{
eval("dooutput(\"".gettemplate('home')."\");");
}
else
eval("dooutput(\"".gettemplate("$page")."\");");
//eval("dooutput(\"".gettemplate('home')."\");");
to get the homepage use http://mysiteurl/forumsdir/vbindex.php to get any other page use http://mysiteurl/forumsdir/vbindex.p...=template_name
Where:
vbindex.php is what you have called the index.php file included with vBindex
and
template_name is the name of the template that contains the page.
Let me know if you have any problems,
Regards,
Lee (NTLDR)
|