Announcement

Collapse
No announcement yet.

[RELEASE] PluhNews 1.0

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Hamma
    replied
    eh I cant get this thing to work for the life of me.

    Leave a comment:


  • Hamma
    replied
    Im getting that assortment of errors when I am logged in? I already have the cookie thing set. Also do I put those require commands on the index of the site itself where the news is included?

    Leave a comment:


  • Hamma
    replied
    I read it but have a short term memory Ill dig back a bit hehe

    Leave a comment:


  • Goldfinger
    replied
    Originally posted by Kayn
    Well, haven't messed with it in a while...

    Post any suggestions that ya'll would think is necessary, or wanted, or whatever.

    you should add my code fix in the headlines . lol. its simple but yeah it is useful.

    Leave a comment:


  • Goldfinger
    replied
    if you go back a couple pages you'll find out how to fix your header problem a whole bunch of us had that same problem .

    Leave a comment:


  • Hamma
    replied
    hmm, getting some odd errors:

    Warning: Undefined variable: REQUEST_URI in
    path\to\global.php on line 39

    Warning: Undefined variable: QUERY_STRING in path\to\global.php on line 47

    Warning: Undefined index: HTTP_POST_VARS in
    path\to\global.php on line 64

    Warning: Undefined index: action in
    path\to\global.php on line 64

    Warning: Undefined index: action in
    path\to\global.php on line 67

    Warning: Cannot add header information - headers already sent by (output started at path\to\global.php:39) in path\to\functions.php on line 1457
    Today's News

    However at the very bottom its posting my news.. is there somthin I missed? hehe
    Last edited by Hamma; Wed 10 Oct '01, 2:57pm.

    Leave a comment:


  • Kayn
    replied
    Well, haven't messed with it in a while...

    Post any suggestions that ya'll would think is necessary, or wanted, or whatever.

    Leave a comment:


  • Hamma
    replied
    I want to use this hack. However theres allota stuff to read here hehe, would it be ok to use the stuff from the first page or were there bugs fixed?

    Leave a comment:


  • Steve_C
    replied
    Originally posted by Kayn
    Wow, look at all these posts.

    Sorry I've been gone, but I'm glad there are people using my little hack.
    Time for some updated features?

    Leave a comment:


  • Kayn
    replied
    Wow, look at all these posts.

    Sorry I've been gone, but I'm glad there are people using my little hack.

    Leave a comment:


  • Goldfinger
    replied
    here is a MINI im talkin lil modification i did to the headlines.php to make it display a selected number of headlines instead of showing the same amout as the news.

    in pluhheadlines.php find:

    PHP Code:
     // create sql statement
    $sql "SELECT threadid, title, forumid, replycount, postusername, postuserid, lastposter, dateline, iconid FROM thread WHERE forumid = \"$newsforums\" ORDER BY threadid DESC LIMIT $newsitems"
    replace that with

    PHP Code:
    //headline count
    $headlines "5";

    // create sql statement
    $sql "SELECT threadid, title, forumid, replycount, postusername, postuserid, lastposter, dateline, iconid FROM thread WHERE forumid = \"$newsforums\" ORDER BY threadid DESC LIMIT $headlines"
    and just put how many headlines you want to display in the $headlines variable . Enjoy.

    Leave a comment:


  • Steve_C
    replied
    Originally posted by Craig Armstrong
    You could just install multipul PluhNews' on your server...

    PluhConfig1.php
    PluhNews1.php
    PluhHeader1.txt
    PluhFooter1.txt

    PluhConfig2.php
    PluhNews2.php
    PluhHeader2.txt
    PluhFooter2.txt

    et cetera...

    Just set up each one to pull the news from different forums, then include them wherever you want on any page.
    Seems like a lot of work. A more featured version of Pluh News would be better.

    Leave a comment:


  • Harry
    replied
    Thanks Craig, the ...more... thing works perfect, with the multiple Newsfiles I had the same idea also works.

    Leave a comment:


  • Craig Armstrong
    replied
    You could just install multipul PluhNews' on your server...

    PluhConfig1.php
    PluhNews1.php
    PluhHeader1.txt
    PluhFooter1.txt

    PluhConfig2.php
    PluhNews2.php
    PluhHeader2.txt
    PluhFooter2.txt

    et cetera...

    Just set up each one to pull the news from different forums, then include them wherever you want on any page.

    Leave a comment:


  • Steve_C
    replied
    Originally posted by usbnuts
    SirSteve,

    I think you just have to change one line to grab any thread titles forum catergoies you want.

    // create sql statement
    $sql = "SELECT threadid, title, forumid, replycount, postusername, postuserid, lastposter, dateline, iconid FROM thread WHERE forumid = "1" AND forumid = "2" AND forumid = "3" ORDER BY dateline DESC LIMIT $newsitems";
    I tried but it didn't work for me or I did something wrong...

    Leave a comment:

widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X