phpBB Forum - Logs

Everything You Need to Know About the Website
User avatar
Fabian
Verified

Photographer
Main Sport: Kitesurfing
Location: Belgium
Homespot: Oostende
Favorite Spot: Viana do Castelo
Favorite Brand: Eleveight
Kite-Range: Can't Kite atm
Contact:
Re: phpBB Forum - Logs

Post by Fabian »

Installed the Recent Topics Extension which is visible at the forum index

Default: Last 3 recent topics will show up on the index

Customised ext/paybas/styles/all/template/recenttopics_body_topbottom.html

Code: Select all

{% if S_LOCATION_BOTTOM || S_LOCATION_TOP -%}

{% if loops.pagination|length && (S_LOCATION_TOP) %}
<div class="action-bar bar-top">
	<div class="pagination">
		{{ RT_TOPICS_COUNT }}
		{% include 'pagination.html' %}
	</div>
</div>
{% endif %}

{% for recent_topics in loops.recent_topics %}
{% if !recent_topics.S_TOPIC_TYPE_SWITCH && !recent_topics.S_FIRST_ROW %}
</ul>
</div>
</div>
{% endif %}

{% if recent_topics.S_FIRST_ROW || !recent_topics.S_TOPIC_TYPE_SWITCH %}
<a class="category{% if S_EXT_COLCAT_HIDDEN %} hidden-category{% endif %}" style="display: none; height: 0"></a>
<div id="recenttopics-box" class="forabg recenttopics">
	<div class="inner">
		<ul class="topiclist">
			<li class="header">
				<dl class="row-item">
					<dt><div class="list-inner">
						<a href="{{ U_RT_PAGE_SEPARATE }}" title="{{ lang('RECENT_TOPICS') }}">{{ lang('RECENT_TOPICS') }}</a></div>
					</dt>
					<dd class="posts">{{ lang('REPLIES') }}</dd>
					<dd class="views">{{ lang('VIEWS') }}</dd>
					<dd class="lastpost"><span>{{ lang('LAST_POST') }}</span></dd>
				</dl>
				{% set S_CC_FORUM_HIDDEN = S_EXT_COLCAT_HIDDEN %}
				{% set U_CC_COLLAPSE_URL = U_EXT_COLCAT_COLLAPSE_URL %}
				{% include '@phpbb_collapsiblecategories/collapsible_categories_button.html' ignore missing %}
			</li>
		</ul>
		<ul class="topiclist topics collapsible">
			{% endif %}
			<li class="row{% if recent_topics.S_ROW_COUNT is even %} bg1{% else %} bg2{% endif %}{% if recent_topics.S_POST_GLOBAL %} global-announce{% endif %}{% if recent_topics.S_POST_ANNOUNCE %} announce{% endif %}{% if recent_topics.S_POST_STICKY %} sticky{% endif %}{% if recent_topics.S_TOPIC_REPORTED %} reported{% endif %}">

				<dl class="row-item {{ recent_topics.TOPIC_IMG_STYLE }}">
					<dt{% if recent_topics.TOPIC_ICON_IMG && S_TOPIC_ICONS %} style="background-image: url({{ T_ICONS_PATH }}{{ recent_topics.TOPIC_ICON_IMG }}); background-repeat: no-repeat;"{% endif %} title="{{ recent_topics.TOPIC_FOLDER_IMG_ALT }}">
					{% if recent_topics.S_UNREAD_TOPIC && !S_IS_BOT %}<a href="{{ recent_topics.U_NEWEST_POST }}" class="row-item-link"></a>{% endif %}
					<div class="list-inner">
						{% EVENT topiclist_row_prepend %}
						{% if recent_topics.S_UNREAD_TOPIC && !S_IS_BOT %}
						<a href="{{ recent_topics.U_NEWEST_POST }}">
						<i class="icon fa-file fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only"></span>
						</a> {% endif %}<a href="{{ recent_topics.U_VIEW_TOPIC }}" class="topictitle">{{ recent_topics.TOPIC_TITLE }}</a>

						{% if recent_topics.ATTACH_ICON_IMG %}<i class="icon fa-paperclip fa-fw" aria-hidden="true"></i>{% endif %}

						{% if recent_topics.S_TOPIC_UNAPPROVED || recent_topics.S_POSTS_UNAPPROVED %}<a href="{{ recent_topics.U_MCP_QUEUE }}">
						<i class="icon fa-question fa-fw icon-blue" aria-hidden="true"></i><span class="sr-only"></span></a>
						{% endif %}
						{% if recent_topics.S_TOPIC_DELETED %}<a href="{{ recent_topics.U_MCP_QUEUE }}"></a> {% endif %}
						{% if recent_topics.S_TOPIC_REPORTED %}<a href="{{ recent_topics.U_MCP_REPORT }}"><i class="icon fa-exclamation fa-fw icon-red" aria-hidden="true"></i><span class="sr-only"></span></a>{% endif %}<br>

						{% if !S_IS_BOT %}
						<div class="responsive-show" style="display: none;">
							{{ lang('LAST_POST') }} {{ lang('POST_BY_AUTHOR') }} {% EVENT viewforum_body_last_post_author_username_prepend %} {{ recent_topics.LAST_POST_AUTHOR_FULL }} {% EVENT viewforum_body_last_post_author_username_append %} &laquo; <a href="{{ recent_topics.U_LAST_POST }}" title="{{ lang('GOTO_LAST_POST') }}">{{ recent_topics.LAST_POST_TIME }}</a>
							{% if recent_topics.S_POST_GLOBAL && FORUM_ID != recent_topics.FORUM_ID %}<br>{{ lang('POSTED') }} {{ lang('IN') }} <a href="{{ recent_topics.U_VIEW_FORUM }}">{{ recent_topics.FORUM_NAME }}</a>{% endif %}
						</div>
						{% if recent_topics.REPLIES %}<span class="responsive-show left-box" style="display: none;">{{ lang('REPLIES') }}{{ lang('COLON') }} <strong>{{ recent_topics.REPLIES }}</strong></span>{% endif %}
						{% endif %}

						{% if recent_topics.pagination|length %}
						<div class="pagination">
							<span>
							<i class="icon fa-clone fa-fw" aria-hidden="true">	</i>
							</span>
							<ul>
								{% for pagination in recent_topics.pagination %}
								{% if pagination.S_IS_PREV %}
								{% elseif pagination.S_IS_CURRENT %}<li class="active"><span>{{ pagination.PAGE_NUMBER }}</span></li>
								{% elseif pagination.S_IS_ELLIPSIS %}<li class="ellipsis"><span>{{ lang('ELLIPSIS') }}</span></li>
								{% elseif pagination.S_IS_NEXT %}
								{% else %}<li><a class="button" href="{{ pagination.PAGE_URL }}">{{ pagination.PAGE_NUMBER }}</a></li>
								{% endif %}
								{% endfor %}
							</ul>
						</div>
						{% endif %}

						<div class="responsive-hide">
							{% if recent_topics.S_HAS_POLL %}<i class="icon fa-bar-chart fa-fw" aria-hidden="true"></i>{% endif %}
							{% if recent_topics.S_POST_GLOBAL && FORUM_ID != recent_topics.FORUM_ID %} {{ lang('IN') }} <a href="{{ recent_topics.U_VIEW_FORUM }}">{{ recent_topics.FORUM_NAME }}</a>
							{% elseif recent_topics.U_VIEW_FORUM && recent_topics.FORUM_NAME %} {{ lang('IN') }} {% for parent_forums in recent_topics.parent_forums %}<a href="{{ parent_forums.U_VIEW_FORUM }}">{{ parent_forums.FORUM_NAME }}</a> &raquo; {% endfor %}<a href="{{ recent_topics.U_VIEW_FORUM }}">{{ recent_topics.FORUM_NAME }}</a>{% endif %}
						</div>

						{% EVENT topiclist_row_append %}
					</div>
					</dt>
					<dd class="posts">{{ recent_topics.REPLIES }} <dfn>{{ lang('REPLIES') }}</dfn></dd>
					<dd class="views">{{ recent_topics.VIEWS }} <dfn>{{ lang('VIEWS') }}</dfn></dd>
					<dd class="lastpost">

						<span><dfn>{{ lang('LAST_POST') }} </dfn>{{ lang('POST_BY_AUTHOR') }} {% EVENT viewforum_body_last_post_author_username_prepend %} {{ recent_topics.LAST_POST_AUTHOR_FULL }} {% EVENT viewforum_body_last_post_author_username_append %}
						{% if !S_IS_BOT %}
							<a href="{{ recent_topics.U_LAST_POST }}" title="{{ lang('GOTO_LAST_POST') }}">
								<i class="icon fa-external-link-square fa-fw icon-lightgray icon-md" aria-hidden="true"></i>
								<span class="sr-only">{{ VIEW_LATEST_POST }}</span>
							</a> {% endif %}<br>{{ recent_topics.LAST_POST_TIME }}
						</span>
					</dd>
				</dl>
			</li>
			{% if recent_topics.S_LAST_ROW %}
		</ul>
	</div>
