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, 144 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Possible to make Event Countdown block scroll?? [ ]
 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
Whttailbuckdeer
Corporal
Corporal


Joined: Apr 03, 2003
Posts: 58

Location: Milwaukee

PostPosted: Sat Aug 16, 2003 11:00 am Reply with quoteBack to top

On my site www.peteloaf.net I have an event countdown block with mostly birthdays and such in it. I was wondering if it is possible to make this a scrolling block in order to add more events without taking up anymore space on the right side. Question Question

Any ideas nukers??

_________________
www.peteloaf.net
Thanks for all the help!
Pete
Find all posts by WhttailbuckdeerView user's profileSend private messageVisit poster's websiteAIM Address
gunner
Sergeant
Sergeant


Joined: Jul 07, 2003
Posts: 140


PostPosted: Sun Aug 17, 2003 3:48 pm Reply with quoteBack to top

soory I don't have the answer to your question, but I do love that countdown block. could you tell me where I get it? Thanks

_________________
.::.
http://www.boozebros.ca
Find all posts by gunnerView user's profileSend private messageVisit poster's website
Whttailbuckdeer
Corporal
Corporal


Joined: Apr 03, 2003
Posts: 58

Location: Milwaukee

PostPosted: Sun Aug 17, 2003 4:01 pm Reply with quoteBack to top

I noticed you registered on my site, so I just added it to the downloads section there. Yeah, I really like the countdown block too, and I'd add a lot more things to it if I could somehow get it to scroll. Laughing

_________________
www.peteloaf.net
Thanks for all the help!
Pete
Find all posts by WhttailbuckdeerView user's profileSend private messageVisit poster's websiteAIM Address
gunner
Sergeant
Sergeant


Joined: Jul 07, 2003
Posts: 140


PostPosted: Sun Aug 17, 2003 7:00 pm Reply with quoteBack to top

Thanks...great site by the way. I thought the block would allow you to enter a date then countdown (I graduate from medical school in...u know what I mean?)...not just birthdays. Do you know a block that does this?


Hey let's screw....great poll Smile

_________________
.::.
http://www.boozebros.ca
Find all posts by gunnerView user's profileSend private messageVisit poster's website
gunner
Sergeant
Sergeant


Joined: Jul 07, 2003
Posts: 140


PostPosted: Mon Aug 18, 2003 5:55 am Reply with quoteBack to top

I managed to get a newer version of the events countdown from phpnuke.org. It works great. For those that don't know, you can add any event by using the module admin interface...the actual date is shown in the block...

_________________
.::.
http://www.boozebros.ca
Find all posts by gunnerView user's profileSend private messageVisit poster's website
Whttailbuckdeer
Corporal
Corporal


Joined: Apr 03, 2003
Posts: 58

Location: Milwaukee

PostPosted: Mon Aug 25, 2003 5:56 pm Reply with quoteBack to top

bump

Still wondering if anyone knows how to easily make the event countdown block scroll Smile

_________________
www.peteloaf.net
Thanks for all the help!
Pete
Find all posts by WhttailbuckdeerView user's profileSend private messageVisit poster's websiteAIM Address
Whttailbuckdeer
Corporal
Corporal


Joined: Apr 03, 2003
Posts: 58

Location: Milwaukee

PostPosted: Thu Aug 28, 2003 5:44 pm Reply with quoteBack to top

bump again :-/

_________________
www.peteloaf.net
Thanks for all the help!
Pete
Find all posts by WhttailbuckdeerView user's profileSend private messageVisit poster's websiteAIM Address
kjcdude
Captain
Captain


Joined: Jun 10, 2003
Posts: 441

Location: Southern California

PostPosted: Fri Aug 29, 2003 2:11 am Reply with quoteBack to top

What is the newest version of the block?

_________________
Diablo Heat | The OC Sucks [b]Hot or Not[/b] | TheOCSucks.com The OC Sucks
Find all posts by kjcdudeView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressMSN Messenger
gunner
Sergeant
Sergeant


Joined: Jul 07, 2003
Posts: 140


PostPosted: Fri Aug 29, 2003 4:07 am Reply with quoteBack to top

I have version 1.0, don't know if there is anything later. I also would like to see this block scroll.

_________________
.::.
http://www.boozebros.ca
Find all posts by gunnerView user's profileSend private messageVisit poster's website
Whttailbuckdeer
Corporal
Corporal


