Recent content by John Coles

  1. John Coles

    XF 1.5 Removing a secondary group from a user via PHP

    Ah! I get what you mean now. However I am planning on this being called from a cron job server side.
  2. John Coles

    XF 1.5 Removing a secondary group from a user via PHP

    True I could! Although that function is adding a group in a function called delete group :P I get what you mean though. Currently to test it I just have two separate scripts, an add and a remove. Tried this, still not working :D I have a feeling that in one of the pervious topics about this...
  3. John Coles

    XF 1.5 Removing a secondary group from a user via PHP

    Hello all! I am trying to write a PHP script that will add and remove a secondary user group to a user. The adding seems to work reliably but I can not get removing to work. I also can't find an example of removing a specific group ID. Here's the code I have (mainly taken from...
Top Bottom