Compdigitec Labs

Archive for December, 2008

Linking a shared assembly in the Mono C# compiler

Tuesday, December 23rd, 2008

If you wrote a class in C++ and wanted to use it in many applications, you could simple #include it in each application you wanted to use it in. But if you wrote a class in C# and wanted to use it in many applications, you cannot just #include it, because there is no #include […]

Fixing MonoDevelop’s translation functions

Sunday, December 21st, 2008

When you install MonoDevelop in Linux, you will find that you cannot open a translation file. The error given is “CodePage 37 not supported”. A workaround for this is to install the libmono-i18n2.0-cil package. If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs […]

Disable the jump box of the FAQ in phpBB 3

Saturday, December 20th, 2008

If you think that the “jump to” box at the bottom of the FAQ in the phpBB 3 package is annoying or unessesary, you can use this article to disable it in four easy steps. Download faq.php from your phpBB3 installation. Open it with a text editor. Comment out (add a #) line 170 (“make_jumpbox(append_sid(“{$phpbb_root_path}viewforum.$phpEx”));”). […]

phpBB force login hack

Tuesday, December 16th, 2008

To set up a private forum in phpBB, you could simply make all the forums “No Access” to guests and bots. But if they can still view your member list and profiles, that is a security leak. Here is a patch to remedy that by forcing the guest or bot to login before they can […]

How to fix GCC 4.3’s removal of old headers

Monday, December 15th, 2008

GCC 4.3 has many new feautures. But unfortunately, it may break many of your application as it removes legacy and backwards compactible headers. Compiling in this case may result in errors such as “error: iostream.h: No such file or directory“. This article will describe how to fix it in 3 easy steps: Go to http://gcc.gnu.org/gcc-4.3/porting_to.html‘s […]

Mount a FTP share in Ubuntu as a folder

Sunday, December 7th, 2008

There are several GUI interfaces for FTP on Linux, such as gFTP and FileZilla. But what if you need to use the powerful Linux command lines on an FTP share? This article will help you mount a FTP share as a folder so you can use your regular Linux tools (grep,nano,mv,rm,ls,etc.) on a FTP share. […]