Announcement

Collapse
No announcement yet.

Multiple Looks per board?

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

  • #16
    Very cool... thanks a ton

    Comment


    • #17
      see also here

      [url]http://uo.gomp.ch/forum/index.php[/url]

      and as one different layout at this forum, i have 3 or 4

      [url]http://uo.gomp.ch/forum/forumdisplay.php?forumid=5[/url]

      :)
      but the problem is, u cant change the messageiconcolor for this frame, so i made a neutral color for that so i can use that with all forums.

      Comment


      • #18
        Just to let you know - a much more friendly way of setting styles for forums/categories will be in the next major version :)

        John
        John Percival

        Artificial intelligence usually beats real stupidity ;)

        Comment


        • #19
          thanks john... that would be very beneficial.....

          i had to go through so many templates just to alter 1 of 23 of my forums at [url]http://www.animeboards.net/forums/forumdisplay.php?forumid=3[/url] and it sort of put me off changing the others......
          :: Always Back Up Forum Database + Attachments BEFORE upgrading !
          :: Nginx SPDY SSL - World Flags Demo [video results]
          :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

          Comment


          • #20
            Is there a way to do the SQL Query so that you don't have to know ahead of time how many categories you want? For example, can you you define an array and pull out the forums in categories from that array?
            For example,
            [code]
            $categorys=$DB_site->query("SELECT categoryid,title,displayorder FROM category WHERE displayorder<>0 and categoryid=$yourcats ORDER BY displayorder");[/code]
            where $yourcats=3,4,9

            Comment


            • #21
              No you can't do that - you have to do 'categoryid=2 OR categoryid=3 OR categoryid=5'

              Comment


              • #22
                i was actually going to try parsing out a the URL to insert the " OR " statement. Here's what I tried:
                [code]if (isset($catonly)) {
                $yourcat=preg_replace("_", " OR ", $catonly);
                } else {
                $yourcat="";
                }[/code]
                and an URL like: http://www. ... .com/forum/test.php?$catonly=14_18
                and I keep getting the following error:
                Warning: Delimiter must not be alphanumeric or backslash in /usr/local/etc/httpd/sites/bigsoccer.com/htdocs/forum/eb.php on line 4
                as well as a database error.
                Any thoughts (sorr, my php sucks)

                [Edited by JonnyQuest on 07-11-2000 at 08:15 PM]

                Comment


                • #23
                  OK. I figured it out:
                  [code]
                  if (isset($catonly)) {
                  $yourcat=str_replace("_", " OR categoryid=", $catonly);
                  } else {
                  $yourcat="";
                  }[/code]
                  and an URL like [url]http://www.bigsoccer.com/forum/eb.php?catonly=11_16_10[/url] and you can choose which categories you want to display. Haven't checked for bugs yet, but it displays (you can see it at that URL).

                  Comment


                  • #24
                    John -

                    Will the forthcoming multiple template feature allow us to have two (or more) totally different views than run right through the forum system? Example: one view is designed for PC users, the other for people browsing on a TV set.

                    Comment


                    • #25
                      [QUOTE][i]Originally posted by JonnyQuest [/i]
                      [B]OK. I figured it out:
                      [code]
                      if (isset($catonly)) {
                      $yourcat=str_replace("_", " OR categoryid=", $catonly);
                      } else {
                      $yourcat="";
                      }[/code]
                      and an URL like [url]http://www.bigsoccer.com/forum/eb.php?catonly=11_16_10[/url] and you can choose which categories you want to display. Haven't checked for bugs yet, but it displays (you can see it at that URL). [/B][/QUOTE] that url came back with

                      "



                      Sorry! (We still love you.)
                      The page you are looking for either no longer exists or you have encountered a server error.

                      If you believe you have reached this page by mistake, please email us.

                      Click here to return to our home page.
                      "
                      :: Always Back Up Forum Database + Attachments BEFORE upgrading !
                      :: Nginx SPDY SSL - World Flags Demo [video results]
                      :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

                      Comment


                      • #26
                        Sorry about that. We changed the name of the script when we went live with it. You can see it here: [url]http://www.bigsoccer.com/forum/boards.php?go=1.[/url] We also slightly changed the code so I wouldn't have to define all those variables in the URL. With this one, when go=1, it set's catonly=11_16_10 in the script. Additionally, we have it set a variable for the forum name (each one is different using the same template). This way, we can change what categories are in a section without having to change our navigation.

                        Comment


                        • #27
                          Are you going to release your go hack as a hack so others can use it? That would be really great.

                          Thanks
                          Christopher Padfield
                          Web Based Helpdesk
                          DeskPRO v3.0.3 Released - Download Demo Now!

                          Comment


                          • #28
                            I have recieved questions asking the same thing and was wondering if you were going to release or offer it as a "hack"?

                            Just curious.

                            Comment


                            • #29
                              it's already available and i am using it to filter my forums

                              [url]http://animeboards.net/forums/anime.shtml[/url]
                              and
                              [url]http://animeboards.net/forums/noanime.shtml[/url]

                              :: Always Back Up Forum Database + Attachments BEFORE upgrading !
                              :: Nginx SPDY SSL - World Flags Demo [video results]
                              :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

                              Comment


                              • #30
                                it is in another thread somewhere.

                                i also have it going well at [url]http://www.ascifi.com[/url]

                                Christopher Padfield
                                Web Based Helpdesk
                                DeskPRO v3.0.3 Released - Download Demo Now!

                                Comment

                                Related Topics

                                Collapse

                                Working...
                                X