Previous Thread
Next Thread
Print Thread
Hop To
#222205 02/11/2009 7:11 AM
Joined: Dec 2003
Posts: 117
K
Member
Member
K Offline
Joined: Dec 2003
Posts: 117
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: 117
K
Member
Member
K Offline
Joined: Dec 2003
Posts: 117
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,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
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: 117
K
Member
Member
K Offline
Joined: Dec 2003
Posts: 117
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
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
0 members (), 744 guests, and 147 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)