Joined: Apr 03, 2003
Posts: 58

Location: Milwaukee

PostPosted: Mon Sep 01, 2003 2:28 pm Reply with quoteBack to top

Does anyone know who developed the scrolling forum posts and if that code can be adapted to this block??

_________________
www.peteloaf.net
Thanks for all the help!
Pete
Find all posts by WhttailbuckdeerView user's profileSend private messageVisit poster's websiteAIM Address
Whttailbuckdeer
Corporal
Corporal


Joined: Apr 03, 2003
Posts: 58

Location: Milwaukee

PostPosted: Fri Sep 12, 2003 10:29 am Reply with quoteBack to top

bump

_________________
www.peteloaf.net
Thanks for all the help!
Pete
Find all posts by WhttailbuckdeerView user's profileSend private messageVisit poster's websiteAIM Address
Namsul
Captain
Captain


Joined: Feb 13, 2003
Posts: 339

Location: Australia

PostPosted: Fri Sep 12, 2003 11:02 pm Reply with quoteBack to top

Prolly find, if you'de have posted the code it may have been done a bit faster save having to register/download/then code the block. For next time Shocked

Code:
<?
$usemarquee = 1;
$scrolldirection = "Up";

  if (eregi("block-Event_Countdown.php",$PHP_SELF)) {
      Header("Location: index.php");
      die();
  }
$content .= "<Marquee Behavior=\"Scroll\" Direction=\"$scrolldirection\" Height=\"100\" ScrollAmount=\"2\" ScrollDelay=\"130\" onMouseOver=\"this.stop()\" onMouseOut=\"this.start()\"><br>";

  $module_name = "Event_Countdown";

  include("config.php");
  include("modules/$module_name/functions.php");

  if ($SCA == 1){
    if (date("n") <= 4){
      $content .= "<b>A.S. " . (date("Y") - 1966) . "</b><br><br>";
    }else{
      $content .= "<b>A.S. " . (date("Y") - 1965) . "</b><br><br>";
    }
  }

  connectDB();
  $query = "SELECT * FROM  " . $prefix . "_countdown ORDER BY date";
  $result = mysql_query($query);

  $i=0;
  $number = MYSQL_NUMROWS($result);

  //Countdown timer
  while($i < $number){
    $ID = mysql_result($result, $i, "ID");
    $date = mysql_result($result, $i, "date");
    $event = mysql_result($result, $i, "event");

    $days = ceil((timestamp2utime($date) - time(void))/86400);



  if ($days >= 0){
      if ($days == 0){
        $content .= "<b style=\"color:#ff0000\">$event</b> is today! Why aren't you there?<br><br>";
      }elseif ($days == 1){
        $content .= "There is <b style=\"color:#ff0000\">$days</b> day until <b style=\"color:#ff0000\">$event</b>.<br><br>";
      }else{
        $content .= "There are <b style=\"color:#ff0000\">$days</b> days until <b style=\"color:#ff0000\">$event</b>.<br><br>";
      }
    }
  $i++;
  }

$content .= "</Marquee><br>";
?>
Find all posts by NamsulView user's profileSend private messageSend e-mailVisit poster's website
twelves
Lieutenant
Lieutenant


Joined: Jul 13, 2003
Posts: 192


PostPosted: Sat Sep 13, 2003 8:47 am Reply with quoteBack to top

How is it the last Forums rss/feed is scrolling?

OOO!!! I like that!
Laughing
Find all posts by twelvesView user's profileSend private messageVisit poster's website
Archangel
Corporal
Corporal


Joined: Mar 19, 2003
Posts: 57

Location: Indiana

PostPosted: Sun Oct 19, 2003 8:57 pm Reply with quoteBack to top

Okay I really want to use this block, but I don't know how to set up an event. It doesn't come with any directions? If someone could help me out I'd appreciate it. I kind of feel dumb asking this since it's probably really easy, I'd like to do a countdown to chrismas.

Thanks
Find all posts by ArchangelView user's profileSend private messageVisit poster's website
Namsul
Captain
Captain


Joined: Feb 13, 2003
Posts: 339

Location: Australia

PostPosted: Mon Oct 20, 2003 2:24 am Reply with quoteBack to top

This block is only part of the event countdown. You need to get the entire zip file which has other stuff. If you can't find it email me I'll dig it up
Find all posts by NamsulView user's profileSend private messageSend e-mailVisit poster's website
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.566 Seconds - 329 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::