The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Why doesn't it work???
? need some help...
After reading this thread http://www.vbulletin.com/forum/showthread.php?t=81549 this is what I need. I made a testpage http://www.jestaatnietalleen.nl/test1.php It is an empty page with this in it: <?php chdir('./forum'); require('./forum/forumdisplay.php?f=4'); chdir('../') ; ?> I also tried require_once but with same errors... I also made an other testpage http://www.jestaatnietalleen.nl/test2.php The script there is: <?php require('http://www.jestaatnietalleen.nl/forum/forumdisplay.php?f=4'); ?> I get output there but then all other vBulletin files are expected in the rootpath.. What do I wrong??? Gr. Harry |
#2
|
|||
|
|||
You can't use:
PHP Code:
|
#3
|
|||
|
|||
What I exact want is to show on an own page the part where the forums are in. In test2.php it is the second block. Further I want a check if a user is logged in and has the permission to view the complete page and that part of the forum.
I hope it is clear what I want because my english is not my native language :-) |
#4
|
|||
|
|||
So you are wanting to show all the threads from this forum: http://www.jestaatnietalleen.nl/foru...isplay.php?f=4 on test.php?
|
#5
|
|||
|
|||
yep on page1 I want to display f=4 on page 2 display=f5 and so on. And every page checked if the user has the right permissions. Without the navbar and what's going on
|
#6
|
|||
|
|||
Nobody who can help me with this???....
|
#7
|
|||
|
|||
Just copy forumdisplay.php, and take out what you don't need.
|
#8
|
|||
|
|||
The problem I'm running in now is that if a user logs in on a loginpage and goes then to the page with the forumdisplay then the screen comes up but user is shown as not logged in. I think the problem is in the cookie. I think forumdisplay is not looking into the cookie to check if the user is logged in. Or is it something else? Please help me out?
I'm brand new on vbulletin and just starting to understand php |
#9
|
|||
|
|||
What is the url to your mainpage, and the url to your forum?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|