Gersnet Posted October 8, 2020 Posted October 8, 2020 Appreciate the share option is now within the ellipsis menu but can someone provide the code to bring this back out to where it used to be before the update. Even something along this lines of this useful code hack from @V0RT3X666 would be useful: Eric BXL 1
WP V0RT3X Posted October 8, 2020 Posted October 8, 2020 I can take a look tomorrow, already afk for today. Eric BXL and Gersnet 1 1
WP V0RT3X Posted October 9, 2020 Posted October 9, 2020 Okay, quick and dirty again... go to template forums -> topics -> post and search for {{if \count( $item->commentMultimodActions() ) and !$comment->mapped('first')}} <li><span class='ipsCustomInput'> <input type="checkbox" name="multimod[{$comment->$idField}]" value="1" data-role="moderation" data-actions="{{if $comment->canSplit()}}split merge{{endif}} {{if $comment->hidden() === -1 AND $comment->canUnhide()}}unhide{{elseif $comment->hidden() === 1 AND $comment->canUnhide()}}approve{{elseif $comment->canHide()}}hide{{endif}} {{if $comment->canDelete()}}delete{{endif}}" data-state='{{if $comment->tableStates()}}{$comment->tableStates()}{{endif}}'> <span></span> </span></li> {{endif}} ABOVE that add <li><a href='{$comment->item()->url()}' title='{lang="share_this_post"}' data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-content='#elSharePost_{$comment->$idField}_menu' data-ipsDialog-title="{lang="share_this_post"}" d='elSharePost_{$comment->$idField}' data-role='shareComment'><i class="fa fa-share-alt" aria-hidden="true"></i></a></li> And there it is I don't have 4.4 anymore, so this is basically the new share post code, I only changed the text with a Font Awesome icon. Gersnet and sobrenome 1 1
Gersnet Posted October 9, 2020 Author Posted October 9, 2020 Perfect, many thanks mate! 🙂 sobrenome 1
Eric BXL Posted November 4, 2020 Posted November 4, 2020 Me too would like to have it back like it used to be before the update. Now one has to click on "..." , then click on share, then click (again) on the share-link, do a Ctrl-a to select the whole link and finish by doing a Ctrl-c, or select "Copy" with the mouse. 😞 What a job for something that was so simple before: 1 click on the share button and it opened with the link already selected. But now I'm facing this problem; how to do for someone who has no access to the host's server? Thanks in advance for a little reply.
Nathan Explosion Posted November 4, 2020 Posted November 4, 2020 The answer is up above... Eric BXL 1
Eric BXL Posted November 4, 2020 Posted November 4, 2020 (edited) 4 minutes ago, Nathan Explosion said: The answer is up above... 9 minutes ago, Eric BXL said: But now I'm facing this problem; how to do for someone who has no access to the host's server? I saw that, but it doesn't help me. Edited November 4, 2020 by Eric BXL
Nathan Explosion Posted November 4, 2020 Posted November 4, 2020 Why not? What happens when you try to do it?
Eric BXL Posted November 4, 2020 Posted November 4, 2020 Because I pay a host who owns a server, and he doesn't allow me to log into it.
Nathan Explosion Posted November 4, 2020 Posted November 4, 2020 You do template changes via your Admin control panel for the community, and editing the template in the theme - not by logging on to the server itself. Eric BXL 1
Eric BXL Posted November 4, 2020 Posted November 4, 2020 Oh, I must have missed something then. On the dashboard page I typed "Topics" in the search box and it only showed; [System] Delete Moved Links [Forums] Users can see topics posted by other users? [Forums] Users can see topics posted by other users?
Eric BXL Posted November 4, 2020 Posted November 4, 2020 (edited) Yay! succeeded successfully. Thank you so much! 🙂 May I donate with PayPal? It is with pleasure I'd do that. Please, PM me if I may. Edited November 4, 2020 by Eric BXL Nathan Explosion 1
Nathan Explosion Posted November 4, 2020 Posted November 4, 2020 22 minutes ago, Eric BXL said: Yay! succeeded successfully Nice one. Eric BXL 1
Recommended Posts