its a mod you installed in your 1.2 installation. size in not in the core.
376 2009-03-27 20:04
Re: After upgrading to 1.3 does not understand some BBCode (9 replies, posted in PunBB 1.3 troubleshooting)
377 2009-03-27 10:42
Re: theme :) (6 replies, posted in PunBB show off)
WOOH , the second one is ausome, can i change the background without affecting anything else.
378 2009-03-26 14:44
Re: AGH!!!! PUN POLL IS RIDICULOUS!! (5 replies, posted in PunBB 1.3 extensions)
yes THATS EXATLY what happend to me, not few times, more then 30 times.
379 2009-03-26 14:43
Re: The Farmer's Question (7 replies, posted in Fun)
cockroach, hahahahahhahahaha
380 2009-03-22 18:03
Re: pun_bbcode extension (41 replies, posted in PunBB 1.3 extensions)
THANKS ALOT Rich Pedley, it worked, just added the video. Thanks for the buttons Khalid-S.
381 2009-03-22 10:31
Re: pun_bbcode extension (41 replies, posted in PunBB 1.3 extensions)
ok here is the bar.php in pun_bbcode extension:
<?php
/***********************************************************************
Copyright (C) 2008 PunBB
Based on Easy BBCode extension by Rickard Andersson.
PunBB is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published
by the Free Software Foundation; either version 2 of the License,
or (at your option) any later version.
PunBB is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston,
MA 02111-1307 USA
***********************************************************************/
if (!defined('FORUM'))
die();
// NOTE: I couldn't find how to remove sf-set from here.
?> <div class="sf-set" id="pun_bbcode_bar">
<div id="pun_bbcode_wrapper"<?php echo $forum_user['pun_bbcode_use_buttons']?' class="graphical"':'' ?>>
<div id="pun_bbcode_buttons">
<?php
// List of tags, which may have attribute
$tags_without_attr = array('b', 'i', 'u', 'url', 'email', 'img', 'list', 'li' => '*', 'quote', 'code');
// List of tags, which may not to have attribute
if ($forum_user['pun_bbcode_use_buttons'])
$tags_with_attr = array('color');
else
$tags_with_attr = array('quote', 'color', 'url', 'email', 'img', 'list');
// Let's get the list of all tags
$tags = array_unique(array_merge($tags_without_attr, $tags_with_attr));
if ($forum_user['pun_bbcode_use_buttons'])
{
if (file_exists($ext_info['path'].'/buttons/'.$forum_user['style'].'/'))
$buttons_path = $ext_info['url'].'/buttons/'.$forum_user['style'];
else
$buttons_path = $ext_info['url'].'/buttons/Oxygen';
}
$tabindex = -1;
foreach ($tags as $filename => $tag)
{
if (in_array($tag, $tags_without_attr))
{
if ($forum_user['pun_bbcode_use_buttons'])
echo '<img src="'.$buttons_path.'/'.(is_numeric($filename)?$tag:$filename).'.png" alt="['.$tag.']" title="'.$tag.'"';
else
echo '<input type="button" value="'.ucfirst($tag).'" name="'.$tag.'"';
echo ' onclick="insert_text(\'['.$tag.']\',\'[/'.$tag.']\')" tabindex="'.$tabindex.'"/>';
}
if (in_array($tag, $tags_with_attr))
{
if ($forum_user['pun_bbcode_use_buttons'])
echo '<img src="'.$buttons_path.'/'.(is_numeric($filename)?$tag:$filename).'.png" alt="['.$tag.'=]" title="'.$tag.'="';
else
echo '<input type="button" value="'.ucfirst($tag).'=" name="'.$tag.'"';
echo ' onclick="insert_text(\'['.$tag.'=]\',\'[/'.$tag.']\')" tabindex="'.$tabindex.'" />';
}
$tabindex--;
}
?>
</div>
<div id="pun_bbcode_smilies">
<?php
// Display the smiley set
foreach (array_unique($smilies) as $smile_text => $smile_file)
echo '<a href="javascript:insert_text(\''.$smile_text.'\', \'\');" tabindex="'.($tabindex--).'"><img src="'.$base_url.'/img/smilies/'.$smile_file.'" width="15" height="15" alt="'.$smile_text.'" /></a>'."\n";
?> </div>
</div>
</div>
Can u show me quick example of which lines to duplicate. Thanks
382 2009-03-21 21:11
Re: pun_bbcode extension (41 replies, posted in PunBB 1.3 extensions)
well i cant understand the manifest as much i understood a clear code.
but i think it adds a spoiler tag.
i installed a video extension by Neck. which you can post videos by [video] [/video] . I just need to add a button to the bbcode bar, so users can easily insert that code.
thanks
383 2009-03-21 18:50
Re: [Release] VideoTag (v0.2.0) (41 replies, posted in PunBB 1.3 extensions)
bump
384 2009-03-21 09:48
Re: A couple of existing extension javascript suggestions (14 replies, posted in PunBB 1.3 discussion)
i completely agree with the quickquote stuff. its adds few extra kilobytes for browser to load.
385 2009-03-19 18:07
Re: Is this your Flag? Please help test this (20 replies, posted in General discussion)
wooh , its shows correct country flag.
386 2009-03-19 11:58
Re: Changes in development team (19 replies, posted in News)
ok thanks for your effort in punbb.
387 2009-03-19 11:13
Re: Mass Emailing to users on mailing list (7 replies, posted in PunBB 1.3 discussion)
i hope some one do it.
388 2009-03-19 11:11
Re: [Release] VideoTag (v0.2.0) (41 replies, posted in PunBB 1.3 extensions)
looks like Neck is not developing this anymore.
Can any one please help add this to the original code.
These are to be added:
<?php
foreach ($_GET as $key => $item){
if ($key!='link' and $key!='debug'){
$_GET['link'].='&'.$key.'='.$item;
}
}
If ($_GET['link']){
If ($_GET['debug']) echo '<script>';
echo "window.document.write('".preg_replace('/<\/script>/', '</scr\'+\'ipt>', addslashes(get_video($_GET['link'])))."');";
If ($_GET['debug']) echo '</script>';
}
function get_video($link){
$values = array (
//http://www.youtube.com
array('/youtube\.com.*v=([^&]*)/i', '<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/{ID_VIDEO}"></param><embed src="http://www.youtube.com/v/{ID_VIDEO}" type="application/x-shockwave-flash" width="425" height="344"></embed></object>'),
//http://video.google.it
array('/video.google.*docid=([^&]*)/i', '<embed id="VideoPlayback" style="width:400px;height:326px" allowFullScreen="true" flashvars="fs=true" src="http://video.google.com/googleplayer.swf?docid={ID_VIDEO}" type="application/x-shockwave-flash"></embed>'),
//http://dailymotion.alice.it
array('/(dailymotion)/i', '{DOWNLOAD%/<textarea id="video_player_embed_code_text" class="text" onclick="this\.select\(\)" type="text">(.*?)<\/textarea>/ism%html_entity_decode|}'),
//http://www.metacafe.com
array('/metacafe\.com\/watch\/(.*)\//i', '<embed src="http://www.metacafe.com/fplayer/{ID_VIDEO}.swf" width="400" height="345" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>'),
//http://www.starsclips.net
array('/starsclips\.net\/videos\.aspx\/(.*)/i', '<object width="400" height="320"><param name="movie" value="http://www.starsclips.net/emb.aspx/{ID_VIDEO}"></param><param name="wmode" value="transparent"></param><embed src="http://www.starsclips.net/emb.aspx/{ID_VIDEO}" type="application/x-shockwave-flash" wmode="transparent" width="400" height="320"></embed></object>'),
//http://vids.myspace.com
array('/vids\.myspace\.com.*?videoID=([^&]*)/i', '<object width="430px" height="386px"><param name="wmode" value="transparent"/><param name="allowscriptaccess" value="always"/><param name="movie" value="http://lads.myspace.com/videos/vplayer.swf"/><param name="flashvars" value="m={ID_VIDEO}"/><embed src="http://lads.myspace.com/videos/vplayer.swf" width="430" height="386" flashvars="m={ID_VIDEO}" type="application/x-shockwave-flash" allowscriptaccess="always" /></object>'),
array('/myspacetv\.com.*?videoID=([^&]*)/i', '<object width="430px" height="386px"><param name="wmode" value="transparent"/><param name="allowscriptaccess" value="always"/><param name="movie" value="http://lads.myspace.com/videos/vplayer.swf"/><param name="flashvars" value="m={ID_VIDEO}"/><embed src="http://lads.myspace.com/videos/vplayer.swf" width="430" height="386" flashvars="m={ID_VIDEO}" type="application/x-shockwave-flash" allowscriptaccess="always" /></object>'),
//http://video.yahoo.com
array('/video\.yahoo.*vid=([^&]*)/i','<object width="512" height="323"><param name="movie" value="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.2" /><param name="allowFullScreen" value="true" /><param name="flashVars" value="id={DOWNLOAD%/so\.addVariable\("id", "(.*?)"\);/%}&vid={ID_VIDEO}&thumbUrl={DOWNLOAD%/so\.addVariable\("thumbUrl", "(.*?)"\);/%}&embed=1" /><embed src="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.2" type="application/x-shockwave-flash" width="512" height="323" allowFullScreen="true" flashVars="id={DOWNLOAD%/so\.addVariable\("id", "(.*?)"\);/%}&vid={ID_VIDEO}&thumbUrl={DOWNLOAD%/so\.addVariable\("thumbUrl", "(.*?)"\);/%}&embed=1" ></embed></object>'),
//http://photobucket.com
array ('/(photobucket\.com)/i', '{DOWNLOAD%/<input name="txtThumbTag2" id="txtThumbTag2".*?value="(.*?)"/ism%html_entity_decode}'),
//http://files.filefront.com
array ('/(filefront\.com)/i','{DOWNLOAD%/<input type"text" id="embedSrc" value=\'(.*?)\'/ism%}'),
//http://www.veoh.com
array ('/veoh\.com\/videos\/([^\?]*)/i', '<embed src="http://www.veoh.com/videodetails2.swf?permalinkId={ID_VIDEO}&id=anonymous&player=videodetailsembedded&videoAutoPlay=0" allowFullScreen="true" width="540" height="438" bgcolor="#000000" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>'),
//http://www.vidilife.com
array ('/(vidilife\.com)/i','{DOWNLOAD%/<input type="text" name="url1" value="(.*?)"/%}'),
//http://www.gametrailers.com
array ('/gametrailers\.com\/player\/(.*?).html/i', '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="gtembed" width="480" height="392"> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="true" /> <param name="movie" value="http://www.gametrailers.com/remote_wrap.php?mid={ID_VIDEO}"/> <param name="quality" value="high" /> <embed src="http://www.gametrailers.com/remote_wrap.php?mid={ID_VIDEO}" swLiveConnect="true" name="gtembed" align="middle" allowScriptAccess="sameDomain" allowFullScreen="true" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480" height="392"></embed> </object>'),
//http://www.vidiac.com
array ('/vidiac\.com\/video\/(.*?)\.htm/i', '<embed src="http://www.vidiac.com/vidiac.swf" FlashVars="video={ID_VIDEO}" quality="high" bgcolor="#ffffff" width="428" height="352" name="ePlayer" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>'),
//http://www.gamespot.com
array ('/gamespot\.com\/video\//i', '<embed id="mymovie" width="432" height="362" flashvars="playerMode=embedded&movieAspect=4.3&flavor=EmbeddedPlayerVersion&skin=http://image.com.com/gamespot/images/cne_flash/production/media_player/proteus/one/skins/gamespot.png¶msURI={DOWNLOAD%/so\.addVariable\(\'paramsURI\', \'(.*?)\'\);/ism%}" wmode="transparent" allowscriptaccess="always" quality="high" name="mymovie" style="" src="http://image.com.com/gamespot/images/cne_flash/production/media_player/proteus/one/proteus2.swf" type="application/x-shockwave-flash"/>'),
//http://www.megavideo.com
array ('/(megavideo\.com)/i', '{DOWNLOAD%/<input type="text" value=\'(.*?)\'/%}'),
//http://www.vimeo.com
array ('/vimeo\.com\/([^&]*)/i', '<object class="swf_holder" type="application/x-shockwave-flash" width="506" height="380" data="http://www.vimeo.com/moogaloop_local.swf?clip_id={ID_VIDEO}&server=www.vimeo.com&autoplay=0&fullscreen=1&show_portrait=0&show_title=0&show_byline=0&md5=&color="><param name="quality" value="high" /><param name="allowfullscreen" value="true" /><param name="scale" value="showAll" /><param name="movie" value="http://www.vimeo.com/moogaloop_local.swf?clip_id={ID_VIDEO}&server=www.vimeo.com&autoplay=0&fullscreen=1&show_portrait=0&show_title=0&show_byline=0&md5=&color=" /></object>'),
//http://www.gamevideos.com
array ('/(gamevideos\.com)/i', '{DOWNLOAD%/Embed: <input.*value="(.*?)"/%html_entity_decode}'),
//http://www.tu.tv
array ('/(tu\.tv)/i', '{DOWNLOAD%/<input name="html".*value=\'(.*?)\'/%}'),
//http://www.godtube.com
array ('/godtube\.com.*viewkey=([^&]*)/i', '<embed src="http://godtube.com/flvplayer.swf" FlashVars="viewkey={ID_VIDEO}" wmode="transparent" quality="high" width="330" height="270" name="godtube" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>'),
//http://www.myvideo.de
array ('/myvideo.de\/watch\/(.*?)\//i', "<object style='width:470px;height:406px;' width='470' height='406' type='application/x-shockwave-flash' data='http://www.myvideo.de/movie/{ID_VIDEO}'><param name='movie' value='http://www.myvideo.de/movie/{ID_VIDEO}'/><param name='AllowFullscreen' value='true' /><embed src='http://www.myvideo.de/movie/{ID_VIDEO}' width='470' height='406'></embed></object>"),
//http://www.collegehumor.com/
array ('/collegehumor.*video:(.*)/i', '<object type="application/x-shockwave-flash" data="http://www.collegehumor.com/moogaloop/moogaloop.swf?clip_id=1819139&fullscreen=1" width="480" height="360" ><param name="allowfullscreen" value="true" /><param name="movie" quality="best" value="http://www.collegehumor.com/moogaloop/moogaloop.swf?clip_id={ID_VIDEO}&fullscreen=1" /></object>'),
//http://www.comedycentral.com
array ('/comedycentral.*videoId=([^&]*)/i', "<embed FlashVars='videoId={ID_VIDEO}' src='http://www.comedycentral.com/sitewide/video_player/view/default/swf.jhtml' quality='high' bgcolor='#cccccc' width='332' height='316' name='comedy_central_player' align='middle' allowScriptAccess='always' allownetworking='external' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed>"),
//http://www.slideshare.net
array ('/(slideshare\.net)/i', '{DOWNLOAD%/<input.*?id="embedded_code" value="(.*?)"/%html_entity_decode}'),
//http://www.revver.com
array ('/revver\.com\/video\/(.*?)\//i', '<script src="http://flash.revver.com/player/1.0/player.js?mediaId:{ID_VIDEO};width:480;height:392;" type="text/javascript"></script>'),
//http://de.sevenload.com
array ('/sevenload\.com\/videos\/(.*?)-/i', '<script type="text/javascript" src="http://de.sevenload.com/pl/{ID_VIDEO}/500x408"></script>'),
//http://www.clipfish.de
array ('/clipfish\.de.*?videoid=([^&]*)/i', "<object width='464' height='380'><param name='movie' value='http://www.clipfish.de/videoplayer.swf?videoid={ID_VIDEO}' /><param name='allowFullScreen' value='true' /><embed src='http://www.clipfish.de/videoplayer.swf?videoid=MTMyNzg4fDI0NTY3MzM' width='464' height='380' name='player' allowFullScreen='true' type='application/x-shockwave-flash'></embed></object>"),
);
foreach ($values as $value){
if (preg_match($value[0], $link, $matches)){
$id_video=$matches[1];
return preg_replace_callback('/{.*?}/', create_function('$matches', 'switch (true){
case preg_match("/\{ID_VIDEO\}/", $matches[0]):
return "'.$id_video.'";
break;
case preg_match("/\{LINK\}/", $matches[0]):
return "'.$link.'";
break;
case preg_match("/\{DOWNLOAD(.*?)%(.*?)%(.*?)\}/", $matches[0], $matches2):
if (empty($matches2[1])) $matches2[1]="'.$link.'";
preg_match($matches2[2], file_get_contents(str_replace(" ","+",$matches2[1])), $matches3);
if (empty($matches2[3])){
return $matches3[1];
}else{
$t=$matches3[1];
foreach(explode("|", $matches2[3]) as $e){
eval(\'$t=\'.$e.\'($t);\');
}
return $t;
}
break;
}
return $matches[0];'), $value[1]);
}
}
return 'Error, site not recognized';
}
?>
These it will produce
[video]http://youtube.com/watch?v=IiJdn6bg3fs[/video]
[video]http://video.google.it/videoplay?docid=-1807566009355608301[/video]
[video]http://dailymotion.alice.it/video/x3gvg0_baby-break-dance_fun[/video]
[video]http://www.metacafe.com/watch/976183/amazing_denver_zoo_lights_2007/[/video]
[video]http://starsclips.net/videos.aspx/video~no_break_girls_boxing_824/No_break_girls_boxing/Funny_videos/[/video]
[video]http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoID=1590276358[/video]
[video]http://video.yahoo.com/video/play?vid=1845135&fr=&cache=1[/video]
[video]http://photobucket.com/mediadetail/?media=%2Fplayer.swf%3Ffile%3Dhttp%3A%2F%2Fvid209.photobucket.com%2Falbums%2Fbb146%2Fgirlsrule619_photo%2FCIMG1214.flv&searchTerm=&pageOffset=[/video]
[video]http://files.filefront.com/Conflict+Denied+Ops+Launch+Trailer/;9506302;/fileinfo.html[/video]
[video]http://www.veoh.com/videos/v3307355BSa7tBwK?source=featured&cmpTag=featured&rank=3[/video]
[video]http://www.vidilife.com/video_play_1125851_Not_Karate.htm?hmtrk=Not_Karate[/video]
[video]http://www.gametrailers.com/player/30032.html[/video]
[video]http://www.vidiac.com/video/7fd7de8b-67e8-4ffb-a5bd-991900422e1a.htm[/video]
[video]http://www.gamespot.com/video/938343/6185167/videoplayerpop?[/video]
[video]http://www.megavideo.com/?v=QZ4O9C8P[/video]
[video]http://www.vimeo.com/173714[/video]
[video]http://www.gamevideos.com/video/id/17281[/video]
[video]http://www.tu.tv/videos/nuco-diga-no-a-una-mujer[/video]
[video]http://www.godtube.com/view_video.php?viewkey=9c72e4dcbe79c288680e[/video]
[video]http://www.myvideo.de/watch/4276644/Handys_boese[/video]
[video]http://www.collegehumor.com/video:1819139[/video]
[video]http://www.comedycentral.com/videos/index.jhtml?videoId=173093[/video]
[video]http://www.slideshare.net/ewan.mcintosh/unleasing-the-tribe/[/video]
[video]http://www.revver.com/video/129859/poker-player/[/video]
[video]http://de.sevenload.com/videos/7oREPw6-Simpsons-Intro-mit-Schauspielern[/video]
t=ft_2_unset_video&utm_campaign=cf[/video]
[video]http://www.clipfish.de/player.php?videoid=MTMyNzg4fDI0NTY3MzM%3D&tl=4712&utm_source=ft&utm_medium=ft_2&utm_term=ft_2_unset&utm_content=ft_2_unset_video&utm_campaign=cf[/video]
That Code was written for phpBB by Fraev.
This is the current manifest.xml by neck.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE extension SYSTEM "ext-1.0.dtd">
<!--
/**
* VideoTag extension for PunBB forum
* Offer a new BBcode tag to display embedded flash videos.
*
* @author Neck - http://www.eikylon.net
* @license GPL - http://www.gnu.org/copyleft/gpl.html
* @package ek_videotag
*/
-->
<extension engine="1.0">
<id>ek_videotag</id>
<title>VideoTag</title>
<version>0.2.0</version>
<description>New BBcode tag ([video]) to display embedded flash videos.</description>
<author>Neck - http://www.eikylon.net</author>
<minversion>1.3</minversion>
<maxtestedon>1.3.2</maxtestedon>
<hooks>
<hook id="he_new_bbcode_link"><![CDATA[
// add our lang file
if (file_exists($ext_info['path'].'/lang/'.$forum_user['language'].'.php')) {
require($ext_info['path'].'/lang/'.$forum_user['language'].'.php');
} else {
require($ext_info['path'].'/lang/English.php');
}
$lang_help = array_merge($lang_help, $lang_help_video);
?>
<div class="entry-content">
<code>[video]<?php echo $lang_help['video_uri'] ?>[/video]</code><span><?php echo $lang_help['produces'] ?></span>
<?php echo $lang_help['video_display'] ?>
</div><?php
]]></hook>
<hook id="ps_start"><![CDATA[
// tag handling function
function handle_video_tag($videoUri) {
global $forum_config;
$match = array();
// dirty trick to play arround do_clickable
preg_match('`href="([^"]+)"`', stripslashes($videoUri), $match);
if(!empty($match[1])) {
$videoUri = $match[1];
}
// the services list
$service = array(
'youtube' => array(
'match'=>'`watch\?v=([-_a-z0-9]+)`i',
'uri'=>'http://www.youtube.com/v/%s&rel=0',
'width'=>425,
'height'=>344
),
'dailymotion' => array(
'match'=>'`video/([a-z0-9]+)_`i',
'uri'=>'http://www.dailymotion.com/swf/%s&amp;related=0&amp;canvas=medium',
'width'=>480,
'height'=>381
),
'vimeo' => array(
'match'=>'`/([0-9]+)`',
'uri'=>'http://www.vimeo.com/moogaloop.swf?clip_id=%s&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&fullscreen=1',
'width'=>400,
'height'=>302
),
'google' => array(
'match'=>'`\?docid=(-?[0-9]+)`',
'uri'=>'http://video.google.com/googleplayer.swf?docId=%s',
'width'=>425,
'height'=>364
)
);
// extract service's name and check for support
preg_match('`^http://(?:[^\.]*\.)?([^\.]*)\.[^/]*/`i', $videoUri, $match);
if(empty($match[1]) || !array_key_exists($match[1], $service)) {
return '<a href="'.$videoUri.'">[video (unkown provider)]</a>';
}
$s = $service[$match[1]];
// extract videoId
preg_match($s['match'], $videoUri, $match);
if(empty($match[1])) {
return '<a href="'.$videoUri.'">[video (cant extract ID)]</a>';
}
$playerUri = sprintf($s['uri'], $match[1]);
// display flash player
return
'<object type="application/x-shockwave-flash" data="'.$playerUri.'" width="'.$s['width'].'" height="'.$s['height'].'">'.
'<param name="movie" value="'.$playerUri.'" />'.
'<param name="wmode" value="transparent" />'.
'<param name="allowfullscreen" value="true" />'.
'<p><a href="'.$videoUri.'">[video (flash player not installed)]</a></p>'.
'</object>';
}
]]></hook>
<hook id="ps_preparse_tags_start"><![CDATA[
// add our tag to the list
$tags[] = 'video';
$tags_opened[] = 'video';
$tags_closed[] = 'video';
$tags_inline[] = 'video';
$tags_trim[] = 'video';
// we must allow url due to do_clickable
$tags_limit_bbcode['video'] = array('url');
]]></hook>
<hook id="ps_do_bbcode_replace"><![CDATA[
// add pattern to catch [video]blahblah[/video]
$pattern[] = '`\[video\]([^\[]+)\[/video\]`e';
$replace[] = 'handle_video_tag(\'$1\')';
]]></hook>
</hooks>
</extension>
I hope its easy to add those to the list.
Thanks
389 2009-03-19 09:46
Re: Changes in development team (19 replies, posted in News)
what was the reason anatoly left. Good luck slavok.
390 2009-03-18 13:19
Re: pun_bbcode extension (41 replies, posted in PunBB 1.3 extensions)
hey, i want to add another button to the bbcode bar, how do i do that.
its a video button: [video][/video]
Thanks
391 2009-03-18 07:32
Re: [release] Lock topic (for moderators) (5 replies, posted in PunBB 1.3 extensions)
mmm, when final version will be released. Thanks
392 2009-03-17 17:52
Re: better bb_bar (29 replies, posted in PunBB 1.3 extensions)
ok one more thing, does any one have good icons sets for the new posts, readed post, closed post, sticky topic etc, want something professional and bit bigger.
thanks in advance.
393 2009-03-17 15:40
Re: Social Bookmarking Buttons (33 replies, posted in PunBB 1.3 extensions)
well http://sports2all.com/forum/, i currently disabled. but its no problem, i am using addthis right now, so i don't need two extensions. was just suggesting.
394 2009-03-17 15:38
Re: better bb_bar (29 replies, posted in PunBB 1.3 extensions)
anyway, thanks, the error is fixed.
395 2009-03-17 15:35
Re: better bb_bar (29 replies, posted in PunBB 1.3 extensions)
what in the world, this is realy confusing, i am sure i am using 1.3.2
396 2009-03-17 14:18
Re: better bb_bar (29 replies, posted in PunBB 1.3 extensions)
donno what you talking about: here is my lang file:
<?php
// Language definitions used in index.php
$lang_index = array(
'Moderated by' => 'Moderated by %s',
'Link to' => 'Link to %s', // As in "Link to http://punbb.informer.com/"
'Category subtitle' => '%1$s in this category with details of %2$s',
'Forums' => 'Forums',
'Topics' => 'Topics',
'Posts' => 'Posts',
'Last post' => 'Last post:',
'last post' => 'last post',
'topics' => 'topics',
'topic' => 'topic',
'post' => 'post',
'posts' => 'posts',
'No topic info' => 'No topic information',
'No post info' => 'No post information',
'No lastpost info' => 'No last post information',
'Forum is empty' => 'This forum is empty',
'First post nag' => 'Be the first to post',
'Last poster' => 'by %s',
'Empty board' => 'Board is empty',
'Newest user' => 'Newest registered user: %s',
'No of users' => 'Total number of registered users: %s',
'No of topics' => 'Total number of topics: %s',
'No of posts' => 'Total number of posts: %s',
'Guests plural' => '<strong>%s</strong> guests',
'Guests single' => '<strong>1</strong> guest',
'Guests none' => '<strong>0</strong> guests',
'Users plural' => '<strong>%s</strong> registered users',
'Users single' => '<strong>1</strong> registered user',
'Users none' => '<strong>0</strong> registered users',
'Currently online' => 'Currently online ( %s )',
'Online stats separator' => ', ',
'Online list separator' => ', ',
'Statistics' => 'Forum statistics',
'External forum' => '(This forum is located on an external site)',
'Forum has new' => '( %s )',
'Forum new posts' => 'New posts',
'New posts title' => 'This forum contain posts made since your last visit.',
'Board options' => 'Board options',
'RSS active feed' => 'RSS active topics feed',
'Guests online' => 'Guests online',
'Users online' => 'Users online'
);
397 2009-03-17 14:06
Re: Social Bookmarking Buttons (33 replies, posted in PunBB 1.3 extensions)
SuperMAG wrote:it would look good if it was placed besides the Move, delete links. and also background should be transparent, like its only buttons.
I couldn't find any hooks there last I checked, I think you'd have to edit the language file manually. What do you mean by transparent? The images have transparent backgrounds..
i think, there is a hook, it is used by addthis extension, which places in the same place. the extension is by kerowink
by transparent, i mean the background of the buttons is white. it would be bitter if it matched the theme background. so transparent would be bitter then white.
398 2009-03-17 08:29
Re: Social Bookmarking Buttons (33 replies, posted in PunBB 1.3 extensions)
it would look good if it was placed besides the Move, delete links. and also background should be transparent, like its only buttons.
399 2009-03-16 22:21
Re: better bb_bar (29 replies, posted in PunBB 1.3 extensions)
ok i get this error at the top of my forum page after i installed the Forum Fixes and Images Beta Extension.
Notice: Undefined index: Mark all as read in /home/supermag/domains/sports2all.com/public_html/forum/index.php(56) : eval()'d code on line 11
400 2009-03-14 22:03
Re: better bb_bar (29 replies, posted in PunBB 1.3 extensions)
hey Rich, could you please release the [ Forum Fixes and Images Beta] extension please. Sorry i am not a very patient person.