(http://www.muyu61.org/resim/link.jpg)
Is there any chance you could quote or modify that message and post the code here inside [ code ] tags?
-[Unknown]
QuoteIs there any change you could quote
;)
Yeah, yeah, it's 2:00 am. Better now?
-[Unknown]
Lol, 4 a.m. here... I am an insomniac. :-X
code:
[img]
http://us.news2.yimg.com/us.yimg.com/p/ap/20040313/capt.pda10103130359.kings_trail_blazers_pda101.jpg[/img]
output:
http://us.news2.yimg.com/us.yimg.com/p/ap/20040313/capt.pda10103130359.kings_trail_blazers_pda101.jpg" alt="" border="0" />
????
I found the problem, the user put a line break after the first [img*] tag.
This works:
[img]http://yoursite.com/image.gif[/img]
But this does not:
[img]
http://yoursite.com/image.gif[/img]
Remove the line break after the first [img*] tag and it will fix it.
Okay, I should have known there was a reason I did it that way... Subs.php, find:
$php_parts[$php_i] = preg_replace(array('~(?<=[\s>(;\'"\]])(\w+://[\w\-_@:|]+(?:\.[\w\-_]+)*(?::\d+)?(?:/(?:[\w\-_\~%\.@,\?&;=#+:\']|\([\w\-_\~%\.@,\?&;=#()+:\']*)*)*[/\w\-_\~%@\?=#])~', '~(?<=[\s>(\'\]])(www(?:\.[\w\-_]+)+(?::\d+)?(?:/(?:[\w\-_\~%\.@,\?&;=#+:\']|\([\w\-_\~%\.@,\?&;=#()+:\']*)*)*[/\w\-_\~%@\?;=#])~i'), array('[url]$1[/url]', '[url=http://$1]$1[/url]'), $php_parts[$php_i]);
Replace:
$php_parts[$php_i] = preg_replace(array('~(?<=[\s>(;\'"])(\w+://[\w\-_@:|]+(?:\.[\w\-_]+)*(?::\d+)?(?:/(?:[\w\-_\~%\.@,\?&;=#+:\']|\([\w\-_\~%\.@,\?&;=#()+:\']*)*)*[/\w\-_\~%@\?=#])~', '~(?<=[\s>(\'])(www(?:\.[\w\-_]+)+(?::\d+)?(?:/(?:[\w\-_\~%\.@,\?&;=#+:\']|\([\w\-_\~%\.@,\?&;=#()+:\']*)*)*[/\w\-_\~%@\?;=#])~i'), array('[url]$1[/url]', '[url=http://$1]$1[/url]'), $php_parts[$php_i]);
-[Unknown]
Hey [Unknown], for some reason after you posted your last post it keeps killing Firefox 0.8(I had to kill the process because of it)... I had to switch to IE to view this topic and post this. :-\
I know, it's fixed in like the very next cvs nightly... I can't wait for 0.9.
-[Unknown]
thanks :)
Quote from: [Unknown] on March 14, 2004, 05:21:44 AM
I know, it's fixed in like the very next cvs nightly... I can't wait for 0.9.
-[Unknown]
Hmmm, well then nightly cvs here I come. :P
Apply [Unknown]'s fix a few posts up. ;)
the error was not corrected :(
The fix no sirvio
it was fixed on my site ;D
Quote from: [Unknown] on March 14, 2004, 05:12:29 AM
Okay, I should have known there was a reason I did it that way... Subs.php, find:
$php_parts[$php_i] = preg_replace(array('~(?<=[\s>(;\'"\]])(\w+://[\w\-_@:|]+(?:\.[\w\-_]+)*(?::\d+)?(?:/(?:[\w\-_\~%\.@,\?&;=#+:\']|\([\w\-_\~%\.@,\?&;=#()+:\']*)*)*[/\w\-_\~%@\?=#])~', '~(?<=[\s>(\'\]])(www(?:\.[\w\-_]+)+(?::\d+)?(?:/(?:[\w\-_\~%\.@,\?&;=#+:\']|\([\w\-_\~%\.@,\?&;=#()+:\']*)*)*[/\w\-_\~%@\?;=#])~i'), array('[url]$1[/url]', '[url=http://$1]$1[/url]'), $php_parts[$php_i]);
Replace:
$php_parts[$php_i] = preg_replace(array('~(?<=[\s>(;\'"])(\w+://[\w\-_@:|]+(?:\.[\w\-_]+)*(?::\d+)?(?:/(?:[\w\-_\~%\.@,\?&;=#+:\']|\([\w\-_\~%\.@,\?&;=#()+:\']*)*)*[/\w\-_\~%@\?=#])~', '~(?<=[\s>(\'])(www(?:\.[\w\-_]+)+(?::\d+)?(?:/(?:[\w\-_\~%\.@,\?&;=#+:\']|\([\w\-_\~%\.@,\?&;=#()+:\']*)*)*[/\w\-_\~%@\?;=#])~i'), array('[url]$1[/url]', '[url=http://$1]$1[/url]'), $php_parts[$php_i]);
-[Unknown]
I cant fix
Please wait then, because I'm going to be uploading a new package soon.
-[Unknown]
Oks -[Unknown]
It also killed my FireFox, but it works well if you use the imode mode :)
Thanks. It fixed my problem.
Is there a package soon to rectify the img problem or am I having a different problem?
After applying the img tags and placing a URL in I cannot see the image but the URL following the famous little red x and then alt="" border="0" />
Yes, it is fixed in the current download as long as you upload ALL the files in it, INCLUDING Sources/Subs.php.
-[Unknown]
Quote from: [Unknown] on March 21, 2004, 03:33:35 PM
upload ALL the files in it, INCLUDING Sources/Subs.php.
-[Unknown]
Ok, I am confused (easily done though) I downloaded:
smf_1-0-beta4p_upgrade.zip
And installed ALL the files INCLUDING subs.php, is there an update I am missing?
Just download it again, it has been updated - last Sunday.
-[Unknown]
:) thanks
Thankyou Unknown for that advice, my [ img ] tags work perfectly ^_^
it still doesn't work on my website...
I've change subs.hp but no change in [img] tag problem...
help lol
Have you updated to beta 4.1?
Help, I want problem Tag IMG, URL GLOW
See-
Posting one Url Show
Quoteergroup.hu/" target="_blank">http://www.balazselem ergroup.hu/
Posting Glow show:
Quoteg="0" cellspacin g="0" style="display: inline; vertical-align: middle;">
Posting IMG show:
Quote.de/mini/minigif/essentrinken/mininahrung001.gif" alt="" border="0" />
Help, Im Use Beta 4.1
http://www.cmh-ip.net/foro/index.php/topic,744.msg2369#msg2369
help
darksteel-
Please try a detailed version check.
You have the "break up long lines" option on, but it's only set to like 10. Please try something like 80.
-[Unknown]
Where I can change it?
darksteel-
Admin -> Edit Features and Options -> Breakup long words. (I think...)
-[Unknown]
Thanks Unknown !!!!!!!!!!!!!!!
darksteel-
On version beta 4.1 the img problem is stilll here on my website (excuz for my english, I'mf french)
http://www.cg-creators.com/index.php?topic=162.0
break up long words set to 0
help
thx
Since it's password protected, could you create a test account.
must be good now...I've delete the password requirement...
Please try a detailed version check...
-[Unknown]
strange things ..
i add an image .. from another server ... and image is not showed up in post .. when i visit picture link directly in browser i can see an image .. and when i go back in post .. voila image is there ?
any idea?
thanx
That's called hotlinking, and is nothing SMF has anything to do with.
-[Unknown]
More info on hotlinking can be found at http://www.xentrik.net/htaccess/hotlinking.php