| Author |
Message |
link Regular


Joined: Dec 24, 2004 Posts: 56
|
Posted:
Tue Apr 04, 2006 10:24 am |
|
Hello...
I run & both Nuk site... both tapped...
But am curious as to why the Blocks on the front of both pages are not tapped.. they are forum blocks...
Anyone have a clue how to do this?
Thanks ahead of time...
 |
|
|
|
 |
hitwalker Sells PC To Pay For Divorce

Joined: Posts: 5661
|
Posted:
Tue Apr 04, 2006 6:17 pm |
|
well those have to be tapped to...
you can use this block converter...
(must be registered use..) |
|
|
|
 |
link Regular


Joined: Dec 24, 2004 Posts: 56
|
Posted:
Thu Apr 06, 2006 4:26 pm |
|
Alright appliad for a membership
Need your approval...  |
|
|
|
 |
link Regular


Joined: Dec 24, 2004 Posts: 56
|
Posted:
Thu Apr 06, 2006 4:55 pm |
|
Thanks Mr Walker... going to use it now  |
|
|
|
 |
link Regular


Joined: Dec 24, 2004 Posts: 56
|
Posted:
Thu Apr 06, 2006 4:58 pm |
|
Keep getting...
The html tags you attempted to use are not allowed error..  |
|
|
|
 |
hitwalker Sells PC To Pay For Divorce

Joined: Posts: 5661
|
Posted:
Thu Apr 06, 2006 6:47 pm |
|
yes probably cause it contains java script ?
This is a sample of the standard forum block i just put in ...
<?php
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2002 by Francisco Burzi (fbc@mandrakesoft.com) */
/* */
/* */
/* This is a 2 min hack of the old forum block to work with the phpBB2 */
/* port. */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
/* Additional security & Abstraction layer conversion */
/* 2003 chatserv */
/* -- */
/************************************************************************/
if ( !defined('BLOCK_FILE') ) {
Header("Location: ../index.php");
die();
}
global $prefix, $db, $sitename;
$result = $db->sql_query("SELECT forum_id, topic_id, topic_title FROM ".$prefix."_bbtopics ORDER BY topic_time DESC LIMIT 10");
$content = "<br>";
while ($row = $db->sql_fetchrow($result)) {
$forum_id = intval($row['forum_id']);
$topic_id = intval($row['topic_id']);
$topic_title = $row['topic_title'];
$row2 = $db->sql_fetchrow($db->sql_query("SELECT auth_view, auth_read FROM ".$prefix."_bbforums WHERE forum_id='$forum_id'"));
$auth_view = intval($row2['auth_view']);
$auth_read = intval($row2['auth_read']);
if (($auth_view < 2) OR ($auth_read < 2)) {
$content .= "<img src=\"images/arrow.gif\" border=\"0\" alt=\"\" title=\"\" width=\"9\" height=\"9\"> <a href=\"ftopict-$topic_id.html\">$topic_title</a><br>";
}
}
$content .= "<br><center><a href=\"forums.html\"><b>$sitename Forums</b></a><br><br></center>";
?>
You see it changed? |
|
|
|
 |
link Regular


Joined: Dec 24, 2004 Posts: 56
|
Posted:
Fri Apr 07, 2006 4:51 am |
|
Yes i see the differences. Could use this.
Thanks... and i did have Javascript in the block. .. was my fault
thanks again Hit-Walker... nice tool  |
|
|
|
 |
|
|
|
|