• 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.
thaks for reply king but i have onother question can i use template conditional to check usergroup ID into the php code ??
 
Quite possibly yes. What usergroup do you want? I believe the only thing available to you is the visitor information.
 
If I understand you correctly, you want to use XenForo_Visitor to get the usergroup information and place a conditional around it.
 
Thanks for this amazing add-on!
is there a way to stop parsing links/urls withing a BB Code?
"Do not parse links/urls within this BB Code."

I have a bbcode similar to the IMG bbcode and whenever I enter the image url, the image doesn't show, the url becomes a link.

Thanks
 
Thanks for this amazing add-on!
is there a way to stop parsing links/urls withing a BB Code?
"Do not parse links/urls within this BB Code."

I have a bbcode similar to the IMG bbcode and whenever I enter the image url, the image doesn't show, the url becomes a link.

Thanks
I have been searching for a way to do that, but haven't found a way that works 100% I will look into it once more soon.
 
  • Like
Reactions: Ray
Line 154, ControllerAdmin/CustomBbCodes.php

PHP:
throw new XenForo_Exception(new XenForo_Phase('bbcm_invalidXML'), true);

'Phase' ;)
 
Replace {option} with %s. Put everything before {param} in the "replacement begin" and everything after it in "replacement end."

I was not able to find this in the thread but I imported my vb site and it is loaded with the yt bbcode. Can I create a bbcode that will display the videos is all these posts? In the quote above I imagine it is for one instance of {param}. Here is the code I used in vb...

Code:
<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/{param}&fs=1" width="644" height="390"><param name="movie" value="http://www.youtube.com/v/{param}&fs=1" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><a href="http://www.youtube.com/watch?v={param}">http://www.youtube.com/watch?v={param}</a></object>

How would I implement that into the manager as a new custom code?

Thanks in advance.
 
ACP -> Home -> BB Code Media Sites (left hand menu)

Code:
[media=youtube]hkAJ-CQvkwA[/media]

I am not sure how Media Sites would help here because media tags are inserted. What I am looking to do is allow all of my old tags, see example below, to be utilized.

Code:
[yt]hkAJ-CQvkwA[/yt]

Some are tagged as:

[yt]sigQfHVayoo&feature=topvideos[/yt] where the media tag strips out the & and beyond

Maybe this post and my previous one would be better suited in the thread for additional bbcodes here.

Thanks :D
 
Status
Not open for further replies.
Top Bottom