schlimpf
Forum Replies Created
-
Forum: Plugins
In reply to: [Multisite Language Switcher] Issue with “Set Admin Language” optionHi Dennis,
If I’ll ever find the time, I’ll send a pull request ??
Cheers
Forum: Plugins
In reply to: [Ultimate FAQ Accordion Plugin] Disable Individual Post PagesHi EtoileWebDesign,
I stumbled upon you plugin too and so far I like it.
Why are the post pages necessary for your plugin to function?Do you know the “public” option when registering a post type? You could use that to disable the individual post pages. I see no reason where this would harm other plugin functionality (however, I didn’t read through the whole code :-P)
Best,
MarioForum: Plugins
In reply to: [IP Geo Block] Feature suggestion: Redirection for certain pages/posts etc.Hi tokkonopapa,
thank you for your quick answer.
I like that you are thinking about all the aspects that would make the feature an elaborate solution for this problem. It gives me the feeling that the plugin is in good hands.. ??
As a coder on my own I know that such a thinking is sometimes limiting in terms of solution-orientation ??I’m looking forward to seeing such a feature in a future release of your plugin. Thank you for considering!
If you want, I can send you the plugin I bought for this problem so you can have a look at how it is solved there (not really good in my opinion, but good enough). The PHP code is licensed under GPL, so no problems with copyright.
Best,
MarioForum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Adding hooks for developersShame on me, I didnt find that filter. Will mark it as resolved!
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] JSON return typeFor anyone wondering, here is my current solution.
It may not be suitable for everyone, and I will most likely customize this function further, but it may be a good starting point for someone:
<script> ($(function() { var addedNewsLeft = false; var addedNewsRight = false; var originalAlmComplete = $.fn.almComplete; $.fn.almComplete = function(alm) { // get the latest alm-reveal container var newsContainer = $('.ajax-news-container .alm-reveal'); var leftContainer = $('.news-listing-left'); var rightContainer = $('.news-listing-right'); var ajaxContainer = $('#ajax-load-more'); var appendedContainerLeft = $('<div class="appended-container"></div>'); var appendedContainerRight = $('<div class="appended-container"></div>'); leftContainer.append(appendedContainerLeft); rightContainer.append(appendedContainerRight); var odd = true; $.each(newsContainer.find(".company"), function(i, e) { if(odd) { appendedContainerLeft.append(e); } else { appendedContainerRight.append(e); } odd = !odd; }); newsContainer.remove(); appendedContainerLeft.slideDown(600, 'alm_easeInOutQuad'); appendedContainerRight.slideDown(600, 'alm_easeInOutQuad'); if(originalAlmComplete != undefined) { originalAlmComplete.apply(this, alm); } } $.fn.almDone = function(alm) { $('#load-more').remove(); } })); </script>
@dcooney: I am aware that your code is for a two-column solution, but notice the difference between my code.
I append every news two the same column container, which leads to a different layout.
To visualize what the problem is with your solution, see this topic on stackoverflow (I am not the author):
https://stackoverflow.com/questions/18137186/divs-with-different-heights-align-them-side-by-side-at-the-topMy scripts is executed after the posts are loaded by your plugin. I then move the posts into my columns. I made the “alm-reveal” class invisible.
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] JSON return typeHi dcooney,
I will post it here as soon as I implemented it. Will take another day.
In the meantime, I am going to post another suggestion in a few minutes ??
Best,
MarioForum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] JSON return typeHi dcooney,
thank you for your reply!
Unfortunately, your solution will not fit my needs because I need exactly two columns.However, I found another workaround.
Thanks
Forum: Plugins
In reply to: [Easy FAQs] Suggestion for customizationsVery nice!
Thanks for this really quick feature improvement!
Forum: Plugins
In reply to: [Image & Text Widget] Suggestion: Ability to move image above titleEncancement of the suggestion: Use get_template_part() to give developers the opportunity to use their custom markup!
Forum: Plugins
In reply to: [Easy FAQs] Suggestion for customizationsSure, that would also work!
Forum: Networking WordPress
In reply to: How can I reach ms_site_not_found action?Hi,
I am also interested in this topic.
NOBLOGREDIRECT only works on subdomain installs, not for subdirectories.Best
Forum: Plugins
In reply to: [Multisite Language Switcher] Check if the post has translationThanks!
Ah I think I see your point here.
Clone & Replace yould mean that the post_meta would also be copied and you would not have a (easy) way to prevent that the connections are duplicated as well, right?Thats true, I think this is a little bit more complicated. Although I think this is solvable, the work on this may not be worth it.
I am thinking about customizing your plugin and adding dedicated tables for the connections between the posts. This may have some disadvatages that have to be solved (caching etc.), but for my purpose I think it would be a good solution.I will mark this topic as resolved, although I would like to see the filter you were talking about in future releases.
Thanks for your great work! ??I dont see where this is a complicated check.
I checked the code and saw how the connections are saved.My suggestion:
Imagine this scenario:
– Save connections from Blog A, lets say you have chosen postID1 from Blog B and postID2 from Blog C
– Get connected post IDs from the other blogs (read msls_postID1, msls_postID2)
– Get the postIDs that are in their option entries (at most BlogCount2 entries)
– Update these antries and remove the postID1 and postID2 from these connections
– Save msls_postID1, msls_postID2That should preserve the database integrity.
Correct me if I am wrong ??They do, but I am forced to select both translations if I am in Blog C.