Raitsa
Well-known member
Could you also try to add http://www.racing-action.com , please?
Is there a fix for this yet?
Yes but not something that is ready for release...that has to do with the way twitter widget js works.
What you see in the first place is something I made because I don't want people posting on twitter as a replacement to posting on the forum it is on...that was my logic in the first place at any rate...
Anyways...if I didn't do that which you see in the first image , it would look like crap until the twitter script ran which is something that is out of my control....
So back to my first sentence....yes there is a fix...i just need to attack one more thing on it and I can be confident that it will need no more changes (so long as the json/xml stuff remains the same @ twitter). When this change is applied it will remove this bbcode from this addon....and this bbcode will actually be it's own complete addon because of what I think should be done to make this bbcode worth keeping for a production environment.
I also need to update the addon...as someone asked about twitch and I am pretty sure I did it and like 5 or 6 others ones...but then again I also thought I already posted those lol.
Anyone interested in seeing this happen...hit me up on friday night to remind me about this for the weekend...otherwise i will forget and think I did it...again.
<script>$(".twitter-tweet").children("p").css("border-bottom", "3px double @primaryLighterStill"), ;</script>
Looking forward to an update on this.
Noticed that firebug tells me there is a SyntaxError: syntax error
bbms_twitter_XFormer
Code:<script>$(".twitter-tweet").children("p").css("border-bottom", "3px double @primaryLighterStill"), ;</script>
Seemed to be the issue and since you plan on getting rid of the twitter part any ways....
I had to basically comment out
<xen:comment> </xen:comment>
Both
bbms_twitter_XFormer
bbms_twitter_css
Completely. Never did use the twitter part any ways.
This resolved it.
The root cause of Syntax Error's are like trying to find a golden needle in large pile of golden hey.Adam, can you elaborate on this? The twitter bbcode is vital for me and I'd really like to fix this issue. I don't see any errors using google web tools. I'll happily use a hack workaround until I can figure something else out. The thing that seems really odd to me is that on Russ' mobile theme, there is no issue at all with the twitter bbcode. Thanks for the help.
There already is a BBCode for IMDB that I made under my old persona and posted in this post: http://xenforo.com/community/threads/bb-code-manager-bb-code-xml-repository.8470/page-12#post-284910Anyone cant made a bbcode for IMDB?
http://xenforo.com/community/threads/imdb-info-grabber-as-bbcode.11000/
There already is a BBCode for IMDB that I made under my old persona and posted in this post: http://xenforo.com/community/threads/bb-code-manager-bb-code-xml-repository.8470/page-12#post-284910
#http://www\.twitch\.tv/(?P<id>[\-a-z0-9_]+/[\-a-z0-9_]+/[\-a-z0-9_]+)(\?.*)?$#siU
#http://www\.twitch\.tv/(?P<id>[\-a-z0-9_]+)(\?.*)?$#siU
<see html callback>
<?php
class MediaSites_Twitchtv
{
public static function buildEmbed($mediaKey, array $site)
{
// CAPTURE WEB PAGE
$pageHtml = file_get_contents('http://www.twitch.tv/' . $mediaKey );
// ISOLATE THE TRAILER ID FROM THE META TAG
if(preg_match('#<meta property="og:video" content="http://www\.twitch\.tv/widgets/archive_facebook_embed_player\.swf\?channel\=(?P<id1>[a-z0-9-_=+^%]+)&archive_id\=(?P<id2>[a-z0-9-_=+^%]+)" />#si', $pageHtml, $match))
{
// DEFINE GENERIC EMBED HTML WITH REPLACEMENT VARIABLE __MEDIAKEY__
$embedHtml = '<object bgcolor="#000000" data="http://www.twitch.tv/widgets/archive_embed_player.swf" height="378" id="clip_embed_player_flash" type="application/x-shockwave-flash" width="620">
<param name="allowscriptaccess" value="always">
<param name="allowNetworking" value="all">
<param name="allowScriptAccess" value="always">
<param name="allowFullScreen" value="true">
<param name="wmode" value="transparent">
<param name="flashvars" value="archive_id=__MEDIAKEY2__&channel=__MEDIAKEY1__&hostname=www.twitch.tv">
</object>';
// MAKE THE REPLACEMENTS
$finalHtml = str_replace(array('__MEDIAKEY1__', '__MEDIAKEY2__'), array($match['id1'], $match['id2']), $embedHtml);
// RETURN THE FINISHED HTML
return $finalHtml;
}
if(preg_match('#<meta property="og:video" content="http://www\.twitch\.tv/widgets/live_facebook_embed_player\.swf\?channel\=(?P<id>[a-z0-9-_=+^%]+)" />#si', $pageHtml, $match))
{
// DEFINE GENERIC EMBED HTML WITH REPLACEMENT VARIABLE __MEDIAKEY__
$embedHtml = '<object bgcolor="#000000" data="http://www.twitch.tv/widgets/live_embed_player.swf" height="378" id="clip_embed_player_flash" type="application/x-shockwave-flash" width="620">
<param name="allowscriptaccess" value="always">
<param name="allowNetworking" value="all">
<param name="allowScriptAccess" value="always">
<param name="allowFullScreen" value="true">
<param name="wmode" value="transparent">
<param name="flashvars" value="channel=__MEDIAKEY__&hostname=www.twitch.tv">
</object>';
// MAKE THE REPLACEMENTS
$finalHtml = str_replace(('__MEDIAKEY__'), ($match['id']), $embedHtml);
// RETURN THE FINISHED HTML
return $finalHtml;
}
// RETURN NOTHING IF NO MATCH
return '123';
}
}
Today I want to release my bbcode of Twitch.TV. In your package I know that you had that, but it only supports live stream channel but not videos.
Admin CP -> Home -> BB Code Media Sites -> Add BB Code Media Site
Media Site ID: twitchtv
Site Title: Twitchtv
...
Id use that.does anyone have the code for vh1 videos?
like this
http://www.vh1.com/video/for-what-its-worth/full-episodes/third-man-records/1702415/playlist.jhtml
I am using a very old version that I think was before the resource section... will it update to this file? Also I think my Amazon code was customized so that amazon embedded links are auto affiliated to use my Amazon associates code. Would you be able to help me make that happen again?I can do vh1 but it has a lot of unique embed structures to account for which takes research time so I can't do it at this minute...maybe when I take a break from fixing up a style or something.
On another note I have updated a lot of bbcodes and there is only a few left to check and fix so when I can spare the time I will update this addon.
I can do vh1 but it has a lot of unique embed structures to account for which takes research time so I can't do it at this minute...maybe when I take a break from fixing up a style or something.
On another note I have updated a lot of bbcodes and there is only a few left to check and fix so when I can spare the time I will update this addon.
We use essential cookies to make this site work, and optional cookies to enhance your experience.