mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-09 00:26:20 +01:00
XenForo integration initial version (#459)
* XenForo integration beta * Removing debug loggers
This commit is contained in:
committed by
Adarnof
parent
842080f3de
commit
e6b08fca88
@@ -105,6 +105,35 @@
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if ENABLE_BLUE_XENFORO %}
|
||||
<tr>
|
||||
<td class="text-center">XenForo Forums</td>
|
||||
<td class="text-center">{{ authinfo.xenforo_username }}</td>
|
||||
<td class="text-center">{{ authinfo.xenforo_password }}</td>
|
||||
<td class="text-center"><a href="{{ FORUM_URL }}">{{ FORUM_URL }}</a></td>
|
||||
<td class="text-center">
|
||||
{% ifequal authinfo.xenforo_username "" %}
|
||||
<a href="{% url 'auth_activate_xenforo' %}">
|
||||
<button type="button" class="btn btn-warning"><span
|
||||
class="glyphicon glyphicon-ok"></span></button>
|
||||
</a>
|
||||
{% else %}
|
||||
<a href="{% url 'auth_set_xenforo_password' %}">
|
||||
<button type="button" class="btn btn-warning"><span
|
||||
class="glyphicon glyphicon-pencil"></span></button>
|
||||
</a>
|
||||
<a href="{% url 'auth_reset_xenforo_password' %}">
|
||||
<button type="button" class="btn btn-primary"><span
|
||||
class="glyphicon glyphicon-refresh"></span></button>
|
||||
</a>
|
||||
<a href="{% url 'auth_deactivate_xenforo' %}">
|
||||
<button type="button" class="btn btn-danger"><span
|
||||
class="glyphicon glyphicon-remove"></span></button>
|
||||
</a>
|
||||
{% endifequal %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if ENABLE_BLUE_MARKET %}
|
||||
<tr>
|
||||
<td class="text-center">Alliance Market</td>
|
||||
@@ -430,6 +459,35 @@
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if ENABLE_AUTH_XENFORO %}
|
||||
<tr>
|
||||
<td class="text-center">XenForo Forums</td>
|
||||
<td class="text-center">{{ authinfo.xenforo_username }}</td>
|
||||
<td class="text-center">{{ authinfo.xenforo_password }}</td>
|
||||
<td class="text-center"><a href="{{ FORUM_URL }}">{{ FORUM_URL }}</a></td>
|
||||
<td class="text-center">
|
||||
{% ifequal authinfo.xenforo_username "" %}
|
||||
<a href="{% url 'auth_activate_xenforo' %}">
|
||||
<button type="button" class="btn btn-warning"><span
|
||||
class="glyphicon glyphicon-ok"></span></button>
|
||||
</a>
|
||||
{% else %}
|
||||
<a href="{% url 'auth_set_xenforo_password' %}">
|
||||
<button type="button" class="btn btn-warning"><span
|
||||
class="glyphicon glyphicon-pencil"></span></button>
|
||||
</a>
|
||||
<a href="{% url 'auth_reset_xenforo_password' %}">
|
||||
<button type="button" class="btn btn-primary"><span
|
||||
class="glyphicon glyphicon-refresh"></span></button>
|
||||
</a>
|
||||
<a href="{% url 'auth_deactivate_xenforo' %}">
|
||||
<button type="button" class="btn btn-danger"><span
|
||||
class="glyphicon glyphicon-remove"></span></button>
|
||||
</a>
|
||||
{% endifequal %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if ENABLE_AUTH_MARKET %}
|
||||
<tr>
|
||||
<td class="text-center">Alliance Market</td>
|
||||
|
||||
Reference in New Issue
Block a user