Topic: Toolbar buttons

Alfred, now the  way we enter and view the material in posts has settled, somewhat, I would like  the  addition of "Undo/redo last entry" as  arrows on the tool bar.

I know they are available as keyboard shortcuts, but I like them on the toolbar.

[Moderator note: Split from ‘Welcome!’ topic]

2 (edited by jackneve 2022-02-06 17:57:08)

Re: Toolbar buttons

BTW, what is the function of the code bracketed asterisks - I show them using {}
{*}XYZ{?*}

I believe from reading the BBCode help link  they are used to generate a bulleted list. However, trying an example, even lifting the one from the BBCode help link, causes a page "crash"

It looks as if it is the list code which causes the crash. The asterisk code doesn't seem to do anything. Obviously it should, but what? Perhaps it would if the list code worked

[*]item1[/*][*]item2[/*]

Re: Toolbar buttons

jackneve wrote:

Alfred, now the  way we enter and view the material in posts has settled, somewhat, I would like  the  addition of "Undo/redo last entry" as  arrows on the tool bar.

I know they are available as keyboard shortcuts, but I like them on the toolbar.

I haven’t looked into the technicalities of writing or editing the code for forum extensions, Jack, but if it’s easily doable I would be happy to add the feature that you’ve requested.

"Has it ever struck you that life is all memory, except for the one present moment that goes by you so quick you hardly catch it going?"
― Tennessee Williams

Re: Toolbar buttons

jackneve wrote:

BTW, what is the function of the code bracketed asterisks - I show them using {}
{*}XYZ{?*}

I believe from reading the BBCode help link  they are used to generate a bulleted list. However, trying an example, even lifting the one from the BBCode help link, causes a page "crash"

It looks as if it is the list code which causes the crash. The asterisk code doesn't seem to do anything. Obviously it should, but what? Perhaps it would if the list code worked

[*]item1[/*][*]item2[/*]

Bulleted lists don’t seem to work for me, either. sad

"Has it ever struck you that life is all memory, except for the one present moment that goes by you so quick you hardly catch it going?"
― Tennessee Williams

Re: Toolbar buttons

Alfred, you obviously are aware of lists of BBCodes.

I found this next link interesting

https://www.bbcode.org/reference.php

Question: Does your forum host provide a limited set of BBCodes, or did you choose the current selection.

I will try a few of the codes in the list, outside the given set, if that's OK with you.

6 (edited by Joe 2022-02-07 11:06:32)

Re: Toolbar buttons

I have a PHP newsletter signup/compilation/send program which uses these tags {} as tokens. In the newsletter if you enter Dear {FirstName}, when sending it will pick the first name of each subscriber from a database and insert it place of the token. Others available are:

{LastName}
{Email}
{Phone}
{Website}
{Gender}
{Age}
{Birthday}
{Address}
{City}
{State}
{Country}
{Zip}
{CompanyName}
{Unsubscribe}

Joe

I used to be indecisive, now I'm not so sure.

Re: Toolbar buttons

Did a few tests. Looks as if:
(1) The tool bar bulleted list icon does intend to produce a list - it generates a code of the form:
{list}{/list} This is based on the expanded  code table, which also  has {ol} and {ul} forms.
(2) From other items in the expanded code table, {*}{/*} identifies each line in a list generated by the {list} form.

Since writing that, which is still true, I found , further, the  page https://www.bbcode.org/examples/?id=12

Re: Toolbar buttons

jackneve wrote:

Question: Does your forum host provide a limited set of BBCodes, or did you choose the current selection.

The set of supported BBCodes is determined by the forum software (perhaps as amended by extensions, where applicable).

"Has it ever struck you that life is all memory, except for the one present moment that goes by you so quick you hardly catch it going?"
― Tennessee Williams

Re: Toolbar buttons

jackneve wrote:

Did a few tests. Looks as if:
(1) The tool bar bulleted list icon does intend to produce a list - it generates a code of the form:
{list}{/list} This is based on the expanded  code table, which also  has {ol} and {ul} forms.
(2) From other items in the expanded code table, {*}{/*} identifies each line in a list generated by the {list} form.

Since writing that, which is still true, I found , further, the  page https://www.bbcode.org/examples/?id=12

Thanks for the info, Jack!

"Has it ever struck you that life is all memory, except for the one present moment that goes by you so quick you hardly catch it going?"
― Tennessee Williams

Re: Toolbar buttons

Alfred, is it possible to add a file in general?

I would like to post a PP page, but it would need to be a .ppp file.
On the other hand, I do realise that .ppp files are actually compressed zip files.

So one question might be " Can .zip files be uploaded to posts?"

And again, are you sure that there is no means of adding delete/undo delete last entry? Again, I realise it is more work for you, but I, and I am sure others, would find it very useful;I usually do a lot of editing/rewriting of my posts.

Re: Toolbar buttons

jackneve wrote:

Alfred, is it possible to add a file in general?

I would like to post a PP page, but it would need to be a .ppp file.
On the other hand, I do realise that .ppp files are actually compressed zip files.

So one question might be " Can .zip files be uploaded to posts?"

The attachments feature that you’ve used a few times for posting things like PDF files only seems to be available when posting a new topic, not when posting replies.

jackneve wrote:

And again, are you sure that there is no means of adding delete/undo delete last entry? Again, I realise it is more work for you, but I, and I am sure others, would find it very useful;I usually do a lot of editing/rewriting of my posts.

When I searched for help on this I only succeeded in turning up information about phpBB, and that was negative, so I very much doubt that it can be done for PunBB. I don’t know for certain whether it’s a standard feature of the Markdown implementation used on CommunityPlus, but I’d be surprised if that required any custom programming. I’m sorry I don’t have better news for you.

"Has it ever struck you that life is all memory, except for the one present moment that goes by you so quick you hardly catch it going?"
― Tennessee Williams

12

Re: Toolbar buttons

The attachments feature that you’ve used a few times for posting things like PDF files only seems to be available when posting a new topic

It also is available when editing a previously submitted post.

https://i.postimg.cc/rR1vcBhD/edit.gif

Re: Toolbar buttons

GB wrote:

The attachments feature that you’ve used a few times for posting things like PDF files only seems to be available when posting a new topic

It also is available when editing a previously submitted post.

https://i.postimg.cc/rR1vcBhD/edit.gif

Thanks for that, Geoff. I thought I’d seen it elsewhere before!

The really strange thing is that I can see an Attachments section while composing this reply, so I’m now unsure what criteria determine whether it’s available or not.

"Has it ever struck you that life is all memory, except for the one present moment that goes by you so quick you hardly catch it going?"
― Tennessee Williams