Questions tagged [xenforo]
XenForo is a commercial Internet forum software package written in the PHP programming language using the Zend Framework. The software is developed by a team led by former vBulletin lead developers Kier Darby and Mike Sullivan.
130
questions
1
vote
1
answer
34
views
Perform PHP actions based on checkbox selections
I have a working PHP mailing script and now I am trying to modify its actions based on two checkboxes. This is for the Xenforo registration script
Here is the HTML of the two checkboxes in the HTML
&...
0
votes
0
answers
45
views
Swift_TransportException: Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect
I am facing issue while sending mail through smtp in Xenforo software. can some configure the issue. I need help.
I have tried many trick but not working. Also the builtin php mail system is not ...
0
votes
0
answers
13
views
Xenforo Hide birthday in user profile and show only age
The date of birth and age are hidden by unchecking the two checkboxes below in the Account Details settings.
enter image description here
If you check the above checkbox, your date of birth and age ...
0
votes
0
answers
34
views
Execute code after user click on a reaction? (Xenforo)
The thing is i'm using a shortener script to short all external links on my forum (Xenforo).
<script type="text/javascript">
var app_url = 'https://shrinkearn.com/';
var ...
0
votes
0
answers
16
views
Image and file selection process in xenforo webview application
I created the webview application of the xenforo based website. however, when the image and file upload buttons are clicked on the subject, nothing happens. how can i solve this problem? I tried many ...
0
votes
0
answers
23
views
How can I integrate Tapatalk and XenForo in my java application?
I'm trying to create a web application in which I want to display data from forums using Tapatalk and XenForo.
I want to display all the posts and messages I get in my forum feed. I want to create the ...
1
vote
0
answers
35
views
Bundling Xenforo CSS File?
Xenforo, the style file link is created as follows. Is it possible to optimize this as a single file?
<link async rel="stylesheet" href="https://***/css.php?css=public%3Anormalize....
0
votes
0
answers
75
views
Is it possible to do multiple 301 redirects with in a php file?
So I need to redirect requests to this missing file
#####.php/this-is-the-name/
to something like this
/#####/######.6456436/
The php file no longer exists.
There are multiple URLs like this. Is ...
2
votes
0
answers
195
views
Getting an error when trying to make a resource thread with Xenforo
I've been looking for an answer and I can't seem to find it so I'm asking here.
I'm currently using Xenforo v2.2.7 patch 1 and the plugins I'm having trouble with is [XFA] RM Marketplace 4.3.4 and ...
1
vote
0
answers
114
views
Problem with sessions on nginx using xenForo
I have an major problem with xenForo Logins on nginx and tried everything foundable out.
The xenForo is not the problem it workes fine on an other apache server but I need to move it to nginx.
I'm ...
0
votes
0
answers
259
views
Why does my httpurlconnection throw a 500 error?
I'm trying to get my game server to link up with my Xenforo forums but it pulls a 500 error when trying to connect.
Its definitely reading the databases as i can type an incorrect username when ...
0
votes
1
answer
129
views
MySQL Query, problems with with duplicates on insert into
So I'm using the forum software Xenforo and I need help with a SQL query which will be executed periodically. The forum will have approximately 300-500 active users. So nothing too big.
The goal:
All ...
1
vote
1
answer
207
views
htaccess to nginx url redirection script (phpbb to xenforo)
I have these htaccess rules for redirecting phpbb urls to xenforos friendly urls
RewriteCond %{QUERY_STRING} (^|&)t=([0-9]+)(&|$) [NC]
RewriteRule ^viewtopic\.php$ /threads/%2/? [L,R=...
0
votes
1
answer
78
views
PayPal, IPNs for Xenforo and Buttons
I have to figure out what I need to do to sort out a couple of IPN problems I have created.
Here's what I have:
- One PayPal account
- PayPal Buttons that do not require IPNs
- 2 Xenforo forums which ...
1
vote
1
answer
73
views
XenForo 1.5 set page title with PHP
I use this code to display a page node iin XenForo with my custom PHP code:
class 65434634_page_ControllerPublic_test
{
public static function getTest(XenForo_ControllerPublic_Abstract $...
1
vote
1
answer
509
views
Folder permission error on using / installing XenForo 2.1.4
Hi StackOverflow community,
Recently I migrated my website from a server to another. The OS and the web server software are the same on both servers (Apache HTTPD on CentOS 7)
When I transferred the ...
0
votes
0
answers
108
views
How can I make an image fit a particular aspect ratio, and scale with device/browser width? JavaScript
I'm new to complex coding (most of my experience is with HTML, so I'm clunky at best with CSS and JS), and am running into a terribly irksome issue with a Star Wars forum I manage.
Our forum is ...
0
votes
1
answer
232
views
Xenforo image and attachement URL after Migration
I recently migrated Xenforo forum from Amazon AWS to Linode. I also moved all attachments and images and saved them on my server path /var/www/html/data/attachments. When I view forum images on the ...
2
votes
1
answer
337
views
Xenforo on Azure App Service (Linux) performance issue
I'm trying to install Xenforo (Forum software) on a Linux Azure Web App (App Service) which has been setup with:
PHP 7.2
Premium P1V2 Plan
It's also connected to an Azure MySQL Database (Version 5.7)...
0
votes
1
answer
340
views
500 error "Uncaught Error: Class '\XF\App' not found"
From yesterday evening I've got a fatal error on my site and I've seen in Error Log file that error:
[15-Feb-2020 13:40:22 UTC] PHP Fatal error: Uncaught Error: Class '\XF\App' not found in /home/...
0
votes
0
answers
4k
views
Elasticsearch fails on startup
I'm trying to start elasticsearch on Centos 7 and after trying to start it I type service elasticsearch status and get the following output:
* elasticsearch.service - Elasticsearch
Loaded: loaded (/...
0
votes
1
answer
26
views
Getting 500 error while submitting moderation request
I am getting 500 error while sending Moderation request in Xenforo. All other pages are working absolutely fine.
Anyone has the idea for this problem?
0
votes
1
answer
185
views
Are my Apache2 RewriteEngine On and AllowOverride All changes secure?
I made some changes to my website configuration in order to get friendly urls working on Xenforo2 running on Apache2.
a) I turned RewriteEngine "On" in my .htaccess file
b) I modified RewriteBase ...
1
vote
0
answers
77
views
Is it possible to use Xenforo theme in an external app?
I've an external app that is using Xenforo 2 session data to determine who is currently logged into my forums. This works fine as I'm able to do a lot of stuff in my app (like creating a thread, ...
-1
votes
1
answer
39
views
Is there a way to create a verification system?
I am using XenForo, and was wondering, is there a way to create a verification system.
What do I mean by that is, when a user creates a post and uploads a file, it would show near name or the file - ...
1
vote
0
answers
105
views
Redirect old VBulletin link to Xenforo 1.5
I need help to solve this.
My old vb forum link format:
http://forum.olddomain.com/showthread.php?t=345394&p=26215794&viewfull=1#post26215794
My new xf post link format:
https://forum....
1
vote
1
answer
181
views
process of creating xenforo addon api
I have a blog site in xenforo and am using an article management system addon it is working for end-user and admin also but am not understand how to create API for the same AMS Addon.
And please help ...
7
votes
1
answer
833
views
User authentication in Laravel from xenforo database with using several tables
I have 2 databases: one from Laravel and other from XenForo 2. On Laravel, registration should not take place, but only on the forum in order to reduce data duplication and eliminate the out of sync ...
0
votes
2
answers
349
views
Access $user variable inside of Laravel middleware
I have a Laravel application that I have integrated with Xenforo so I can use Xenforo as the main user system behind the application. All of that is working properly, but my next challenge is trying ...
0
votes
0
answers
52
views
Setting my PE Statistics as a sidebar on the right side
I'm trying to have it so my forum statistics addon is moved to the right side of the forum instead of the bottom.
I've tried using a float as well positioning fix.
Below is the whole small portion of ...
0
votes
0
answers
48
views
PHP Class Instance only returns name?
So I'm extending the XenForo "SDK" to make an integration with an app I'm working on like so;
$dir = __DIR__;
require $dir . '/src/XF.php';
XF::start($dir);
$app = XF::setupApp('XF\Pub\App');
$app-&...
1
vote
1
answer
92
views
How to add noindex tag to certain media categories in Xenforo
I'm trying to exclude from search certain media gallery categories in Xenforo but it doesn't works.
I add the following code in xfmg_media_view template.
<xf:if is="{$media.category_id} == 1">
...
2
votes
1
answer
183
views
XF 2.0 Admin panel path change
2.0 Library is Empty How to change Admin Panel Path?
Or
hello is there a way to rename the route from admin.php to something else? if so is there a video i can watch or do so i can rename it please?
0
votes
1
answer
358
views
TypeError related to XF\Pub\Controller\AbstractController
Disclaimer: I am new to XenForo 2.X programming, please go easy on me.
An exception occurred: [TypeError] Argument 1 passed to
Pages\Providers::getData() must be an instance of
XF\Pub\Controller\...
0
votes
1
answer
162
views
Xenforo - Argument 1 passed to XF\Repository\UserAlert::alertFromUser() must be an instance of XF\Entity\User
While trying to send alert to a user getting this error.
Argument 1 passed to XF\Repository\UserAlert::alertFromUser() must be an instance of XF\Entity\User
$user comes from self made entity result.
...
0
votes
1
answer
148
views
How To Redirect IPS 4.x urls to XenForo 2 with htaccess
my old urls is
example.com/topic/123456789-my-title-here/
and my new url is:
example.com/threads/my-title-here.123456789/
how i can redirect old url to new url with htaccess
note:
how i can split ...
0
votes
1
answer
3k
views
Mysql error 'No connection could be made because the target machine actively refused it.'
So: I just bought an VPS and installed Ubuntu on it. After I installed Ubuntu I installed MySQL and created a database.
Now: I want to connect XenForo to the mysql database but I'm getting the error '...
0
votes
1
answer
65
views
How to remove this featured in xenforo?
Please help me how to remove the unread thread features in xenforo
picture
0
votes
1
answer
71
views
Regex remove spaces on Forum
I have some damaged URLs on my forum, something like:
[url = https: //example.com/? post = qwerty]
and
[/ url]
I have to remove spaces. I know, how to find those string using regex replacement ...
0
votes
1
answer
116
views
.htaccess redirect rules after forum software migration
We're currently upgrading our site forum software, and need to redirect all old forum thread URLs to the new format.
We've tried a couple of things but can't get this to work, as different .htaccess ...
0
votes
1
answer
140
views
How to display different navigation for different language in XenForo 2?
I want to show personalized menu for different languages in XenForo 2.
I did not find any clue how to do that, except it has this option to display navigation item in condition. (see image)
What ...
0
votes
1
answer
129
views
Wordpress urls to Xenforo urls - Redirect via htaccess
I need to redirect all my old urls to xenforo after a wp migration, i have do it but is not working.
When it redirecting the old urls to my new xenforo it causes an error of "not found" because all ...
0
votes
2
answers
169
views
Exclude a folder in Xenforo
I have installed Xenforo in my public_html in my Cpanel which means my forum is available in site.com
Now I want to add another folder contains my web app and want to access it in site.com/myapp. I ...
2
votes
0
answers
335
views
xenforo login authentication software
I want to create a third party login application and for that I need to match the hash of password to the one entered by the user. as far as I know xenforo use
sha1(sha1(password) . salt)
or:
sha256(...
0
votes
1
answer
852
views
Create friendly URLs like this for XenForo 2?
Does anyone know how to create URLs like this for Xenforo 2?
https://forumweb.hosting/95-web-hosting/
https://forumweb.hosting/13199-putty-vs-bitvise-tunnelier.html
I have setup a new Xenforo 2 but ...
0
votes
1
answer
80
views
https website cannot be properly loaded without proxy
I have a website that has in the homepage a forums (created with Xenforo). I have recently put HTTPS with Let's encrypt (I have enabled it server-side with cPanel). The website worked fine with HTTP.
...
1
vote
1
answer
129
views
Adding custom OAuth to Xenforo 1.5
We need the ability to log in to Xenforo 1.5 using our own OAuth which is developed already. I didn't find any proper documentation on how to do that. Any help much appreciated.
I know they have ...
1
vote
1
answer
82
views
https redirect for every url doesn't work
I have an issue that came out after I have successfully transferred my website from a server to another (it's always the same url). Basically I have a forums created with xenforo that can be reached ...
0
votes
1
answer
104
views
I need guidance about permissions in Xenforo
How to only first superAdmin access to a group permissions example(signature permissions), but other admin and superAdmin no access to that (signature permissions)
for example, first SuperAdmin with ...
0
votes
1
answer
1k
views
Kohana to PHP 7 Error
Upgraded my PHP on server from 5.6 to 7.2 and now my website made on Kohana gives an error:
Declaration of Auth_Xenforo::logged_in() should be compatible with Kohana_Auth::logged_in($role = NULL)