| Author |
Message |
CUOnNet
Nuke Soldier


Joined: Apr 18, 2003
Posts: 18
|
Posted:
Mon Apr 21, 2003 10:11 am |
  |
Hello,
Can anyone help me in finding different scrolling blocks, must have seem such blocks for:
Forums Posts
Old Articles
Recent Articles
ETC.
Thanks. |
|
|
   |
 |
el_flynn
Nuke Soldier


Joined: Apr 23, 2003
Posts: 17
Location: Third rock from the sun
|
Posted:
Tue Apr 22, 2003 9:07 pm |
  |
I coded one as a "Newsflash" type of block. You can probably look at the code and modify it yourself.
This is basically a scroller block that displays news flashes on your phpNuke site. It can be programmed to release the newsflash on a certain date and time, with the option of expiring the news flash after a certain period of time.
I don't have a site up to demo the code, but you can get it here. |
|
|
   |
 |
SoulReapeR
Nuke Soldier


Joined: May 15, 2003
Posts: 10
|
Posted:
Thu May 15, 2003 5:46 am |
  |
When i try to access the newflash button on the adminmenu i get this : Access denied. Go away
Why ? |
|
|
     |
 |
ArtificialIntel

Joined: Jan 31, 2004
Posts: -88
|
Posted:
Thu May 15, 2003 5:48 am |
  |
open the case file and the admin module file for the newsflash admin section (found in /admin/case and /admin/modules respectively)
Make sure (if you use Nuke 6.5) that the if(!eregi line says $_SERVER['PHP_SELF'] not $PHP_SELF near the top of both files.
AI |
|
|
   |
 |
SoulReapeR
Nuke Soldier


Joined: May 15, 2003
Posts: 10
|
Posted:
Thu May 15, 2003 8:45 pm |
  |
Did that but it still doesn't work  |
|
|
     |
 |
SoulReapeR
Nuke Soldier


Joined: May 15, 2003
Posts: 10
|
Posted:
Thu May 15, 2003 8:48 pm |
  |
case.newsflash.php
if (!eregi("admin.php", $_SERVER['PHP_SELF'])) { die ("Access Denied"); }
newsflash.php
if (!eregi("admin.php", $_SERVER['PHP_SELF'])) { die ("Access Denied"); } |
|
|
     |
 |
SoulReapeR
Nuke Soldier


Joined: May 15, 2003
Posts: 10
|
Posted:
Fri May 16, 2003 11:39 am |
  |
Arrrgh....can't get this to work |
|
|
     |
 |
ArtificialIntel

Joined: Jan 31, 2004
Posts: -88
|
Posted:
Fri May 16, 2003 1:03 pm |
  |
is Register_Globals enabled in php.ini?
AI |
|
|
   |
 |
SoulReapeR
Nuke Soldier


Joined: May 15, 2003
Posts: 10
|
Posted:
Fri May 16, 2003 1:05 pm |
  |
|
     |
 |
Doc1
Nuke Cadet


Joined: Jun 09, 2003
Posts: 8
|
Posted:
Mon Jul 07, 2003 12:18 pm |
  |
No wonder you cant get it to work, its full of bugs and the coding is stuffed to Rainbow Brite. Im starting to get sick of fixing other peoples fu*k ups.
Edited by Doc1 . |
Last edited by Doc1 on Mon Jul 07, 2003 12:30 pm; edited 1 time in total |
|
   |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Mon Jul 07, 2003 12:22 pm |
  |
That post is 2 months old and long gone by now. Also, please clean it up, even though you 'censored' it. The reason we are here, in this community, is to help fix mistakes. Thanks. |
_________________ Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff |
|
    |
 |
Doc1
Nuke Cadet


Joined: Jun 09, 2003
Posts: 8
|
Posted:
Mon Jul 07, 2003 12:29 pm |
  |
Im just stating a point that half the stuff dont work or needs mods done to it , im just having a whinge dont mind me , i get sick of fixing other peoples mistakes , you know how it is.  |
|
|
   |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Mon Jul 07, 2003 12:31 pm |
  |
I can understand. Keep in mind that everyone starts out somewhere. People aren't just born coders with standards, etc. Let's not attack others here. Thanks for joining our community and look forward to your future contributions  |
_________________ Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff |
|
    |
 |
Doc1
Nuke Cadet


Joined: Jun 09, 2003
Posts: 8
|
Posted:
Mon Jul 07, 2003 12:34 pm |
  |
Cheers i am making some new stuff , i had i bit of a barney myself with all this nuke stuff , but ive put my head down and im working on some new modules and a few blocks so i will contribute over time myself if thats ok , im just getting into it myself now and seeing heaps of errors in some peoples work , i guess im just a perfectionist and a bit of a critic at times too.
Thanks again  |
|
|
   |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Mon Jul 07, 2003 12:36 pm |
  |
Contribute away! Announce your wares in the Blocks and/or Modules sections when you have them. Use Tips/Tricks for those little nuggets that someone may not know. |
_________________ Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff |
|
    |
 |
|
|