Announcement

Collapse
No announcement yet.

[Release vB Links 1.0 | vB2bx

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

  • Pk
    replied
    Originally posted by marl


    add this:
    PHP Code:
    if (!eregi("http://",$url)) $url "http://".$url
    under:
    PHP Code:
    $time time(); 


    Anyone got a pic for this? =)

    Leave a comment:


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

    Leave a comment:


  • YourHostSucks
    replied
    Here are the templates...

    Leave a comment:


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

    Leave a comment:


  • afterlab
    replied
    Yup worked here too! Thanks for helping me with this.. I now figured how to work this with my other hacks. Thanks again!

    Leave a comment:


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

    Leave a comment:


  • Delhaze
    replied
    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; 

    Leave a comment:


  • afterlab
    replied
    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?

    Leave a comment:


  • YourHostSucks
    replied
    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>

    Leave a comment:


  • YourHostSucks
    replied
    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..

    Leave a comment:


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

    Leave a comment:


  • Steve_C
    replied
    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?

    Leave a comment:


  • Steve_C
    replied
    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?

    Leave a comment:


  • Kengan
    replied
    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 ?

    Leave a comment:


  • MApI
    replied
    Any demo please ?
    Here and hope early in mine if have help.

    byezzz

    Leave a comment:

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