Icons on describtion of a board

Started by nightyyx, August 21, 2010, 07:29:41 PM

Previous topic - Next topic

nightyyx

I wrote a text using emotions shortcuts like :lol :;): as describtion to some child boards of my forum but dint took them. Shows em as i wrote em (text) for example :lol:.

So you cannot use emoticons i suppose on your describtion of boards?

mirahalo

on your boardIndex.template.php find this:


<td class="windowbg2">
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
', $board['description'];




and replace it with this:


<td class="windowbg2">
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
', parse_bbc($board['description']);

nightyyx

#2
I couldn't find it.
The only similar that i found was
this one

echo '
<tr class="windowbg2">
<td class="icon windowbg"', !empty($board['children']) ? ' rowspan="2"' : '', '>
<a href="', ($board['is_redirect'] || $context['user']['is_guest'] ? $board['href'] : $scripturl . '?action=unread;board=' . $board['id'] . '.0;children'), '">';


are you sure this is right?

i uploaded also my indextemplate php

mirahalo

try searching for this:   $board['description']

and replace it with this   parse_bbc($board['description'])


or attach your file here.

nightyyx


nightyyx

Quote from: 130860 on August 21, 2010, 08:38:27 PM
try searching for this:   $board['description']

and replace it with this   parse_bbc($board['description'])


or attach your file here.

did also this but didnt worked...

mirahalo


nightyyx


mirahalo

can I have a link to your forum?    did you actually put some bbc code or smilies on a description?

nightyyx

sended you a pm with my forum link.
i putted just smiles.

Kill Em All

nightyyx, do you still require assistance with this topic?


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

nightyyx

we never solved it but anyway i dont need its much now anyway :)

Kill Em All

Ok then. I'll mark this solved.

edit: i believe HTML would work too.


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

mirahalo

I honestly don't know why it didn't work, I tested the the code I gave him before I posted.

Kill Em All

Strange, maybe a theme thing? What was the code?


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.


Kill Em All

Strange, I don't even have that code in my Boardindex.template.php.


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

mirahalo

on 1.1.11 is around line 135




for 2.0 is around line 152:



Kill Em All

Ah, I found it. And I tried the code, it works just fine for me too.


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

mirahalo

I thought he had a custom theme with its own boardindex.template, or maybe a cache problem, otherwise I can't figure it out why it didn't work for him.

Advertisement: