Page 2 of 2

Phpbb Autorefrash

Posted: 04 Jan 2012, 23:36
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

Posted: 05 Jan 2012, 00:07
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

Posted: 05 Jan 2012, 00:20
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

Posted: 06 Jan 2012, 02:41
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

Posted: 06 Jan 2012, 14:46
by darkonia
a nice bbcode with the right click, where can i find this bbcode?

Phpbb Autorefrash

Posted: 06 Jan 2012, 16:39
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.