</div>
{% endif %}

{% else %}
<div class="panel">
	<div class="inner" style="padding: 10px;" >
		<strong>{{ lang('RT_NO_TOPICS') }}</strong>
	</div>
</div>
{% endfor %}

{% if loops.pagination|length && (S_LOCATION_BOTTOM) %}
<div class="action-bar bar-bottom">
	<div class="pagination">
		{{ RT_TOPICS_COUNT }}
		{% include 'pagination.html' %}
	</div>
</div>
{% endif %}

{% endif %}
User avatar
Fabian
Verified

Photographer
Main Sport: Kitesurfing
Location: Belgium
Homespot: Oostende
Favorite Spot: Viana do Castelo
Favorite Brand: Eleveight
Kite-Range: Can't Kite atm
Contact:
Re: phpBB Forum - Logs

Post by Fabian »

Reorganised the Topic-Profile-View.

The Nationality appears now next to the username if you are logged in:
Screenshot 2024-07-06 at 11.43.40.png
Screenshot 2024-07-06 at 11.43.40.png (104.44 KiB) Viewed 641 times
User avatar
Fabian
Verified

Photographer
Main Sport: Kitesurfing
Location: Belgium
Homespot: Oostende
Favorite Spot: Viana do Castelo
Favorite Brand: Eleveight
Kite-Range: Can't Kite atm
Contact:
Re: phpBB Forum - Logs

