Author Topic: FORUM ANNOUNCEMENT: ATTACHMENT FILE HUGE PROBLEM!!!  (Read 175 times)

HGMuller

  • Global Moderator
  • Full Member
  • *****
  • Posts: 122
    • View Profile
Re: FORUM ANNOUNCEMENT: ATTACHMENT FILE HUGE PROBLEM!!!
« on: February 14, 2018, 04:11:44 am »
Well, the job still has to be done. The diagram script already exists (I use it on chessvariants.com to post diagrams), but it scans the page for 'anchors' in HTML of the form
<div class="idiagram"></div> enclosing with the diagram. It doesn't seem we can post HTML directly here, though (unlike chessvariants.com). So I will adapt the script to just do an initial pass over the page for HTML elements with class="post" (which is how the forum software wraps the text of individual postings), exract the text, and scan each such text for [diag][/diag] BBcode-style tags, replacing those by <div class="idiagram"></div> HTML tags, before running the existing script to expand the latter.

But I cannot do anything if the forum header here would not invoke the script. I have no admin permissions on this board.