Page 1 of 1

Show user's teases

Posted: Tue Aug 09, 2016 8:11 pm
by Caius1
It's been gone for ages but why was it removed? Back in the day when you looked at a user's profile you had the option to search for all the teases from that particular user. Like there are the options "most active topic" or "user's posts". It was a great tool. I dream to see it back :-(

Re: Show user's teases

Posted: Tue Aug 09, 2016 8:54 pm
by servus
You can now look for the teases of a special user by clicking on advanced search. I donĀ“t like it better either, but it is a possibility.

Re: Show user's teases

Posted: Wed Aug 10, 2016 2:25 am
by ballsfull
Caius1 wrote:It's been gone for ages but why was it removed? Back in the day when you looked at a user's profile you had the option to search for all the teases from that particular user. Like there are the options "most active topic" or "user's posts". It was a great tool. I dream to see it back :-(
:-/

Couldn't agree more... Most changes in life are made to make things better/faster/easier/more efficient...
Or at least that's the goal...

What they've done is......the opposite of that....with no interest in fixing it.... :\'-( :\'-(

I don't "get it" either...

Re: Show user's teases

Posted: Wed Aug 10, 2016 11:50 am
by kinkypoolguy
If you are in a tease and click on the users name at the top it brings up their teases too.

Re: Show user's teases

Posted: Thu Aug 11, 2016 12:03 am
by Trusfrated
Basically, the "show user's teases" link was a customization of the forum software. When they upgraded the forum, it overwrote the customization. Seraphox never returned to re-add the customization.

If you liked the feature as much as I did, you can use a bookmarklet as a good substitute:

viewtopic.php?t=16231

Re: Show user's teases

Posted: Thu Aug 11, 2016 6:26 am
by Ghingis
I just put a scrtipt together, which adds the missing link.

You will need Tampermonkey(tested) or greasemonkey to use it (just google it):
https://www.dropbox.com/s/hdta55aw02cl4 ... er.js?dl=1

Any way here is the source code, if you not trust in the upper link:
Spoiler: show

Code: Select all

// ==UserScript==
// @name            User teas link adder
// @namespace    milovana
// @version          1.0
// @description    Adds user tease link to profile
// @author           Ghingis
// @include          https://milovana.com/forum/memberlist.php*
// @grant             unsafeWindow
// ==/UserScript==
(function(){
    // We will store URL search values here
    var params = {};

    // Check if the URL has a mode=viewprofile param, that is when we see an individual profile not the user list
    if(location.search.indexOf('mode=viewprofile')>-1){
        // Builds the params object by splitting the URL search values
        location.search.substring(1).split('&').map(function(val){params[val.split('=')[0]] = val.split('=')[1];});

        // Checks if jQuery is loaded, and loads it if not
        if(typeof unsafeWindow.jQuery == 'undefined') {
            var GM_JQ = document.createElement('script');
            GM_JQ.src = 'https://code.jquery.com/jquery-2.2.4.min.js';
            GM_JQ.type = 'text/javascript';
            document.getElementsByTagName('head')[0].appendChild(GM_JQ);
        }

        GM_wait();
    }

    // Waits to jQuery, if it is loaded than cals letsJQuery
    function GM_wait() {
        if(typeof unsafeWindow.jQuery == 'undefined') { window.setTimeout(GM_wait,100); }
        else { $ = unsafeWindow.jQuery; letsJQuery(); }
    }

    function letsJQuery() {
        // Finds the User statistics container (sadly there is no better selector)
        var container = $('#page-body .panel>.inner>.column2>.details');
        // Adds the missing line
        container.append('<dt>User Teases:</dt><dd><strong><a href="/webteases/#author='+params.u+'&pp=20">Show me</a></strong></dd>');
    }
})();

Re: Show user's teases

Posted: Thu Aug 11, 2016 11:04 am
by Chico
After you've opened a tease, you can click on the author's name and all the rest of their teases will be listed.

Re: Show user's teases

Posted: Thu Aug 11, 2016 9:27 pm
by rob204
Caius1 wrote:Back in the day when you looked at a user's profile you had the option to search for all the teases from that particular user.
I think I had to click on the users link from within the tease since I can remember. That's pretty non-intuitive. I think I gave up trying sometimes.
Ghingis wrote:I just put a scrtipt together, which adds the missing link.
Oh, that works quite well. And there I was doing something like

Code: Select all

[].forEach.call(document.querySelectorAll('a[href^="./search.php?author_id="]'), function(a) {
	a.parentNode.innerHTML += ' / <a href="/webteases/#author=' + a.href.match(/\d+/) + '">teases</a>';
});
Not that jQuery-like though. Unfortunately my version doesn't work on the member list either because users without posts don't have a search-posts link.

Anyways I would rather have the link right there in the teases list as I'm looking for related teases.

Re: Show user's teases

Posted: Fri Aug 12, 2016 7:57 am
by Trusfrated
Ghingis wrote:I just put a scrtipt together, which adds the missing link.
Very nice, sir! Best solution yet!!! :w00t: :wave:

:thankyou:

Re: Show user's teases

Posted: Fri Aug 12, 2016 11:46 am
by Ghingis
rob204 wrote:
Ghingis wrote:I just put a scrtipt together, which adds the missing link.
Oh, that works quite well. And there I was doing something like

Code: Select all

[].forEach.call(document.querySelectorAll('a[href^="./search.php?author_id="]'), function(a) {
	a.parentNode.innerHTML += ' / <a href="/webteases/#author=' + a.href.match(/\d+/) + '">teases</a>';
});
Not that jQuery-like though. Unfortunately my version doesn't work on the member list either because users without posts don't have a search-posts link.

Anyways I would rather have the link right there in the teases list as I'm looking for related teases.
That's a pretty nice solution, i love it. And I also like the idea of the link in the teases list.
I think fix it in my script :-)
Trusfrated wrote:
Ghingis wrote:I just put a scrtipt together, which adds the missing link.
Very nice, sir! Best solution yet!!! :w00t: :wave:

:thankyou:
Your welcome :-)

Re: Show user's teases

Posted: Fri Aug 12, 2016 10:43 pm
by rob204
Ghingis wrote:That's a pretty nice solution, i love it.
Oh, thanks. Actually it's just short though. Neither robust, readable nor efficient. But I thought 1) if a site change breaks the script you would have to replace the script anyways and 2) it's not necessary to load jQuery to add a simple link. When I think of it though, loading jQuery shouldn't have about any drawbacks.

Re: Show user's teases

Posted: Mon Aug 15, 2016 10:11 am
by Banquo
I for one would love to see the feature back. It seems to have vanished when we made the crossover to the updated forum software.

Re: Show user's teases

Posted: Wed Feb 15, 2017 7:03 am
by Trusfrated
This feature has been re-added to the forum!

Thanks to seraph0x! :-D

viewtopic.php?f=4&t=16231

Re: Show user's teases

Posted: Thu Feb 16, 2017 1:31 am
by Sexless Dummy
Image

really happy t see it back :love:

Re: Show user's teases

Posted: Mon Jan 08, 2018 11:42 am
by Schlampe33h
Hm, topic is still in place, isn't it?
Does anyone care for this web page right now?
The users-link-search stuff is not working and I would like to have it

cheers