Adding the widget:
Admincp ->
'vBulletin CMS' ->
'Widgets' ->
'Create new widget'
Widget type: PHP Direct Execution
Title: Yellow Pages
Description: Shows random premioum entries from vBulletin-Yellow Pages in CMS
Then
'Save' the widget and you'll see the list with the widgets alreday available in your forum. At the right side from
'Yellow Pages' you klick
'Configre' and enter the follwing information:
'Enter Php Code, in the form "$results = "':
PHP Code:
global $vbulletin, $vbphrases, $show, $stylevar;
include(DIR . "/vbyellowpage/widgets/widget_premium_add_banner.php");
Template Name: widget_premium_add_banner
Cache refresh time (minutes): 5
Then
'Save' the configuration. The file to include (DIR . "/vbyellowpage/widgets/widget_premium_add_banner.php") can be found in the vBulletin-CMS folder in the ZIP-file to this product.
Now you can place the widget with the Layout Manager.