chrisgot
Forum Replies Created
-
Forum: Plugins
In reply to: [Comments - wpDiscuz] wpDiscuz and infinite scroll?Are there any plans to include Javascript callbacks like WP Ajaxify Comments which would make wpDiscuz work with Ajax and infinte scroll?
Forum: Plugins
In reply to: [Comments - wpDiscuz] Delete featuresHi, a delete comment feature would be welcome – but not sure what you would do with threaded comment replies. Perhaps you can leave a standard empty comment for the deleted comment which says “this comment has been deleted by the author” and remove the username and the content of the comment?
Thanks! I will post a suggestion at Github. About the linked images, that works fine now. An editor setting that links all uploaded media to the images per default would be even better since the normal blog contributor will not be familiar with linking images manually or why it should be done.
Forum: Plugins
In reply to: [Manual Related Posts] Double up not updatingThanks, apologies for taking so long to reply. All seems fine here too now. Could have been something temporary in my code causing the bug. I didn’t chase it but still it went away.
Post type has been set to “any” all the time.
Forum: Plugins
In reply to: [Manual Related Posts] Double up not updatingHi again, this is not really a support request since the plugin works just fine. I just realized that if Doubled Up is not activated the Related dropdown doesn’t work properly or show any posts in the edit post metabox. Is this normal behaviour or should it be possible to inactivate Double Up?
I’d like to correct the above post. To make the button appear correctly on page load and not flash in the wrong place before the styles load, first hide the button:
.alm-btn-wrap { bottom: -30px; display: none; padding: 10px 10px 0; position: absolute; }And then reveal it:
jQuery(document).ready(function($) { $(".alm-btn-wrap").css("display", "block"); });Worked straight away and looks very nice now!
Five stars for your support Darren, thanks!
If anyone else wants to do the same with preloaded posts, the following re-positions the load more button below the masonry:
.alm-btn-wrap { bottom: -30px; left: 38%; padding: 10px 10px 0; position: absolute; }I have sent the URL to your e-mail.
I set preloaded_amount=”9″ so that you can see better what happens.
The preloaded container is messed up but gets fixed after the load more button is clicked for the first time. But the container below doesn’t fill the gaps above. It seems like Masonry is not firing until the button is clicked. I also needed to apply a float to the ‘full-image’ class otherwise the images don’t line up in a horizontal row on the initial page load.
.full-image { float: left; width: 200px; }Thanks Darren,
The static positioning merely overlays the
alm-listing alm-ajax masonryul
container on top of the preloadedulcontaineralm-listing alm-preloaded masonry.I followed your example code from https://connekthq.com/plugins/ajax-load-more/examples/masonry/.
Forum: Plugins
In reply to: [Comments - wpDiscuz] Disable You must be logged in to post a comment?Thanks! That filter is what I was looking for.
Forum: Plugins
In reply to: [Comments - wpDiscuz] Remove the link from login text in commentsSorry, the link you posted is no longer available.
Forum: Plugins
In reply to: [Comments - wpDiscuz] Remove the link from login text in commentswrong post.
Forum: Plugins
In reply to: [Comments - wpDiscuz] Comment author (members) link?Thanks! The hook is the best solution.
Forum: Plugins
In reply to: [Comments - wpDiscuz] Comment author (members) link?It would be a great idea if you would make a WPDiscuz setting – so we can just set a custom author link in the comments section – eg /author/{display_name} or /anyslug/{user_id} etc..
To get the author archive to show users with no posts is very straightforward, just add this snippet to your author.php
$curauth = (isset($_GET['author_name'])) ? get_user_by('slug', $author_name) : get_userdata(intval($author));$curname = $curauth->display_name; $firstname = $curauth->first_name; $username = $curauth->username; $id = $curauth->ID;and build on the info, by checking if the user has posts or not.
That is helpful Darren, thanks!
I am getting the hang of it now, nice!Btw, when saving the plugin settings by clicking the save settings button, the wheel spins next to it and the page reloads in the browser the non-ajax way. I am not sure it was like that before. Settings are updated though, no problems.