Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2019-08-03 08:40:56

dezix
Member
From: France
Registered: 2019-07-31
Posts: 7

<pun_xxx> tags references ?

Hi!

As a new comer into the FluxBB world,

I'm trying to make changes to get a more friendly text mode output

For that I need some references about the <pun_xxxx> tags :

  • the list of the tags in use in the whole software

  • what they display in the current release

  • in which file each tag is defined/controlled

Of course, if there is somewhere a complete documentation, please give me the link.

Thanks!

Last edited by dezix (2019-08-03 08:58:10)

Offline

#2 2019-08-03 14:58:46

dezix
Member
From: France
Registered: 2019-07-31
Posts: 7

Re: <pun_xxx> tags references ?

This (auto)replies to the first point of my previous post.

Assuming that <pun_xxx> tags are only made with regular letters, numbers, mid and low dashes (that's not sur),
applying the following commands over the extracted directory from fluxbb-1.5.11 tarball,
I get those 2 lists :

Tags list

$ find . -type f -name "*.tpl" -exec egrep -o "<pun([a-zA-Z0-9_\-]*)>" {} \; > /tmp/pun_tags.list && sort -du /tmp/pun_tags.list
<pun_announcement>
<pun_content_direction>
<pun_desc>
<pun_footer>
<pun_head>
<pun_language>
<pun_main>
<pun_maint_main>
<pun_navlinks>
<pun_page>
<pun_redir_main>
<pun_status>
<pun_title>

Files containing tags list

$ egrep -lR "<pun([a-zA-Z0-9_\-]*)>"
footer.php
header.php
include/template/admin.tpl
include/template/maintenance.tpl
include/template/main.tpl
include/template/redirect.tpl
include/template/help.tpl
include/functions.php

If you know of any other tags, please let me know.

Last edited by dezix (2019-08-03 15:02:24)

Offline

#3 2019-08-03 20:57:26

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,719
Website

Re: <pun_xxx> tags references ?

I think you have found them all. Do you have questions about a specific one? What are you trying to achieve?


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#4 2019-08-03 21:19:36

dezix
Member
From: France
Registered: 2019-07-31
Posts: 7

Re: <pun_xxx> tags references ?

Hi! Franz

I 've already tried to explain my goal in the mods forum,
in the topic : Looking for MOD that changes <TABLE> from Index & Forum View to <DIV>

https://fluxbb.org/forums/viewtopic.php?id=9580

I do not have right for links :-((

Last edited by dezix (2019-08-03 21:23:53)

Offline

Board footer

Powered by FluxBB