cleveragency
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Display “Future Posts” SolutionsThere’s a much more elegant way to do this, but it relies on the 2) Install “The Future is Now” plugin. When I was attempting this at first, I encountered the same problem you did. I set a post limit in the query (show_posts=5) and my query cycled through all of the posts, and considered 3 old/archived posts in the loop and only ended up displaying 2 that were considered current/future.
So, I decided to set no post limit in the query and then limit the number of posts being displayed in the post output loop.
Here’s an example of a way to display 5 upcoming events that works with “The Future is Now” plugin:
<?php $my_query = new WP_Query("category_name=job-fair&order=ASC"); if ($my_query->have_posts()) { $i = 0; while ($my_query->have_posts() && $i < 5 ) : $my_query->the_post(); $do_not_duplicate = $post->ID; if (get_the_time('Ymd') >= date('Ymd')) : $i++; ?> //Your code that you want display// <?php endif; endwhile; } ?>
If you need any more help or have any questions, you can contact me directly: Bobby Duebelbeis – St. Louis Web Developer
Okay. Sorry about the link not working before. I have not modified this plugin since I installed it for a client of mine, so you may find links to my site in it, but not publicly. Download Clever SMS here. I’m always available to answer questions about wordpress on my site, but I have not yet explored modifying this plugin to make it more effective.
In the future, I am going to be working out some of the features zowieguy wants (because they’re great ideas) and posting an official version.
Always here to contribute!
Bobby Duebelbeis
https://www.clever-agency.comForum: Plugins
In reply to: [Plugin: SMS Text Message] Feature requestI see there is a problem with the author editing his code so that nobody can change his commercial links AGAIN. What an ass. I will make the modified plugin available for download here as long as I can:
https://www.clever-agency.com/sms-pluginI’m not really sure what macsoft3’s problem is, but I admit I have been a little overzealous on this forum. I just get so effing pissed about stupid people that try to stamp their names over all of this open source code.
And to his comment, macsoft3, it IS a coincidence that both of those sites are hosted by Dreamhost. Although, not really because Dreamhost is awesome.
Forum: Plugins
In reply to: [Plugin: SMS Text Message] Feature requestWell, I’ve got a completely commercial link free version that I can upload.
Forum: Plugins
In reply to: [Plugin: SMS Text Message] Feature requestThe reason you can’t find the commercial links in the source code is because that part of the HTML is encrypted. If you open sms-text-message.php, you’ll see a large string of code after this:
<? eval(gzinflate(str_rot13(base64_decode(‘
All it is is the select close tag and the input submit button. If you take a good look you can probably figure it out without having to run it through a decoder.If you’re stuck, you can always copy the long string and run it through this decrypter: https://josh.thespiffylife.com/decrypt.php
Regards,
Bobby Duebelbeis
[sig moderated]Forum: Plugins
In reply to: [Plugin: SMS Text Message] Commercial link removalThe reason you can’t find the commercial links in the source code is because that part of the HTML is encrypted. If you open sms-text-message.php, you’ll see a large string of code after this:
<? eval(gzinflate(str_rot13(base64_decode('
All it is is the select close tag and the input submit button. If you take a good look you can probably figure it out without having to run it through a decoder.If you’re stuck, you can always copy the long string and run it through this decrypter: https://josh.thespiffylife.com/decrypt.php
Regards,
Bobby Duebelbeis
[sig moderated]