![]() |
I have a suggestion: explain to use how to incorporate home-made files that reside in the directory of vbulletin.
For instance: http://www.kurafire.com/files/thecouch/portal2.php http://www.kurafire.com/files/thecouch/ is the directory of my board, and the portal2.php is a home-made portal page that lists 50 threads that have last had a reply in (excluding threads from a private forum). (oh, and portal.php lists 250 instead of 50). Now, can we just list portal2.php in the input panel of this hack and it'll work already? That's all I want to know, how to make that work :) (I read it already works, with some editing, for the vbstats hack) |
If portal2.php requires global.php, then yes you can simply list it using the hack. :)
|
No, it doesn't use global.php. It only creates an opening to the forum's database, runs one query and creates an output of that.
How would I go and include global.php for it? I want to know that because I want to use some of the global functions in the new version of the portal2.php page (which will actually LOOK like something, unlike now). |
PHP Code:
|
Great, thanks :)
So what exactly does it allow me to use in my code with that? |
While I'm at it: how did you do that awesome "user is away" script ???? That's awesome! :eek:
Edit: nm, I see the hack already. :) |
The major advantage is using the sessions vBulletin provides.
Other than that, checking for permission becomes easier, and also templates. You can use templates with that. |
Ooh, permissions, THAT I like very much! ^_^
|
[QUOTE]Originally posted by FireFly
PHP Code:
|
What are the exact warnings?
|
All times are GMT. The time now is 05:09 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:
|