Announcement

Collapse
No announcement yet.

[RELEASE] PluhNews 1.0

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

  • #91
    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!
    Movie Forums - Now With 28% More Bruce Willis

    Comment


    • #92
      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
      Real Web Host

      Comment


      • #93
        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.
        Pluh.com (random nonsense) - Psychostick.com (my stupid band) - Collectiveunderground.com (AZ local music site) - Evacuatechicago.com

        Comment


        • #94
          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?
          Pluh.com (random nonsense) - Psychostick.com (my stupid band) - Collectiveunderground.com (AZ local music site) - Evacuatechicago.com

          Comment


          • #95
            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?
            Real Web Host

            Comment


            • #96
              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

              Comment


              • #97
                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.
                Real Web Host

                Comment


                • #98
                  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.
                  ???
                  Real Web Host

                  Comment


                  • #99
                    yes yes, all of that is possible. I can put this on a 'request' list if you like for the next release!
                    Pluh.com (random nonsense) - Psychostick.com (my stupid band) - Collectiveunderground.com (AZ local music site) - Evacuatechicago.com

                    Comment


                    • yes yes can not wait.

                      Thank You
                      Real Web Host

                      Comment


                      • 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?
                        Real Web Host

                        Comment


                        • I think you can. Try this:

                          PHP Code:
                          <? include("http://thenameofyourdomain.com/nameofforums/PluhHeadlines.php"); ?>
                          Pluh.com (random nonsense) - Psychostick.com (my stupid band) - Collectiveunderground.com (AZ local music site) - Evacuatechicago.com

                          Comment


                          • 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
                            Real Web Host

                            Comment


                            • 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!!

                              Comment


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

                                Comment

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