Previous Thread
Next Thread
Print Thread
Hop To
#222205 02/11/2009 7:11 AM
Joined: Dec 2003
Posts: 120
K
Member
Member
K Offline
Joined: Dec 2003
Posts: 120
I've added a custom tag which I've ENABLED (all video tags are disabled) but am not showing. However, the "Media Tag" button DOES show up in the posting box and attempts to pop up a (quite empty) box. It should only show up when at least 1 item is actually displayed.

Kayjey #222208 02/11/2009 8:07 AM
Joined: Dec 2003
Posts: 120
K
Member
Member
K Offline
Joined: Dec 2003
Posts: 120
And a single-file fix to this... open up the file libs/html.inc.php

Find:
Code
					$bbcode_drop .= <<<BLEH
<div id="bbcode_{$k}" onmouseover="litSelection(this.id);" onmouseout="unlitSelection(this.id);" class="markup_panel_unselect_text" onclick="DoPrompt('bbcode','{$type['prompt']}','{$type['open']}','{$type['close']}');" style="cursor: pointer;">{$type['descrip']}</div>
BLEH;

Below, add:
Code
$bbcode_drop_nr++;

Then, find:
Code
$bbcode_drop .= '</div>';


Below, add:
Code
if (!$bbcode_drop_nr) { $bbcode_drop = ''; }

Kayjey #222221 02/11/2009 11:22 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Thanks for the fix!

Rick #222225 02/11/2009 12:05 PM
Joined: Dec 2003
Posts: 1,798
Likes: 2
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,798
Likes: 2
oh, it's nice when they post a bug and a fix smile


- Allen
- ThreadsDev | PraiseCafe
AllenAyres #230816 11/08/2009 8:18 AM
Joined: Dec 2003
Posts: 120
K
Member
Member
K Offline
Joined: Dec 2003
Posts: 120
This one should be marked as 'fixed'.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
0 members (), 166 guests, and 137 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)