• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

BB Code Manager

Status
Not open for further replies.
I just installed and can't find an option to omit a BB Code from being displayed on the BB Code help menu. Does this exist?

If not, I'd like to request to be able to omit them, purely because if you have staff-only BB Codes you don't want them on the help pages.
Hm. That's actually not a bad idea. I will most definitely add that into v1.3. If you'd like, I can help you via PC on removing them using code modifications.
 
Also, this BB Code fails to work (this isn't my own, somebody on the forum wanted this BB Code):
HTML Replacement Start:
Code:
<div style="margin: 5px 5px;"> <div style="padding-left: 25px; padding-right: 25px;"> <div style=" -moz-border-radius-bottomleft:10px; -moz-border-radius-bottomright:10px; -moz-border-radius-topleft:10px; -moz-border-radius-topright:10px; background:#defee3 none repeat scroll 0 0; border:1px solid #28c25a; margin:5px 10px 0; text-align:justify; "> <div style="padding: 0pt 5px; background: #28c25a none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; -moz-border-radius-topleft:6px; -moz-border-radius-topright:6px; "> <font color="#defee3"> <b> <em>Information</em> </b> </font> </div> <table width="100%" border="0"> <tbody> <tr> <td width="5%"> </td> <td width="90%">

HTML Replacement End:
Code:
</td> <td width="5%"> <img alt="" src="./images/TW7S/infonotetipwarn/info.png"/> </td> </tr> </tbody> </table> </div> </div> </div>

I realise nobody in their right mind would ever use that much inline styling, but I figure it should be raised. The error in question is:
Template Errors: thread_view
sprintf() [<a href='function.sprintf'>function.sprintf</a>]: Too few arguments in /library/XenForo/BbCode/Formatter/Base.php, line 529:
528: $__compilerVar16 = '';
529: $__compilerVar17 = '';
530: $__compilerVar17 .= 'post-' . htmlspecialchars($post['post_id']);
 
It doesn't work manually either (extending the base and using $this->_getTags). Could be a XenForo error.
 
James, attempt this with your HTML Replacement Start:
HTML:
<div style="margin: 5px 5px;"> <div style="padding-left: 25px; padding-right: 25px;"> <div style=" -moz-border-radius-bottomleft:10px; -moz-border-radius-bottomright:10px; -moz-border-radius-topleft:10px; -moz-border-radius-topright:10px; background:#defee3 none repeat scroll 0 0; border:1px solid #28c25a; margin:5px 10px 0; text-align:justify; "> <div style="padding: 0pt 5px; background: #28c25a none repeat scroll 0%% 0%%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; -moz-border-radius-topleft:6px; -moz-border-radius-topright:6px; "> <font color="#defee3"> <b> <em>Information</em> </b> </font> </div> <table width="100%%" border="0"> <tbody> <tr> <td width="5%%"> </td> <td width="90%%">

The issue most likely extends from the PHP behind sprintf() where it searches and places arguments using specified parameters preceded by a %. It appears that do actually print a percent you need %%. If that doesn't work, I'll do some digging.
 
The issue most likely extends from the PHP behind sprintf() where it searches and places arguments using specified parameters preceded by a %. It appears that do actually print a percent you need %%. If that doesn't work, I'll do some digging.

This did indeed work. Perhaps for the next version you should automatically escape characters that cause potential problems (such as the %).
 
For some odd reason none of my BBcode's are working. They were working earlier today, I installed the HIDE addon and do not know if that has anything to do with it. None of the codes I have in my BBcode manager are functioning at all. Trailer Addict tested, spoiler tested, float tested, sub text tested, etc. All for the same result, not working. Is there anyway I can get them working again or would I have to just reinstall them?

*Reinstalled Spoiler to no avail. :-/*
 
I will have to look into this later, as I'm about to heda to bed. If you disable the HIDE addon, do BBcodes start functioning?
 
Yes. I just disabled the HIDE addon and the BBcodes started functioning back to normal.. Very awkward.. But I truly do wish to utilize both. :-/
 
Until I have the time to check the incompatibility, I suggest you chose which one you want more.
 
I was wondering if a 'close spoiler' button or link could be added to the end of the spoiler box? I have a lot of instances where I can have fairly lengthy spoilers that would be easiest to close from the end.

I can modify code if need be, I just don't know how to go about it.

Thanks.
 
For Mr KK
The spoiler tag is repeating three times
Can be seen here
The text is as follows

Code:
[quote="Marc, post: 2955"]I don't see the point of skinny people with "over-large" swords battling to the death,

Hmm... Give it one more try.

What episode you stopped at? Give a description and I'll get a link to a video that "might" interest you,

They sometimes repeat a few things by flashbacks, to catch you up to it, if someone forgot. ( eg. Itachi killing his clan )

PS. Is it Naruto or Shippuden? ( when Naruto was younger or older )

Edited : This is, if you're interested in giving it another shot, heehee...[/quote]
I was quite far into Shippuden, As for what happend in the last one I watched hmm something to do with sasuke breaking out a girl and that was it for me... sasuke + plus this girl was just X_X

Am not ready to get back into this sadly. Tho I did [spoiler="Hear!"]Jiraiya dies  not sure if he does/did but that sucks if it does I loved this guy :)[/spoiler]

And the bbcode text
Code:
[quote="Marc, post: 2955"][S]I don't see the point of [B]skinny[/B] [U]people[/U] with [I]"over-large" swords[/I] battling to the death,[/S] :whistling:

Hmm... Give it one more try.

What episode you stopped at? Give a description and I'll get a link to a video that "might" interest you, :thumbsup:

They sometimes repeat a few things by flashbacks, to catch you up to it, if someone forgot. ( eg. Itachi killing his clan )

PS. Is it Naruto or Shippuden? ( when Naruto was younger or older )

[B]Edited :[/B] This is, if you're interested in giving it another shot, heehee...[/quote]
I was quite far into Shippuden, As for what happend in the last one I watched hmm something to do with sasuke breaking out a girl and that was it for me... sasuke + plus this girl was just X_X

Am not ready to get back into this sadly. Tho I did [SIZE=13px][FONT=Trebuchet MS][spoiler="Hear!"]Jiraiya dies :mad: not sure if he does/did but that sucks if it does I loved this guy :)[/FONT][/SIZE][SIZE=13px][FONT=Trebuchet MS][/spoiler][/FONT][/SIZE]

You addon is un-moded also and without any extra bbcodes added
Cheers
 
For Mr KK
The spoiler tag is repeating three times
Can be seen here
The text is as follows

Code:
[quote="Marc, post: 2955"]I don't see the point of skinny people with "over-large" swords battling to the death,

Hmm... Give it one more try.

What episode you stopped at? Give a description and I'll get a link to a video that "might" interest you,

They sometimes repeat a few things by flashbacks, to catch you up to it, if someone forgot. ( eg. Itachi killing his clan )

PS. Is it Naruto or Shippuden? ( when Naruto was younger or older )

Edited : This is, if you're interested in giving it another shot, heehee...[/quote]
I was quite far into Shippuden, As for what happend in the last one I watched hmm something to do with sasuke breaking out a girl and that was it for me... sasuke + plus this girl was just X_X

Am not ready to get back into this sadly. Tho I did [spoiler="Hear!"]Jiraiya dies  not sure if he does/did but that sucks if it does I loved this guy :)[/spoiler]

And the bbcode text
Code:
[quote="Marc, post: 2955"][S]I don't see the point of [B]skinny[/B] [U]people[/U] with [I]"over-large" swords[/I] battling to the death,[/S] :whistling:

Hmm... Give it one more try.

What episode you stopped at? Give a description and I'll get a link to a video that "might" interest you, :thumbsup:

They sometimes repeat a few things by flashbacks, to catch you up to it, if someone forgot. ( eg. Itachi killing his clan )

PS. Is it Naruto or Shippuden? ( when Naruto was younger or older )

[B]Edited :[/B] This is, if you're interested in giving it another shot, heehee...[/quote]
I was quite far into Shippuden, As for what happend in the last one I watched hmm something to do with sasuke breaking out a girl and that was it for me... sasuke + plus this girl was just X_X

Am not ready to get back into this sadly. Tho I did [SIZE=13px][FONT=Trebuchet MS][spoiler="Hear!"]Jiraiya dies :mad: not sure if he does/did but that sucks if it does I loved this guy :)[/FONT][/SIZE][SIZE=13px][FONT=Trebuchet MS][/spoiler][/FONT][/SIZE]

You addon is un-moded also and without any extra bbcodes added
Cheers
[/CODE][/quote]

Do you absolutely need the font and size attributes there? That's a lot of constant nesting and may be causing your issue.[/CODE][/quote]
 
Status
Not open for further replies.
Top Bottom