Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. [FreePBX]Parking module upgrade - FOP2 needs one too

[FreePBX]Parking module upgrade - FOP2 needs one too

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 94 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    A
    Atreiu
    wrote on last edited by
    #1

    Hi all.

    Firstly, thanks for this amazing panel and great work. My operators team sincerely love it!

    As you probably know, there was this night, an update with the parking lots module on FreePBX. The problem is that this module changes all his table structure and name, making FOP2 module crash on reload (it searches parkinglots table instead of parkplus table).
    So, could we have an update please? That's just a query to change! 😉
    I'll try to do a custom modification of the module, but I prefer an official update.

    I'm coming back Monday from vacation, so I hope you will manage to do us an update this week end.

    Thank you,

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      I have not tried that module update yet, looking at the table definitions, you might want to change in functions.inc.php the line

      $query = "SELECT data FROM parkinglot WHERE keyword='parkext'";

      with

      $query = "SELECT parkext AS data FROM parkplus ORDER BY parkext LIMIT 1";

      1 Reply Last reply
      0
      • A
        A
        Atreiu
        wrote on last edited by
        #3

        Yeah, I tried to do "SELECT parkext FROM parkplus WHERE id=1" but I forgot the AS data 😕

        I'll modify it soon. So this request doesn't support multiple parking extensions as the new parking extension do. I hope you'll make an awesome update 😄

        Thank you! 🙂

        1 Reply Last reply
        0
        • N
          N
          nicolas
          wrote on last edited by
          #4

          I made a simple update. There might be like 0,1% of people with the new park module, and all the rest that are also using fop2admin, that should work for everyone.

          For now, if you want multiple parking lots you have to configure them by hand.

          Anyways, I do not see the point of multiple parking lots in FreePBX as FreePBX itself is not truly multi tenant.

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups