topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday March 29, 2024, 10:18 am
  • 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: Improved list button in forum post form  (Read 7965 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Improved list button in forum post form
« on: October 22, 2005, 09:45 PM »
after cutting my teeth on some javascript this afternoon to obfuscate emails/donation links to protection them from email spam harvester bots, i decided to improve the listbotton in the forum post editor.

now if you type a long list of lines, you can simply select them, and hit the list button (its the one that looks like a bunch of bullet point, far bottom right), and a list will be made from them with each one bulleted.

e.g. type this:
item1
item2
item3
item4
item5
item6
item7


then select those lines 1-7
and hit the list/bulleting button to get this:
[list]
[li]item1[/li]
[li]item2[/li]
[li]item3[/li]
[li]item4[/li]
[li]item5[/li]
[li]item6[/li]
[li]item7[/li]
[/list]


which looks like this when posted:
  • item1
  • item2
  • item3
  • item4
  • item5
  • item6
  • item7

« Last Edit: October 22, 2005, 09:47 PM by mouser »

clif_notes

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 199
  • Clif Notes Newsletter
    • View Profile
    • Clif Notes Newsletter
    • Donate to Member
Re: Improved list button in forum post form
« Reply #1 on: October 22, 2005, 10:14 PM »
  • I like it.
  • I like it.
  • I like it.
  • I like it.
  • I like it.
  • I like it.
  • I like it.

Devoted to promoting freeware and free information

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,066
    • View Profile
    • Donate to Member
Re: Improved list button in forum post form
« Reply #2 on: October 23, 2005, 05:46 AM »
Wow - you are a true star ... I hope you are going to submit that 'fix' to SMF 'cos they really need that ...