The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

punkbuster screen shots

2 posters

Go down

punkbuster screen shots Empty punkbuster screen shots

Post by tempus July 21st 2008, 12:32 am

hi i would like to know how i can ad this to my website
please help
http://www.aaserveradmins.com/forums/index.php?autocom=downloads&showfile=12
thanks
tempus
tempus
Forumember

Posts : 30
Reputation : 0
Language : english

Back to top Go down

punkbuster screen shots Empty Re: punkbuster screen shots

Post by Guest July 21st 2008, 12:35 am

We dont have access to what ever it is lol

can you please post a screen shot with a little more information Smile

Regards






Craig
avatar
Guest
Guest


Back to top Go down

punkbuster screen shots Empty Re: punkbuster screen shots

Post by tempus July 21st 2008, 2:42 pm

ok sorry

this allows you to view screen shots from a game server that you have
screen shot
tempus
tempus
Forumember

Posts : 30
Reputation : 0
Language : english

Back to top Go down

punkbuster screen shots Empty Re: punkbuster screen shots

Post by tempus July 22nd 2008, 7:34 pm

i must say for s support forum this is very unhelpfull 3 times i have posted a help question and three time it has been left unsolved
tempus
tempus
Forumember

Posts : 30
Reputation : 0
Language : english

Back to top Go down

punkbuster screen shots Empty Re: punkbuster screen shots

Post by Guest July 22nd 2008, 7:39 pm

From what it looks like on the screen shot, i'd say that was file hosting, this feature isn't currently supported with forumotion.

You can however start a poll in the suggestions forum to see how many people would be interested in this feature, there is no guarantee though that a poll will get the feature added to the forums

Regards






Craig
avatar
Guest
Guest


Back to top Go down

punkbuster screen shots Empty Re: punkbuster screen shots

Post by tempus July 22nd 2008, 7:58 pm

it is also a scripting thing there a html code you can use for this to i think
tempus
tempus
Forumember

Posts : 30
Reputation : 0
Language : english

Back to top Go down

punkbuster screen shots Empty Re: punkbuster screen shots

Post by tempus July 22nd 2008, 8:07 pm

ok can any 1 tell me how to ad this script to my website on an html page
<?php
/*
bushis pbss viewer
*/

$max = 20; //Maxium number of screen shots to display per page
$pbss_addr = "http://63.211.111.203/63.211.111.203/"; //link to pbss's including http:// but excluding pbsvss.htm EX. "http://11.11.11.11/11.11.11.11/


/*

do not edit

*/
if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
die ("You can't access this file directly...");
}

$module_name = basename(dirname(__FILE__));
include("header.php");
OpenTable();
echo("<center> Select PBSS View Type. <br> [<a href='?name=pbss&view=text'> Text </a> |<a href='?name=pbss&view=graphic'> Graphic </a>]");
$view = $_GET['view'];
if($view == "text") {
$pg = $_GET['page'];
if($pg == "") {
$pg = 1;
}
$pbss_connect = fopen($pbss_addr.'/pbsvss.htm', "r");
while (!feof($pbss_connect)) {
$pbss_html .= fread($pbss_connect, 1024);
}
$pbss_string = "";
$pbss_string = str_replace('<a href=', '<!--> <hr> <a href='.$pbss_addr, $pbss_html);
$pbss_string = str_replace('</a>', '</a> <br>', $pbss_string);
$pbss_string = str_replace(' target=_blank', ' target=_blank><br> <b>PBSS #', $pbss_string);
$pbss_string = str_replace('#>', '#</b>', $pbss_string);
$pbss_string = str_replace('GUID=', ' ', $pbss_string);
$pbss_string = str_replace('(W)', '<br><b>GUID#</b>', $pbss_string);
$pbss_string = str_replace('(-)', '<br><b>Date: </b>', $pbss_string);
$pbss_array = explode("<!-->", $pbss_string);
$i = 0;
while($pbss_array[$i] != "") {
$i++;
}
$pagenums = $i / $max;
if($pg == 1) {
for($v=0; $v < $max; $v++) {
echo ("<center> $pbss_array[$v] </center>");
}
} else {
for($v=0; $v < $max * $pg; $v++) {
if($v > (($pg - 1) * $max)) {
echo ("<center> $pbss_array[$v] </center>");
}
}
}
echo("<center>Select a Page<br>");
for($n=1; $n < $pagenums; $n++) {
echo ("<a href=?name=pbss&view=text&page=$n > $n </a> | ");
}
} elseif ($view == "graphic") {
$pg = $_GET['page'];
if($pg == "") {
$pg = 1;
}
$pbss_connect = fopen($pbss_addr.'pbsvss.htm', "r");
while (!feof($pbss_connect)) {
$pbss_html .= fread($pbss_connect, 1024);
}
$pbss_string = "";
$pbss_string = str_replace('<a href=', '<!--><hr><img src='.$pbss_addr, $pbss_html);
$pbss_string = str_replace('.htm', '.png', $pbss_string);
$pbss_string = str_replace('</a>', '</img> <br>', $pbss_string);
$pbss_string = str_replace(' target=_blank', '><br> <b>PBSS #', $pbss_string);
$pbss_string = str_replace('#>', '#</b>', $pbss_string);
$pbss_string = str_replace('GUID=', ' ', $pbss_string);
$pbss_string = str_replace('(W)', '<br><b>GUID#</b>', $pbss_string);
$pbss_string = str_replace('(-)', '<br><b>Date: </b>', $pbss_string);
$pbss_array = explode("<!-->", $pbss_string);
$i = 0;
while($pbss_array[$i] != "") {
$i++;
}
$pagenums = $i / $max;
if($pg == 1) {
for($v=0; $v < $max; $v++) {
echo ("<center> $pbss_array[$v] </center>");
}
} else {
for($v=0; $v < $max * $pg; $v++) {
if($v > (($pg - 1) * $max)) {
echo ("<center> $pbss_array[$v] </center>");
}
}
}
echo("<center>Select a Page<br>");
for($n=1; $n < $pagenums; $n++) {
echo ("<a href=?name=pbss&view=graphic&page=$n > $n </a> | ");
}
} else {

}
echo("<p>(c)2006 James C. Alexander 'Bushi' & <a href=http://t-a-t.clanservers.com target='_blank'>[T-A-T]</a></center>");
CloseTable();
include("footer.php");
?>
tempus
tempus
Forumember

Posts : 30
Reputation : 0
Language : english

Back to top Go down

punkbuster screen shots Empty Re: punkbuster screen shots

Post by tempus July 23rd 2008, 9:25 pm

ok i tryed it but i got this any one tell me what i did wrong help needed please http://www.hybrid-gaming.com/screenshots-h2.html
tempus
tempus
Forumember

Posts : 30
Reputation : 0
Language : english

Back to top Go down

punkbuster screen shots Empty Re: punkbuster screen shots

Post by Saurus July 24th 2008, 12:34 am

You CANNOT add a PHP script to your forum - you do not and cannot get root access to the server. PHP scripts are Server Side items.

If you don't get help with some questions, it MIGHT be because the things you're asking for either have nothing to do with forumotion forums, or are just not possible.
avatar
Saurus
Forumember

Male Posts : 789
Reputation : 10
Language : english
Location : NY

http://sunrisers.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum