vBulletin ModsThe Official vBulletin Modifications Site
http://www.vbulletin.org/forum/showthread.php?t=62164 |
Hello
I am trying to show another php file which generates a directory listing for some mp3 files along with the forum header and footer.. How can I show that php file's generated output in the template area? I know i can use an iframe code in the template file but I am trying to avoid that. Is there any other way for me to accomplish this? music.php
where can i put the other script's code? It's a pretty big script (135KB) named Andromeda.. maybe some of you know about it. |
||||||
Can somebody please explain how I can make the custom page show up in Currently Active Users? I read in this thread that you have to use plugins or hooks to accomplish this feat but I have no idea how I would go about it. Can anyone tell me specifically what code to add and where so that when you look on Current Active Users page you will see <custom page name> as the location users viewing the custom page are looking at?
Thank you! |
Quote:
hook online_location_process: Code:
hook online_location_unknown Code:
|
|||||||||||
Thank you but can you please tell me where to put that code?
|
I did. Reread my post - I have the hook locations specified.
|
I see. I didn't realize I had to go to Manage Plugins and create a new plugin. I've followed your instructions but the location is reading Unknown common/lists.css. Any idea as to why that might be happening?
|
Quote:
|
Thanks, I'll post my question in the General Discussion forum.
|
Ok, this is excellent info, I've tried to read most of this thread but I'm sure i have missed this somewhere. I am trying to create a page within a directory within my forum directory (forum is at /var/www/html/forum, directory is at /var/www/html/forum/directory). I added the
and my page is showing up, mostly. The problem I am having is my header, navbar, or footer are not showing up on my page??? Do I need to change a path in my Template, or??? If I create a test page in my forum directory everything works fine, so I'm sure I'm just missing something simple. Any help would be appreciated. ...and sorry if this has already been answered Thanks |
||||||
supergper, in your template, put
at the appropriate place. |
||||||
Quote:
Like i said, if I put my page in the directory with my forum, it works fine, however if it's one directory deeper, forum/directory/, then my header, navbar, and footer don't show. |
|||||||||||
do the chdir before you include/require global.php
|
It's already there. Here is my php file (I've named it index.php and my template is named GrandTech)
|
||||||
Try to call it somethingelse.php and put it in the forum directory and comment out the chdir and see if it works. If it does, then the problem because of the changed directory.
|
Quote:
Quote:
I am fully aware it's because of the changed directory, I'm trying to figure out how to rectify that :) |
| All times are GMT. The time now is 02:52. |
Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2001 - , vbulletin.org. All rights reserved.