YouCode.php. It has to match exactly. Try that and let me know, because unless you have some other settings wrong, that's most likely your problem.
[flash]http://z0r.de/L/z0r-de_3371.swf[/flash]
<object width="550" height="400">
<param value="[url]http://z0r.de/L/z0r-de_3371.swf" name="movie">
<embed width="550" height="400" src="[url]http://z0r.de/L/z0r-de_3371.swf">
</object>
[/url]
<a href="#%s">
Installation Instructions
Edit the template help_bb_codes and add the following right before the final
HTML:<xen:include template="help_custom_bbcodes" />
I have a problem with a bbcode for anchor links.
It keeps adding www.mydomain.xyz before the anchor links. What does this cause?
The replacement start is:
Code:<a href="#%s">
When TEST is my option, the result is http://www.mydomain.xyz/#TEST instead of just #TEST.
[image=http://www.mydomain.com/image.jpg]
if ($hookName == 'help_bb_codes')
{
$contents .= $template->create('help_custom_bbcodes', $template->getParams());
}
Sorry if this has been asked before, but can we restrict certain bbcode usage with permissions? Or restrict usage to certain user groups?
$visitor = XenForo_Visitor::getInstance();
$visitorUserGroupIds = array_merge(array((string)$visitor['user_group_id']), (explode(',', $visitor['secondary_group_ids'])));
$id_ok = array(1,2,3); //place here the usergroup ids who can access
$check_ok = array_intersect($visitorUserGroupIds, $id_ok);
if ($check_ok)
{
//bbcode display for authorized members
}
else
{
//bbcode display for none-authorized members
}
And of course, you can still do all the same things as v1.1... you can easily add you're own Custom BB Codes via an easy to understand, very XenForo-esqu manager in the ACP (found along with Media BB Code Sites set up & Smilies). This allows you to see your codes, search your codes, enable, disable, add, edit, delete -- all from a powerful set up:
http://www.fileden.com/files/2010/12/11/3035440/AmarJalil.pdf
<iframe src="http://docs.google.com/viewer?url=http://www.fileden.com/files/2010/12/11/3035440/AmarJalil.pdf&embedded=true" width="600" height="780" style="border: none;"></iframe>
[spoiler=hi" onclick="alert(document.cookie);" nope="][/spoiler]
[box=50" onclick="alert(document.cookie);" nope=][spoiler]Hax[/box][/spoiler]
I think he was looking for more along the lines of being able to restrict who can actually use the BBCode tags, not who can view their output.If you don't care to protect its content, but only about its display, you have to create a bbcode with a callback with something like this:
We use essential cookies to make this site work, and optional cookies to enhance your experience.