Post by Fabian »

Added two new custom BBcodes to Add Me-WhatsApp-Links and/or clickable phone numbers +4911111111

Whatsapp

BBCode usage

Code: Select all

[Whatsapp]{SIMPLETEXT1}[/Whatsapp]
HTML replacement

Code: Select all

<a href="https://wa.me/{SIMPLETEXT1}" target="_blank">
<img src="https://YourLink/WhatsAppButtonGreenSmall.png" style="max-width:105px; height:auto;"></a>
Help line

Code: Select all

Correct: [Whatsapp]{1XXXXXXXXXX}[/Whatsapp]
Wrong: [Whatsapp]{+001-(XXX)XXXXXXX}[/Whatsapp]
Phonenumber

BBCode usage

Code: Select all

[phonenumber]{SIMPLETEXT1}[/phonenumber]
HTML replacement

Code: Select all

<a href="tel:{SIMPLETEXT1}" target="_blank">{SIMPLETEXT1}</a>
Help line

Code: Select all

[phonenumber]{+49XXXXXXXXXX}[/phonenumber]
User avatar
Fabian
Verified

Photographer
Main Sport: Kitesurfing
Location: Belgium
Homespot: Oostende
Favorite Spot: Viana do Castelo
Favorite Brand: Eleveight
Kite-Range: Can't Kite atm
Contact:
Re: phpBB Forum - Logs

Post by Fabian »

Added new User-Ranks
Screenshot 2024-07-07 at 20.26.01.png
Screenshot 2024-07-07 at 20.26.01.png (450.56 KiB) Viewed 667 times
User avatar
Fabian
Verified

Photographer
Main Sport: Kitesurfing
Location: Belgium
Homespot: Oostende
Favorite Spot: Viana do Castelo
Favorite Brand: Eleveight
Kite-Range: Can't Kite atm
Contact:
Re: phpBB Forum - Logs

Post by Fabian »

Change phpbb/styles/youstyle/theme/contenct.ccs

from

Code: Select all

.content ul, .content ol {
    margin: 0.8em 0 0.9em 3em;
}
to

Code: Select all

.content ul, .content ol {
	margin: 0.8em 0 0.9em 1.5em;
}
[list][/list] is now without indentation, so it aligns with the standard text.
  • Test 1
  • Test 2
  • Test 3
  • Test 4
  • Test 5
User avatar
Fabian
Verified

Photographer
Main Sport: Kitesurfing
Location: Belgium
Homespot: Oostende
Favorite Spot: Viana do Castelo
Favorite Brand: Eleveight
Kite-Range: Can't Kite atm
Contact:
Re: phpBB Forum - Logs

Post by Fabian »

There was an issue with high resolution rank images which didn't set to max-width at the profile, memberlist and teamlist.
Screenshot 2024-07-08 at 10.15.18.png
Screenshot 2024-07-08 at 10.15.18.png (93.79 KiB) Viewed 650 times



I really didn't like the low resolution images because they weren't sharp enough. I change the following code into phpbb/styles/yourstyle/theme/content.css

Old Code:

Code: Select all

.profile-rank img {
	max-width: 160px;
}
replaced by:

Code: Select all

.profile-rank img, .rank-img img,.left-box dd img {
	max-width: 160px;
}
User avatar
Fabian
Verified

Photographer
Main Sport: Kitesurfing
Location: Belgium
Homespot: Oostende
Favorite Spot: Viana do Castelo
Favorite Brand: Eleveight
Kite-Range: Can't Kite atm
Contact:
Re: phpBB Forum - Logs

Post by Fabian »

Installed Quick-Edit which allows to edit your Post without opening an new window.
Screenshot 2024-07-09 at 10.38.14.png
Screenshot 2024-07-09 at 10.38.14.png (118.72 KiB) Viewed 632 times

Post Reply