MyBB Hacks

Full Version: Blank Replacement Value - image default?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi, when I create a new thread in my forum, if I don't put a picture of "preview" in custom Custom Thread Field (URL or File), I see as an error.

I tried to put this code in Blank Replacement Value:

Code:
<img src="http://mysite.com/forum/images/noimage.jpg" alt="" title="" />


but it doesnt' work..I see still error, image of preview there isn't and if I use firebug on it I see:

[Image: 72abfd.jpg]

Code:
<img src="/thumb150x120" width="" height="" alt="test">

What is the Display Format set to?
(05-01-2013 10:10 AM)Seabody Wrote: [ -> ]What is the Display Format set to?

Hi, Display Format is empty and I don't know what write in it :/
(04-30-2013 11:24 PM)nier3 Wrote: [ -> ]..I see still error

What error?
This:

[Image: 72abfd.jpg]

that is I don't see the image if I don't upload Frown
Are you sure the image is exists in the path/URL?
How are you attempting to display this in the templates? Could you post the variable you are using?
Hi, in Blank Replacement Value I have:

Code:
<img src="http://mysite/forum/images/imagedefault.jpg" alt="" title="" />


In Display Format empty.

In newthread template:

Code:
<tr><td style="background:rgb(244, 250, 252);"><div align="left" style="font-weight:bold;font-size: 12px;padding:3px 4px;"><span style="padding: 3px 6px 3px 6px;background:#36ACD2;color:#fff;">3</span> <span>Add image:  {$tfinput['portalimg']}</div></td>


Image works..maybe it isn't in thumb version?

Why are you giving the newthread template?  Is that even relevant to your issue?
You're not giving enough information, we can't guess your problem.
I solved it by adding to the root of the server images of default, I've renamed it with "thumb200x200", "thumb150x120", "thumb400x400" etc and deleted Blank Replacement Value. thank you anyway
Pages: 1 2
Reference URL's