plz fix a PHP related thing

Status
Not open for further replies.

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
I just installed a contest on my site. The page is: http://jagf.pcriot.com/scoreboard/contest.php

On http://jagf.pcriot.com I want to include it in a block under the banner (GamingX).

The scriptmaker wrote this to "embed" it in a page:

PHP:
<?php
$display_inline = true;
include 'http://jagf.pcriot.com/scoreboard/contest.php';
?>

I think this should be in a php block.

Now I want you to include it there and do it so it fits in the block that is like to the youtube video's table.

The owner of the portal wrote theese tutorials how to make new blocks with php in it:

ALEXIS said:
1. create your own block php file to root/bb3portal/block/
2. include this block on root/bb3portal.php
3. create your own block theme file to style/prosilver/template/bb3portal/block/
4. include this theme file on style/prosilver/template/bb3portal/portal_main.html (or for v.1.1.0 portal_body.html)

The template file should contain:

HTML:
<!-- $Id: contest.html,v 1.1 2007/04/04 09:33:30 angelside Exp $ //-->
<table class="tablebg" cellspacing="1" width="100%">
<tr>
   <th>[table title]</th>
</tr>
<tr>
   <td class="row1">
  [CONTENT GO HERE]
 </td>
</tr>
</table>
<br />

And in portal_main.html it should look like this:
Under:
HTML:
<!--// [+] news //-->
 <!-- IF S_DISPLAY_NEWS_LIST -->
 <!-- INCLUDE bb3portal/block/news.html -->
 <!-- ENDIF -->
<!--// [-] news //-->
It should be:
HTML:
<!--// [+] contest//-->
 <!-- INCLUDE bb3portal/block/contest.html -->
<!--// [-] contest //-->

Can you do it and how much do you want paid???
 
Last edited:
Status
Not open for further replies.
Top