| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
MGadAllah
Joined: 26 Mar 2008 Posts: 39
|
Posted: Thu May 01, 2008 11:38 pm Post subject: Adding html codes to forum descriptions |
|
|
Hi
I'd like to add an image to the forum description, and I've used the html codes but nothing displayed as it is suppose to be.
I've added the following in the description field | Code: | | <table border="0"> <tr> <td><img src="http://www.pro-cybers.com/forum/forums icons/Announcements.png"</td> <td>The latest and important news about Professional Cybers community. Please read and check occasionally to be updated with the latest.</td></tr> </table> |
Please advise what can I do to let html codes working on the forum descriptions fields?
Thanks |
|
|
| Back to top |
|
 |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3116
|
Posted: Fri May 02, 2008 1:51 pm Post subject: Re: Adding html codes to forum descriptions |
|
|
| Try bbcodes, I'm not sure they will be parsed, but what's for sure is you won't be able to post html directly using phpBB3, it's always escaped by request_var(). |
_________________
|
|
| Back to top |
|
 |
MGadAllah
Joined: 26 Mar 2008 Posts: 39
|
Posted: Fri May 02, 2008 2:45 pm Post subject: Re: Adding html codes to forum descriptions |
|
|
I've tried the bbcode for inserting an image but it did not worked out.
any thing else can try? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
Posted: Tue May 06, 2008 11:26 am Post subject: Re: Adding html codes to forum descriptions |
|
|
Do not use the config's description for what you want to do, you could use a language key instead and display it where you want in the template.
With phpBB3, if you add a language key in the language files, it will directly be available in the template (without further code change).
If your language key is (in language files):
| Code: | | 'MY_LANG_KEY' => 'something as well as html if you want to', |
You'll be able to use directly :
in templates files, as long of course as the language file where the language key is included, use languages/langcode/common.php to be able to use the extra language key in all phpBB files.
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |