Phpbb Autorefrash

Mods, snippets and styles postet and supported by the users
Forum rules
As the forum title says this is for User Contributions
Post a support request in this forum and you will be banned!
User avatar
FTH
BBCoder III
BBCoder III
Posts: 124
Joined: 25 Nov 2011, 23:28
BBCodes: 10
Contact:

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
BBCoder IV
BBCoder IV
Posts: 167
Joined: 14 Sep 2011, 23:20
BBCodes: 30
Favourite MOD: Thanks for Posts
Contact:

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
BBCoder III
BBCoder III
Posts: 124
Joined: 25 Nov 2011, 23:28
BBCodes: 10
Contact:

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
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

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
BBCoder II
BBCoder II
Posts: 57
Joined: 23 May 2011, 19:40
BBCodes: 35
Favourite BBCode: hs bbcode
Favourite MOD: 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
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

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.
Locked