See above, I solved it.Will do.
I'm not actually using any codes with multiple parameters at the moment so I'll create one and test it.
[z=000000 | FFFFFF | 30]This is a test.[/z]
<div style="background: #{1}; color: #{2}; font-size: {3}px"></div>
I have an idea: how about making a second type of spoiler? For example you select some piece of text then apply spoiler2 bbcode and that text becomes invisible. I mean no buttons, just invisible text. And when you hover on it the text appears.
This should be very useful for movie or TV forums.
Love it, nice job.
One idea that would be amazingly, mind-blow-tastically awesome in my opinion would be the ability for the [user] bbcode to trigger an alert - I'm not sure how feasible it is, but something to consider perhaps?
For instance [user]Caelum[/user] triggering an alert to user Caelum, vaguely like this (seemingly abandoned) hack.
#0 /var/www/vhosts/path/httpdocs/library/KingK/BbCodeManager/BbCode/Formatter/Default.php(76): XenForo_Application::handlePhpError(Array, Array, Object(KingK_BbCodeManager_BbCode_Formatter_Base))
#1 [internal function]: KingK_BbCodeManager_BbCode_Formatter_Default::parseTagSpoiler(Array, Array)
#2 /var/www/vhosts/path/httpdocs/library/KingK/BbCodeManager/BbCode/Formatter/Base.php(118): call_user_func_array(Array, Array, Object(KingK_BbCodeManager_BbCode_Formatter_Base))
#3 [internal function]: KingK_BbCodeManager_BbCode_Formatter_Base->renderAdvancedTag(Array, Array, Array, Object(KingK_BbCodeManager_BbCode_Formatter_Base))
#4 /var/www/vhosts/path/httpdocs/library/XenForo/BbCode/Formatter/Base.php(477): call_user_func(Array, Array, Array)
#5 /var/www/vhosts/path/httpdocs/library/XenForo/BbCode/Formatter/Base.php(392): XenForo_BbCode_Formatter_Base->renderValidTag(Array, Array, 0)
#6 /var/www/vhosts/path/httpdocs/library/XenForo/BbCode/Formatter/Base.php(316): XenForo_BbCode_Formatter_Base->renderTag(Array, Array, 0)
#7 /var/www/vhosts/path/httpdocs/library/XenForo/BbCode/Formatter/Base.php(297): XenForo_BbCode_Formatter_Base->renderTreeElement(Array, Array)
#8 /var/www/vhosts/path/httpdocs/library/XenForo/BbCode/Formatter/Base.php(277): XenForo_BbCode_Formatter_Base->renderSubTree(Array, Array)
#9 /var/www/vhosts/path/httpdocs/library/XenForo/BbCode/Parser.php(498): XenForo_BbCode_Formatter_Base->renderTree('[spoiler=Oyunda...')
#10 /var/www/vhosts/path/httpdocs/library/EWRporta/Block/RecentNews.php(37): XenForo_BbCode_Parser->render(Array)
#11 /var/www/vhosts/path/httpdocs/library/EWRporta/ViewPublic/Portal.php(31): EWRporta_Block_RecentNews->getModule()
#12 /var/www/vhosts/path/httpdocs/library/XenForo/ViewRenderer/Abstract.php(212): EWRporta_ViewPublic_Portal->renderHtml('EWRporta_ViewPu...', 'Html', Array, 'EWRporta_Portal')
#13 /var/www/vhosts/path/httpdocs/library/XenForo/ViewRenderer/HtmlPublic.php(69): XenForo_ViewRenderer_Abstract->renderViewObject('EWRporta_ViewPu...', Array, 'EWRporta_Portal', NULL)
#14 /var/www/vhosts/path/httpdocs/library/XenForo/FrontController.php(533): XenForo_ViewRenderer_HtmlPublic->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#15 /var/www/vhosts/path/httpdocs/library/XenForo/FrontController.php(156): XenForo_FrontController->renderView()
#16 /var/www/vhosts/path/httpdocs/index.php(15): XenForo_FrontController->run()
#17 {main}
Updated to v1.2.1 to fix a small PHP programming error (will fix compatibility issues with XenPorta).
Hi King kovifor,
I want to use mod to wrap the text around and image in a post so it looks like an article(which is also shown in my XenPortal). Would I be able to do this now with XenPortal? or are there compatibility issues as you mention? Thanks mate.
I posted some float BB Code here which wraps text around images: http://xenforo.com/community/threads/bb-code-manager-bb-code-xml-repository.8470/#post-127621
I don't know if it works with XenPortal though as I don't have that mod installed.
Is there such bbcode, that I'm not aware of ? I'd liketo have this one too
The compatibility issue was with the spoiler code only. Should be fine now.I actually tried this and it seemed to sort of work... cant remember all the details but it kind of worked then didnt so i thought this may be some sort of compantibility issue King K mentioned above? Not sure, hopefully he can elaborate.
Yep, search a few pages back the info is there, you may have better luck
The compatibility issue was with the spoiler code only. Should be fine now.
We use essential cookies to make this site work, and optional cookies to enhance your experience.