Aug 3

Integrate phpBB with a full featured photo album

Category: software

So heres the deal: I wanted to set up phpbb for a group of ~40 people who went to summer vacation together. I also wanted them to be able to upload photos of the trip to some kind of photo album. There is a whole bunch of software out there, that would have filled my needs, but only as a standalone version, which means that my users would have needed to create two seperate accounts, one for phpBB and the other one for the photo album software. That’d clearly suck, so i went searching for a nice phpBB photo album mod. There are a lot of these too, but I didn’t really found any of theme nearly as good as all those standalone packages. After a while I stumbled upon phpBB3 Gallery2 Integration which does what the title says: it integrates phpBB3 (and older versions) with the wonderful Open-Source Project Gallery. Gallery offers a full featured photo album software completely written in php/mysql. It offers a wide range of plugins and is highly configurable. Gallery is set up quickly if you want to test it. So after setting up Gallery and testing it for a while I decided to use the Integration package which will turn off Registration and User-Management of Gallery and will synchronize each phpBB user with your new photo album software, so you’ll only have one login for two very nice pieces of software. I gotta say though, the installation can be a bit tricky, especially when your Gallery is already filled with content and when you use Gallery’s url rewriting package. If you’re familiar with modding your phpBB, the integration will take you about 2 to 3 hours. If youre not familiar with modding, then you’ll most likely need quite more time, especially if youre a newbie to html,php and stuff. Eventhough it’s a lot of work for one integration package, it’s really worth the time, because afterwards you’ll have a lot of fun with your new phpBB with an integrated full featured photo album! The guys over at nukedgallery.net even offer payed support and payed installation, so if you’re too lazy or too much of a newbie, there’s hope for you too!

Don’t forget to backp first! ;)

No comments

Aug 1

SEOktoberfest

Category: events, seo

Pünktlich zum Oktoberfest veranstalten Mediadonis & Co ein SEO-Event der Superlative. Zwei Tage lang wird ausgiebig gefeiert und getrunken, wobei der inhaltliche Teil mit Sicherheit nicht zu kurz kommen wird. Anwesend sein werden auch diverse bekannte SEO-Profis, die mit Sicherheit die ein oder andere interessante Info mitbringen. Ganz billig wird der Spass allerdings nicht werden, aber die 5000 Euro ist das Ganze auch ohne das ganze Drumherum wert. So wirds aber bestimmt noch mehr Spass…

No comments

Mar 5

setting up a bridged network for virtualbox on ubuntu linux (Host Interface)

Category: linux, ubuntu

In order for this to run, you will most likely need a wired network connection, since most wireless-adapters won’t support bridged networking! This description is intended to be used with VirtualBox >= 1.4.0, since earlier versions handle the virtual networking differently due to kernel changes in 2.6.18 and later.

First of all, you’ll have to check the permissions on the device /dev/net/tun . The user running VirtualBox with bridged networking needs to have access to this device. The easiest way to do this is by chown’ing the group vboxusers to it:

sudo chown :vboxusers /dev/net/tun
sudo chmod 0660 /dev/net/tun

You will also have to install the package bridge-utils and uml-utilities:

sudo apt-get install bridge-utils uml-utilities

Now we will create 2 scripts which are executed when the virtual machine starts/stops. I will create those scripts in my home dir. Here is the start script, I called it starttun.sh:

#!/bin/bash
brctl addbr br0
ifconfig eth0 0.0.0.0
brctl addif br0 eth0

#if you have a dhcp-server uncomment this line:
#dhclient3 br0

#If you have a static IP uncomment the following lines and
#change the IP accordingly to your subnet:
#ifconfig br0 192.168.178.5 up
#route add default gw 192.168.178.1

#Now we will create the tap device for the vm,!
# change your username accordingly
tunctl -t tap0 -u simon

#Now add the tap-device to the bridge:
ifconfig tap0 up
brctl addif br0 tap0

Now you’ll have to create the stop script, i called it stoptun.sh ;)

#!/bin/bash
#bring the interfaces down
ifconfig tap0 down
ifconfig br0 down
brctl delif br0 tap0
brctl delbr br0

#now setup your network-interface again
#for dhcp uncomment the following line
#dhclient3 eth0

#For a static IP uncomment the following lines and change them accordingly:
#ifconfig eth0 192.168.178.5
#route add default gw 192.168.178.1 dev eth0

Finally you’ll have to make the scripts executable:

sudo chmod ug+x starttun.sh
sudo chmod ug+x stoptun.sh

It’s time to set up VirtualBox to use the interface. For this go to the SetUp of your Virtual Machine under Network and tell VirtualBox to start/stop thescripts, when the VM is started/stopped. To do this, select “Host Interface” under Attached To. As Interface Name you use “tap0″ and for the startscript you use:

“gksudo /home/YOURHOMEDIR/starttun.sh”

For the stopscript accordingly:

“gksudo /home/YOURHOMEDIR/stoptun.sh”

Note: If you use KDE, you’ll have to use kdesu instead of gksudo

6 comments