The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Placing some vb elements into non-bv pages
Can someone tell me what I would need to do to let certain elements of the forums (like PM total, username/login, avatar etc) appear on a custom, non-vb page (and not in the forums directory)? All I found so far was an article about creating vb-powered pages using templates, which isn't what I'm looking for.
|
#2
|
|||
|
|||
You can use the same article and just not use the template system.
|
#3
|
|||
|
|||
<a href="https://vborg.vbsupport.ru/showthread.php?t=62164" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=62164</a>
That was the article I mentioned. It seems as if the page itself is being ran by vbulletin, though. |
#4
|
|||
|
|||
As long as you inclide global.php you can use any php script, or just use the example in the above thread and remove calling the templates etc.
|
#5
|
|||
|
|||
Hi,
how would iuse a require fuction on the vb powered page? <?php "staff/request.php"; ?> thats what im using, but its not displaying |
#6
|
|||
|
|||
Please start your a new thread describing your problem.
|
#7
|
|||
|
|||
Everytime I use include or require_once, for the global.php file, it results in a fatal error and is unable to load the page.
|
#8
|
|||
|
|||
Without knowing the code you are now using or the error message you get, we can't give more assistence.
|
#9
|
|||
|
|||
Warning: require_once (*********************) [function.require-once]: failed to open stream: No such file or directory in ***************/forums/global.php on line 20
I'm trying to make this page outside of my forums directory. |
#10
|
|||
|
|||
You still have not provided the code you are using, nor the full error messages.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|