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 |
#1332
|
|||
|
|||
i find this is another good alternative as well
https://www.vbulletin.com/forum/show...-to-your-forum |
#1333
|
|||
|
|||
Does this work on 4.1.5?
Thanks |
#1334
|
||||
|
||||
|
#1335
|
|||
|
|||
I'm sorry, I am a noob. Where do you put the test.php file?
|
#1337
|
|||
|
|||
dammit, i cant get it to show its all just a white page??
|
#1338
|
|||
|
|||
Make a test.php then put the code in test.php
then make a template called test then put the code in. then go to www.yoursite.com/test.php |
#1339
|
|||
|
|||
yea i worked it out literally 5 mins after i posted that i feel like a right idiot now
|
#1340
|
|||
|
|||
how can i get this to work on the theme im using without it going on the forum home plus i get white page
|
#1341
|
|||
|
|||
did you make the custom template in the theme you wanna use??
|
#1342
|
|||
|
|||
does anyone know how i would make forums on this page like from the forumhome
|
#1343
|
||||
|
||||
i have litl problem with this, i make file and make template
and its all working the page its showing byt later when i want to edit the template, i Search Templates, with words i know is on the template, it didnt find me anything, even i list all templates, i dont see the one i create, how to fix this issue |
#1344
|
||||
|
||||
The template should be at the top of all your templates, thats where the custom ones are
|
#1345
|
||||
|
||||
i dont see it, does vbulletin automatic give some prefix, in my case i name it "impresum" list all didnt find it
|
#1346
|
||||
|
||||
Perhaps you are looking in the wrong style for the template.
|
#1347
|
||||
|
||||
no, i conrect template i add and search, i try to add the code again with same name as the template (impresum)
nothing chance, the page its still the same dont know what else to do:erm: |
#1348
|
||||
|
||||
bump, someone to help me, i make working but can find the template to modified, try everything
does need to have some prefix or |
#1349
|
||||
|
||||
Are you doing a Search in Templates for the template name? Have you looked in the database to see if it is there?
|
#1350
|
||||
|
||||
No, vBulletin does not give it a prefix. It doesn't need one. It would have the name you gave it, and it would be at the top of the template list. Which style did you create it in? Have you tried recreating it in that style?
|
#1351
|
||||
|
||||
Quote:
i create new style (default) and put template on it, and again i dont see the template does some option to hide those templates p.s. i use vBulletin 3.8.7 Patch Level 2 --------------- Added [DATE]1323878406[/DATE] at [TIME]1323878406[/TIME] --------------- edit ive installed vbulletin on localhost and create template and i see the new created template under category Custom templates here i dont have that category, how can i create it --------------- Added [DATE]1323878871[/DATE] at [TIME]1323878871[/TIME] --------------- p.p.s can couse this problem since ive change admincp location |
#1352
|
||||
|
||||
It should happen automatically each time you create a custom template. As far as I know, nothing should be hiding those templates. There might be some issue with your hosting provider.
|
#1353
|
||||
|
||||
what issue, those weeks out host provider its more down and with some issue, to know what to ask them
|
#1354
|
||||
|
||||
You would tell them what your problem is, and ask them to check to see if there's any issues with your service.
|
#1355
|
||||
|
||||
they say no issue they got, and asked me more detail to see if some update need
here is the server specification Apache version 2.2.17 PHP version 5.2.17 MySQL version 5.1.56 Architecture x86_64 Operating system linux Kernel version 2.6.18-274.7.1.el5 cPanel Pro 1.0 (RC1) |
#1356
|
||||
|
||||
someone to help me, or to tell me how can i have vbulletin powered page
some alternative method |
#1357
|
||||
|
||||
I think you just need to re-read the instructions, they work. You don't need to look for "Custom Templates" just "Add New Template" and it will be custom.
|
#1358
|
||||
|
||||
yes its working that, but the PROBLEM its when i want to edit the template, :erm:
|
#1359
|
||||
|
||||
What is the problem with editing the template?
|
#1360
|
||||
|
||||
as i mention before, i create template put some words on it and save it, its show with the php file as on the 1st post
but later when i want to edit it i dont see it (and all custom templates) and even when i search with some words i know there are on the template |
#1361
|
||||
|
||||
Quote:
You should check your error_logs and see if anything is in there about the issue. And, check your control panel logs and see when it is getting deleted. And, check your database to verify it really isn't there. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|