Announcement

Collapse
No announcement yet.

[RELEASE v2] Last XX Posts on non-vB page

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

  • #46
    thanks tubedogg

    Comment


    • #47
      updated (see the first post in this thread).

      see this post as to why i updated it.
      Last edited by tubedogg; Sat 7 Apr '01, 4:14am.

      Comment


      • #48
        I'm getting the error:
        Code:
        Fatal error: Call to undefined function: bbcodeparse() in /home/sites/site5/web/vb2/last10/last10.php on line 134
        any ideas?

        Comment


        • #49
          That will happen if you used the code that Parker suggested without including global.php. Keep in mind that if you are putting this on your front page, your visitors will get an error if they haven't visited your forums yet; that's why the bbcodeparse is not part of the official release in the first post in this thread.

          Comment


          • #50
            Originally posted by tubedogg
            That will happen if you used the code that Parker
            I used the code in the zip file from the first post in this thread... is there some code somewhere that doesn't have the bbcodeparse in?

            I thought I tried including global.php too, though, and that didn't work.

            Comment


            • #51
              Sorry - you're right. I don't know how it got into the official release. I replaced the zip file - try downloading it again.

              Comment


              • #52
                Thanks Tubedogg

                Comment


                • #53
                  Ok I found some more bugs, you can't use body tag to define the background color of a table, just use bgcolor attribute in table tag, also, you can create a variable, that lets people modify this, so that when they allow cellspacing, they can choose the border color. Also, at the very end of the code, you frogot to close the table row.

                  Code:
                  // close it all up
                  echo("</tr></table>");
                  // bye!
                  that way it'll be more browser friendly.

                  Comment


                  • #54
                    The body tag is not a bug, it was accidentally left in after testing. The missing <tr> was just an oversight.

                    Comment


                    • #55
                      Just trying to make it perfect!

                      NN hates when HTML is screwed up, just making sure that it reders correctly.

                      Comment


                      • #56
                        Originally posted by tubedogg
                        That will happen if you used the code that Parker suggested without including global.php. Keep in mind that if you are putting this on your front page, your visitors will get an error if they haven't visited your forums yet; that's why the bbcodeparse is not part of the official release in the first post in this thread.
                        If I enter myhost.com in this control panel option
                        Cookie Domain
                        The domain on which you want the cookie to have effect. If you want this to affect all of yourhost.com rather than just forums.yourhost.com, enter yourhost.com here. Can be left blank.
                        the bbcodeparse could be included?

                        Comment


                        • #57
                          i have got a problem:

                          http://www.agnfr.com/portail/

                          The script show the [QUOTE][i]

                          Is there a way to correct that?

                          Comment


                          • #58
                            Tubedogg.....if I wasn't a 100% heterosexual male, I'd seriously consider making love to you right now.

                            Great work bud!!!


                            I'm busy over here making some changes to it and I have a few questions for you...

                            1) How can I modify this sucker to also display the Forum Title along with the Thread Title?

                            2) How can I modify this sucker to disply the users chosen post icon alongside the Thread Title?

                            Thanks for the great work man!
                            Last edited by VAN; Thu 26 Apr '01, 2:16pm.

                            Comment


                            • #59
                              Originally posted by julius
                              If I enter myhost.com in the control panel option the bbcodeparse could be included?
                              No, because the visitor must still have gone to the forums first. That just means that once they do go to the forums, do you want the cookie to be set for your whole domain or just the forums.

                              Comment


                              • #60
                                [QUOTE]Originally posted by VAN
                                Tubedogg.....if I wasn't a 100% heterosexual male, I'd seriously consider making love to you right now.
                                ....trying very hard to keep my comments PG-13....

                                1) How can I modify this sucker to also display the Forum Title along with the Thread Title?
                                Now a standard feature

                                How can I modify this sucker to disply the users chosen post icon alongside the Thread Title?
                                Now also a standard feature

                                I thought you also echoed JoJo's comments about parsing vBcode, but anyway I added that too, at least a limited version of it. I'll figure out a better way to do it down the road.

                                Comment

                                Related Topics

                                Collapse

                                Working...
                                X