Similar Threads: More UNIX and Linux Forum Topics You Might Find Helpful Update


 
Thread Tools Search this Thread
The Lounge What is on Your Mind? Similar Threads: More UNIX and Linux Forum Topics You Might Find Helpful Update
# 8  
Old 08-13-2018
Quote:
Originally Posted by RudiC
Unfortunately, I have absolutely no command of PHP, so posting the code would not fall on fertile soil. That's also why I regrettably can't offer any help in the project.
Hmm.

All programming is nearly the same, LOL

I program in PHP and Javascript daily these days. Last year it was C# everyday and PHP sometimes. Two decades ago it was PERL. Decades before that it was C, KSH, Basic and Fortran.

That's not including all the CSS, HTML, jQuery, and other frameworks and sets included in the mix, etc.

It's all the same. LOL

If, then, else, arrays, objects, syntax errors ....

Honestly, it's all the same.

Currently, I love Javascript the best.
# 9  
Old 08-13-2018
Quote:
Originally Posted by Neo
On my current main TODO list are:

  • Responsive threadbits (search results, forum thread views, etc.).
Search results are done.

Search Results are Now Responsive (Live)
# 10  
Old 08-14-2018
Similar threads are now responsive with CSS Flex powered by jQuery:

We can tweak and fine tune proportions, sizes, colors over time.

Here is the initial jQuery which drives the transformation:

Code:
$(document).ready(function() {
    $(".neo-search-results").css({
        overflow: "visable"
    });
    $(".neo-similarthreads-thead, .neo-similarthreads-threadbit").css({
        display: "flex",
        "flex-flow": "row wrap",
        "justify-content": "space-between",
        "flex-direction": "row",
        "align-content": "stretch"
    });
    $(".neo-similarthreads-thead, .neo-similarthreads-threadbit").find("td").removeAttr("width, align, nowrap");
    $(".neo-similiarthreads-thead-thread").css({
        "width": "240",
        "flex-grow": "10"
    });
    $(".neo-similiarthreads-thead-starter").css({
        "width": "100",
        "flex-grow": "3"
    });
    $(".neo-similiarthreads-thead-forum").css({
        "width": "150",
        "flex-grow": "5"
    });
    $(".neo-similiarthreads-thead-replies").css({
        "width": "50"
    });
    $(".neo-similiarthreads-thead-last").css({
        "width": "120",
        "flex-grow": "4"
    });
    $(window).on("resize", neoAdjustSimilarThreads);
    neoAdjustSimilarThreads();
    function neoAdjustSimilarThreads() {
        var widthNow = $(window).width();
        if (widthNow < 700) {
            $(".neo-similarthreads-thead, .neo-similiarthreads-thead-replies").hide();
            $("#neo-similarthreads-phrase").text("Similar Threads")
        } else {
            $(".neo-similarthreads-thead, .neo-similiarthreads-thead-replies").show();
            $("#neo-similarthreads-phrase").text("More UNIX and Linux Forum Topics You Might Find Helpful")
        }
    }
    $("#collapseimg_similarthreads").click(function() {
        return toggle_collapse("similarthreads")
    })
});

TODO: Thread views in forums.
# 11  
Old 09-22-2018
Rebuild similar thread database 22 Sept 2018.
# 12  
Old 10-08-2018
Rebuild similar thread database 8 Oct 2018.
# 13  
Old 10-15-2018
Rebuilt similar thread database 16 Oct 2018.
# 14  
Old 11-14-2018
Rebuilt similar thread database a new times including today, 15 Nov 2018.

Note: Have been updating regularly but not posting here when we update. Not really necessary to updates when we rebuild similar threads in this thread.

Also, updated the code and changed the number of similar threads from 10 to 15. Was going to change to 20, but 15 seems like quite a lot already.
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. What is on Your Mind?

Similar Threads for Man Pages - In Development

FYI, I have been quietly updating the man page database adding "similar threads" for man pages. STEP 1: Full Text MySQL DB Search Matches The first step, after creating the DB columns, was to process each of the nearly 400K man pages and do a full text mysql search, match and score... (10 Replies)
Discussion started by: Neo
10 Replies

2. What is on Your Mind?

Similar Threads Redesign for UNIX.com

Hello. I have redesigned our "similar threads" for a more "clean style" in both the desktop view and the mobile view for the forum "show thread". The new design is a simple straight-forward use of div elements and all the legacy table elements have been removed. The result is a "clean"... (7 Replies)
Discussion started by: Neo
7 Replies

3. What is on Your Mind?

Forum Update New Steps for UNIX.com

Dear Everyone, Thank you for all the great comments, feedback and patience during our recent modernization efforts at unix.com. Now, I need to decide where to go next, as we move into the next phase. Some of the ideas I have are: Make the UserCP experience and all those non-public... (6 Replies)
Discussion started by: Neo
6 Replies

4. News, Links, Events and Announcements

Similar Threads - a new vB3 feature for UNIX.COM

Note the new feature on UNIX.COM, many thread at the bottom of the page have a new feature: Similiar Threads Here is an example on one of Perderabo's posts: https://www.unix.com/showthread.php?t=16337 Kudos to the vB folks for this built-in feature!! Neo (0 Replies)
Discussion started by: Neo
0 Replies
Login or Register to Ask a Question