Jump to content

velaware

Alpha Developers
  • Posts

    346
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by velaware

  1. After digging through Blesta's code for the past few months I've come up with a sound way to get a user's IP when proxying requests, but since this requires editing the core files too I'd rather not do it myself. In the Users.login function (in /blesta/app/models/users.php:function login) there's these two lines: if (!isset($vars['ip_address'])) $vars['ip_address'] = $this->ifSet($_SERVER['REMOTE_ADDR'], null); What I propose is making a company-specific option in [settings]->[Company]->General with an option of "Remote Address Header" automatically set to default as REMOTE_ADDR (and a notice saying "if you don't know what this means leave as default" basically). The reason behind this is not everyone can or wants to modify that header value and instead adds a different one (i.e.: X-Real-IP). The use case for this is people who have two different web servers installed. I.e.: I have Nginx installed on my server which serves all static content then just passes all PHP requests to another web service. However, the other web service listens on a private IP so it only fetches that with the way Blesta is right now. After this it would just take a simple change to the code above: if (!isset($vars['ip_address'])) $vars['ip_address'] = $this->ifSet($_SERVER[Configure::get("Blesta.ip_address_header")], null); Or similar.
  2. Sadly I wish I could write a plugin for this but I can't without modifying the support manager plugin itself. The issue I can see with this though is for when said people submit tickets via email. You can't get the user's email that way.
  3. Oh and another thing to check is that the email server/service is running. I don't use piping but could be the issue, don't know.
  4. Check this thread: http://www.blesta.com/forums/index.php?/topic/1052-system-status-there-are-one-or-more-cron-tasks-that-have-been-executing-for-more-than-60-minutes/ Specifically this post: http://www.blesta.com/forums/index.php?/topic/1052-system-status-there-are-one-or-more-cron-tasks-that-have-been-executing-for-more-than-60-minutes/?p=8567 I'm not aware of any other way to fix this right now. But basically for some reason a cron task got stuck. If you need any further help feel free to ask. Basically though you need to have a way to run queries on your own (i.e.: by using phpMyAdmin or via the command line itself).
  5. This plugin lets your clients switch between different companies that they are a part of in your Blesta set up. I've also provided screenshots this time! Source: https://github.com/anzenehansen/Blesta-Goodies/tree/master/plugins/multi_company_login Tarball: https://github.com/anzenehansen/Blesta-Goodies/raw/master/mcl_plugin.tar.gz INSTALL Simply place this in the plugin directory and install it trough the staff panel. CHANGE LOG v1.0.0 - 02/01/2014 Initial release
  6. velaware

    Mariadb Support?

    As a little bit more info, MariaDB's fork of InnoDB (the engine type Blesta uses for the database) called XtraDB recognizes itself as InnoDB (https://mariadb.com/kb/en/about-xtradb/) but you can also use the original InnoDB as well via plugin. So, as an outsider looking in it seems like MariaDB could in fact be a suitable replacement for those running Blesta on a low-end server (i.e.: low-end VPS).
  7. I realized the flaw in this just now anyways before you posted this, so this just affirms my thoughts, lol. What I need to do anyways is hook into where invoices are displayed so if that's possible, awesome. If not then I'll need to create client widgets for it.
  8. velaware

    Mariadb Support?

    MariaDB is a drop-in replacement for MySQL but offers tremendous improvements in performance and speed (based on their website). As MariaDB is a fork of MySQL I'm curious if Blesta will run on it without any issues? If no one knows I'd be happy to test this on my dev platform and report my results.
  9. Is it possible to send a user to a page within an event listener? I.e.: when someone logs in, your listener on Users.login presents the user with a page before they get to the client portal?
  10. Alright, lol. Well since its a special case issue I'll be doing the first login plugin as a separate plugin. I'll PM you in a few with some details.
  11. Anything's possible. Wouldn't billing address be the one that they sign up with?
  12. Easy plugin to do, if you're interested, can probably whip something up within the next day or two?
  13. I'm talking to an account rep/sales/something right now actually. I'll see what I can do and go from there. Worst case, not possible. That fine w/ you Paul?
  14. I know BitPay is available in 3.1, but BitCoins are always an interesting commodity.
  15. Ah man, I remember using R1Soft. I tried doing something similar in 2.5 when I was working on my own backup service. Depending how you want it structured is the issue. For example, I was going to do a charge-by-GB, which pay-as-you-go isn't very friendly in Blesta, at least when I last tried to establish something. If you're charging a flat rate then it'd be easy, though. Can you point me to their backup solution? Their website is making my early-monrning-wake-up brain hurt a lot, and it doesn't seem like they do that anymore. If they offer a trial or something I'd be happy to see what I can do.
  16. velaware

    Gogetssl

    GGSSL just resells from other companies (look at their plans, its a dead give away).
  17. velaware

    Gogetssl

    If you purchase a 2 year SSL cert, the expiration on the cert is set for 2 years from the purchase date. If it does send them a one-year cert I would contact GoGetSSL's support and see what they say. But this shouldn't happen.
  18. No problem. Some server setups will have PHP settings separate for web vs. console/CLI, so its always good to check both.
  19. Checking this by vising a page you created? If so, try running php -i via CLI and it will print out the CLI version of phpinfo(). You want the CLI info not the web info.
  20. That's what I thought after digging around the thought process a bit more. Alright, easy pleasy and actually makes my needs a lot easier. Thanks!
  21. How would I assign a client to multiple companies? I have them assigned to one company right now, is there a way though without manually running an SQL query to make them a part of multiple companies? Or would they need to have two separate logins? I just bought another company license so I'm not sure how this system works exactly.
  22. Alright. I know some will ask about this and it does matter because some licenses are incompatible with each other, so a purist might have some issue with it being "whatever you choose" (just a head's up, not trying to be brash or anything).
  23. This will require some work for sure, but I already have an idea on how to handle this. I'll create the test scenario today and start work on it.
  24. I'll get started on a plugin for this today. Hopefully be done by tonight. But, if both you @Purevoltage and @PointPubMedia could provide me some scenarios to test this with and make sure it works that'd help me out a lot as I don't have any use cases for this personally.
  25. I've been flooding the forum lately with plugins I've writen (some useful, others niches). At this piont I would like to extend my services to others looking to have plugins developed as well. Prices per plugin depend on the request, so it could range from free to some amount. It would also be up to you to decide if the plugin will be publically available or not. I know some people don't want their needs put out in the open. if you're interested, just send me a PM on here or reply to this thread. I'm also open to working on gateways (merchant and non) as well as modules.
×
×
  • Create New...