![]() |
Custom Pages
how do i add make custom pages?
yes i've searched but theres that much on search for the keywords i cant find it .. |
This is the easiest https://vborg.vbsupport.ru/showthread.php?t=124749
Here's a tutorial https://vborg.vbsupport.ru/showthread.php?t=98009 |
Will plugins be enabled when making a page that way?
|
no
both things have nothing to do with the pluginsystem just this part needs it: Adding Custom Online Locations in https://vborg.vbsupport.ru/showthread.php?t=98009 |
So.. How would I call a plugin (already in place) to work on a custom page?
|
i think you mean something different that i understand*g*
so you have a plugin witch you want to have on your custom site too? what plugin is it? |
vbmicrostats
|
vbmicrostats will more then likely be inherited into your new page, as long as your page is calling the global.php file.
|
Well my page calls global and doesn't show microstats, but it is a stand alone php page wrapped in the header and footer of VB, I didn't use the template way of adding the page. Will that change it?
|
vBMircostates uses the footer template AFAIK to display the stats. So if your not calling the $footer variable in your code, then vBM won't be displayed.
|
I am calling the footer template...
Microstats shows up in the source code like this <!-- {microstats} --> |
If your using the vBulletin templates system, then it should show. I know vBM using code along these lines:
PHP Code:
Which should be replacing <!-- {microstats} --> with the stats. I would suggest asking TECK in his hack thread? |
It shows up right on all pages except my custom ones...
I'm lost.. I guess I just wait for TECK |
how does your templatecode look like?
|
I'm not using a template I'm just using a php page and including the VB stuff into it..
I'm going to test converting one of my pages to this way of doing it and see if the microstats work then. |
what?
now i don't understand^^ |
I have a php page..
With this at the top Code:
// ####################### SET PHP ENVIRONMENT ########################### Code:
<?=$footer?> |
wtf
have you a template called 'LEAGUE' ? if not why you made this: PHP Code:
and use the shell_blank for your output! $html.="bla blasdasd"; for (......................) { $html.=$bladad.'<br />'; } or whatever so it will be in the template and you will have no probs with the footer |
Quote:
Quote:
Quote:
|
shell_blank is a template in vBulletin and serves as a shell for a full page template if you need to create one.
|
new to php too or just to vbulletin?*g*
PHP Code:
so everything you want to show on your site you put into the $HTML variable |
I am new to PHP too... STill have a long way to go..
I uploaded one of my scripts here... https://vborg.vbsupport.ru/showthrea...ts#post1222720 Could you show me what I would need to do with that to make it work? (including instructions for making any templates I need to make) I think once I go through how to do it once in detail I will be able to convert any of my scripts. |
https://vborg.vbsupport.ru/forumdisplay.php?f=187 ^^
1. no more PHP Code:
2. have no time to make your script look at the first link there are many tuts |
Thanks for the help..
Finally got it working. |
All times are GMT. The time now is 05:50 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|