You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: This is supposed to be an extension for the last PR q2a#91
This PR introduces a new feature that enhances plugin visibility and compatibility display:
- Fetches all plugin repository links and retrieves their metadata.
- Stores metadata locally using localStorage for performance, and also not bombard fetches to `raw.githubusercontent.com` on every page request.
- Dynamically generates a footer section for each plugin with:
- Repository update date
- "Q2A Tested With" tag based on the plugin’s `max_q2a` metadata.json key, if available.
This helps users quickly assess which plugins are compatible with their Q2A version and when they were last updated.
I also added a message to the Plugins & Themes pages, explaining that "outdated" plugins doesn't necessarily mean that they don't work. Some of them just don't require to be updated as frequently.
Also, everybody can create PRs to update the `max_q2a` version of a plugin they know it works, because they're using it.
Copy file name to clipboardExpand all lines: _layouts/home.html
+30-18Lines changed: 30 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,23 @@
2
2
layout: default
3
3
---
4
4
5
-
<h1class="home-intro"><strong>Question2Answer</strong> (Q2A) is a popular open source Q&A platform for PHP/MySQL, currently running on <ahref="https://www.question2answer.org/sites.php">24,500+ sites in 40 languages</a>.</h1>
5
+
<divclass="home-intro-container">
6
+
<h1class="home-intro"><strong>Question2Answer</strong> (Q2A) is a popular open source Q&A platform for PHP/MySQL, currently running on <ahref="https://www.question2answer.org/sites.php">24,500+ sites in 40 languages</a>.</h1>
<p>A Q&A site helps your online community to share knowledge.
@@ -23,8 +35,8 @@ <h1 class="home-intro"><strong>Question2Answer</strong> (Q2A) is a popular open
23
35
{% include card-showcase.html icon="people" title="Why offer Q&A on my site?" answer=answerText %}
24
36
25
37
{% capture answerText %}
26
-
<p><ahref="https://www.question2answer.org/question2answer-latest.zip"><b>Download Question2Answer</b></a>, then read <ahref="/install/">how to install</a>.
27
-
Version 1.8.8 was <ahref="/install/versions/">released</a> on July 25th, 2023.
38
+
<p><ahref="https://www.question2answer.org/question2answer-latest.zip"><b>Download Question2Answer</b></a>, then read <ahref="{{ site.baseurl }}/install/">how to install</a>.
39
+
Version 1.8.8 was <ahref="{{ site.baseurl }}/install/versions/">released</a> on July 25th, 2023.
28
40
Also <ahref="https://github.com/q2a/question2answer">on GitHub</a>.</p>
29
41
<p>Question2Answer is open source, <ahref="https://www.question2answer.org/license.php">licensed under GPL v2+</a>.</p>
30
42
{% endcapture %}
@@ -43,9 +55,9 @@ <h1 class="home-intro"><strong>Question2Answer</strong> (Q2A) is a popular open
43
55
44
56
{% capture answerText %}
45
57
<ul>
46
-
<li>Q2A takes 5 minutes (or less!) to <ahref="/install/">install</a>.</li>
47
-
<li>Easy styling with <ahref="/themes/">CSS themes</a>.</li>
48
-
<li>Supports <ahref="/translate/">translation</a> into any language.</li>
58
+
<li>Q2A takes 5 minutes (or less!) to <ahref="{{ site.baseurl }}/install/">install</a>.</li>
59
+
<li>Easy styling with <ahref="{{ site.baseurl }}/themes/">CSS themes</a>.</li>
60
+
<li>Supports <ahref="{{ site.baseurl }}/translate/">translation</a> into any language.</li>
49
61
<li>Custom sidebar, widgets, pages and links.</li>
50
62
<li>SEO features such as <ahref="https://www.sitemaps.org/">XML Sitemap</a> and neat URLs.</li>
51
63
</ul>
@@ -68,35 +80,35 @@ <h1 class="home-intro"><strong>Question2Answer</strong> (Q2A) is a popular open
68
80
<li>Create experts, editors, moderators and admins.</li>
69
81
<li>User avatars (or <ahref="https://en.gravatar.com/">Gravatar</a>) and custom fields.</li>
70
82
<li>Private messages and public wall posts.</li>
71
-
<li>Log in via Facebook or others (using <ahref="/addons/plugins/">plugins</a>).</li>
83
+
<li>Log in via Facebook or others (using <ahref="{{ site.baseurl }}/addons/plugins/">plugins</a>).</li>
72
84
</ul>
73
85
{% endcapture %}
74
86
{% include card-showcase.html icon="face" title="Built-in user account management ..." answer=answerText %}
75
87
76
88
{% capture answerText %}
77
89
<ul>
78
-
<li>Out-of-the-box <ahref="/install/wordpress/">WordPress</a> and Joomla integration.</li>
79
-
<li>Custom <ahref="/install/single-sign-on/">single sign-on</a> support for other sites.</li>
80
-
<li>Deep integration and customization via <ahref="/plugins/">plugins</a>.</li>
90
+
<li>Out-of-the-box <ahref="{{ site.baseurl }}/install/wordpress/">WordPress</a> and Joomla integration.</li>
91
+
<li>Custom <ahref="{{ site.baseurl }}/install/single-sign-on/">single sign-on</a> support for other sites.</li>
92
+
<li>Deep integration and customization via <ahref="{{ site.baseurl }}/plugins/">plugins</a>.</li>
81
93
</ul>
82
94
{% endcapture %}
83
95
{% include card-showcase.html icon="assignment_ind" title="... or integrate with existing sites" answer=answerText %}
84
96
85
97
{% capture answerText %}
86
98
<ul>
87
-
<li>PHP/MySQL <ahref="/install/optimize/">scalable</a> to millions of users and posts.</li>
88
-
<li><ahref="/install/security/">Safe from</a> XSS, CSRF and SQL injection attacks.</li>
99
+
<li>PHP/MySQL <ahref="{{ site.baseurl }}/install/optimize/">scalable</a> to millions of users and posts.</li>
100
+
<li><ahref="{{ site.baseurl }}/install/security/">Safe from</a> XSS, CSRF and SQL injection attacks.</li>
89
101
<li>Beat spam with captchas, moderation and/or flagging.</li>
90
102
</ul>
91
103
{% endcapture %}
92
104
{% include card-showcase.html icon="policy" title="Fast and secure" answer=answerText %}
Copy file name to clipboardExpand all lines: addons/index.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,17 +2,18 @@
2
2
layout: page
3
3
menu: addons
4
4
title: "Question2Answer - Add-ons"
5
+
slug: addons
5
6
---
6
7
7
8
# Question2Answer is being extended by the community.
8
9
9
10
This page links to add-ons created by Question2Answer users. These are not endorsed for quality or suitability, but we hope they are useful. If you have something to contribute, please submit a pull request to [the docs](https://github.com/q2a/q2a.github.io/) or [get in touch](https://www.question2answer.org/feedback.php) - your help is much appreciated!
0 commit comments