Phpbb Autorefrash

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support
User avatar
FTH Offline
BBCoder III
BBCoder III
Posts: 124
Joined: 25 Nov 2011, 21:28
Local time: Saturday 22:51
Last active: -

Phpbb Autorefrash

Post by FTH »

Yeah F5 is off course the better soluce :D

But if you want try more functions ... just for fun

F5 reload your page

but if you want to add two buttons to go previous or next with reload... try this

Open file styles/prosilver/template/overall_footer.html

Find :

Code: Select all

<div class="copyright">
Add after :

Code: Select all

	<form action="" method=post>
<p><input type=button name="bottom" value="{L_PREVIOUS}" onclick="javascript:history.go(-1)">&nbsp;<input type=button name="bottom" value="{L_NEXT}" onclick="javascript:history.go(1)"></p>
</form>
;)

For Infos :

F5 reload the page, but with Javascript you can just refresh the page (not reload, cos it's different) :D
User avatar
doktornotor Offline
BBCoder IV
BBCoder IV
Posts: 167
Joined: 14 Sep 2011, 21:20
Local time: Saturday 22:51
Last active: -
Favourite EXT: Thanks for Posts

Phpbb Autorefrash

Post by doktornotor »

FTH wrote:Hi,

and if you add simply a bottom on your overall_footer ? ;)
Pffffffft, no jQuery? :shock: :lol:

Code: Select all

<script type="text/javascript">
	$(document).ready(function() {
		$('#refresh-button').click(function() {
		location.reload();
		});
	});     
</script>

...

<input id="refresh-button" type="button" value="refresh" />
:ugeek:
Support requests via PM go straight to /dev/null!
User avatar
FTH Offline
BBCoder III
BBCoder III
Posts: 124
Joined: 25 Nov 2011, 21:28
Local time: Saturday 22:51
Last active: -

Phpbb Autorefrash

Post by FTH »

i'm ok with you code Dok, but it's for reload the page (ok ?) but if you want just refresh a page, not realod....

and the second soluce it's an other soluce to add 2 buttons with a reload with back history under JS... it's small different. ;) but don't affraid i like your codes ;)
User avatar
martin123456 Offline
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 11:29
Local time: Saturday 22:51
Last active: -
Favourite EXT: Ban button
Location: Down south!

Phpbb Autorefrash

Post by martin123456 »

Try here http://phpbbpoints.dyndns.org/portal.php just right click on that page.

this is stoker refresh bbcode in action
User avatar
darkonia Offline
BBCoder II
BBCoder II
Posts: 57
Joined: 23 May 2011, 17:40
Local time: Saturday 21:51
Last active: -
Favourite BBCode: hs bbcode
Favourite EXT: dm video
Location: Munich

Phpbb Autorefrash

Post by darkonia »

a nice bbcode with the right click, where can i find this bbcode?
Von Spielern für Spieler bietet Dir MMOG-Heaven genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings auf MMOG-Heaven.
User avatar
martin123456 Offline
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 11:29
Local time: Saturday 22:51
Last active: -
Favourite EXT: Ban button
Location: Down south!

Phpbb Autorefrash

Post by martin123456 »

darkonia wrote:a nice bbcode with the right click, where can i find this bbcode?
viewtopic.php?f=2&t=165

take a good look in that section there is a no right click also.

just place this

Code: Select all

[Refresh][/Refresh]
on any page and right click will refresh there is a number of place's you can place it.