I am upgrading a site from D5 to D6 that uses the advanced forum. My problem is with the graphical buttons not showing up. I have attached a screen shot. The <img> is not printing because the HTML is actually:

  <div class="forum-top-links">
    <ul class="links forum-links">  
      <li class=" inactive-first  inactive-last ">
        <a href="/wacash6/forum/markasread">
          &lt;img src=&quot;/wacash6/sites/all/modules/advanced_forum/styles/blue_lagoon_stacked/images/mark-read.png&quot; alt=&quot;Mark read&quot; title=&quot;Mark read&quot; width=&quot;92&quot; height=&quot;26&quot;
          /&gt;
        </a>
      </li>
    </ul>
  </div>

The <img> is being renders as &lt;img

This is not happening on the D5 site I am migrating from and I can not figure out what is stripping/converting those tags, reminds me of what happens when input formats are not configured correctly. Any Ideas? thanks

CommentFileSizeAuthor
adv forum graphical button screenshot21.11 KBRockSoup

Comments

RockSoup’s picture

Assigned: Unassigned » RockSoup
Status: Active » Fixed

ok, I fixed my own problem.

I changed line 78 of advf-forums.tpl.php in /naked from:

<div class="forum-top-links"><?php print theme('links', $links, array('class' => 'links forum-links')); ?>

to:

<div class="forum-top-links"><?php print theme_links($links, array('class' => 'links forum-links')); ?>

and all is right again.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

I'm also experiencing this issue. I've tried using both the "naked" and "blue lagoon" themes.

I followed RockSoup's solution and modified advf-forums.tpl.php (line 33), and this fixed part of the problem. The "new topic" and "mark all as read" buttons are now appearing on the main forum page ("forum/1"). However, when I click on a specific topic ("forum/title"), the following img tags are not rendering:

post-reply.png
reply.png
delete.png
edit.png

I guess I'll have to search through the template files to track down the problem. When can we expect version 1.2 to roll out?

Thanks.