NewProfiles are here!View user profiles guide
vBulletin
PHP

ImgLink for vBulletin

The ImgLink vBulletin plugin provides a straightforward PHP 8 integration for vBulletin 5.x. It wraps the upload call in a retry loop with configurable attempts, validates all config keys before the first request, and raises exceptions with descriptive messages on failure. Uses only PHP's built-in cURL extension — no Composer, no third-party code. Returns url, thumbnail, width, height, and mime type on success.

Platform
vBulletin 5.x
Runtime
PHP 8.0+
Dependencies
Zero
CI Status
Passing

Requirements

  • PHP 8.0 or higher
  • vBulletin 5.x
  • cURL PHP extension
  • ImgLink API key (free)
Used by

Business forums, customer support boards, brand communities

Download ZIP

What's included

imglink_upload_vb() main upload hook
Configurable retry loop with max attempts
Config validation with typed exceptions
X-API-Key authentication
Returns url, thumbnail, width, height, mime
Pure PHP — no Composer packages
BOM-free source
PHP 8.3 CI tested

Installation Guide

Follow these steps to integrate ImgLink with vBulletin.

01

Drop plugin.php into vBulletin includes/

Copy plugin.php into vBulletin's includes directory.

cp src/plugin.php /path/to/vbulletin/includes/imglink.php
02

Register in Plugin Manager

In vBulletin AdminCP → Plugins & Products → Plugin Manager, add a hook pointing to imglink_upload_vb.

03

Configure credentials

Fill out config.json before activating the plugin.

{
  "apiBase": "https://imglink.cc",
  "apiKey": "YOUR_KEY_HERE",
  "retries": 3
}
04

Test an upload

Post an image attachment and confirm the URL is an imglink.cc CDN link.

Why host images on ImgLink?

Global CDN

Images served from a global edge network. Sub-100ms load times. No bandwidth cost to your forum server.

Scoped API Keys

One API key per forum. Revoke or rotate instantly. Keys never leave your config file — never hardcoded.

Retry Safety

Exponential backoff on every upload. Images never fail silently — retries handle transient network issues.

Ready to deploy ImgLink on vBulletin?

Download the plugin, add your API key, and go live in under 10 minutes. Free to use — no credit card required.