Recent content by Blake Peterson

  1. Blake Peterson

    Add-on Port Custom Add-on from XF1 to XF2

    I had a custom plugin developed for XF1, and this needs to be ported to XF2 It basically sends all users a trending content email once a week (based on their permissions). This needs to be upgraded to XF2 PM for a copy of the code if you want to give me a quote. Thanks Blake
  2. Blake Peterson

    XF 2.0 I'm trying to get the user_id of the current user

    @LPH I'm baffled. That works. Thank you so much ... I can't seem to figure out in what way the previous code was different. Anyway... I got it now.
  3. Blake Peterson

    XF 2.0 I'm trying to get the user_id of the current user

    @LPH Thanks - Big fat 0 again Is it due to the location of the script? Root folder? Is there some sort of permission that is blocking this? Is it because I'm a super admin? I wont have much hair left if this keeps going on :)
  4. Blake Peterson

    XF 2.0 I'm trying to get the user_id of the current user

    Yep - I get the object ... But nothing is set... (I guess they are just protected) Yes, Same results.
  5. Blake Peterson

    XF 2.0 I'm trying to get the user_id of the current user

    Thanks Guys, Yes, I am logged in. This code appears in a file called api.php in the root of my XenForo Installation Here's the code... <?php $dir = __dir__; require($dir . '/src/XF.php'); XF::start($dir); $app = XF::setupApp('XF\Pub\App'); $app->start(); $session = $app->session()...
  6. Blake Peterson

    XF 2.0 I'm trying to get the user_id of the current user

    I'm trying to get the user_id and permissions of the current logged in user for use in another application I'm trying this... but all I get is 0. $dir = __dir__; require($dir . '/src/XF.php'); XF::start($dir); $app = XF::setupApp('XF\Pub\App'); $app->start(); $session = $app->session()...
  7. Blake Peterson

    Trending Content [Unsupported] [Paid]

    Thanks @Stuart Wright
  8. Blake Peterson

    Trending Content [Unsupported] [Paid]

    Hi there... do you have an ETA for XF 2 support ? Thanks :)
  9. Blake Peterson

    XF 1.5 Strange problem ... not sure where to look.

    Oh I see... no email for mentions. However Fred is also not getting a new thread or message notifications from Forum A (he is watching the forum)
  10. Blake Peterson

    XF 1.5 Strange problem ... not sure where to look.

    Here's the setup Forum A Forum B User Group A User Group B User Group A and B have the same permission set. Forum A - Registered users are revoked, While User Group A has Access Forum B - Registered users are revoked, While User Group B has Access Fred is a member of both groups A and B...
  11. Blake Peterson

    XF 1.5 xf_error_log Corrupted

    Thanks.. yeah .. I have no idea what caused it. The tables was showing in the list of tables under mysql But didn't exist. I copied all the tables to a new temp database. Added the xf_error_log table. I then deleted the original database and then created it again. I then copied the...
  12. Blake Peterson

    XF 1.5 xf_error_log Corrupted

    Not sure what happened... Can someone PM me the table structure from so I can re-instate the table. Thanks in Advance! Blake
  13. Blake Peterson

    Add-on [Paid] Email option for Trending Content

    @ForumCube Thanks - Just hired someone cheers.
  14. Blake Peterson

    Add-on [Paid] Email option for Trending Content

    Thanks - But that doesn't meet the criteria... only user who logged in over the last 30 days and it doesn't use the group permissions.
Top Bottom