# |
Post Title |
Result Info |
Date |
User |
Forum |
|
RE: Top menu bar displayed for guests when it\'s enabled for members
|
9 Relevance |
7 years ago |
Robert |
How-to and Troubleshooting |
|
@anonymous20,
This post says nothing about Guest view of top admin bar. So I see it's displayed for guests. And I think this is a site specific issue. it seems you have some custom code or other plugins conflicts with wpForo. We don't see such problem on all our websites. if somebody else see this please let us know. |
|
Keep the search bar without top menu ?
|
9 Relevance |
7 years ago |
BillMoo |
How-to and Troubleshooting |
|
I looking for a solution to keep the search bar on the top of the forum, but I didn't want the top menu with Members, My Profile etc. Is it possible ? Thank you for your help.
Attachment : searchbar.jpg |
|
Change titles text in Top Menu Bar
|
9 Relevance |
7 years ago |
ogonzalez |
How-to and Troubleshooting |
|
Hi.
I'm trying to translate the texts from the top menu bar. The problem is that neither modifying the phrases, nor cleaning cache, nor with the .po language file this changes.
Does anyone know how to change the texts in the top menu bar?
Thank you |
|
RE: How do I fully uninstall wpForo
|
9 Relevance |
3 years ago |
RubiconCSL |
How-to and Troubleshooting |
|
Hi.
This is a list of table names.
Thanks
TABLE_NAME
bO0BnC6_wpforo_boards
bO0BnC6_wpforo_forums
bO0BnC6_wpforo_topics
bO0BnC6_wpforo_postmeta
bO0BnC6_wpforo_posts
bO0BnC6_wpforo_profiles
bO0BnC6_wpforo_usergroups
bO0BnC6_wpforo_languages
bO0BnC6_wpforo_phrases
bO0BnC6_wpforo_accesses
bO0BnC6_wpforo_follows
bO0BnC6_wpforo_visits
bO0BnC6_wpforo_activity
bO0BnC6_wpforo_post_revisions
bO0BnC6_wpforo_tags
bO0BnC6_wpforo_logs
bO0BnC6_wpforo_reactions
bO0BnC6_wpforo_bookmarks
bO0BnC6_wpforo_subscribes
bO0BnC6_wpforo_mg2wpforo
bO0BnC6_wpforo_2_forums
bO0BnC6_wpforo_2_topics
bO0BnC6_wpforo_2_postmeta
bO0BnC6_wpforo_2_posts
bO0BnC6_wpforo_2_languages
bO0BnC6_wpforo_2_phrases
bO0BnC6_wpforo_2_visits
bO0BnC6_wpforo_2_activity
bO0BnC6_wpforo_2_post_revisions
bO0BnC6_wpforo_2_tags
bO0BnC6_wpforo_2_reactions
bO0BnC6_wpforo_2_subscribes
bO0BnC6_wpforo_2_mg2wpforo |
|
RE: Add "Recent Forum Posts" where you want it
|
9 Relevance |
6 months ago |
Pablo |
How-to and Troubleshooting |
|
Version that uses database and not rss, with Pagination / „Load More“ and avatars.
Paste this at the end of your Theme "functions.php"
The following code works only if you have "title url structure" activated.
add_action('wp_ajax_get_latest_wpforo_posts', 'get_latest_wpforo_posts');add_action('wp_ajax_nopriv_get_latest_wpforo_posts', 'get_latest_wpforo_posts');
function get_latest_wpforo_posts() {ob_clean();header('Content-Type: application/json');
if (!function_exists('WPF')) {echo json_encode(['error' => 'wpForo is not available.']);wp_die();}
$offset = isset($_GET['offset']) ? intval($_GET['offset']) : 0;$limit = 10;
$posts = WPF()->post->get_posts(['orderby' => 'created','order' => 'DESC','row_count' => $limit,'offset' => $offset,'status' => 0,]);
if (!$posts || !is_array($posts)) {echo json_encode([]);wp_die();}
$output = [];foreach ($posts as $post) {$author = wpforo_member($post['userid'] ?? 0)['display_name'] ?? 'Guest';$avatar = WPF()->member->get_avatar_url($post['userid'] ?? 0);
$forum = WPF()->forum->get_forum($post['forumid']);$topic = WPF()->topic->get_topic($post['topicid']);
$forum_slug = $forum['slug'] ?? '';$topic_slug = $topic['slug'] ?? '';
$link = home_url("/community/{$forum_slug}/{$topic_slug}/#post-{$post['postid']}");
$created = strtotime($post['created']);$now = time();$diff = $now - $created;
if ($diff < 60) {$timeago = $diff . ' sec';} elseif ($diff < 3600) {$timeago = floor($diff / 60) . ' min';} elseif ($diff < 86400) {$timeago = floor($diff / 3600) . ' hours';} else {$timeago = floor($diff / 86400) . ' days';}
$text = preg_replace('/\[quote.*?\](.*?)\[\/quote\]/is', '', $post['body'] ?? '');$excerpt = wp_trim_words(strip_tags($text), 25, '...');
$output[] = ['author' => $author,'avatar' => $avatar,'forum' => $forum['title'] ?? '','topic' => $topic['title'] ?? '','timeago' => $timeago,'excerpt' => $excerpt,'link' => $link,];}
echo json_encode($output);wp_die();}
Paste the following code in html widget where it should appear:
<div id="wpforo-output-wrapper" style="text-align:center; margin: 40px auto; max-width: 800px;"><button id="load-wpforo-posts" style="padding: 12px 25px;font-size: 18px;cursor: pointer;background: linear-gradient(135deg, #4CAF50, #81C784);color: white;border: none;border-radius: 25px;transition: 0.3s;box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.1);font-weight: bold;">🌿 Show Latest 10 Posts</button>
<div id="wpforo-output" style="margin-top: 30px;"></div>
<button id="load-more-wpforo-posts" style="display: none;padding: 10px 20px;margin-top: 15px;font-size: 16px;background: #4CAF50;color: white;border: none;border-radius: 20px;cursor: pointer;">⬇️ Load More Posts</button></div>
<script>let offset = 0;const limit = 10;
document.addEventListener("DOMContentLoaded", function () {const loadBtn = document.getElementById("load-wpforo-posts");const moreBtn = document.getElementById("load-more-wpforo-posts");const container = document.getElementById("wpforo-output");
loadBtn.addEventListener("click", function () {loadPosts();loadBtn.style.display = "none";moreBtn.style.display = "inline-block";});
moreBtn.addEventListener("click", function () {loadPosts();});
async function loadPosts() {try {const res = await fetch(`/wp-admin/admin-ajax.php?action=get_latest_wpforo_posts&offset=${offset}`);const data = await res.json();
if (!Array.isArray(data) || data.length === 0) {moreBtn.style.display = "none";return;}
data.forEach(post => {const postHtml = `<div style="display: flex;align-items: flex-start;gap: 15px;background: rgba(255, 255, 255, 0.9);padding: 15px;margin-bottom: 20px;border-radius: 10px;box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);border-left: 5px solid #4CAF50;"><img src="${post.avatar}" alt="Avatar" style="width: 48px;height: 48px;border-radius: 50%;object-fit: cover;flex-shrink: 0;"><div><div style="font-size: 16px; font-weight: bold; color: #333;">${post.author} <span style="font-size: 13px; color: #777;">– ${post.timeago} ago</span></div><div style="font-size: 14px; color: #555; margin-top: 2px;">Forum: <strong>${post.forum}</strong> · Topic: <strong>${post.topic}</strong></div><div style="margin-top: 8px;"><a href="${post.link}" style="font-size: 15px;line-height: 1.5;color: #2E7D32;text-decoration: none;font-weight: 500;">${post.excerpt}</a></div></div></div>`;container.insertAdjacentHTML('beforeend', postHtml);});
offset += limit;
if (data.length < limit) {moreBtn.style.display = "none";}} catch (err) {container.innerHTML += "<p style='color:red;'>❌ Error loading posts.</p>";console.error(err);}}});</script> |
|
Deeper statistics and Reporting?
|
9 Relevance |
5 years ago |
afreymuth |
General Discussions |
|
Hi there,
I'm wondering if anyone has come up with a solution for some better forum stat reporting? I'm not seeing an add-on that will provide website admins with deeper statistics.
I'd like to see some key things:
Subscriber Count by Board
Monthly New Subscriber Count
Monthly Unsubscribe Count
Monthly New Post Count by Board
Top 10 Most Active Posts by View Count
Top 10 Most Active Posts by Comment Count
Top 10 Users by New Post Count
Top 10 Users by Reply/Comment Count
Topic Tag Frequency and Trending
This is an internal board for our business, and using these stats it would help guide us internally toward areas of improvement by gauging where general interest and conversation is.
Does something like this have to be custom-developed? Does the forum allow for a developer to get at numbers like these?
Thanks, |
|
REST API Litespeed error after site migration
|
9 Relevance |
5 years ago |
Homdax |
How-to and Troubleshooting |
|
Hi, I am getting a big 404 on the forum section of my WP site.
Since I just moved the site from one domain to another and I also get the below quoted error in regards to REST API, I am wondering if this could be related to something in WPForo that I need to fix...
TBH it also gives the same for all my pages and posts, but I am WAY more concerned about the forum. In the admin interface everything seems to be in place, in the database all posts are available. The root path on server was changed, but edited and corrected.
This is the message I get from Site Health:
The REST API is one way WordPress, and other applications, communicate with the server. One example is the block editor screen, which relies on this to display, and save, your posts and pages.
The REST API call gave the following unexpected result: (404) <!DOCTYPE html> <html style="height:100%"> <head> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" > <title> 404 Not Found </title></head> <body style="color: #444; margin:0;font: normal 14px/20px Arial, Helvetica, sans-serif; height:100%; background-color: #fff;"> <div style="height:auto; min-height:100%; "> <div style="text-align: center; width:800px; margin-left: -400px; position:absolute; top: 30%; left:50%;"> <h1 style="margin:0; font-size:150px; line-height:150px; font-weight:bold;">404</h1> <h2 style="margin-top:20px;font-size: 30px;">Not Found </h2> <p>The resource requested could not be found on this server!</p> </div></div><div style="color:#f0f0f0; font-size:12px;margin:auto;padding:0px 30px 0px 30px;position:relative;clear:both;height:100px;margin-top:-101px;background-color:#474747;border-top: 1px solid rgba(0,0,0,0.15);box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset;"> <br>Proudly powered by <a style="color:#fff;" href="http://www.litespeedtech.com/error-page">LiteSpeed Web Server</a><p>Please be advised that LiteSpeed Technologies Inc. is not a web hosting company and, as such, has no control over content found on this site.</p></div></body></html> . |
|
RE: My wpForo
|
9 Relevance |
8 years ago |
bartosh |
wpForo Showcase |
|
Yes, its easy 🙂 For example:
Wordpress theme: sparklingAnd CSS code that you need to paste in Wpforo dashboard
#wpforo #wpforo-wrap { font-size: 13px; width: 100%; margin:0px;}
*/ Wordpress theme/*.post-inner-content {padding: 0;border: none;background-color: transparent;}body.archive .post-inner-content, body.blog .post-inner-content, .post-inner-content:first-child {border-top: none;}
*/ End Wordpress theme/*
*/WPforo styling/*
#wpforo #wpforo-wrap {background: transparent;}#wpforo #wpforo-wrap .wpfl-2 .wpforo-forum {background-color: #ffffff;margin-top: 5px;border-radius: 5px;}
#wpforo #wpforo-wrap .wpfl-2 .forum-wrap { border-top: none;}#wpforo #wpforo-wrap .wpfl-2 .wpforo-category {margin-top: 20px;}
Sorry for my english 🙂 |
|
RE: Private Forums Topics
|
9 Relevance |
4 years ago |
Robert |
How-to and Troubleshooting |
|
@camilla,
For some reason this option was set low priority in the out to-do list. We have more than a hundred things to do with this plugin. I'll move it up in top 10 for upcoming versions. |
|
UI proposal
|
9 Relevance |
8 years ago |
serd |
General Discussions |
|
When adding a new topic, a user may be confused (I was) by two buttons: "add topic" on top and "submit". Actually with low resolution screens only the "add topic" button may be visible without scrolling, and a user may press this button resulting in unsuccessful topic submission and loss of input. I propose to review the interface and leave only one button, i. e. "add topic", also to move it down. Please see attached. |
|
css bug
|
9 Relevance |
9 years ago |
massimo110 |
How-to and Troubleshooting |
|
in database i find a bug:
UPDATE `wp_d327669054_wpforo_posts` SET `body` = '<p> </p><div class="content-element" style="margin: 0px 0px 10px;padding: 0px;border: 1px solid #2d89cc;background-color: #ffffff"><div class="post" id="postid-3" style="margin: 0px;padding: 0px;border: none"><div class="post-content" style="margin: 0px;padding: 0px;width: auto"><div class="post-message" style="margin: 0px;padding: 15px;width: auto;vertical-align: top"><p style="margin: 0px 0px 20px;padding: 0px"><span style="margin: 0px;padding: 0px;color: #555555;border: 0px;font-size: small;vertical-align: baseline;font-family: tahoma, arial, helvetica, sans-serif;line-height: 20.48px">La Low Level Laser Therapy (</span><span style="margin: 0px;padding: 0px;color: #555555;border: 0px;font-size: small;vertical-align: baseline;line-height: 20.48px;font-family: tahoma, arial, helvetica, sans-serif">µ-</span><span style="margin: 0px;padding: 0px;color: #555555;border: 0px;font-size: small;vertical-align: baseline;font-family: tahoma, ari[...]
i replace 1138 with auto |
|
Long loading of a long topic on the forum and other problems
|
9 Relevance |
2 years ago |
AlShoker |
General Discussions |
|
Hello, dear developers! I have four questions:
1. Tell me, please, how can I speed up the loading of long topics? For example, this topic: There are more than 230 posts in it, the topic is divided into 3 pages, forum caching is enabled and still the page loads for about 18-20 seconds.The site runs on 2 vps servers:The site is located on the server: Xeon E5-2696v4 2.2-3.7, 16 cores, 8 GB RAM.
Server configuration for the database: Xeon E5-2696v4 2.2-3.7, 6 cores, 16 GB RAM.SSD drives are everywhere.It seems that there should be enough power
The LSCache caching plugin is installed on the site, the forum pages are added to the caching exception.If you cache the forum with this plugin, then long topics start loading quickly, but after posting a post, due to LSCache caching, it is displayed on the forum with a long delay, approximately 10 minutes. Maybe there is some way to make friends with your Forum with the LSCache caching plugin?
-------------------
2. Perhaps part of the problem of long loading of long topics could be solved if you split long topics into pages in the settings according to the total number of topics on the page. I have now set up the number of topics on the page to 25, but as I understand it, these are 25 topics of the first level, and if the forum has a tree structure with 2, 3, 4, 5 levels, then the page turns out to be long and heavy to load. The topics do not shrink nicely at the same time. Example:
-------------------
3. In some topics, as in these:- for unknown reasons, the sidebar is shifting down the page.
How can I fix it?
-------------------
4. It would be very good in terms of seo optimization, when adding a new post on the forum, in the sitemap file, move the updated topics to the latest file and display the most recent topics at the top of the list, not at the bottom, as it is now. An example of our latest sitemap fileThere are a lot of new posts on the forum in different topics, but in the sitemap the last link to the topic is old. How then do search engines find out about new posts on the forum?Perhaps for this reason, topics with your forum are poorly indexed in search engines?The "Rank math seo" plugin has a good sitemap logic, when updating articles and news on the site, they are moved to a new sitemap file and are at the top of the list.
Is it possible to convert a forum sitemap into a "Rank math seo" plugin?
The new version of WPForo 2.3.0 is installed |
|
How to get Facebook App ID and Secret Key
|
9 Relevance |
8 years ago |
Robert |
Frequently Asked Questions |
|
Starting from wpForo 1.4.3 we integrated Facebook API in wpForo core. This allows to add Facebook login, content cross-posting, sharing and other features... At the moment only Facebook login is available. Other features will be added in future releases.
To start using Facebook features you should get Facebook App ID and Secret Key to fill the according wpForo options in Dashboard > Forums > Settings > API's admin page:
Please follow to these steps to get Facebook App ID and Secret Key
1. Login to your Facebook account.
2. Navigate to Facebook Developers page.
3. If you don’t have Facebook Developer Account you should register it before creating an Application. Click on the top right blue button (Register / Get Started), read the Privacy Policy and Terms. If you accept it set the option “Yes” and click on the [Next] button.
Select your country, insert your phone number and confirm it and click on the [Done] button.
4. Use the top right [My Apps] menu to start creating Facebook App. Click on the [Add New App] sub-menu.
5. Fill the Application name (you can enter website name) and contact email and click on [Create App ID] button.
6. Once App is created, you’ll be redirected to the App “Add a Product” dashboard. Find the “Facebook Login” box and click on [Set Up] button.
7. Choose the Web option (www circle).
8. insert your website URL and save it (don’t continue, just follow to the 9th step)
9. Using the left sidebar, navigate to Facebook Login > Settings page. Make sure “Client OAuth Login”, “Web OAuth Login” and “Enforce HTTPS” are set Yes.
Note: Please note that Facebook Applications are not available for http:// websites, those are only available for https:// secure websites.
10. Again, using the left sidebar, navigate to Settings > Basic page. Choose the Website Category, fill the Privacy Policy and terms URLs of your website, upload your website/company logo (optional). Make sure other data are correct and click on [Save Changes] button.
11. Turn ON the Facebook app Status button.
12. Copy Facebook Application Key and Secret and paste in according fields of the Facebook Section.
All is done! Just fill wpForo Facebook API fields and enable Facebook Login option:
Logout and check your forum Login and Register pages, there should be Facebook Login Button: |
|
RE: How to set the forum so usergroup does not need moderation
|
9 Relevance |
7 years ago |
Sofy |
How-to and Troubleshooting |
|
Hi @tessashepperson,
1. In Forums > Usergroups admin page edit all Usergroups and enable/check the "Can pass moderation" permission.
2. In Forums > Tools > Antispam admin page set low suspicion level for topic and posts:
Spam Suspicion Level for Topics - 10
Spam Suspicion Level for Posts - 10
Also, I'd recommend setting 1 or 2 the "User is New (under hard spam control) during first X posts" option in the same Forums > Tools > Antispam admin page.
More information about wpForo spam control you can find here:
Here is wpForo documentation, it is very easy and contains lots of screenshots. You can start here:
You can find many Youtube videos as a tutorial too:
The changelogs of a new release you can find here: |
|
wpForo 1.9.4 / 1.9.5 are released!
|
9 Relevance |
5 years ago |
Robert |
wpForo Announcements |
|
We've just released wpForo 1.9.4 version then 1.9.5.
Lots of bugs are fixed. The core and AJAX functions are optimized.
Important update notes
Almost all JS files are changed, so it's important to delete all caches, purge optimizer plugin caches and CDN. Then you should reset your browser cache on forum front-end by pressing CTRL+F5. If your browser is Safari/Mac press [CMD] + [ALT] + [E] on forum frontend.
If you have Minifier/Optimizer plugins please delete all caches after wpForo update.
In case you have customized forum template files and found some issues, you should update them with the new 1.9.4 version of template files.
Main Changes
Option to locate editor toolbar
When you write a long text in the topic editor you're getting far from the editor toolbar located on the top of the editor. So, each time you need to use it, you have to scroll up and click on the formatting buttons. We've added an option to move the editor toolbar from the top to bottom. Thus, it's always close to your writing area and makes it easy to use any formatting button without scrolling up and down. The option is located in Dashboard > Forums > Settings > Topics & Posts Tab. You can manage the toolbar location for topic and post editor separately.
New permissions "Can enter..." for Forum Accesses
The newly added "Can enter forum" and "Can enter topic" permissions don't allow entering users in forums or topics while letting them see the titles based on "Can view forum" and "Can view topic" permissions. In other words, you can show topic titles but don't let them enter and see posts. When a user clicks a topic link he/she see a message like "The level of your Usergroup is not appropriate" or "You need a higher level of permission to see the content".
You can read this FAQ topic to see how wpForo Forum Accesses control user accesses to certain forum based on the user Usergroup:
New Addon: wpForo Topic Prefix & Tag Manager
This addon is actually designed to make going through the forums and finding threads with the similar content a lot easier. Topic prefixes can be used to filter forums and can be combined with a keyword search to help users find what they are looking for.
In addition to lots of features, this addon allows you to add, edit, delete topic tags and convert them to prefixes.
Addon page:
New Addon: wpForo Syntax Highlighter
This addon was released a bit earlier. We've adapted the code [</>] button for inserting codes in post editor without losing indents and tabs. So, this addon will work better with wpForo 1.9.4 version for sure.
wpForo Syntax Highlighter addon displays formatted source code using the highlight.js JavaScript library in content of forum posts. This addon supports almost all programming languages including Apache, C#, C++, CSS, HTML, XML, JSON, Java, JavaScript, Objective-C, PHP, Perl, Python, Ruby, SQL, Basic, TypeScript, VB.NET with dozens of different syntax highlighting styles.
Addon Page:
Changelog:
Added: Option to control toolbar location on topic/post editor (top/bottom)
Added: Hook to enable multi-site signup functions for forum registration
Added: Hook to control image auto-embedding in posts
Added: New permissions in forum accesses `Can enter forum` and `Can enter topic`
Added: Missing phrases to wpForo phrase system
Added: Slovak(SK) and Arabic (AR) language translation files
Updated: CZ, DK, ES, HU, JA, NL, TR language translation files
Fixed Bug: Line-break issue with user Signature and About fields
Fixed Bug: Redirect back after login on non-forum login pages
Fixed Bug: Problem with AJAX powered buttons, concurrent requests are enabled
Fixed Bug: Issue with Topic Starter label when guest posting is enabled
Fixed Bug: Post likes problem in threaded layout when the Object Cache disabled
Fixed Bug: Fatal error: Uncaught TypeError: fclose()
Fixed Bug: Google reCAPTCHA problem on native WordPress login / register pages
Fixed Bug: Lots of small bugs are fixed and all AJAX functions are optimized |