PHPBB renewal problems

Discussion in 'Integration' started by clockwork71, Sep 4, 2009.

  1. clockwork71

    clockwork71 New Member

    Joined:
    Jul 29, 2009
    Messages:
    6
    I have had my forum for 5 weeks now. It appears that when a renewing subscription gets done, my users will then get a message at my PHPBB forum that says "This board has no forums". Odd, when the first 4 weeks it worked fine. It's only after being renewed.

    I absolutely cannot find it on the PHPBB end. There is something outside of it changing the users experience. Has anyone ever heard of this? PHPBB people suggested it was a problem with aMember.

    I do know that I have never had a seamless integration between aMember and PHPBB. The only thing I know is that this is going to kill my new business.

    Thanks in advance,
    Chris
  2. pixelpix

    pixelpix aMember Pro Customer

    Joined:
    Jun 16, 2009
    Messages:
    19
    I don't know if this will help, but I had a couple of members who had access and then lost access all of a sudden.

    After a bit of digging, I found that they existed in two phpBB groups. One had full access and the other no access. The no access group was also listed as their default group.

    It seemed that all would be fine for them, but each time aMember updated the database, they would be moved back to the default "no access" group.

    I solved the problem by manually removing the them (using the phpBB admin) from the no access group and making their proper group default.

    Like I said, I don't know if this will help, but it sounds a bit similar.

    Cheers

    Rusty
  3. zenpig66

    zenpig66 aMember Pro Customer

    Joined:
    Jan 1, 2009
    Messages:
    72
    You may want to check http://www.amember.com/forum/showthread.php?t=9454 out. I ran into a similar issue because of the way aMember thinks phpBB3 permissions are handled simply by changing groups and the way they actually are handled. You'll see that user_permissions = '', is added in a couple places within the plug in....that's because not only groups have their own permissions which is what aMember does when it changes a users group based on whether or not subscribed but individual users also have their own permissions which supersedes the group settings and is found in the "user_permissions" field. The "user_permissions" field is built based on what group and permissions the user is in/has...if it is not empty it can't be rebuilt and the user will retain whatever. So, if a users subscription runs out it can move them to the guest group as it should be but the "user_permissions" field doesn't change and still gives them normal access...it can work vice-versa, too, where users renew the subscription if a guest and the renewal will grant them to the proper registered user group but they don't gain access because the "user_permissions" field isn't updating to include they are now in the registered users group. By forcing the plugin to empty the user_permissions field it also forces it to be rebuilt properly with whatever group they are in.

    btw, here's a bit of code that might be useful in your overall_header.html file for phpBB3..I use subsilver2 based style so adjust accordingly.

    Code:
    <!-- IF S_USER_LOGGED_IN and S_GROUP_487 -->
    	<div align="center">
    	<p class="genmed">any text you want explaining to a user that their subscription is expired and if they want to resubscribe point them in the right direction</p>
    	</div>
    <!-- ENDIF -->
    Mine is set up that if registered they are made a part of the "registered users" group and if the subscription ends they are a "guest". Group 487 is the id for guest on my board but you may want to verify how it is defined on your own board. Guests aren't allowed to register a username on my board without first subscribing but once a subscribed user who does have a registered account becomes a guest due to a subscription running out they still have a registered username they can log into but limited access. The above will only show to such users and is helpful in reminding those who have lost access why and how to resubscribe. The above example is pretty basic and you could incorporate it many different ways including pop-ups.

Share This Page