Recent content by keithg

  1. K

    Lack of interest Better purchase visibility

    and a followup after completing yet another payment gateway... The secret to the extra_data field is that it is declared as while the provider_metadata is just binary. You can feed the an array of items to the extra_data field when saving an entity. I am documenting this find here since I keep...
  2. K

    Google Adsense Policy Violations - ads are showing on login page?

    Found this thread when I was looking at a different user login issue, but thought I could clear up some confusion between the /login and /login/login urls. /login is the default login url that displays the login form (actionIndex in login controller class) when a user submits the login form it...
  3. K

    Lack of interest Better purchase visibility

    Some additional info as I work through my solution. My xf_purchase_request listing uses a template to display internal data. The extra_data field works great with the template system as it appears to be an array of values. Easy to pick the array entries out in the template. The provider_metadata...
  4. K

    Implemented Single Sign On (Connect XF with XF, WordPress, etc)

    It may make sense for people to understand the difference between "single sign on" and "same sign on". Which one are you asking for? One of my current clients was very proud that all of their systems offered "single sign on". Nope. They all offered "same sign on". Which was great. Every system...
  5. K

    Lack of interest Better purchase visibility

    See the bottom of this rambling post for my ask. I have a client that wants to see who has tried to purchase what...and what some of them managed to actually purchase. This post drivels on for a while in the hope that people will understand the real world problems that our clients operational...
  6. K

    XF 2.1 Template javascript development mode vs production mode

    If it helps, here is the script entries I added after line 2 of the login template (i have obfuscated any Marketo account details): <script src="//app-sj30.marketo.com/js/forms2/js/forms2.min.js"></script> <form id="mktoForm_111" style="display:none"></form>...
  7. K

    XF 2.1 Template javascript development mode vs production mode

    I am having an issue where some template script code works in development mode but does not work in production mode. So my base question is: what is the difference between template processing in development mode vs non-development mode? I am not a front end developer and I guess I am likely...
  8. K

    Fixed Proper chronological ordering of log entries

    upon reflection an extremely simple core solution would be to add an auto-increment field to the xf_error_log table and then always sort on that. the upgrade script may be a bit knarly? That is a problem left to the core developers... Cheers!
  9. K

    Fixed Proper chronological ordering of log entries

    Please be very very careful with this hack workaround... // hack to make the log entries show up in the proper chronological order... sleep(2); \XF::$time = time(); Edit: More info provided - I had a payment provider process flow where the "payment initiated" and "payment...
  10. K

    Fixed Proper chronological ordering of log entries

    This issue applies to both the generic Server error log as well as the Payment provider log. I claim this is a nasty bug. My problem is that a series of quickly happening related log entries are not displayed in correct chronological order if they occurred within the same second. This makes it...
  11. K

    XF 2.0 How does the Purchasable Items System work?

    Sorry I missed responding to this before. The addons are the intellectual property of my client. So I can not open source or resell them. I am free to share my experience / knowledge if people have specific problems or questions.
  12. K

    XF 2.0 How does the Purchasable Items System work?

    Just an update on my experience in this area. The initial payment provider turned out to be less than optimal. So a different payment provider was required. Since I had initially divided my problem into 3 different addons, it was simple to enhance my "payment gateway" addon to include a second...
  13. K

    XF 2.0 Updating a user's permission combination ID via PHP?

    See my post above regarding 'XF:UpdatePermissions'. I created an addon that needed to alter selected forum node permissions for specific forum nodes. There are a bunch of permission examples in the core code. I suggest you look at them and then ask more detailed questions.
  14. K

    XF 2.0 How to use xf:editorrow ?

    The answer is to store rich text data as BBcode and not HTML. BBcode data from the database is magically displayed properly by the Rich Text Editor. It took some effort to discover that this required a few simple changes to my world - convertToBbCode the HTML data prior to save - bb_code the...
  15. K

    XF 2.0 Is there a developer guide I can point to for Payment Service Providers?

    I claim it will not be easy. Likely a couple months effort for someone who does not know XF. They need to learn (at least) the following: - general XF concepts from an end user perspective - general XF internals - how to create an Addon - XF developer tools - Payment Profile internal...
Top Bottom