The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
How to create your own vBulletin-powered page! (uses vB templates)
Want to create your very own vBulletin powered page which includes the header, footer, and the user permissions system as well? Well now you can Want to know how it will look? Take a look at the attached screenshot below! Now includes the Who's Online modification! Also, instructions included on how to create your own pages that are integrated with current vBulletin files! I'm going to give you a generic page but you can easily modify the contents of the page by changing the template So here we go Instructions: Create a new file, whatever you want to call it (let's say test.php). Open up test.php and add the following (replace TEST with whatever template you want to show): PHP Code:
Now create the template, called TEST with the following content: HTML 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> Now check it out by going to test.php Who's Online Modification Now if you want to show who is browsing this new page of yours, just open up includes/functions_online.php and find: PHP Code:
PHP Code:
Then find: PHP Code:
PHP Code:
---------------------------------- Also if you want to create your own pages 'within' current vBulletin files, do the following: Open the file you want, and then right before the final ?> in the source code, add the following: PHP Code:
edit by Lynne: If running 3.8.4 or above, see this post to take care of the PHP 5.3.0-related problems - https://vborg.vbsupport.ru/showpost....postcount=1171 |
#1322
|
||||
|
||||
Are they linked to your main forum pages somehow? That will let them be found by google when they index your site.
|
#1323
|
|||
|
|||
Thanks for the reply BOP. Not sure what you mean regarding being linked to my forum pages.
They're all created as http://mydomain.com/page1.php......page2.php....etc |
#1324
|
||||
|
||||
Quote:
|
#1325
|
|||
|
|||
Thank you for reply, yes these are all links, and its the only way to get to the pages. Unless of course you already know the exact URL which can be typed directly into the address bar.
So basically, meta data is pointless anyway, huh? |
#1326
|
||||
|
||||
I wouldn't say it's useless but Google is pretty good at determining what is real content and what is not. You just want to make sure the pages can be accessed by Google.
You want to use traditional HTML links, not fancy JavaScript or Flash for making links that google spiders will ignore. |
#1327
|
|||
|
|||
Quote:
Yes, they are indeed always html, (I don't know anything more than HTML) coding-wise. Would it help if I add the pages to robots.txt? |
#1328
|
||||
|
||||
I've only used robots.txt to block spiders. Not sure if it works the other way around. One thing you might want to check out is producing a "site map" that will tell the search engines which URLs to crawl. (Or at least tell them they exist, it doesn't guarantee anything.)
|
#1329
|
||||
|
||||
Quote:
Homepage>link to forum x page> >links to threads >Links elsewhere on page >links to other forums, pages (like your custom one) and external links So link to your pages anywhere in your site and they will eventually be crawled , or you can submit the url directly to google to crawl. |
#1330
|
|||
|
|||
Hi all,
to remove from the navbar? |
#1331
|
|||
|
|||
nice... I was wondering how to list latest threads from forums to the page you just created?
cheers |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|