https://www.icyphoenix.com/viewtopic.php?f=35&t=6387&p=44326#p44326
-----------------------------------
Mighty Gorgon
Sat 12 Sep, 2009 11:43

Re: Setting Up A Bbcode That Has A Mouse Over Tooltip Effect
-----------------------------------
Please provide original instructions for phpBB 3 and I'll try to help.

Here is a basic pattern BBCode you can use as a reference for other BBCode development:

[codeblock]		// MYBBCODE
		if($tag === 'mybbc')
		{
			$extras = $this->allow_styling ? array('class') : array();
			$text_one = (isset($item['params']['param']) ? $this->process_text($item['params']['param']) : false);
			$html = '<span>' . $text_one;
			return array(
				'valid' => true,
				'start' => $html,
				'end' => '</span>',
			);
		}[/codeblock]


