Categories
PHP Programming

vBulletin Reputation Per Usergroup Plugin

I actually coded this vbulletin plugin long time ago, and have published it on VB.org long time ago. But now i want to write on my blog 🙂

This plugin will allow each usergroup to have reputation setting (including reputation power, daily reputation limit, reputation spread limit).

To download it, you can open this link :
http://www.vbulletin.org/forum/showthread.php?t=266604

Categories
PHP Programming

PHP HtmlEntities for UTF-8 Characters

If you just use simple PHP htmlentities function with one argument, you will notice that when you pass string that contains UTF-8 characters, the result is incorrect leaving you with some incorrect characters on the result.

To use it correctly, use this code 🙂

htmlentities($your_string, ENT_COMPAT, 'UTF-8');
Categories
JavaScript Programming

jQuery Not Class Selector to Exclude

For example we want to hide all hyperlinks that do not have “banana” class. How to do that with jQuery?
You can use the javascript code below.

$('a').not('.banana').hide();

Easy right? 😀

Categories
PHP Programming

My Proxy List Script and ProxyNoid

I made a free proxy list script about 1-2 years ago which is called “proxycoder script”.
I haven’t continued to develop it for a long time. Recently Oxuro, owner of ProxyNoid.com contacted me at DigitalPoint and told me that he has done some modification to my script. He kindly asked if i can include his modification on the next proxycoder script or if i can give him permission to distribute his modified script. I chose the second choice, i will be happy to see my script to become a well developed proxy list script.
From now, i give permission to ProxyNoid.com to distribute the modified version of my script.

Good luck, Oxuro 🙂

Categories
Programming

Premium Member on DigitalPoint

Hurray, i am a premium member on DigitalPoint now 😀
I want to buy sphinx search plugin for vbulletin from DigitalPoint so i have to be registered as premium member 🙂

Categories
PHP Programming Website

Quick Adsense Random Align

Quick Adsense is one of useful WordPress Plugin which can be downloaded here
http://wordpress.org/extend/plugins/quick-adsense/

It can insert ads to your post content automatically.
Here is a hack to make your ads to be aligned randomly left / right AND center / none :

Categories
PHP Programming

Enabling CodeIgniter $_GET

Here is how to enable CodeIgniter support to $_GET and still able to use the normal “SEO-friendly” URL working together.
So you will get a URL like this

http://www.example.com/index.php/the_controller/the_function/?some=thing&more=yes

First approach is modify your “config.php” and change this line.

$config['enable_query_strings'] = true;

But this is not recommended because on pagination, you will get ugly URL.

Categories
PHP Programming

Multilanguage Programming with UTF-8 Encoding

Multilanguage non-ASCII site? Sometimes we need to make website that can handle languages which contains non-ASCII characters, for example chinese, russian, french, germany, etc.
To handle this, we need to handle the language on 3 parts : on PHP itself, HTML, and on the database (i use MySQL as example here).
Basically, we need to adjust the charset (character set) into UTF-8.

Categories
Programming

Encode dengan Ioncube cara Murah

Ioncube adalah salah satu encoder yg dipercaya “susah” didecode. Karena bukan obfuscator, tapi semacam “compiler” (http://www.ioncube.com).
Ioncube sndr harga softwarenya mulai dari $199 untuk versi basic sampai $379 untuk yg versi Cerberus (paling bagus).
Untuk para programmer yang ingin melindungi hasil kerjanya, Ioncube sangat disarankan untuk digunakan.

Tapi ternyata ada cara murah untuk encode sebuah file dengan Ioncube, yaitu dengan menggunakan online encoder.

Categories
Programming

Apache Stopped Working on Windows

Since about 3 weeks ago until today, my Apache server stopped working on Windows XP. I have no idea why it was stopped. I have searched some solutions on Google about this. Some solution asked whether i have Skype installed on my machine, because it was known that Skype can cause conflict with apache because Skype uses port 80 (solution if Skype is the reason is : 1) uninstalling Skype, or 2) modify apache port to 8081 for example).