I am not a PHP coder, so posting this hear in hopes of some folks being interested in helping to boost Xenforo PHP 7+ performance via Profile Guided Optimization training. @Chris D @Kier @Mike @Jake Bunce @MattW @Brent W @Xon @Andy.N @DeltaHF @CarpCharacin @BoostN @SneakyDave @NixFifty @Steve F...
The suggestion is simple: add a new mode called php-plain to the list of CodeMirror supported languages with text/x-php mime type.
This can be useful for addon creators who want to add php editor rows in their addon.
Hey Xenforo forum!
I'm new here and I hope I'm in the right section - I got a real problem! :(:)
I ran into an issue while trying to create an API / REST API for your software.
After I set up the Autoloader
XenForo_Autoloader::getInstance()->setupAutoloader(ROOT . '/library');
Xenforo...
I just created this file in library/MyCard/index.php and added this code in it
class CardCoontroller{
public static function getCard() {
return 'test data';
}
}
and in edit template -> member_view added this code
<xf:callback class="CardCoontroller"...
I just created this file in library/MyCard/index.php and added this code in it
class CardCoontroller{
public static function getCard() {
return 'test data';
}
}
and in edit template -> member_view added this code
<xf:callback class="CardCoontroller"...
I have GoDaddy webhosting (Deluxe Web Hosting Windows) and am attempting to set up my first Xenforo forum.
Following the instructions for installation of XenForo 2, I point my browser to the install folder and get this error:
"PHP 5.4.0 or newer is required. 5.3.6 does not meet this...
Hello, that's a repost because @S Thomas said that my first post is simply to long to understand my problem.
Since the last week I'm trying to add a new display location for some input fields in the account settings location.
I want to add for example a new location for a first name. Everything...
Hello xenforo community!
Wasn't here for a long time but because I've got summer holidays I'm finally able to work on my forum style again..
Problem: I've created a new Display Location for a custom user field (settings in my example). Into this display location I've tried to add a new input...
I've been tinkering with the built-in Xenforo 2.0 "Payment Profiles" and "User Upgrades" however, I'm running into a small problem... At least when going through the process via PayPal.
The goal: The goal is to have a $5.00 monthly subscription to allow the members to become a donor, which...
Hi!
Put the code below in any admin template (for example in addon_list):
<xf:codeeditorrow mode="php" data-line-wrapping="true" class="codeEditor--autoSize" />
This code creates code editor row without any errors:
But the code is not highlighting and throws an error when hitting "Enter"...
Hello again!
I'm attempting to build a custom query page whereby a user (for admin use only) can enter a username into a textbox, click a search button, and retrieve the stored information connected to the username. Currently, I have blocks of code, but I'm not entirely sure how to combine it...
Hello,
I'm new to Xenforo 2.0 and clearly there are some changes. I'm simply trying to get a "Hello World" string to be written on my node page, from a .php file. Currently, I have a Test.php file located in the \src\addons\XFP directory. This is the code used in Test.php:
<?php
namespace...
Seeing as there are some folks here using my Centmin Mod LEMP stack, I thought I'd share a quick guide I wrote for configuration tips to improve performance beyond the out of box automatic optimisations already done. In theory these configuration tips can provide an additional 5-40% improvement...
Hi!
I am trying to add PHP <xf:codeeditorrow in my admin template.
I tried this code:
<xf:codeeditorrow name="test_name" value="..."
mode="php" data-line-wrapping="true"
class="codeEditor--autoSize"
/>
But I get an error every time I hit...
Hi, I am running one xenforo site and few wordpress site on php 5.3. I am now going to upgrade php but there are few options in the list like 5.6.33, 7.0.27, 7.1.13 and 7.2.1. Which one should I choose? Need your advice please. Thanks.
This addon is no longer supported! Use Criteria Builder instead!
This addon allows you to create complex criteria for advanced trophies or user group promotions with custom PHP code.
For example, you can use:
Count the number of threads the user has created in specific forum
Analyze users...
We are looking for xenForo Developer to add 5-6 new mods to our forums.
Here is what I need to be done for reference:
- Custom New Thread Options
- Reputaion System - Points System
- Vote up & Vote Down for particular thread
- Member Ranking System
Also I want front page for my...
Hello,
I need help. I need a .php file which is asking for a costum user field and a user group.
Like ........\check.php?Account=4711
4711 must be filled in the custom user field ID 123456 AND be part of user group X.
The output is a echo with OK or WRONG.
I would be so happy if anybody...