Add-on 'Like - Reply - Share' for Thread Listing and Recent Activity

Sheldon

Well-known member
If it ever got added, I don't care either way, I don't have any decision making power involved.. lol

I just think a bigger avatar would completely take away from EVERYTHING else that will be on ONE line for a thread....
 

DRE

Well-known member

Chris D

XenForo developer
Staff member
Posted a Thread - Like, Reply (replying to the thread only) and Share should probably be the only buttons here.
Replied To a Thread - Like and the Reply quote link (quoting their post only) should be the only buttons here.

Any reason why replies to a thread shouldn't have the Share link? It appears by default in the Recent Activity list because as far as the Recent Activity list is concerned a new thread or a reply are essentially the same thing. So as I've added it for new threads, it also appears for replies.

Also, currently the Reply link takes you to the actual reply thread link. e.g: http://xenforo.com/community/thread...hread-listing-and-recent-activity.41014/reply

You mention quoting. Why should it be a quote? Or why should one be a quote and one be a reply? Again, it probably has to be the same for both, unfortunately.

Reply to a Status or First Wall Post comment - Since we can't 'like' the replies, at least the Comment link for the first post or status should be here.
Replies to statuses do not appear in Recent Activity, unfortunately.

As I said in the first post, I have a lot of addons on my site and as a result, I am requesting that he expand the addon so that other addons that are featured in the Recent Activity section will also be able to be Liked, Replied or Shared. Such addons that I would like to include are Post Ratings, Bookmarks, XFR User Albums, XenMedio, XenCarta, Showcase and Sportsbook. Integrations with other addons will cost extra which I'll be glad to pay for because it will come in handy.
I think we agreed I'd include a content type in Recent Activity from an add-on. Which one do you want first?
 

Chris D

XenForo developer
Staff member
Any reason why replies to a thread shouldn't have the Share link? It appears by default in the Recent Activity list because as far as the Recent Activity list is concerned a new thread or a reply are essentially the same thing. So as I've added it for new threads, it also appears for replies.

..........

Again, it probably has to be the same for both, unfortunately.

