Announcement

Collapse
No announcement yet.

[Release vB Links 1.0 | vB2bx

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

  • #91
    Any demo please ?

    Comment


    • #92
      Any demo please ?
      Here and hope early in mine if have help.

      byezzz

      Comment


      • #93
        After Installed ! I can not see anything on the links.php pages.
        blank.

        I can not see any files in CP too....... what is the problem ?

        Comment


        • #94
          Originally posted by Delhaze
          I changed the templates and made them "Custom Templates".
          Now when I upgrade VB there is no need to redo everything, apart from the admin part.

          I've also made a few other changes that make it more in keeping with the feel of VB itself.

          The category select auto jumps, and remembers where you have jumped to. (code taked from VB itself)

          Also made the buttons the default "Go" ones from VB.

          Added a "New Link" button

          Changed the tables to look more VB like.

          You can have a look at http://www.ckcsforums.com/links.php

          If any of you want the changes needed for the Auto Jump/Remember here it is:

          about line 81 find:

          PHP Code:
          //################### Kategorien < ################### 
          $links_categorys $DB_site->query("SELECT vb_links_category.* FROM vb_links_category ORDER by sortorder");
              
          while (
          $link_category $DB_site->fetch_array($links_categorys))
              {

                  
              eval(
          "\$links_category .= \"".gettemplate("links_category")."\";");
              } 
          replace with:

          PHP Code:
          //################### Kategorien < ################### 
          $links_categorys $DB_site->query("SELECT vb_links_category.* FROM vb_links_category ORDER by sortorder");
              
          while (
          $link_category $DB_site->fetch_array($links_categorys))
              {
               if (
          $link_category[id]==$category) {
                  
          $optionselected='selected';
              } else {
                  
          $optionselected='';
              }    
              eval(
          "\$links_category .= \"".gettemplate("links_category")."\";");
              } 
          change the "links_category" template to:

          Code:
          <option value="$link_category[id]" $optionselected>$link_category[name]</option>
          change the following in the "links template"

          Code:
          <select name="category">
          to:

          Code:
          <select name="category" onchange="window.location=('links.php?funktion=bereich&category='+this.options[this.selectedIndex].value)">
          enjoy!
          I really like the changes. Can you send the code so I can make mine as nice as yours?

          Comment


          • #95
            Who's Online

            A small bug... when you go to the Who's Online? page, it shows "Unknown Location" when visitors are viewing the Links pages. Can someone fix this?

            Comment


            • #96
              Originally posted by DevilsMania.com
              the first ZIP file (post 1) is NOT COMPLETE, there are missing texts in tsome of the templates, so when you install it you have some problems not seeying something

              could you please post all the templates, with the right texts to put inside ?

              thanks
              (all the tempates)
              thats my prob too!!!!....i missing some templates!!!...i cant see anything about categorys, but i made some!!

              Comment


              • #97
                I installed it just fine, but ti does not seem to use my forums
                colors, yet it uses its own..
                anyone know what files to edit to get it to look like the forums
                defaults?

                Seems to be working.. will test more and get back with you :-)
                I like this thou..
                Some host really do SUCK!: <-| YourHostSucks |->

                FYI: <-| PHP 4.0.6 | MySQL 3.23.39 | Apache 1.3.20 | RedHat Linux 7.1 |->

                Comment


                • #98
                  Well I already started by fixing the admin CP look of the links,

                  I am sure eveyone knows how to do this, but I will post what i did just incase...

                  PHP Code:
                  <tr><td>
                  <table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable">
                  <?php maketableheader("vB Links"); ?>
                  </table>
                  <a href="../links/adminlinks.php?s=<?php echo $session[sessionhash]; ?>&action=add"> Add </a>|
                  <a href="../links/adminlinks.php?s=<?php echo $session[sessionhash]; ?>&action=modify"> Modify </a>|
                  <a href="../links/adminlinks.php?s=<?php echo $session[sessionhash]; ?>&action=offline"> Approve </a>
                  </td></tr>

                  <tr><td>
                  <table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable">
                  <?php maketableheader("vB Links Category's"); ?>
                  </table>
                  <a href="../links/adminlinks.php?s=<?php echo $session[sessionhash]; ?>&action=addcat"> Add </a>|
                  <a href="../links/adminlinks.php?s=<?php echo $session[sessionhash]; ?>&action=modifycat"> Modify </a>|
                  <a href="../links/adminlinks.php?s=<?php echo $session[sessionhash]; ?>&action=ordercat"> Arrange </a>
                  </td></tr>

                  <tr><td><hr></td></tr>
                  I added this above

                  PHP Code:
                  <tr><td>
                  <table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable">
                  <?php maketableheader("Announcements"); ?>
                  </table>
                  <a href="announcement.php?s=<?php echo $session[sessionhash]; ?>&action=add" class="newa"> Add </a> |
                  <a href="announcement.php?s=<?php echo $session[sessionhash]; ?>&action=modify"> Modify </a>
                  </td></tr>
                  Some host really do SUCK!: <-| YourHostSucks |->

                  FYI: <-| PHP 4.0.6 | MySQL 3.23.39 | Apache 1.3.20 | RedHat Linux 7.1 |->

                  Comment


                  • #99
                    Re: Who's Online

                    Originally posted by SirSteve
                    A small bug... when you go to the Who's Online? page, it shows "Unknown Location" when visitors are viewing the Links pages. Can someone fix this?
                    I need help with this too.. Can anyone do this?
                    Founder of Gamertag Nation
                    Gamertag Nation lets you effortlessly keep a record of what you play and achieve on Xbox Live. Are you ready for a better gaming experience?

                    Comment


                    • Re: Who's Online

                      Originally posted by SirSteve
                      A small bug... when you go to the Who's Online? page, it shows "Unknown Location" when visitors are viewing the Links pages. Can someone fix this?
                      Look in online.php:

                      Around the 200 lines mark your see lots of "case" statements

                      You need to add something like this:

                      PHP Code:
                          case 'links':
                            
                      $userinfo[where] = "Viewing the <a href='links.php?s=$session[sessionhash]'>Links</a>";
                            break; 
                      Also around the 500 lines mark you see more "case" statements

                      You need to add something like this:

                      PHP Code:
                        case 'links.php':
                          
                      $userinfo[activity] = 'links';
                          break; 

                      Comment


                      • Re: Re: Who's Online

                        Originally posted by Delhaze


                        Look in online.php:

                        Around the 200 lines mark your see lots of "case" statements

                        You need to add something like this:

                        PHP Code:
                            case 'links':
                              
                        $userinfo[where] = "Viewing the <a href='links.php?s=$session[sessionhash]'>Links</a>";
                              break; 
                        Also around the 500 lines mark you see more "case" statements

                        You need to add something like this:

                        PHP Code:
                          case 'links.php':
                            
                        $userinfo[activity] = 'links';
                            break; 
                        Worked great! Thanks!

                        Comment


                        • Yup worked here too! Thanks for helping me with this.. I now figured how to work this with my other hacks. Thanks again!
                          Founder of Gamertag Nation
                          Gamertag Nation lets you effortlessly keep a record of what you play and achieve on Xbox Live. Are you ready for a better gaming experience?

                          Comment


                          • WHAT ABOUT THE TEMPLATES????? IT STILL DOESN'T WORK

                            Comment


                            • Here are the templates...
                              Some host really do SUCK!: <-| YourHostSucks |->

                              FYI: <-| PHP 4.0.6 | MySQL 3.23.39 | Apache 1.3.20 | RedHat Linux 7.1 |->

                              Comment


                              • Whats the latest version with all the fixes and is it avail. in one zip file??

                                Comment

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