How to insert programming source code in vBulletin posts?

Many forum members, especially in the technically oriented forums, need to insert programming source code in their posts.

In order to be able to include such a programming code and to highlight the specific syntax the GeSHi (Generic Syntax Highlighter) extension should be integrated in the vBulletin forum.

The corresponding product can be downloaded from the following location:

Then the .xml file included in the package should be installed through the vBulletin admin panel->Plugins & Products->Manage Products->Add/Import Product. The GeSHi files and folders should be uploaded in the vBulletin includes directory.

In order to use the GeSHi functionality the programming source code should be wrapped in the following bbcode:

some code

Examples of the GeSHi solution can be found below:

< ?php

< !-- some HTML here -->
< html>
< body>
< p style="text-align:right">Some text in a paragraph.</p>
< /body>
< /html>

SELECT FROM database_table WHERE database_table.age=30 ORDER BY;

You need help with an application? hostlantern is specialized in hosting and supporting more than 200 scripts. Sign up for our web hosting services and let us help you with your application, 24/7!

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to change the vBulletin administrator password

In order to change the vBulletin forum administrator password you should load your vBulletin...

Home / vBulletin FAQ / How to enable private messages notifications for vBulletin users?

You can allow all vBulletin forum members to receive private messages by running a query under...

How to enable/disable ‘Email this Page to a Friend’ in vBulletin?

The "Email this Page to a Friend" functionality can be enabled/disabled per user group. You can...

Remove default http:// from the Insert Link option in vBulletin

In order to remove the predefined http://  string from the Insert Link functionality in the...

How to change the posts text color in vBulletin

The posts text color and the quote text color can be changed by entering the preferred color in...