11
ghia
Re: news 1.63 spotlight image
  • 2009/4/8 8:02

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


[img]https://xoops.org/uploads/smil3dbd4bf386b36.gif[/img]
is supposed to be entered in the field before the button with the image manager, while editing the block.
What is the html result, if you use this code in eg a forum post or an article news text.
The example above should show a smilie (you can use also the one of your site).

12
3lr0n
Re: news 1.63 spotlight image
  • 2009/4/8 21:12

  • 3lr0n

  • Not too shy to talk

  • Posts: 167

  • Since: 2004/3/13


The img tag works on all site, the problem is not the tag, i think the problem is that

$myts->displayTarea($options[7], $spotlightArticle->nohtml

displays a text link to the uploaded image, not a <img>..

BTW I dont know the options of the 3nd argument, the nohtml.. could be there must be another argument to show the plain text? (so i can put in between <img> code?)

Spanish Overclocking Community xoops based site : www.overclocking.es

13
ghia
Re: news 1.63 spotlight image
  • 2009/4/9 1:25

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


There is nothing wrong here with the php code of News 1.63.
Restore the original files!
What is your php version?

What is your html result (view source in the browser) when using
[img]https://xoops.org/uploads/smil3dbd4bf386b36.gif[/img]
in a news article and when using it in the image field for the block?

Login

Who's Online

165 user(s) are online (97 user(s) are browsing Support Forums)


Members: 0


Guests: 165


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits