How do I put server stats into PHPNUKE?
-
- A regular
- Posts: 42
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Sun Jul 10, 2005 1:52 pm
How do I put server stats into PHPNUKE?
I want to have a block on the top center of my phpnuke site (the one provided for free for NFO rentals.
I'm trying to create a message and pasting the following into the message:
<iframe src="http://rentals.nuclearfallout.net/query ... =chernobyl" width=400 height=600 frameborder=0></iframe>
However, it simply shows this actual content, and not the server stats.
Anyone know how to do what I'm trying to do?
Thanks
I'm trying to create a message and pasting the following into the message:
<iframe src="http://rentals.nuclearfallout.net/query ... =chernobyl" width=400 height=600 frameborder=0></iframe>
However, it simply shows this actual content, and not the server stats.
Anyone know how to do what I'm trying to do?
Thanks
You're doing it right, but showing the incorrect information?? You are displaying the server status page. If I understand correctly you should have http://www.yourwebsite.com/stats/index.html in that address instead.
I'm not sure where nfo saves the stats pages to, but click on your stats and then copy/paste that address in there.
-e
I'm not sure where nfo saves the stats pages to, but click on your stats and then copy/paste that address in there.
-e
In your phpnuke administration control panel, click on the Blocks icon and then scroll down to Add a New Block. Put in a title, (I left mine black) paste your html into the content box, select the position, select activate, select Expiration: 0 days, select visible to subscribers and click Create Block. Then put it wherever you want it. Here's an example from my site. I use this method to display my ventrilo status:
http://generalmayhem.ca
-e
http://generalmayhem.ca
-e
-
- A regular
- Posts: 42
- Joined: Sun Jul 10, 2005 1:52 pm
I don't want the stats, I want the server "status."eLectrix wrote:The address should look similar to this:
http://yourserverid.stats.nuclearfallout.net/server.php
It shows a little picture of the map that is currently playing, how many are online, the server address, etc..
-
- A regular
- Posts: 42
- Joined: Sun Jul 10, 2005 1:52 pm
-
- A regular
- Posts: 42
- Joined: Sun Jul 10, 2005 1:52 pm
Manually edit the file theme.php in whatever theme directory you are using:
ie. public_html/themes/sometheme/theme.php
Regarding the server status code, the same thing applies, which is why I was confused about what you wanted. The ventrilo block I have at top is the same thing as a server status, simply use <iframe src="http://rentals.nuclearfallout.net/query ... =chernobyl" width=400 height=600 frameborder=0></iframe> in the block content area.
-e
ie. public_html/themes/sometheme/theme.php
Regarding the server status code, the same thing applies, which is why I was confused about what you wanted. The ventrilo block I have at top is the same thing as a server status, simply use <iframe src="http://rentals.nuclearfallout.net/query ... =chernobyl" width=400 height=600 frameborder=0></iframe> in the block content area.
-e
Hopefully you're using the correct server identifier also?
<iframe src="http://rentals.nuclearfallout.net/query ... i]serverid[/i][/b]" width=400 height=600 frameborder=0></iframe>
<iframe src="http://rentals.nuclearfallout.net/query ... i]serverid[/i][/b]" width=400 height=600 frameborder=0></iframe>
-
- A regular
- Posts: 42
- Joined: Sun Jul 10, 2005 1:52 pm
But putting it into the block content doesn't work.eLectrix wrote:Manually edit the file theme.php in whatever theme directory you are using:
ie. public_html/themes/sometheme/theme.php
Regarding the server status code, the same thing applies, which is why I was confused about what you wanted. The ventrilo block I have at top is the same thing as a server status, simply use <iframe src="http://rentals.nuclearfallout.net/query ... =chernobyl" width=400 height=600 frameborder=0></iframe> in the block content area.
-e
Check http://generalmayhem.ca again. I have installed the block so you can see it. It works just fine. I used exactly the code you posted with <center></center> surrounding it.
-
- A regular
- Posts: 42
- Joined: Sun Jul 10, 2005 1:52 pm
http://sofclan.nuclearfallout.net/ It just shows the actual html.eLectrix wrote:Check http://generalmayhem.ca again. I have installed the block so you can see it. It works just fine. I used exactly the code you posted with <center></center> surrounding it.
BTW, the edit box for the block is slightly different than yours. It shows formatting stuff at the bottom such as Bold, Italics, etc...
It's not actually using the HTML code, but displaying it as if its a word document or something...