Anchor & goto bbcode for phpbb 3.2 & phpbb3.1.x

basic support
Post Reply
admin
Site Admin
Posts: 3
Joined: July 23rd, 2016, 9:52 pm

Anchor & goto bbcode for phpbb 3.2 & phpbb3.1.x

Post by admin » November 11th, 2017, 3:57 pm

enter to ACP > Posting (tab) > BBCodes (default) > Add a new BBcode
then enter those 2 bbcodes one by one ...

1st BBCode:

Code: Select all

[anchor]{SIMPLETEXT}[/anchor]
HTML:

Code: Select all

<a name="{SIMPLETEXT}"></a>
Helpline:

Code: Select all

Anchor: [anchor]Name of the anchor[/anchor]
2nd one: Goto bbcode:

BBCode:

Code: Select all

[goto={SIMPLETEXT}]{TEXT}[/goto]
HTML:

Code: Select all

<a href="#{SIMPLETEXT}">{TEXT}</a>
Helpline:

Code: Select all

Goto: [goto=Anchor Name]Link tekst[/goto]
Then try post like this :

Code: Select all

[anchor]Start[/anchor]
    Lorem Ipsum is simply dummy
    text of the printing and typesetting industry.
    Lorem Ipsum has been the industry's standard
    dummy text ever since the 1500s, when an unknown
    printer took a galley of type and scrambled it to
    make a type specimen book. It has survived not only
    five centuries, but also the leap into electronic typesetting,
    remaining essentially unchanged. It was popularised in the
    1960s with the release of Letraset sheets containing Lore
    Ipsum passages, and more recently with desktop publishing
software like Aldus PageMaker including
versions of Lorem Ipsum.
[goto=Start]Start[/goto]
it will look like this:

Lorem Ipsum is simply dummy
text of the printing and typesetting industry.
Lorem Ipsum has been the industry's standard
dummy text ever since the 1500s, when an unknown
printer took a galley of type and scrambled it to
make a type specimen book. It has survived not only
five centuries, but also the leap into electronic typesetting,
remaining essentially unchanged. It was popularised in the
1960s with the release of Letraset sheets containing Lore
Ipsum passages, and more recently with desktop publishing
software like Aldus PageMaker including
versions of Lorem Ipsum.
Start
other demo: viewtopic.php?f=4&t=3297
enjoy

Post Reply