Bild • •HERZLICH WILLKOMMEN BEI UNS IM FORUM!
****
WILLIAM SHATNER "RUDOLPH THE RED-NOSED RENDEER FEAT BILLY GIBBONS :very-bigsmile:
****
ADVENTSKALENDER - ADVENT CALENDAR
(For other language: Choose your flag above)

rmcgirr83 - activity24hours phpBB Version 3.2.3

Forum Member Switzerland
Administrator
Beiträge: 3333
Registriert: Donnerstag 1. Juli 2010, 14:05
Vorname: Jutta
Wohnort: Zuchwil/SO
    Windows 10 Firefox
Kontaktdaten:

rmcgirr83 - activity24hours phpBB Version 3.2.3

Beitrag von Forum Member » Sonntag 23. September 2018, 11:33

Damit diese Erweiterung im Statistikblock angezeigt wird, muss man sie umbenennen. (Scroll down for EN instruction)

- Gehe zu Extensions - rmcgirr83 - activity24hours - styles
- Kopiere den Ordner prosilver und nenne ihn in Blackfog um
- Öffne den Ordner Blackfog - template - event
- Kopiere den Ordner index_body_stat_blocks_after und nenne ihn in index_body_birthday_block_before um
- Ersetze den Inhalt in der index_body_birthday_block_before. html mit folgendem Inhalt:

Code: Alles auswählen

{% if S_CAN_VIEW_24_HOURS %}
<div class="stat-block 24stats">
		<h3 id="twentyfourhour_stats" class="add-fa">{{ lang('TWENTYFOURHOUR_STATS') }}</h3>

		<p>{{ HOUR_POSTS }} &bull; {{ HOUR_TOPICS }} &bull; {{ HOUR_USERS }}
		<br>{{ TOTAL_24HOUR_USERS }} {{ USERS_24HOUR_TOTAL }} {{ HIDDEN_24HOUR_TOTAL }} {{ BOTS_24HOUR_TOTAL }} {{ GUEST_ONLINE_24 }} {{ lang('LAST_24_HOURS') }}{% if USERS_ACTIVE %}<br>{{ lang('REGISTERED_USERS') }} {% for lastvisit in loops.lastvisit %} {{ lastvisit.USERNAME_FULL }}{% if not lastvisit.S_LAST_ROW %}{{ lang('COMMA_SEPARATOR') }} {% endif %}{% endfor %}{% endif %}
		<br>{% if BOTS_ACTIVE %}{{ lang('G_BOTS') }}{{ lang('COLON') }} {% for bot_lastvisit in loops.bot_lastvisit %} {{ bot_lastvisit.BOTNAME_FULL }}{% if not bot_lastvisit.S_LAST_ROW %}{{ lang('COMMA_SEPARATOR') }} {% endif %}{% endfor %}{% endif %}
		</p>
</div>
{% endif %}
und speichere das.

- Öffne die index_body_stat_blocks_after, lösche den ganzen Inhalt und speichere es.

Im Ordner Blackfog, erstelle einen Ordner theme.
Erstelle eine leere css mit dem Namen 24stats.css
Füge in die erstellte css folgenden Inhalt ein:

Code: Alles auswählen

.add-fa::before {
	font-family: FontAwesome;
	font-size: 20px;
	color: #B5B5B5; /* Old browsers */ /* IE */
	background:-moz-linear-gradient(top, #C7C7C7 0%, #747474 90%);
	background: -webkit-linear-gradient(top, #C7C7C7 0%,#747474 90%);
	background: linear-gradient(to bottom, #C7C7C7 0%,#747474 90%);
	-webkit-background-clip: text;
	-moz-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color:transparent;
	margin-right: 5px;
	padding-right: 5px;
	content: '\f1da';
	vertical-align: middle;
}
Speichere die erstellte css im Ordner theme.

*********
In order for this extension to appear in the statistics block, you must rename the event.

- Go to Extensions - rmcgirr83 - activity24hours - styles
- Copy the folder prosilver and rename it to Blackfog
- Open the folder Blackfog - template - event
- Copy the folder index_body_stat_blocks_after and rename it to index_body_birthday_block_before
+ Replace the Code into the index_body_birthday_block_before. html with this:

Code: Alles auswählen

{% if S_CAN_VIEW_24_HOURS %}
<div class="stat-block 24stats">
		<h3 id="twentyfourhour_stats" class="add-fa">{{ lang('TWENTYFOURHOUR_STATS') }}</h3>

		<p>{{ HOUR_POSTS }} &bull; {{ HOUR_TOPICS }} &bull; {{ HOUR_USERS }}
		<br>{{ TOTAL_24HOUR_USERS }} {{ USERS_24HOUR_TOTAL }} {{ HIDDEN_24HOUR_TOTAL }} {{ BOTS_24HOUR_TOTAL }} {{ GUEST_ONLINE_24 }} {{ lang('LAST_24_HOURS') }}{% if USERS_ACTIVE %}<br>{{ lang('REGISTERED_USERS') }} {% for lastvisit in loops.lastvisit %} {{ lastvisit.USERNAME_FULL }}{% if not lastvisit.S_LAST_ROW %}{{ lang('COMMA_SEPARATOR') }} {% endif %}{% endfor %}{% endif %}
		<br>{% if BOTS_ACTIVE %}{{ lang('G_BOTS') }}{{ lang('COLON') }} {% for bot_lastvisit in loops.bot_lastvisit %} {{ bot_lastvisit.BOTNAME_FULL }}{% if not bot_lastvisit.S_LAST_ROW %}{{ lang('COMMA_SEPARATOR') }} {% endif %}{% endfor %}{% endif %}
		</p>
</div>
{% endif %}
and safe it

- Open the index_body_stat_blocks_after, delete all content and safe it.

In the Blackfog folder, create a Theme folder.
Create a file 24stats.css
Insert the following code into 24stats.css:

Code: Alles auswählen

.add-fa::before {
	font-family: FontAwesome;
	font-size: 20px;
	color: #B5B5B5; /* Old browsers */ /* IE */
	background:-moz-linear-gradient(top, #C7C7C7 0%, #747474 90%);
	background: -webkit-linear-gradient(top, #C7C7C7 0%,#747474 90%);
	background: linear-gradient(to bottom, #C7C7C7 0%,#747474 90%);
	-webkit-background-clip: text;
	-moz-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color:transparent;
	margin-right: 5px;
	padding-right: 5px;
	content: '\f1da';
	vertical-align: middle;
}
Save the created css in the theme folder

Zurück zu „BLACKFOG“