Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => SMF Feedback and Discussion => Aiheen aloitti: idahojoe - maaliskuu 13, 2006, 05:21:08 IP

Otsikko: HTML in "Edit Forum News"
Kirjoitti: idahojoe - maaliskuu 13, 2006, 05:21:08 IP
All I am trying to do is put some code into the "Edit Forum News" and it won't allow it. It ends up showing the actaul code. I am trying to get it to show a logo and link to the website. Anyone else having these issues? Here is an example code that I'm putting in:

<td><center><a href="http://www.waterfowldecals.com/"><img src="http://pnwhf.net/Themes/classic/images/wd_advertising_banner.jpg"></a><center></td>

Any suggestions????
Otsikko: Re: HTML in "Edit Forum News"
Kirjoitti: anunlike - maaliskuu 13, 2006, 06:44:37 IP
Try getting rid of the "<td>" and ''</td>".
Otsikko: Re: HTML in "Edit Forum News"
Kirjoitti: Thantos - maaliskuu 13, 2006, 07:30:15 IP
Use BBC code instead of html
Otsikko: Re: HTML in "Edit Forum News"
Kirjoitti: anunlike - maaliskuu 13, 2006, 08:13:11 IP
Html should work, shouldn't it?
Otsikko: Re: HTML in "Edit Forum News"
Kirjoitti: Thantos - maaliskuu 13, 2006, 08:53:54 IP
Not unless you put  tags around it and even them I'm not 100% sure if it'll work.
Otsikko: Re: HTML in "Edit Forum News"
Kirjoitti: anunlike - maaliskuu 13, 2006, 09:07:40 IP
OK. Well, FYI, the description reads: "... Some BBC tags, such as ... are allowed in your news, as well as smileys and HTML. ..."
Otsikko: Re: HTML in "Edit Forum News"
Kirjoitti: idahojoe - maaliskuu 13, 2006, 09:10:57 IP
anunlike,

That's what I thought. I mean if it says you can use html code you should be able to. Guess not though. ???
Otsikko: Re: HTML in "Edit Forum News"
Kirjoitti: anunlike - maaliskuu 13, 2006, 09:22:13 IP
Or it's just not perfected, yet. ???
Otsikko: Re: HTML in "Edit Forum News"
Kirjoitti: idahojoe - maaliskuu 13, 2006, 10:25:43 IP
I don't know BBC code, does anyone have a readme or howto for somple code like the above example I gave?  ??? ::)
Otsikko: Re: HTML in "Edit Forum News"
Kirjoitti: Sverre - maaliskuu 14, 2006, 04:16:17 AP
http://www.simplemachines.org/community/index.php?action=help;page=post#bbcref
Otsikko: Re: HTML in "Edit Forum News"
Kirjoitti: Thantos - maaliskuu 14, 2006, 08:44:17 AP
Ok I did a little bit of testing and HTML works fine in 1.1.  However in 1.0 it doesn't like the img tag.  So simply change your news item to

<center><a href="http://www.waterfowldecals.com/">(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fpnwhf.net%2FThemes%2Fclassic%2Fimages%2Fwd_advertising_banner.jpg&hash=1956678c3efcafa8ce3d145033d42c04e9a9e388)</a></center>

<center><a href="http://www.waterfowldecals.com/">[img]http://pnwhf.net/Themes/classic/images/wd_advertising_banner.jpg[/img]</a></center>
Otsikko: Re: HTML in "Edit Forum News"
Kirjoitti: idahojoe - maaliskuu 14, 2006, 02:30:17 IP
Still looks like it doesn't show right. It will show the actual banner now but it shows the code in front and behind the logo.  :o ???