Home » Archive

Articles Archive for May 2008

  Posted: May 11 | Filed under: Wordpress

For a developer loading speed is a crucial factor, therefore it is necessary to check how many SQL queries are needed to build a page.

To do that in Wordpress add this code anywhere in your template and it will show the queries that are needed until that specific part. If you want to know how many queries are needed for loading the full page then put the code in the footer.php

<? php echo get_num_queries(); ?>

You are able to use it several times inside your template, so insert it anywhere as many times as required.That’s great for locating potential “troublemakers”

Source:Playworkplay.com

  Posted: May 11 | Filed under: General

If you wonder how to use the new adsense authorization for your vbulletin forum then follow this example:

 

Auth URL: http://www.mysite.com/forums/login.php?do=login
Auth method: POST
Parameters:
vb_login_username =
do = login
vb_login_md5password =
vb_login_md5password_utf =

 

Source: VBulletin.org

 

  Posted: May 10 | Filed under: General

I will soon add a new design for this blog, since this is just horrible and was only a temporary solution.Also there is going to be a forum where you will be able to talk about webmaster related things.

  Posted: May 10 | Filed under: General

If you want to add a new superadmin to your vbulletin forums then you will have to edit the config.php.
Edit $config['SpecialUsers']['superadministrators'] = '1'; and add the id’s of the users (seperated by a comma) you want to be a superadmin. If you only edit the usergroupsid in the database the user won’t have superadmin rights.

 

Be very carefull although who you give superadmin rights.

  Posted: May 08 | Filed under: General

If you got an image inside a td using the img html tag and you want to center the table in firefox it will sometimes not do it properly.
It helps to add style=”text-align:center;width:xxx;” to the img tag.

  Posted: May 06 | Filed under: Wordpress

get_highest_rated is defined at postrating-stats.php and is responsible for displaying the content as well.