Couple small forum fixes

mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2005-09-18 03:38

Hi all-
Just wanted to mention a couple small fixes I made to the forums today..
The "# new" links from the topic list should now correctly take you to the new posts.. this involved 2 fixes: one was fixing the xhtml rendering to get the anchor in the right place; the other fixed the links for long topics where the new posts aren't on the first page of posts.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-09-19 03:28

Now I have changed the default input format to nohtml+bbcode+linebreaks instead of that filtered html thing.
This should allow posting any type of code without having to muck with escaping some characters like < and >.
Examples:

<?php print "This is some <b>PHP</b> code"; ?>
<script type="text/javascript">
  // <![CDATA[
  function doclick(a) {
    a.href += '?click=yes';
    return true;
  }
  // ]]>
</script>
<div style="background-color: grey">
  <a href="http://nowhere.com/index.php" onclick="return doclick(this)">test</a>
</div>

Hopefully this will better suit the needs of our forum users.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sat, 2005-09-24 15:58

The latest update: attachments now supported on comments/replies in forum topics.

 
HorsePunchKid
HorsePunchKid's picture

Joined: 2005-05-04
Posts: 89
Posted: Mon, 2005-10-10 20:40

On the topic of #new links, it would be great if the links from my user "track" page actually got me to the lastest post that is new to me.

--
http://severinghaus.org/gallery/

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2005-10-11 01:23

ya, i just noticed that one last week... http://sourceforge.net/pm/task.php?func=detailtask&project_task_id=119951&group_id=7130&group_project_id=44519
you mention a slightly different url, though probably generated by the same code. i'll note it in the task anyway.