Trending
Heat Index
Web
Most Recent
 
Read More
April 30, 2019

Nginx proxy caching with multiple php pools and WordPress

I like Nginx and am always looking for faster better ways to serve websites.

A few years ago we found a script called Tuxlite which opened up the idea, to us, of using multiple PHP pools, using Unix socks, to serve multiple websites without everyone being under the same www-data user. this provided both security and separation of configurations which we wanted without having to setup a new server for every website.

The idea being, you configure Nginx to serve and respond to multiple different domain names, using separate configs under sites available, and each of these config files has a line

fastcgi_pass unix:/run/php/php7.2-fpm-user.sock;

which relates to a [...]

 
Read More
February 11, 2018

Damn Regex isn’t hard I just cant remember it.

I have learned and forgotten regex about 30 times now. The following are my notes while I learn again so I can refer back to it.

Basic Regex Matching

To match a string you can just type in the actual string you want to match so to match

Cat you can just type in cat as the regex and it will match

\d matches any digit from 1 to 9. the preceding slash is the escape symbol in regex

The . is a wildcard and matches anything including whitespace so to match three chars and a 4th char which is a full stop ie “htb.” you can use …\. escaping the last one. this matches any three characters and then a .

inside square brackets you can match [...]

10
 
Read More
February 15, 2016

vBulletin to WordPress bbpress / buddypress – Part 2

Prep old vBulletin DB

The first step in this process is to transfer the data from the Vbulletin site as cleanly as possible across to the bbpress platform

There is luckily an import platform in bbpress which works with vBulletin which we will use. it does not do everything we need so there are some workarounds to get to a working exact replica of the existing forum

Requirements are

Move the forums, posts, replies and keep current structure – Done by BBpress importer Move the users across – BBpress moves users but does not deal with user roles, has an issue with password need to be reset, does not do signatures, does not do avatars Move the image albums [...]
129
 
Read More
February 14, 2016

vBulletin to WordPress bbpress / buddypress – Part 1

Ok, This is going to be a long post.

The aim here is to move a, working and reasonably popular, Vbulletin forum onto WordPress running BBpress and Buddypress.

The main reason for this move is Vbulletin just isn’t capable in some areas to be a modern social platform. There are a couple of plugins available that try to fix this such as vbsocial and its also possible to use a bridge between vBulletin and WordPress such as the one by Vbsocial or VBSSO however these lack some of the features i would like to have. such as

Showing my vbulletin forum activity in the Buddypress activity wall. A good image management solution allowing well structured albums and simple [...]
33
Latest Headlines
Try a different filter
Trending Topics
Uncategorized
valve
wordpress
Web
Python
Top Stories
Try a different filter
Right Now
Try a different filter
Top Five
Heat Index
 
1
Must Read:How to forward emails to Freshdesk correctly in Office Exchange 365
 
2
How to configure VBSSO to work correctly with user roles in WordPress
 
3
Hass.io Homeassistant Rfxtrx setup for LightwaveRF Devices
 
4
vBulletin to WordPress bbpress / buddypress – Part 2
 
5
vBulletin to WordPress bbpress / buddypress – Part 1