Recent content by XFuser

  1. XFuser

    XF 1.5 Which database tables need to be altered to manually add/remove user from usergroup?

    Thank you for letting us know. We have no experience creating Add-ons, so we prefer to avoid that solution. This seems a bit more straightforward. So would it be as simple as running our SQL query and then adding/removing users from Usergroups by: 1. Getting list of users current secondary...
  2. XFuser

    XF 1.5 Which database tables need to be altered to manually add/remove user from usergroup?

    Hello, We want to do some simple customizations where we run some simple cron job queries daily to check things like messages per last 30 days, likes received per last 30 days, etc. and then give/remove privileges/permissions by adding/removing users to Usergroups based on those queries. To...
  3. XFuser

    XF 1.5 How to make users have "Receive Conversations" enabled by default?

    Hello, A user has reported that by default they have "Receive Conversations" disabled. How can we enable this setting by default for all new users? Also, how can we enable it for all users who had it disabled? Thank you.
  4. XFuser

    XF 1.5 How to get the Thread ID in the Ad templates?

    That does not seem to work. We have decided to use regex to extract the Thread ID directly from the URL as that is much easier and it works. Thank you for your help.
  5. XFuser

    XF 1.5 How to get the Thread ID in the Ad templates?

    We spoke too soon as it seems your solution only worked on the ad_above_top_breadcrumb template. We also need $threadid to work on the following templates: ad_below_content ad_message_below ad_thread_view_below_messages How do we get your solution to also work on those 3 templates above?
  6. XFuser

    XF 1.5 How to get the Thread ID in the Ad templates?

    We just copied and pasted your code above into line 2 of the ad_thread_view_above_messages template , but XF returned the following error upon save: The following templates contained errors and were not saved: ad_thread_view_above_messages: 1) Line 2: Template syntax error. How can we fix this?
  7. XFuser

    XF 1.5 How to get the Thread ID in the Ad templates?

    The instructions are not clear. Where do we put this code: <xen:container var="$variableId">{$variable.id}</xen:container> What variable name do we use for the Thread ID? And how do we access that variable in the ad_above_top_breadcrumb template?
  8. XFuser

    XF 1.5 How to get the Thread ID in the Ad templates?

    We are trying to access the Thread ID in the ad_above_top_breadcrumb template while viewing a thread, but dumping $thread returns NULL, so $thread does not seem to be available in the Ad Templates. Where and how would we use this to access the Thread ID in the ad_above_top_breadcrumb template?
  9. XFuser

    XF 1.5 How to get the Thread ID in the Ad templates?

    We already addressed that in our OP: Any other ideas?
  10. XFuser

    XF 1.5 How to get the Thread ID in the Ad templates?

    So there is no way to retrieve the Thread ID in the Ad Templates without resorting to an add-on?
  11. XFuser

    XF 1.5 How to get the Thread ID in the Ad templates?

    Unfortunately that also returned NULL. Any other ideas?
  12. XFuser

    XF 1.5 How to get the Thread ID in the Ad templates?

    Hello, How can we get the Thread ID in the Ad Templates? We have tried several different variations of the thread id variable, but no variation is actually producing the thread id. We dumped the $forum variable in the Ad Template and it dumps a lot of data but does not show the thread id...
Top Bottom