View Single Post
  #1 (permalink)  
Old 07-04-2003, 09:52 PM
newnuker newnuker is offline
Junior Member
 
Join Date: Jul 2003
Posts: 3
Modify Top Forum block Nuke 6.5 to work with PHPBB2.04!
Hi,

thanx for this site,,,,

I use phpNuke 6.5 and before that, I was using only the PHPBB2.04 forum as standalone...

After that, I've installed PHP-Nuke 6.5...

But I dont want to use the forum with Nuke 6.5

Ok, lets go back to the topic

I've download themepack PHPib2 for my nuke, with this theme is a center Top forum block included...

I cant use this block with my site, coz. it works with the forum as module and not a standalone PHPBB2.04

I would like to modify this block to make work with my PHPBB2.04

So, I made some changes like this:

Code:
$prefix = "phpbb";
and this:

$viewlast .=" <tr>
<td width=\"100%\" bgcolor=\"#EAEFF6\" class=\"row1\">&$topic_title</td>
<td align=\"center\" bgcolor=\"#DFE6EF\" class=\"row2\">$topic_replies</td>
<td align=\"center\" bgcolor=\"#EAEFF6\" class=\"row3\">$avtor</td>
<td align=\"center\" bgcolor=\"#DFE6EF\" class=\"row2\">$topic_views</td>
</tr>";


I have been unable to make the $topic_title clickable...

coz. the org. file looks like this:

<td width=\"100%\" bgcolor=\"#FFFFFF\" class=\"row1\">&<a href=\"modules.php?name=Forums&file=viewtopic&t=$t opic_id#$topic_last_post_id\">$topic_title</a></td>

and that's not working:


So, my problem is:

How can I make this block to make it work as php-Nuke center block and it should connect to the PHPBB2.04 as standalone and gets the last 5 top forum topic? and make it clickable?

Any one? any tips! or tricks?
Reply With Quote