amereservant
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Bulk Discount] More discount rowsHey ageibert,
You *should* be able to do this by simply editing the woocommerce-bulk-discount.php file and changing the 5 in the for loops to 10.
For example:
for ( $i = 1; $i <= 5; $i++ )
becomes
for ( $i = 1; $i <= 10; $i++ )
Make sure every place that refers to the 5 is changed.
Now I’m not sure why the author limited it to 5, so I cannot tell you what the possible drawbacks will be nor if this is a good idea, but that’s at least how to increase them.Forum: Fixing WordPress
In reply to: Register an admin page, but don't show it on any menuHey duck__boy,
The solution at https://stackoverflow.com/questions/3902760/how-do-you-add-a-wordpress-admin-page-without-adding-it-to-the-menu works great.Basically they recommend using the
add_submenu_page()
function with a NULL value for the $parent_slug parameter.Also, in class-ai1ec-calendar-controller.php on line 454, l10n needs to be added as a dependency for calendar.js because I was getting the error about
convertEntities is not defined
, which as of at least 3.1, it gets defined in the l10n.js built into WordPress.When I checked, it wasn’t loading before your javascript, so it needs to be added as a dependency to ensure it is loaded in time.
I’m not yet sure why, but the buttons to switch between Month and Agenda views don’t do anything and it’s not triggering any sort of JS errors. I haven’t looked to see if anyone else is having this issue, but it’s definitely not working on my 3.3 install. Thanks!Thanks for the quick response! I haven’t tried file submissions with forms in this way, but I’ll definitely spend a little time testing to see if I can figure something out. It seems like it should be possible though…
I’m working on a much lighter DB plugin for CF7 than the one currently available because CF7 is the best form plugin available, just lacking the database part, therefore if I can contribute anything to making it better, I’d be glad to do so.
I’ll keep you updated on what I discover….Forum: Hacks
In reply to: Howto integrate the Media Library into a plugin?Thank you very much for this! I had a hard time finding info on how to do this and your post is excellent example.
Forum: Plugins
In reply to: Contact form 7 not working with Godaddy hostingI’ve got 3 websites using CF7 on Godaddy hosting and I haven’t had any problems. I recommend contacting Godaddy support since they are very helpful most of the time and can help fix it faster than taking shots at it yourself.
It “should” work as-is though.
Forum: Fixing WordPress
In reply to: How to display the 'settings updated' messageIn my settings page HTML for my plugin or theme, I just add the following line of code where I want the message to appear:
<?php if( isset($_GET['settings-updated']) ) { ?> <div id="message" class="updated"> <p><strong><?php _e('Settings saved.') ?></strong></p> </div> <?php } ?>
If you want to display an error message, check the value of $_GET[‘settings-updated’] to see if it’s true or false and if it’s false, set the class to ‘error’ instead of ‘updated’ on the div.
Forum: Everything else WordPress
In reply to: Licensing regarding commercial themes.Yeah, but according to the replies on the thread I linked, any “derivative works”, which that is since it has to include WordPress functions, MUST be licensed the same.
They also state it can’t be used on more than 2 sites, which means “no distributing” and that any parts of their code can’t be used.I don’t know, I guess they found a lawyer that knows the loop holes or something, but from my understanding of it, I don’t see how their EULA is in any way “compliant” with the GPL license other than it just saying it is.
Hey,
Nevermind on this issue. It appears there was some sort of problem with my email hosting and the emails were backed up and not being sent. I would recommend adding some sort of functionality to give a response if the sending email function(s) fail or take too long.The URL I have the form coming to my email address is https://thatchurch.com/highlander/, but the other forms aren’t working either.
I’m using WordPress 3.0.1
Apache for the web server on a Linux OS.
The .htaccess settings are:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
As far as plug-ins go, I disabled everything except Contact Form 7, then enabled just Really Simple CAPTCHA in addition, but still no luck. The plug-ins I have installed are these:
- Blip.TV Manager – A plug-in I wrote and it wouldn’t interfere with it.
- Lightbox Plus
- Meta SEO Pack
- NextGEN Gallery
- Really Simple CAPTCHA
- TinyMCE Advanced
Nothing new has been added except updates I’ve made to my Blip.TV Manager plug-in and I’ve tried completely removing it and it doesn’t effect (and shouldn’t anyways) the Contact Form 7.
The thing that gets me is there’s NO response whatsoever to the POST request, yet AJAX works everywhere else just fine.