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

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

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:

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 ;)

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

Phpbb Autorefrash

Post by darkonia »

a nice bbcode with the right click, where can i find this bbcode?

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.