I completely made this up.... the links can be different for a new thread vs a new reply... so if they need to be different I can do that.... but also have a good think about whether they should be done differently (e.g. will it be confusing if one doesn't have a share, one does a reply rather than a quote etc.).

Here's what Recent Activity looks like so far:

oP6VM.png
 

DRE

Well-known member
Any reason why replies to a thread shouldn't have the Share link? It appears by default in the Recent Activity list because as far as the Recent Activity list is concerned a new thread or a reply are essentially the same thing. So as I've added it for new threads, it also appears for replies.

Also, currently the Reply link takes you to the actual reply thread link. e.g: http://xenforo.com/community/thread...hread-listing-and-recent-activity.41014/reply

You mention quoting. Why should it be a quote? Or why should one be a quote and one be a reply? Again, it probably has to be the same for both, unfortunately.

Replies to statuses do not appear in Recent Activity, unfortunately.


I think we agreed I'd include a content type in Recent Activity from an add-on. Which one do you want first?
Forget it! What you posted in the screenshot is perfect!

I posted some pics, a blog comment then a video to see which add-on should be extended.

When I did that I noticed something that erich37 has been talking about. XF as pintrest.

From there I had the idea 'if Recent Activity Looked Like Pinterest'

Basically block, grid-type style or whatever you call that sh!t. But with bigger thumbnails and screenshots etc.

That would cause for another addon entirely. The problem is that it may interfere with yours.

But anyway if I could choose I'd say XFR UserAlbums since it's free.
 

DRE

Well-known member
I sent Chris $125 today instead of waiting to get to $200 since it's taking so long to get more donators for this awesome project. Second post has been updated.
 

DRE

Well-known member
Hey Chris, instead of integrating this with XFRUserAlbums, can you integrate this with Xenporta instead? I have just found out that my members spend more time on the main page thread listing than the actual forum listings. :confused:
 

DRE

Well-known member
Would anyone care to donate again so we can get this released sometime this month.
 

Chris D

XenForo developer
Staff member
Hey Chris, instead of integrating this with XFRUserAlbums, can you integrate this with Xenporta instead? I have just found out that my members spend more time on the main page thread listing than the actual forum listings. :confused:
Just to confirm... that is getting this to work on the recent threads block of XenPorta as seen on 8thos.com?
 

DRE

Well-known member
Just to confirm... that is getting this to work on the recent threads block of XenPorta as seen on 8thos.com?
The 'reply' button you see there is an edit of my own of the EWRblock_RecentThreads template.

EWRblock_RecentThreads

Code:
<xen:if is="{$RecentThreads}">
    <xen:require css="discussion_list.css" />
    <xen:require css="EWRblock_RecentThreads.css" />

    <xen:if is="{$position} == 'top-left' OR {$position} == 'mid-left' OR {$position} == 'btm-left' OR {$position} == 'sidebar'">

        <div class="section avatarList threadList">
            <div class="secondaryContent" id="recentThreads">
                <h3>{xen:phrase recent_threads}</h3>

                <ol class="discussionListItems">
                    <xen:foreach loop="$RecentThreads" value="$thread">
                        <li id="thread-{$thread.thread_id}" class="{$thread.discussion_state} {xen:if {$thread.sticky}, 'sticky'} {xen:if {$thread.isNew}, 'unread'}" data-author="{$thread.username}">
                            <xen:avatar user="$thread" size="s" img="true" />
                            <div class="title">
                                <a href="{xen:link "threads{xen:if '{$thread.isNew} AND {$thread.haveReadData}', '/unread'}", $thread}"
                                    title="{xen:if '{$thread.isNew} AND {$thread.haveReadData}', {xen:phrase go_to_first_unread_message}}"
                                    class="{xen:if $thread.hasPreview, PreviewTooltip}"
                                    data-previewUrl="{xen:if $thread.hasPreview, {xen:link threads/preview, $thread}}">{xen:helper snippet, $thread.title, 50}</a>
                            </div>
                            <div class="muted">
                                <a href="{xen:link members, $thread.lastPostInfo}">{$thread.lastPostInfo.username}</a> @
                                <a{xen:if '{$visitor.user_id}', ' href="{xen:link posts, $thread.lastPostInfo}" title="{xen:phrase go_to_last_message}"'} class="dateTime"><xen:datetime time="$thread.lastPostInfo.post_date" /></a>
                            </div>
                        </li>
                    </xen:foreach>
                </ol>
            </div>
        </div>

    <xen:else />

        <xen:require css="inline_mod.css" />
        <xen:require js="js/xenforo/discussion_list.js" />

        <form action="{xen:link inline-mod/thread/switch}" method="post"
            class="DiscussionList InlineModForm"
            data-cookieName="threads"
            data-controls="#InlineModControls"
            data-imodOptions="#ModerationSelect option">

            <div class="discussionList section sectionMain" id="recentThreads">
                <dl class="sectionHeaders">
                    <dt class="posterAvatar"></dt>
                    <dd class="main">
                        <a class="title"><span>{xen:phrase recent_threads}</span></a>
                        <a class="postDate"><span>{xen:phrase start_date}</span></a>
                    </dd>
                    <dd class="stats">
                        <a class="major"><span>{xen:phrase replies}</span></a>
                        <a class="minor"><span>{xen:phrase views}</span></a>
                    </dd>
                    <dd class="lastPost"><a><span>{xen:phrase last_message}</span></a></dd>
                </dl>

                <ol class="discussionListItems">
                    <xen:foreach loop="$RecentThreads" value="$thread">
                        <xen:include template="thread_list_item_like">
                            <xen:map from="$thread.showForumLink" to="$showForumLink" />
                        </xen:include>
                    </xen:foreach>
                </ol>
            </div>

            <input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
        </form>

    </xen:if>

    <xen:include template="preview_tooltip" />
</xen:if>


If I revert the changes then what comes up is Share and Edit. So it seems like your addon works with the block except it only shows 'Share'.
 

DRE

Well-known member
Sent $40. Second post updated. $10 left. Would anyone like to donate the remaining $10?
 

Chris D

XenForo developer
Staff member
Thanks Dre and everyone.

Dre do you still want it to work on XenPorta? What is the name of the XenPorta block?
 
Top