Lists advanced

Get help developing custom BBCodes or request one.
lunarious87
Registered User
Posts: 119
Joined: Fri Sep 03, 2021 9:47 am

Lists advanced

Post by lunarious87 »

Hi, is this possible?

I have list:
  1. Fhjkg
  2. Vnkkgd
  3. Bmkkjj
I want to keep 1, 3 and 5 but I don't want to see 2 and 4.

Thanks
Last edited by thecoalman on Wed Jun 05, 2024 7:24 pm, edited 1 time in total.
Reason: Moved to Custom BBCode Development and Requests
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6351
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: Lists advanced

Post by thecoalman »

Is it always going to be just 1,3,5?
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
cabot
Registered User
Posts: 788
Joined: Sat Jan 07, 2012 4:16 pm

Re: Lists advanced

Post by cabot »

Hello,

You could create a BBCode with the value attribute for custom list items to use with the native ordered list BBCode.

BBCode usage:

Code: Select all

[listitem={NUMBER}]{TEXT}[/listitem]
HTML replacement:

Code: Select all

<li value="{NUMBER}">{TEXT}</li>
Example:

Code: Select all

[list=1]
[listitem=1]Lorem ipsum[/listitem]
[listitem=3]Lorem ipsum[/listitem]
[listitem=5]Lorem ipsum[/listitem]
[/list]
lunarious87
Registered User
Posts: 119
Joined: Fri Sep 03, 2021 9:47 am

Re: Lists advanced

Post by lunarious87 »

  1. [listitem=1]Fajirbønn[/listitem]
    [listitem=3]Frokost[/listitem]
    [listitem=5]Planlegging[/listitem]



What's wrong?

Edit: also thanks.
lunarious87
Registered User
Posts: 119
Joined: Fri Sep 03, 2021 9:47 am

Re: Lists advanced

Post by lunarious87 »

thecoalman wrote: Wed Jun 05, 2024 7:25 pm Is it always going to be just 1,3,5?
No, i want to choose the values.
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53550
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}

Re: Lists advanced

Post by Brf »

cabot wrote: Thu Jun 06, 2024 2:10 pm You could create a BBCode
lunarious87 wrote: Fri Jun 07, 2024 3:33 pm What's wrong?
This board does not have the custom BBcode cabot is suggesting. You would have to create it for your own board.
lunarious87
Registered User
Posts: 119
Joined: Fri Sep 03, 2021 9:47 am

Re: Lists advanced

Post by lunarious87 »

I understand @Brf and @cabot and the HTML in the link in cabots post.

How do i create the BBCode cabot is suggesting? Is there not an extension for it?
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6351
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: Lists advanced

Post by thecoalman »

Custom BBcodes is built in feature for phpBB. If you open the posting tab it should be the first page, in lower right "Add a new BBcode".

There is other examples here: https://www.phpbb.com/customise/db/custom_bbcodes-26
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
lunarious87
Registered User
Posts: 119
Joined: Fri Sep 03, 2021 9:47 am

Re: Lists advanced

Post by lunarious87 »

Thanks 🙏 👍
lunarious87
Registered User
Posts: 119
Joined: Fri Sep 03, 2021 9:47 am

Further Question on Advanced Lists

Post by lunarious87 »

Code: Select all

[list=1]
[listitem=1]mhkjtd[/listitem]
[listitem=3]jhhrt[/listitem]
[listitem=5]awrhåji[/listitem]

[listitem=7]tegmlå[/listitem]
[list]
[*] Zazen
[*] Dusj
[/list][/list]
I want also to create sub-lists (in the example, Zazen and Dusj) after i now have created listitem on Posting Tab @ ACP.

Can you help me on this?
lunarious87
Registered User
Posts: 119
Joined: Fri Sep 03, 2021 9:47 am

Re: Lists advanced

Post by lunarious87 »

cabot wrote: Thu Jun 06, 2024 2:10 pm ...
I don't know why the topic is not updating. Can you help me further @cabot?
User avatar
cabot
Registered User
Posts: 788
Joined: Sat Jan 07, 2012 4:16 pm

Re: Lists advanced

Post by cabot »

Simply include the sub-list in a list item ^^

Code: Select all

[list=1]
[listitem=1]mhkjtd[/listitem]
[listitem=3]jhhrt[/listitem]
[listitem=5]awrhåji[/listitem]

[listitem=7]tegmlå
[list]
[*] Zazen
[*] Dusj
[/list]
[/listitem]
[/list]
lunarious87
Registered User
Posts: 119
Joined: Fri Sep 03, 2021 9:47 am

Advanced lists

Post by lunarious87 »

Hi,

Cabot and others helped here with [advanced lists at Posting tab @ACP].

I think of to things unresolved, through Cabots help for lists. Through his suggestion
  • i can't denominate list points with abc, or bullet points, i can just numbers.
  • I can't create sublists
Do you have advice to offer?
Last edited by thecoalman on Sun Jun 30, 2024 9:29 pm, edited 1 time in total.
Reason: Merged with existing topic.

Return to “Custom BBCode Development and Requests”