I started using a custom theme for a PHPBB site, but wanted to let people know whether they were logged in or not. To add this I opened the index_body.tpl file and changed the code




I installed LAMMP on Kubuntu tonight, it was as easy as downloading the package from Apache Friends and typing tar xvfz xampp-linux-1.5.1.tar.gz -C /opt then /opt/lampp/lampp start. So far so good.

I was playing around with some styles in PHPBB today and had a funky problem. I downloaded 10 and 8 worked liek a charm! 2 however, obviously were not loading the .css files. I was a bit stumped until I looked I did an ls -l on the templates directory and saw that the file permissions for the two directories containing the non-working styles were set to 400. I went through and changed the dirs to 755 and files to 644 and everything worked great! Soooo, if youare having problems with PHPBB styles not working, check file permissions!

Once in a while I am asked how to add or change variable text in phpnuke. What I mean by this is text that in the phpfile is set as a variable, such as FAQ2 in the FAQ module’s index.php file.

This text is set in the corresponding language files, so in this case, we would look up the line FAQ2 in the modules/FAQ/language/lang-english.php (or whichever language you wanted to change!) file.

You can also add text in this way if say, you wanted to make a custom header, you would define the text blurb in the language file and then call it in your php file.