topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 8:50 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: Stand-alone DC forum post editor [modify existing AHK script]  (Read 5734 times)

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
    • View Profile
    • Donate to Member
I think this is something that would be fantastic for those times that you want to write a mini-review or long post with nice formatting.  The great thing is that someone has already compiled a general bbCode AHK script for doing this, and all someone would have to do is modify it to custom fit our DC forums.  I know there are a lot of people here who are fond of AHK, so I'm hoping someone would pick it up.  Here are the links for the information I've come across so far:

The AHK BBCodeWriter v6.6 - An offline BBCode Editor:
http://www.autohotke...forum/topic6161.html

Screenshot


Install file for AHK BBCodeWriter
http://file.autohotk...BBCodeWriter_6_6.exe

Source Code
http://file.autohotk...BBCodev66_Source.zip


Here are some instructions from the author about how to customize the script for specific forums:


So you wanna customize BBCodeWriter ;)

You'll need the source code for making any changes. You'll find the link to the
related posting in the '?' Menu under "About". Or you open

   www.autohotkey.com/forum/viewtopic.php?t=6161

in your preferred browser.


You have different possibilities. If you don't like the design of the preview page
simply change it by modifying "style.css" in the "phpbb" subfolder. The only thing is,
you have to know s.th about webdesign. With "style.css" you can change all
displaying aspects like color, positioning, fonts ...

If you would like to change s.th in the html code, you have to do that in
"BBCodePreview.ahk".

Look out for the sections "Create Head of HTML page" and "Create end of HTML page".
The code is appended to a temporary html file with the help of the FileAppend command.
HTML code changes have to be made in these sections.

The hardest task is to customize AHK BBCodeWriter to your favorite board
(assuming it's not phpbb).

Start out by creating a new subfolder within your script's working directory and name it
the way you like (e.g. "wbb", "ibb", "vb", ...). Then copy the content of
the "phpbb" folder to your new subfolder (copy the content, not the whole "phpbb" folder).

Now you have to change the #Include directives in main.ahk to your new subfolder.
Look out for #Include %A_ScriptDir%\phpbb\BBCodeEditor.ahk and change "phpbb"
in the line to your newly created subfolder. There are two #Include directives
that need to be changed in this way.

Now you can begin editing "BBCodeEditor.ahk" and "BBCodePreview.ahk" to your needs.
Add new icons, buttons, support for other bbcode Tags, ...


Happy customizing :-)





There is also a program out there from Pawsoft called FASS, that is a standalone editor for bbcode, but it can't do all the features of DC forums, and I doubt it would be as easily customizable as the AHK script.  Here is the link regardless:
http://www.pawsoft.com/?p=fass/home
« Last Edit: November 17, 2006, 11:33 AM by superboyac »

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
    • View Profile
    • Donate to Member
Re: IDEA: Stand-alone DC forum post editor [modify existing AHK script]
« Reply #1 on: November 17, 2006, 04:38 PM »
Skrommel, I just read that all of your coding snacks are done in AHK!  Perhaps you would be the perfect one for this project, if I could convince you to do it? :Thmbsup: I even noticed some of your programs on the AHK forums.  Nice!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: IDEA: Stand-alone DC forum post editor [modify existing AHK script]
« Reply #2 on: November 17, 2006, 08:42 PM »
i agree this would be really nice.

by the way Jammo suggested the two programs above and there was a short discussion of them here:

https://www.donation...69.msg42964#msg42964

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: IDEA: Stand-alone DC forum post editor [modify existing AHK script]
« Reply #3 on: November 17, 2006, 09:00 PM »
by the way i've made yet another a post on smf asking for them to fix the broken search functions:

http://www.simplemac...x.php?topic=127755.0