Page 3 of 4 FirstFirst 1234 LastLast
Results 41 to 60 of 67

Thread: Latest or Hot Links Module (Updated for version 3 of Links Directory)

  1. #41
    Join Date
    Sep 2004
    Posts
    450

  2. #42

    Default

    Quote Originally Posted by ttnb View Post
    Here is mine
    Nice! I would like to make a multi-row center block.

    Can you share your instructions for making this into a center block.

    THANKS!
    Kamikage

  3. #43
    Join Date
    Sep 2004
    Posts
    450

    Default

    I follow this
    http://www.vbadvanced.com/forum/show...9&postcount=17

    and change "5"to "3". And uncomented to lines I do not use in the template.

  4. #44

    Default

    Hi larina and all
    Thanx for the mod, and the modi mod for featured.
    Can I show some of the featured with random links at the same time?
    IE if I have the mod to show 5 links, and I have 2 featured links, I want the 2 featured links to show all the time, and the other 3 to be randomly picked, can this be done?

    Thanx in advance

    Hani

  5. #45
    Join Date
    Oct 2009
    Posts
    11

    Default

    Great module. Tx for it. I installed it at www.pedicabforum.com and have to questions:

    1. How to configure that latestes entries or random are showed? On my site are random showed, but I would like to show the latest entries.

    2. In the sidebar is "Latest Links" - but clicking it goes always to my forum instead to the directory....how to change it?

    Thank you and again: Good work

  6. #46
    Join Date
    Sep 2007
    Posts
    1,694

    Default

    Quote Originally Posted by Trixi.com View Post
    Great module. Tx for it. I installed it at www.pedicabforum.com and have to questions:

    1. How to configure that latestes entries or random are showed? On my site are random showed, but I would like to show the latest entries.

    2. In the sidebar is "Latest Links" - but clicking it goes always to my forum instead to the directory....how to change it?

    Thank you and again: Good work

    1)You edit the setting in the module file.


    Code:
    <?php
    // ++=========================================================================++
    
    // The order you would like to pull the links in. 
    //Enter 1 for newest, 2 for most viewed, 3 for most comments, 4 for highest rated, 5 for random
    $order = 5;
    
    // Enter the number of links you would like to display here
    $limit = 5;
    
    // Maximum characters of the links name before the rest will be replaced with '...'
    // Set this to 0 to disable it.
    $maxnamechars = 0; 
    
    // No further editing necessary
    
    switch($order)
    2)
    . According to where you have installed Links Directory, you need to make one last step:
    Assuming you are using links directory like that: http://www.domain.com/links/ change the links in the template adv_portal_linkbits like that:
    <a href="/links/$linkurl/showlink.php?$session[sessionurl]do=showdetails&amp;l=$link[linkid]">$link[name]</a>
    <a href="/links/$linkurl/browselinks.php?$session[sessionurl]c=$link[catid]">$link[catname]</a>
    Last edited by CareyCrew; 10-17-2009 at 09:54 AM. Reason: added code from .php file
    Seen vB5 beta? No more vbulletin for me, done , gone,finished .

  7. #47
    Join Date
    Oct 2009
    Posts
    11

    Default

    Thank you very much. Now I changed from random to newest. Thanx a lot.

    Regarding the second question / answer: This is what I have in my template:

    <tr>
    <td class="$getbgrow">
    <div><a href="/links/$linkurl/showlink.php?$session[sessionurl]do=showdetails&amp;l=$link[linkid]">$link[name]</a></div>
    <div class="smallfont">
    <br />
    <a href="/links/$linkurl/showlink.php?$session[sessionurl]do=showdetails&amp;l=$link[linkid]" target="_blank">
    <img src="http://open.thumbshots.org/image.pxf?url=$link[linkurl]" border="0" alt="$link[name]" /></a><br /

    </div>
    </td>
    </tr>


    So the links itself and the thumbnail they are forwarded well (to the individual entry)...I mean the title in the block "Latest links"....Where to change it on the way that it points to the directory?

  8. #48
    Join Date
    Feb 2009
    Posts
    7

    Default

    For some reason the thumbs and links displayed are not bring me to the said site, i know its gotta be simple but cant figure out where to edit to get it to work. Heres the site .

    http://www.myenlistment.com

  9. #49
    Join Date
    Nov 2007
    Location
    Nashville, Tennessee
    Posts
    249

    Default

    Will this still work with vB4, and can it be used to create a module to display on the vB CMS home page?

    Thanks.
    Last edited by NashChristian; 04-18-2010 at 08:25 PM.

  10. #50

    Default

    Is there a way to pull links from every category except 1? Kind of like there is an option to ignore categories on the newest/random links on the main link page already. Also please confirm that links a user doesn't have permission to see won't be displayed.

  11. #51
    Join Date
    Jan 2008
    Posts
    15

    Default

    How can these working with friendly urls?

  12. #52
    Join Date
    Sep 2005
    Posts
    3

    Default

    Working VB4 - CMPS v4.0.0 - Links Directory 4
    but What does the following error


    Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: adv_portal_linkbits in [path]\includes\functions.php on line 4097

    Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: adv_portal_linkbits in [path]\includes\functions.php on line 4097

    Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: adv_portal_linkbits in [path]\includes\functions.php on line 4097

    Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: adv_portal_latestlinks in [path]\includes\functions.php on line 4097

  13. #53
    Join Date
    Nov 2004
    Posts
    23

    Default

    Well, it works!
    Thanks for that.

  14. #54
    Join Date
    Dec 2008
    Posts
    6

    Default

    can you show me demo ? i still dont understand what do it use for?

  15. #55
    Join Date
    Mar 2008
    Posts
    367

    Default

    Demo of mine: www.feelinggood24.de
    At the left the module called "Weblinks".

    The hack takes links from vBa links directory to show in a module.

    larina

  16. #56

    Default

    Maybe I'm missing something or perhaps I'm all coded and modded out but two questions... 1 how do you add these two templates (bearing in mind I'm not a coder and don't have any fancy php editors or anything like that, just wordpad

    Quote Originally Posted by larina View Post
    1. To install, first add these two templates:

    adv_portal_latestlinks
    Code:
    $linkbits
    adv_portal_linkbits
    Code:
    <tr>
    		<td class="$getbgrow">
    <div><a href="$linkurl/showlink.php?$session[sessionurl]do=showdetails&amp;l=$link[linkid]">$link[name]</a></div>
    <div class="smallfont">
    $vbphrase[by] 
    <if condition="$link['userid']"><a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$link[userid]">$link[username]</a>
    <else />
    $vbphrase[guest]
    </if><br />
    $link[date] <span class="time">$link[time]</span><br />
    <a href="$linkurl/browselinks.php?$session[sessionurl]c=$link[catid]">$link[catname]</a><br />
    $link[posts] $vbphrase[replies], $link[views] $vbphrase[views]
    
    </div>
    	</td>
    	</tr>
    and 2, where do you edit these anyway?


    Quote Originally Posted by larina View Post
    4. According to where you have installed Links Directory, you need to make one last step:
    Assuming you are using links directory like that: http://www.domain.com/links/ change the links in the template adv_portal_linkbits like that:
    <a href="/links/$linkurl/showlink.php?$session[sessionurl]do=showdetails&amp;l=$link[linkid]">$link[name]</a>
    <a href="/links/$linkurl/browselinks.php?$session[sessionurl]c=$link[catid]">$link[catname]</a>

  17. #57
    Join Date
    Mar 2008
    Posts
    367

    Default

    You need to add the templates inside vbulletin adminc:
    Styles & Templates - Manage Styles - here choose the style you use and select in the drop-down "add new template".

    If you later need to edit the templates:
    Styles & Templates - Search templates

    larina

  18. #58

    Default

    I've done this and it shows up ok etc etc but when you click on the link to the latest link it directs you to the forum home page

    my links directory url is

    http://midlandsheritage.co.uk/links/index.php

    home url is

    http://www.midlandsheritage.co.uk/

    Quote Originally Posted by larina View Post
    4. According to where you have installed Links Directory, you need to make one last step:
    Assuming you are using links directory like that: http://www.domain.com/links/ change the links in the template adv_portal_linkbits like that:
    <a href="/links/$linkurl/showlink.php?$session[sessionurl]do=showdetails&amp;l=$link[linkid]">$link[name]</a>
    <a href="/links/$linkurl/browselinks.php?$session[sessionurl]c=$link[catid]">$link[catname]</a>
    for the above I've tried using this (for both edits)

    Code:
    <a href="/links/$linkurl/browselinks.php?$session[sessionurl]c=$link[catid]">$link[catname]</a>
    and also

    Code:
    <a href="/http://midlandsheritage.co.uk/links//$linkurl/showlink.php?$session[sessionurl]do=showdetails&amp;l=$link[linkid]">$link[name]</a>
    and its still directs you to the forum home page...

    the whole code in the template is this

    Code:
    <tr>
    		<td class="$getbgrow">
    <div><a href="/links/$linkurl/showlink.php?$session[sessionurl]do=showdetails&amp;l=$link[linkid]">$link[name]</a></div>
    <div class="smallfont">
    $vbphrase[by] 
    <if condition="$link['userid']"><a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$link[userid]">$link[username]</a>
    <else />
    $vbphrase[guest]
    </if><br />
    $link[date] <span class="time">$link[time]</span><br />
    <a href="/links/$linkurl/browselinks.php?$session[sessionurl]c=$link[catid]">$link[catname]</a><br />
    $link[posts] $vbphrase[replies], $link[views] $vbphrase[views]
    
    </div>
    	</td>
    	</tr>
    any thoughts/ suggestions as I'm beginning to wish I'd never had this software and rapidly running out of patience

    edit

    I've tried to get it so it doesn't show the thumbnails as I don't want them showing
    Last edited by yamahapaul; 03-09-2012 at 10:59 PM.

  19. #59
    Join Date
    Mar 2008
    Posts
    367

    Default

    I'd try this link-format:

    Code:
    <a href="http://www.midlandsheritage.co.uk/links/showlink.php?$session[sessionurl]do=showdetails&amp;l=$link[linkid]">$link[name]</a>
    <a href="http://www.midlandsheritage.co.uk/links/browselinks.php?$session[sessionurl]c=$link[catid]">$link[catname]</a>

  20. #60

    Default

    Quote Originally Posted by larina View Post
    I'd try this link-format:

    Code:
    <a href="http://www.midlandsheritage.co.uk/links/showlink.php?$session[sessionurl]do=showdetails&amp;l=$link[linkid]">$link[name]</a>
    <a href="http://www.midlandsheritage.co.uk/links/browselinks.php?$session[sessionurl]c=$link[catid]">$link[catname]</a>
    That would make the complete code

    Code:
    <tr>
    		<td class="$getbgrow">
    <div><a href="http://www.midlandsheritage.co.uk/links/$linkurl/showlink.php?$session[sessionurl]do=showdetails&amp;l=$link[linkid]">$link[name]</a></div>
    <div class="smallfont">
    $vbphrase[by] 
    <if condition="$link['userid']"><a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$link[userid]">$link[username]</a>
    <else />
    $vbphrase[guest]
    </if><br />
    $link[date] <span class="time">$link[time]</span><br />
    <a href="http://www.midlandsheritage.co.uk/links/$linkurl/browselinks.php?$session[sessionurl]c=$link[catid]">$link[catname]</a><br />
    $link[posts] $vbphrase[replies], $link[views] $vbphrase[views]
    
    </div>
    	</td>
    	</tr>
    and its stills just directs you to the hoempage thanks anyway

Page 3 of 4 FirstFirst 1234 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Latest or Hot Links Module (CMPS 2.2.1 + Links D.2.0rc1)
    By nostalgia in forum Add-On Modules (version 3.x & 2.x)
    Replies: 114
    Last Post: 03-06-2009, 11:25 PM
  2. Replies: 1
    Last Post: 06-02-2008, 01:57 PM
  3. Replies: 2
    Last Post: 05-14-2007, 02:31 PM
  4. vBa Links Directory Updated For vB 3.6
    By Brian in forum Announcements
    Replies: 27
    Last Post: 10-02-2006, 12:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •