Trying to run a CGI script on Dreamhost with 777 permissions will give you an internal server error 500.
Inspections of your error logs will reveal suexec policy violation errors.
To fix it just chmod your CGI to 755.
If like me you want to prevent newly registered users on your XenForo forum to post new threads here is how you do it.
Set the "post new thread" permission to "Not Set (No)" for the "Registered" group:
Set the "post new thread" permission to "Allow" for every group which needs it:
Assuming you have a working XenForo installation with which you want to start developing add-ons, you first need to enable debug mode through your XenForo configuration.
To do so, add the following line to /library/config.php :
$config['debug'] = 1;
Reload your Administrator Control Panel (ACP) to notice you now have a Development tab.
It comes with the following side bar:
Debug mode is essential as XenForo ACP provides developer with tools and helps guiding you through the process of...
XenForo default code block functionality is rather basic. Thankfully GeSHi Syntax Highlighter add-on provides richer support for hundreds of programming languages. However the default GeSHi colour scheme is far from ideal on dark background therefore, once again, we needed some extra customization.
Thanks that article on CyberAsylum we could easily work something out and apply a neat dark theme to our GeSHi syntax.
Nonetheless that required a couple of change to BBcode Formatter Base.php...
Here we describe final adjustments we made to that excellent Artodia Dark Responsive theme for XenForo.
Focused Form Control background and text colour were changed from yellowish and black to blue (@secondaryLightest) and white (@activeColor) respectively.
Message User Generated Links text colour was changed from white to pinkish (#deb8b9).
Message User Generated Links Hover background and text colour were changed from white and blue (@secondaryMedium) to none...
I wanted to add a neat drop shadow to images and remove that ugly white box when hovering links and images.
Also added boldness to links while I was there. Just add the following to your EXTRAS.CSS template.
/* Decorate our images with drop shadows */
box-shadow: 7px 7px 5px 0 rgba(30,30,30,.50);
margin: 5px 10px 5px 5px;
/* Have a different drop shadow for when we are hovering our images*/
Working with Android studio on my AZERTY keyboard I could not enter curly brackets characters.
Curly brackets on AZERTY keyboard are accessed through ALT GR modifier key.
It turns out you need to adjust some IntelliJ configuration to get it working. As to why this is no default setting I'm not sure.
Here is how to fix it:
Open Android Studio.
Go to Help > Edit custom properties... to open the relevant configuration file in your editor.
Add the following line to that file...
Just wanted to list here the XenForo add-ons I need to checkout:
BBCodes & Buttons Manager
Favicon for Links - Shows favicon before links.
[bd] Attachment Store - Shows images when editing posts.
GeSHi Syntax Highlighter.
After experimenting with XenForo colour palettes for a few hours, I came to the conclusion I should rather spend an extra 30 quids on a Premium Style package instead of investing so much time customizing the XenForo Default Style which can be frustrating at times.
I initially settled with one of Artodia excellent themes. I particularly like that Dark Responsive variant.
In the download package you obtain after purchase you will find a readme file containing installation instructions which...
Some web browsers, notably on smartphones, let web developers specify a colour that will be used to decline the tints of the web browser header and title bar as well as the smartphone status bar. The following StackOverflow comment provides code samples on how to achieve that.
Here is the XenForo template you should edit:
Admin Control Panel / Appearance / Templates / PAGE_CONTAINER
Here is what I added to mine:
<!-- SL: Specify favicon and status bar colour for various browsers -->
For historical reason web sites favicon are typically ICO files.
An ICO file can contain multiple bitmap images of different dimensions.
GIMP can generate such an ICO file from multiple layers.
Whether you have your various size icons as PNGs or JPEGs or a single SVG file, you can import them into a GIMP document using the Open as Layers function from GIMP File menu.
Once all your layers are loaded you can Export your document using the ICO file extension and you are already done...
Those icons your web browser usually show on its tabs are called favicon in web developer jargon. They notably allow users to easily navigate their browser’s tabs while exposing them to your brand.
Funny enough XenForo v1.5.12 did not seem to provide any built-in support for favicon.
However it's extremely straight forward to fix that as explained below:
Copy your favicon.ico file to your web server document root.
Go to your XenForo Admin Control Panel / Appearance / Templates /...
XenForo is the renowned forum software we are using to run this present web site.
Now it's a fairly great piece of software but I find it lacks documentation.
This article is about customizing the colour palette specifically for XenForo 1.5.12.
In fact adjusting the colour palette is probably one of the first thing you will want to do after installation to personalize your web site.
To demonstrate which UI elements are affected by various colour identifier we are using the default XenForo...