Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
Bigboy177
Worker
Worker


Joined: Jul 07, 2004
Posts: 192

PostPosted: Tue Jul 20, 2004 4:48 pm Reply with quote

I'm looking for a block that can show upcoming events... It could be something simillar to Ephemerids Block, but Ephemerids Block only shows an Event from today... I want it to show lets say... ten nearest future events... Is there such block... Or maybe someone can write a hack to the ephemerids block... or point me into the right direction... Smile
 
View user's profile Send private message
GeekyGuy
Client


Joined: Jun 03, 2004
Posts: 302
Location: Huber Heights Ohio

PostPosted: Tue Jul 20, 2004 6:13 pm Reply with quote

BigBoy177,

Just a thought from a new phpNuke user... not sure if this idea would fit your situation or not.

Could you possibly use a modified ShoutBox block? You can turn off the Date and Time on the Shout using the ShoutBox Admin panel. This would still allow others to post also, but I'm sure the ShoutBox block could be hacked to only allow an Admin post a new message. You could then put up your upcoming events manually, and delete them when they have expired.

_________________
"The Daytona 500 is ours! We won it, we won it, we won it!", Dale Earnhardt, February 15th, 1998, Daytona 500 
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger ICQ Number
CodyG
Life Cycles Becoming CPU Cycles


Joined: Jan 02, 2003
Posts: 712
Location: Vancouver Island

PostPosted: Wed Jul 21, 2004 9:01 am Reply with quote

Speaking of shoutbox, has anyone heard of anyone successfully using two shoutblocks? One for the users, and one just for admin? I think it would be a very cool admin tool, a place to post about site changes and such.

_________________
"We want to see if life is ubiquitous." D.Goldin 
View user's profile Send private message
GeekyGuy
PostPosted: Wed Jul 21, 2004 9:36 am Reply with quote

I had a similar thought, but have not had the time to test this. The blocks would have to be differenly named in the Blocks folder (like block-Shout_Box, and block-Shout_Admin). I also think the Admin panel would have to have two differently named entries (and right now I cannot remember when these files reside). This way you could control both boxes seperately. Also when setting up the Admin block, of course you would set it so only admins had rights to view it. I will have to take a look at this when I get home.

The best way to learn is to try
 
CodyG
PostPosted: Wed Jul 21, 2004 9:45 am Reply with quote

I think there would have to be some adjustments made to the javascript too. Javascripts using the same variables don't like to play on the same page. I have a javascript countdown block I like to use occasionally. Works great as a side-block, as long as I'm not viewing the homepage where the shoutblock is top-center.
 
GeekyGuy
PostPosted: Wed Jul 21, 2004 5:52 pm Reply with quote

I'll be the first to admin, I will certainly need to learn a lot more about phpNuke before I will be ready to attempt rewriting something like ShoutBox. I've spent a little time looking stuff over, and I'm baffled. I tried modifying the javascript, and the phpnuke code to rename the variables. Even created new tables in MySQL, and did get the box to show up, but it never worked. But I gave it a good old Geeky try. I might revisit it again sometime though. Cool
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©