oshingler
Forum Replies Created
-
Forum: Plugins
In reply to: [Olimometer] Broken Image for OlimometerIt looks like it might be something to do with file permissions. If I try to browse to the actual URL generating the image file I get this error:
https://union.ic.ac.uk/rag/wp-content/plugins/olimometer/thermometer.php?olimometer_id=1
Internal Server Error
File “/home/www/htdocs/presidents/rag/wp-content/plugins/olimometer/thermometer.php” is writeable by others
I’m not sure what to suggest on this as I’ve never come across it before. What web server are you using? Have you got the GD libraries enabled?
Forum: Plugins
In reply to: [Olimometer] Centering The WidgetHi,
Are you centering the Olimometer in a sidebar widget, or actually trying to place it in a post using a shortcode?
In either case, the centering of the Olimometer is controlled by the CSS you use in your theme. In your theme, you should find a style.css file. This is where you would need to define a class (for example, call it mycustomolimometer), and against that you define your css to style the olimometer. For example, you might create:
IMG.mycustomolimometer {
display: block;
margin-left: auto;
margin-right: auto
}and then in your Olimometer settings CSS Styling box you’d put mycustomolimometer
I hope this helps.
Forum: Plugins
In reply to: [Olimometer] I get a broken image instead of the thermometer now@sambalay you need to use a different shortcode. Try:
[olimometer id=1]the shortcodes for olimometer_progress/target/remaining are just for displaying text values.
Or, if you want to add to the sidebar, the best way is to just go to your widgets and drag the Olimometer widget in to the relevant widget-enabled sidebar providing of course that your theme supports this.
Forum: Plugins
In reply to: [Olimometer] I get a broken image instead of the thermometer nowHi,
Have you managed to resolve this? It appears to be visible on your site when I checked just now.
Oli
Forum: Plugins
In reply to: [Olimometer] Donor wall not workingHi,
1) Nope, not directly through the plugin sorry. The donations are made directly to a PayPal account and it is in that account on PayPal’s web site which you will find itemisation of donations.
2) What’s a Donor Wall? This isn’t a component of my plugin as far as I’m aware unless we’re confusing terms?Forum: Plugins
In reply to: [Olimometer] Olimometer not changingIf you have set up the Olimometer to track a PayPal account, then the total displayed on the thermometer will be PayPal balance + the value in the Offline Donations field. If you set it to manual, then the only value considered is the Current Amount Raised field. In my test site, both of these methods work perfectly. Can you confirm that this is how you are using the plugin?
Forum: Plugins
In reply to: [Olimometer] Adding Last Modified?I’ll add it to my to-do list for you
Forum: Plugins
In reply to: [Olimometer] Transaction IDHi,
I’m going to have to admit defeat on this one unless someone out there has any ideas and would like to assist?
In order to get the total of specific transactions (i.e. ones made using a specific button), the only way I can see to achieve this is to use PayPal’s transaction search api (https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/TransactionSearch_API_Operation_SOAP/) passing it a date range, then iterating over each result to check whether it meets the criteria. There are several problems with this that I can’t figure out how to overcome:
– It is very slow to do this. I could I guess speed it up with a cache, but that would mean non-live results on occasions.
– The deal breaker: you can only return 100 records and there doesn’t appear to be a paging option.Forum: Plugins
In reply to: [Olimometer] Gross BalanceSorry, I’m afraid PayPal only return one value, and that’s the balance of the account.
Forum: Plugins
In reply to: [Olimometer] Transaction IDThis is the #1 requested feature for my plugin so I am investigating. Not sure if I can do it but I’ll let you know if/when I manage it.
Forum: Plugins
In reply to: [Olimometer] Olimeter not accurately tracking donationsI’m afraid that currently you can’t track donations individually using the plugin – it just tracks the balance of a given account. I don’t have any plans to add transaction tracking in the near future because this would require a hefty overhaul of the plugin as it’s a significant change.
A quick Google around has turned up a number of plugins which would track the balance, such as Seamless Donations. Perhaps I can figure out a way to get my Olimometer to track the total provided by that plugin instead. I’ll leave this open until I’ve had a chance to look in to this.
Forum: Plugins
In reply to: [Olimometer] Olimeter not accurately tracking donationsMy apologies – please don’t be angry, this is free support you are getting for a free plugin after all!
The meter shouldn’t of course go up and down on its own accord if set up statically. Are you using PayPal integration? The only scenario I can envisage this happening is if you have linked the Olimometer to a PayPal account and the Olimometer is tracking the balance of that account. If the balance of the account increases due to donations, the Olimometer will go up. If you withdraw money from that PayPal account, the balance decreases and therefore the Olimometer’s progress value will also decrease.
Do you have a URL I can visit to see the problem in action?
Forum: Plugins
In reply to: [Olimometer] [Plugin: Olimometer] Linking a Paypal button to olimeter,Not at the moment, sorry.
Forum: Plugins
In reply to: [Olimometer] Use dynamic total calculated from Gravity FormsI should also add, I’m assuming you would re-write total_donations to return a value not a string.
Forum: Plugins
In reply to: [Olimometer] Use dynamic total calculated from Gravity FormsHi,
Glad you like it!
I would add a call to your total_donations function in olimometer-class.php – look for the class’s show function. If you calculate your total as one of the first things you can do, you can then save it as the current total for that meter:
$my_calculated_total = total_donations();
$this->olimometer_progress_value = $my_calculated_total;
$this->save();This is the same as I use for the paypal and stayclassy integration.
Oli