Announcement

Collapse
No announcement yet.

[RELEASE] PluhNews 1.0

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

  • jarvis
    replied
    Thanks Webhost,

    That solution would give me an output to my mainpage of all the articles in one particular forum, correct?

    What I am wanting to do is have something that points to one specific thread in any forum. I am okay with having to manually enter the forum and threadids in the string of code which could do this. All of the news items on my site are manually entered by myself or one other, and what I was hoping was something that points to that thread from my home page (i.e. the "Discuss this Post" that I am already using) but also give the last poster and # of posts in that thread.

    One way I was thinking of tackling this was that I could have an individual phunews.php (i.e. news1.php, news2.php, etc) for EACh article I post, but it seems that there would be a line of code that I could use for every post, and just manually type in the forumid and threadid specific to that news item that I have already created.

    Hopefully I'm getting my needs across, but I feel like I'm talking in one huge circle.

    Thanks!

    Leave a comment:


  • express
    replied
    This works had someone try it today with mind.
    PHP Code:
    <? include("http://thenameofyourdomain.com/nameofforums/PluhHeadlines.php"); ?>

    Leave a comment:


  • jarvis
    replied
    Can I?

    Okay, I've really been wanting to get something like this. I'm not so interested in the thread creation part of this hack, but I am really wanting to link to my threads from my home page and be able to display information like the following:

    "e.g. www.mhogaming.com News article here"

    20 comment(s) Last post by Jarvis

    I would think that there is a line of code from this hack that I should be able to use and just manually put in the forumid and thread strings, but my question is, where would I have my MySQL user information to pull this data. My main page is HTML-based, but PHP-parsed. I'm a bit nervous about embedding my user information in my homepage. Can this or any other hack do what I am asking?

    Newbie questions I'm sure, but any help is greatly appreciated!!!

    Thanks!!

    Leave a comment:


  • express
    replied
    try mind if you don't mind and see if it works

    http://www.realwebhost.net/forums

    or you might try http://forums.realwebhost.net

    Leave a comment:


  • Kayn
    replied
    I think you can. Try this:

    PHP Code:
    <? include("http://thenameofyourdomain.com/nameofforums/PluhHeadlines.php"); ?>

    Leave a comment:


  • express
    replied
    is it possible to setup the PluhHeadlines on a different domain rather than your own where some other site could pull the headlines from you?

    Leave a comment:


  • express
    replied
    yes yes can not wait.

    Thank You

    Leave a comment:


  • Kayn
    replied
    yes yes, all of that is possible. I can put this on a 'request' list if you like for the next release!

    Leave a comment:


  • express
    replied
    Another recommendation.

    Say you have your news script setup to pull 10 messages or 40 . Any way say when someone views this page is there away to add views back to total view counts for each thread on the list back in the forum columns . I need this if possible to keep up with views.
    ???

    Leave a comment:


  • express
    replied
    Thanks, Wanting to pull from about 7 or 8 forumid's.

    Joey

    Forgot a question?

    Is it possible to somehow incorporate the include script in the install.txt into a html document. Tried putting it in there but it didn't wotk very good. Would like to pull the new files from one website to another site if possible?
    Last edited by express; Wed 18 Jul '01, 3:19pm.

    Leave a comment:


  • Dark_Wizard
    replied
    With this version are we able to pull from more than one
    forum if so how?
    This would work well with categories in that each forum would be a category....I think I have some code from awhile back when I started this and never completed it...hmmm (as he looks through his files)...I'll get back to you on this

    Leave a comment:


  • express
    replied
    PHP Code:
    chdir("/home/username/public_html/forums/");
    require(
    "./global.php"); 

    Guessing you might try something like this and replace username with yours for your ftp account.

    Maybe?

    Leave a comment:


  • Kayn
    replied
    Originally posted by TWTCommish
    Sorry, I posted this elsewhere, but think it might be better here:
    --------------------------
    Hmmm, something's wrong. I started getting errors, so I tried to use chdir() to fix them. Here's what I'm using now. I have these two lines:

    Code:
    chdir("/usr/home/web/path/to/forums");
    require("/usr/home/web/path/to/forums/global.php");
    And then, I do this:

    Code:
    $comments = bbcodeparse2($comments,"1","1","1","1");
    I get this error:

    Fatal error: Call to a member function on a non-object in /usr/home/web/path/to/forums/admin/functions.php on line 75

    Any idea what's wrong? Thanks for your help either way!
    Hmm...I'm stumped...

    It should work. Anyone else here have suggestions?

    Leave a comment:


  • Kayn
    replied
    Originally posted by webhost
    ok guys couple of questions I have hack installed and it is running alright. Questions?

    1)On the news page at the bottom when you select view all
    posts should it pull up the entire forumid that you have set or
    just new post in that forumid? Mind pulls up the entire forumid.

    2) Is there a way to put a link on the headlines page that will
    bring up the news page.

    3) With this version are we able to pull from more than one
    forum if so how?
    4) Would there be away to add current active users in the forum
    on the headlines page?

    Thanks For the hack
    1) I set it up to pull up the entire forumid. 'View all News' was meant to just be a link to the news forum that was specified.

    2) Sure is. You have to go in and add the HTML. If you need specifics on how to do this just let me know.

    3) Multiple news forums is currently in the works. It's a good idea to have...

    4) That is an entirely different hack that I use on my page (http://pluh.com - under latest reviews). I forget exactly where to get it, but this hack is available somewhere in these forums. Try searching for it. If you can't find it, email me and I'll send you the code.

    Leave a comment:


  • express
    replied
    ok guys couple of questions I have hack installed and it is running alright. Questions?

    1)On the news page at the bottom when you select view all
    posts should it pull up the entire forumid that you have set or
    just new post in that forumid? Mind pulls up the entire forumid.

    2) Is there a way to put a link on the headlines page that will
    bring up the news page.

    3) With this version are we able to pull from more than one
    forum if so how?
    4) Would there be away to add current active users in the forum
    on the headlines page?

    Thanks For the hack

    Leave a comment:

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