Display jumpbox on index (3.3.0)

Gesperrt
Benutzeravatar
Forum Member
Site Admin
Beiträge: 313
Registriert: 3. Apr 2019, 17:36
Vorname: Jutta
Dein Land: Schweiz
Wohnort: Zuchwil / SO
Kontaktdaten:

Display jumpbox on index (3.3.0)

Beitrag von Forum Member » 23. Mai 2020, 11:49

jump on index.jpg
According to these instructions: https://www.phpbb.com/community/viewtop ... 5#p6665745

index.php (phpBB 3.3.0 folder not in prosilver style folder)

Code: Alles auswählen

// Output page
page_header($page_title, true);

$template->set_filenames(array(
	'body' => 'index_body.html')
);
make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx"));
page_footer();
In 3.3.0 index_body.html

Code: Alles auswählen

<!-- IF NEWEST_USER -->
	<div class="stat-block statistics">
		<h3>{L_STATISTICS}</h3>
		<p>
			<!-- EVENT index_body_block_stats_prepend -->
			{TOTAL_POSTS} &bull; {TOTAL_TOPICS} &bull; {TOTAL_USERS} &bull; {NEWEST_USER}
			<!-- EVENT index_body_block_stats_append -->
		</p>
	</div>
<!-- ENDIF -->

<!-- EVENT index_body_stat_blocks_after -->
<!-- INCLUDE jumpbox.html -->
<!-- INCLUDE overall_footer.html -->
Kein Support per PN und Email!
Be the best version of yourself rather than a bad copy of someone else!
The best online TranslatorMy forum

Benutzeravatar
Forum Member
Site Admin
Beiträge: 313
Registriert: 3. Apr 2019, 17:36
Vorname: Jutta
Dein Land: Schweiz
Wohnort: Zuchwil / SO
Kontaktdaten:

Re: Display jumpbox on index (3.3.0)

Beitrag von Forum Member » 25. Mai 2020, 22:28

Kein Support per PN und Email!
Be the best version of yourself rather than a bad copy of someone else!
The best online TranslatorMy forum

Gesperrt

Zurück zu „Tutorials / Custom Coding“