You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 66 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Need help with Scrolling Forum Block Splatt Forum [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
borgata20
Sergeant
Sergeant


Joined: Jun 13, 2003
Posts: 118

Location: North Jersey

PostPosted: Tue Jun 17, 2003 1:48 pm Reply with quoteBack to top

I just downloaded Scrolling Forum Block. It says that is used for phpBB2. I have Splatt Forum running on PHPNuke 6.0. I was wondering if anyone knew if this block will work with splatt forum and if not, is there a block like this for Splatt forum. Thanks everyone!!

Ralph Very Happy
Find all posts by borgata20View user's profileSend private messageVisit poster's website
KrewZen
Nuke Cadet
Nuke Cadet


Joined: Jun 18, 2003
Posts: 9


PostPosted: Mon Jun 23, 2003 11:18 am Reply with quoteBack to top

Ralph,
I'm working on that now... very much a newbie at php/mySQL but it looks straightforward enough. I'll share if I get mine working.... please let me know if you find one in the meanwhile!

Thanks,
David
Find all posts by KrewZenView user's profileSend private messageAIM Address
KrewZen
Nuke Cadet
Nuke Cadet


Joined: Jun 18, 2003
Posts: 9


PostPosted: Wed Jun 25, 2003 5:29 am Reply with quoteBack to top

Ralph,

There may be a better forum scroll block out there for 6.0w/Splatt, but I couldn't find it. Here is what I came up with - I called it "block-ForumScroll.php" and it resulted from an edit of the non-scrolling block provided in the yahoo installation package:

Code:
<?php

########################################################
# Modulo Splatt Forum per PHP-NUKE ver.5.6
#-------------------------   
# BLOCCO FORUM      
#-------------------------
# Versione: 3.2   
#
# Copyright (c) 2002 by:
#            
# Giorgio Ciranni (~Splatt~)   
# (http://www.splatt.it)
# (webmaster@splatt.it)   
#                      
# Scroll function added by David Peters (support@pceo.us ########################################################

if (eregi("block-ForumScroll.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}

require_once("mainfile.php");
get_lang(Forums); 

global $prefix, $dbi, $sitename;

$result = sql_query("SELECT t1.topic_id,t1.topic_title,t1.topic_time,t1.forum_id  FROM ${prefix}_forums t0,${prefix}_forumtopics t1 WHERE t0.forum_type=0  AND t0.forum_id=t1.forum_id ORDER BY t1.topic_time DESC LIMIT 0, 10", $dbi);
while(list($topic_id, $topic_title, $topic_time, $forum_id) = sql_fetch_row($result, $dbi)) {
    $res = sql_query("select image from ".$prefix."_posts where topic_id='$topic_id'", $dbi);
    list ($image) = sql_fetch_row($res, $dbi);
    if($image == "") {
   $image= "icon33.gif";
    }
    $title2 = ereg_replace("_", " ", $topic_title);
    $title2 = stripslashes($title2);
    $title3 = substr("$title2", 0,18);
    $show .= "<tr><td width=\"25\"><img src=\"images/forum/subject/$image\" alt=\"$title2 - $topic_time\"></td><td><a href=\"modules.php?name=Forums&file=viewtopic&topic=$topic_id&forum=$forum_id \"> $title3...</a></td></tr>";
}

       $content = " <A name= \"scrollingCode\"></A>
<MARQUEE behavior= \"scroll\" align= \"center\" direction= \"up\" height=\"120\" scrollamount= \"2\" scrolldelay= \"90\" onmouseover='this.stop()' onmouseout='this.start()'><table width=\"100%\">";

$content .= "<i>"._FULTM."</i></center><br>$show</table><br><center><hr width=\"50%\"><a href=\"modules.php?name=Forums\" target=\"_blank\">$sitename Forum</a></center>";

?>


You can check it out at http://portal.pceo.us but there is (virtually) nothing in the fourm yet (site isn't live yet)... big change from earlier site though phpnuke has really been great.

BTW: are you on yahoo web hosting? They supplied an automated install of phpnuke 6.0 with Splatt forums. It has had lots of problems... I still have one to go that no one has responded to on this site.
Find all posts by KrewZenView user's profileSend private messageAIM Address
borgata20
Sergeant
Sergeant


Joined: Jun 13, 2003
Posts: 118

Location: North Jersey

PostPosted: Wed Jun 25, 2003 5:47 am Reply with quoteBack to top

I will have to check in to this. I am hosting my own php site on a sun box. I added a block and messed up my site so it is being worked on now. I want to get to this but I am going to replicate my site first before I do anything. i will check this all out. Do I have to be using Yahoo in order for it to work??

Thanks!

Ralph
Find all posts by borgata20View user's profileSend private messageVisit poster's website
borgata20
Sergeant
Sergeant


Joined: Jun 13, 2003
Posts: 118

Location: North Jersey

PostPosted: Wed Jun 25, 2003 5:47 am Reply with quoteBack to top

I will have to check in to this. I am hosting my own php site on a sun box. I added a block and messed up my site so it is being worked on now. I want to get to this but I am going to replicate my site first before I do anything. i will check this all out. Do I have to be using Yahoo in order for it to work??

Thanks!

Ralph
Find all posts by borgata20View user's profileSend private messageVisit poster's website
borgata20
Sergeant
Sergeant


Joined: Jun 13, 2003
Posts: 118

Location: North Jersey

PostPosted: Wed Jun 25, 2003 5:48 am Reply with quoteBack to top

I will have to check in to this. I am hosting my own php site on a sun box. I added a block and messed up my site so it is being worked on now. I want to get to this but I am going to replicate my site first before I do anything. i will check this all out. Do I have to be using Yahoo in order for it to work??

Thanks!

Ralph
Find all posts by borgata20View user's profileSend private messageVisit poster's website
borgata20
Sergeant
Sergeant


Joined: Jun 13, 2003
Posts: 118

Location: North Jersey

PostPosted: Wed Jun 25, 2003 5:48 am Reply with quoteBack to top

I will have to check in to this. I am hosting my own php site on a sun box. I added a block and messed up my site so it is being worked on now. I want to get to this but I am going to replicate my site first before I do anything. i will check this all out. Do I have to be using Yahoo in order for it to work??

Thanks!

Ralph
Find all posts by borgata20View user's profileSend private messageVisit poster's website
borgata20
Sergeant
Sergeant


Joined: Jun 13, 2003
Posts: 118

Location: North Jersey

PostPosted: Wed Jun 25, 2003 5:49 am Reply with quoteBack to top

I will have to check in to this. I am hosting my own php site on a sun box. I added a block and messed up my site so it is being worked on now. I want to get to this but I am going to replicate my site first before I do anything. i will check this all out. Do I have to be using Yahoo in order for it to work??

Thanks!

Ralph
Find all posts by borgata20View user's profileSend private messageVisit poster's website
KrewZen
Nuke Cadet
Nuke Cadet


Joined: Jun 18, 2003
Posts: 9


PostPosted: Wed Jun 25, 2003 7:42 am Reply with quoteBack to top

should work anywhere... but i haven't tested it.
good luck - and please let me know the result.
david
Find all posts by KrewZenView user's profileSend private messageAIM Address
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.360 Seconds - 281 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::