vBulletin Variables List
Site Statistics:-
- $totalthreads - Displays the total number of threads in the forum
- $totalposts - Displays total number of posts in the forum
- $numbermembers - Display total number of members in the forum
- $totalonline - Displays the number of total users currently online
- $numberregistered - Displays the number of total registered users currently online
- $numberguest - Displays the number of total guests currently online
- $recordusers - Displays the number of most users ever online
- $recorddate - Displays the date on which most users were ever online
- $recordtime - Displays the time on which most users were ever online
- $activeusers - Displays a list of currently active/online Users (i.e. logged in)
- $activemembers - Displays the number of members who are active in the forum
- $newusername - Displays the username of the newly registered user
- $birthdays - Displays list of users whose birthday is today
- $upcomingevents - Displays list of upcoming events
15+ jQuery Popup Modal Dialog Plugins and Tutorials
jQuery Popup Modal Dialog Windows

Modal dialog windows are a great way to show quick information to your users, but to also alert them of errors, warnings, prompts for information and more. When you bring jQuery into the mix, you know you’re going to end up with a slick dialog that really makes the application or website come alive. The following is a list of 15+ jQuery Popup Modal Dialog Plugins and Tutorials.
There are a couple towards the bottom that you’ll want to pay attention to. On one the original is in Italian, but I’ve included a link to an English translation. The other is more on a backend, but I’ve included a link to the zip file for downloading the files.
Let the fun begin! If you know of any that are missing but should be included, drop a comment!
jqModal
qModal is a plugin for jQuery to help you display notices, dialogs, and modal windows in a web browser. It is flexible and tiny, akin to a “Swiss Army Knife”, and makes a great base as a general purpose windowing framework.
Flex Alert! Listen to the buttons
The question of how to handle/listen to button clicks from the Alert control pops up (excuse the pun) quite often. To do this you need to create an actionscript function to handle the event. Other situations may arise where you also need to pass further information to the handler function. This post will show you how ![]()
The mx.controls.Alert class has a static method that shows the Alert control with the title, message, and requested buttons. The following code block will demonstrate how to declare a listener for your Alert control, as well as what to do when you catch the event.
In short, the code shows how to create an Alert control which has 2 buttons, Yes and No. Keep an eye out for for line 12 – this is where we delegate the button click listener to the handleAlert method.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | import mx.controls.Alert; import mx.utils.Delegate; // show the Alert control public function showAlert() : Void { // the show method follows the method signature from the Flex Actionscript API Alert.show( "Are you sure?", "Confirm Delete", Alert.YES| Alert.NO, null, Delegate.create(this, this.handleAlert), null, Alert.YES); } // handle the Alert control button click public function handleAlert( event:Object ) : Void { if( event.detail == Alert.YES) { // YES button was clicked } else if( event.detail == Alert.NO) { // NO button was clicked } } |
Object Oriented Programming with JavaScript : Timer Class
JavaScript with Oops is not much used by developers while creating application however we can make our life easy if we use JavaScript with Oops.
Let's started object oriented programming in JavaScript by taking example of a Timer class, similar to the Timer control in windows application.
Create Class
Create the class Timer. Below code shows how to declare the class
// Declaring class "Timer" var Timer = function() { // .... // Class body // .... }
Using RegEx (Regular Expressions) in JavaScript
Javascript has built-in support for regular expression in almost all browsers. This means you can use regular expression at client side too. You can use to validate the user's input data at client side itself to reduce the server side processing, however you may want to check those at server side too for security problems.
To use regular expression in javascript you can use the RegExp object
var myRegExp = new RegExp("[a-zA-z]+");
Or you can directly creates its instance by using special syntax
var myRegExp = /[a-zA-z]+/
Checking Username Availability with Mootools and Request.JSON
This tutorial will teach you how to check username availability with Mootools' Request.JSON and PHP/MySQL
In this tutorial you will learn how to use Mootools' Request.JSON function to check a username against an array or database. In this example we will be using a simple MySQL database. I will try to do as much hand holding as I can, but having a little experience with PHP and MySQL will be a plus.
Tutorial Details
- PHP Server and MySQL Database required
- Difficulty: Beginner/Intermediate
- Estimated Completion Time: 30 - 45 Minutes
Step 1 - The Setup
We are going to create a simple database and add a table. After that we will add a username into the database.
CREATE TABLE IF NOT EXISTS ajax_users ( id INT(2) NOT NULL PRIMARY KEY AUTO_INCREMENT, user_name VARCHAR(128) NOT NULL ); INSERT INTO ajax_users VALUES('NULL','matt');
jQuery Lightbox
I couldn't tell you how many lightboxes I've used over the last few month. This specific lightbox was designed as a plugin for the jQuery library. It works perfectly, and more importantly, requires no additional markup to your document. You only need to call it from your Javascript file. You'll have zero problems!


NetBeans Twilight Theme!

Installation Instructions
To add this theme, simply open "Preferences" ("Options" on PC) and click "Import" at the bottom. Then browse for your zip file -- do not unzip -- and click "okay!" That's it.
11 Classic CSS Techniques Made Simple with CSS3
CSS3? What's that?!
I'm sure you've heard of CSS in general. CSS3 isn't that much different, in terms of syntax; however, the power of CSS3 is much greater. As you'll see in these eleven techniques, you can have multiple backgrounds, dynamically resize those backgrounds, border radiuses, text shadows, and more!
Here's what the official (or at least, what I consider official) website of CSS3, css3.info, has to say about CSS3:
CSS3 is the new kid in the stylesheet family. It offers exciting new possibilities to create an impact with your designs, allows you to use more diverse style sheets for a variety of occasions and lots more.
Here are the 11 techniques that I'll be showing you how to recreate with CSS3. I'll show you how to create them using CSS2 (or JavaScript), and then with CSS3 properties. Remember - these effects will only work in modern browsers that implement these CSS3 features. Your best option is to view these with Safari 4.
- Rounded Corners
- Box Shadow
- Text Shadow
- Fancy Font
- Opacity
- RGBA
- Background Size
- Multiple Backgrounds
- Columns
- Border Image
- Animations
10 Design Practices to follow in your Website / Blog
After seeing some bad design practices in many blogs and websites, I am writing this article here. Are you tired of changing so many designs in your website? If yes, you should have a look on this article to make sure that you will never change the design again and again.


