Is this the latest version? advanced_bbcode_box_5.0.0a-6.zip
and does it cover pafiledb and shoutbox?
Moderator: Integra Moderator
##################################################################### Title]http://-tag bbcode## Author: Evolver## Description: A new [web height=#]-tag with custom height## This new tag replaces the normal [Web]-tag in selection and asks for a height (maximum 999)## The original tag just stays to keep it working with older messages## ## Topic Review displays webtags as "([url=http://www.website.com]http://www.website.com[/url])", not as Iframes anymore,## so no more overstetched posting-page by reply...## Why should an Iframe be displayed in topic review anyway?###### Installation Level: Easy## Installation Time: 2 minutes## Files To Edit (5): ## includes/bbcode.php,## includes/topic_review.php## templates/*/bbcode.tpl## mods/bbcode_box/bbcode_box.js## mods/bbcode_box/bbcode_box_a.js## Included Files: n/a####################################################################### Author Note:#### Be sure to edit all templates you have loaded####################################################################### Before Adding This Hack To Your Forum,## You Should Back Up All Files Related To This hack################################################################### ##-----[ OPEN ]------------------------------------------# includes/bbcode.php ##-----[ FIND ]------------------------------------------# $bbcode_tpl['web'] = str_replace('{URL}', '\1', $bbcode_tpl['web']); ##-----[ AFTER, ADD ]------------------------------------------# $bbcode_tpl['flexiweb'] = str_replace('{URL}', '\2', $bbcode_tpl['flexiweb']); $bbcode_tpl['flexiweb'] = str_replace('{HEIGHT}', '\1', $bbcode_tpl['flexiweb']); ##-----[ FIND ]------------------------------------------# // [web]Web Iframe URL[/web:11onomf5] code.. $patterns[] = "#[web:$uid:11onomf5]http://(.*?)[/web:$uid]#si"; $replacements[] = $bbcode_tpl['web']; ##-----[ AFTER, ADD ]------------------------------------------# // [web]flexiWeb height=X Iframe URL[/web:11onomf5] code.. $patterns[] = "#[web height=([0-9:11onomf5]http://?[0-9]?[0-9]):$uid](.*?)[/web:$uid]#si"; $replacements[] = $bbcode_tpl['flexiweb']; ##-----[ FIND ]------------------------------------------# // [web]Web Iframe URL[/web:11onomf5] code.. $text = preg_replace("#[web:11onomf5]http://(http(s)?://)([a-z0-9-.,?!%*_#:;~\&$@/=+]+)[/web]#si", "[web:$uid]\1\3[/web:$uid]", $text); ##-----[ AFTER, ADD ]------------------------------------------# // [web]flexiWeb Iframe URL[/web:11onomf5] code.. $text = preg_replace("#[web height=([0-9:11onomf5]http://?[0-9]?[0-9])](http(s)?://)([a-z0-9-.,?!%*_#:;~\&$@/=+]+)[/web]#si", "[web height=\1:$uid]\2\4[/web:$uid]", $text); ##-----[ OPEN ]------------------------------------------# templates/*/bbcode.tpl ##-----[ FIND ]------------------------------------------# <BEGIN><iframe></iframe><END> ##-----[ AFTER, ADD ]------------------------------------------# <BEGIN><iframe></iframe><END> ##-----[ OPEN ]------------------------------------------# mods/bbcode_box/bbcode_box.js ##-----[ FIND ]------------------------------------------# web_help="Insert web page: [web]Page URL[/web:11onomf5]"; ##-----[ REPLACE WITH ]------------------------------------------# web_help="Insert web page: [web height=#:11onomf5]http://Page URL[/web:11onomf5]"; ##-----[ FIND ]------------------------------------------# function BBCweb() { var ToAdd = ""; var Result1 = 0; while (Result1 == 0) { var Prompt1 = showPrompt("Enter URL of web page to include.","http://",1,"You didn't enter a valid URL.","",""); if (Prompt1 == "^pcncl-1") { Result1 = 1; } else if (Prompt1 != "^perr-1") { ToAdd = "[web:11onomf5]http://"+Prompt1+"[/web:11onomf5]"; Result1 = 1; } } PostWrite(ToAdd);} ##-----[ REPLACE WITH ]------------------------------------------# function BBCweb() { var ToAdd = ""; var Result1 = 0; while (Result1 == 0) { var Prompt1 = showPrompt("Enter URL of web page to include.","http://",1,"You didn't enter a valid URL.","",""); if (Prompt1 == "^pcncl-1") { Result1 = 1; } else if (Prompt1 != "^perr-1") { var Result2 = 0; while (Result2 == 0) { var Prompt2 = showPrompt("Enter the height of the iframe.","350",1,"You didn't enter a height.",/^[d]+$/,"Only numbers are allowed."); if (Prompt2 == "^pcncl-1") { Result2 =1; } else if (Prompt2 != "^perr-1") { ToAdd = "[web height="+Prompt2+":11onomf5]http://"+Prompt1+"[/web:11onomf5]"; Result2 = 1; } } Result1 = 1; } } PostWrite(ToAdd);} ##-----[ OPEN ]------------------------------------------# mods/bbcode_box/bbcode_box_a.js ##-----[ FIND ]------------------------------------------# web_help="Insert web page: [web:11onomf5]http://Page URL[/web:11onomf5]"; ##-----[ REPLACE WITH ]------------------------------------------# web_help="Insert web page: [web height=#:11onomf5]http://Page URL[/web:11onomf5]"; ##-----[ FIND ]------------------------------------------# function BBCweb() { var ToAdd = ""; var Result1 = 0; while (Result1 == 0) { var Prompt1 = showPrompt("Enter URL of web page to include.","http://",1,"You didn't enter a valid URL.","",""); if (Prompt1 == "^pcncl-1") { Result1 = 1; } else if (Prompt1 != "^perr-1") { ToAdd = "[web:11onomf5]http://"+Prompt1+"[/web:11onomf5]"; Result1 = 1; } } PostWrite(ToAdd);} ##-----[ REPLACE WITH ]------------------------------------------# function BBCweb() { var ToAdd = ""; var Result1 = 0; while (Result1 == 0) { var Prompt1 = showPrompt("Enter URL of web page to include.","http://",1,"You didn't enter a valid URL.","",""); if (Prompt1 == "^pcncl-1") { Result1 = 1; } else if (Prompt1 != "^perr-1") { var Result2 = 0; while (Result2 == 0) { var Prompt2 = showPrompt("Enter the height of the iframe.","350",1,"You didn't enter a height.",/^[d]+$/,"Only numbers are allowed."); if (Prompt2 == "^pcncl-1") { Result2 =1; } else if (Prompt2 != "^perr-1") { ToAdd = "[web height="+Prompt2+":11onomf5]http://"+Prompt1+"[/web:11onomf5]"; Result2 = 1; } } Result1 = 1; } } PostWrite(ToAdd);} ##-----[ OPEN ]------------------------------------------# includes/topic_review.php ##-----[ FIND ]------------------------------------------# $bbcode_uid = $row['bbcode_uid']; ##-----[ AFTER, ADD ]------------------------------------------# $message = preg_replace("#[web:$bbcode_uid]#si", '[align=center:'.$bbcode_uid.'][size=99px]( ', $message); $message = preg_replace("#[web height=([0-9]?[0-9]?[0-9]):$bbcode_uid]#si", '[align=center:'.$bbcode_uid.'][size=99px]( ', $message); $message = preg_replace("#[/web:$bbcode_uid]#si", ' )[/size][/align:'.$bbcode_uid.']', $message); ##-----[ SAVE/CLOSE/UPLOAD ALL FILES ]------------------------------------------## EoM
"clanpunisher";p="10096" wrote:very good job
its a highlight I won't miss in my forum
i also add a wwo logo for itemstats, so i can post items also ^^
the only thing what could be better: is the table function, that is really confusing :/
which u can see/try in offtopic:
http://www.warcraftclan.de/forum/viewforum.php?f=13
"goodgad";p="18203" wrote:when i try and download this theres only a download.php file is this right ?
Registered users: Bing [Bot], Google [Bot]