Page 1 of 1

Issue on post image

PostPosted: Sun Dec 09, 2007 3:13 pm
Author: jomasaco
Your phpBB Version: 2.0.
phpBB Type: phpBB / IMPortal
MODs: Yes
Your knowledge: Beginner
Board URL: [url]http://[/url]

PHP Version:
MySQL Version:


What was done before the problem appeared?
Nothing


What was done to try to solve the problem?
Nothing i don't have knowledge for that (:



De.scription and Message

Hi, i edit the image code to simple post the image url and nothing more, since i have the album disable and the alignament are unecessary.

now we have an issue, can insert an non image like this [flash=,:3gq1449c]test[/flash:3gq1449c], i can't fix that so i request your help on this.
Can you fix this to, if the end of the adress is not an gif,bmp,png... gives the error "You didn't enter the image URL."
I also include the youtube, and googlevideo
my code on bbcode_box.js and bbcode_box_a.js
Code: Select all
function BBCimg() {     var ToAdd = "";     var imgType = "img";     var Result1 = 0;     while (Result1 == 0)     {         var Prompt1 = showPrompt("Enter the image URL","http]"+Prompt1+"[/flash:3gq1449c]";             Result1 = 1;         }     }     PostWrite(ToAdd);}