[BETA]Refresh

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Post Reply
danb00
Registered User
Posts: 1025
Joined: Sun Dec 15, 2002 9:41 pm
Location: Inside Mod:Extreme PHPBB
Contact:

[BETA]Refresh

Post by danb00 »

Here is my version of site refresh, been working on it for over a month now.

the needed image

Image

should be saved to
/images/icon_refresh.gif

demo

www.danb00.34sp.com/forum

Code: Select all

############################################################## 
## MOD Title: Forum Refresh 
## MOD Author: danb00 < danielbriant@london.com > (Daniel Briant) http://www.danb00.34sp.com 
## MOD Description: Allows a user to refresh the Forum from viewforum, overall header and index  
## MOD Version: 0.4 
## 
## Installation Level: Easy 
## Installation Time: 5 Minutes 
## Files To Edit (4): templates/subSilver/viewforum_body.tpl
##		      templates/subSilver/overall_header.tpl
##		      includes/page_header.php
##		      language/lan_english/lang_main.php  
## 
## Included Files (1): icon_refresh.gif
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/ 
############################################################## 
## Author Notes: NONE
## 
############################################################## 
## MOD History: 
## 
##   2003-12-20 - Version 0.1 
##      - First release 
##   2003-12-22 - Version 0.2 
##      - Hard coded text link
##   2003-12-24 - Version 0.3
##      - Removed hard coded text link, now uses an image instead of text
##   2004-01-20 - Version 0.4
##      - Added a link in the overall_header
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 
# 
#-----[ OPEN ]------------------------------------------ 
# 
templates/subSilver/viewforum_body.tpl 
# 
#-----[ FIND ]------------------------------------------ 
# 
<td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span>
# 
#-----[ AFTER ADD ]------------------------------------------ 
# 
<td align="right" valign="middle" width="1"><a href="JavaScript:window.location.reload()"><img src="images/icon_refresh.gif" height="15" width="13" border="0"/></a></td>
# 
#-----[ OPEN ]------------------------------------------ 
# 
templates/subSilver/viewforum_body.tpl 
# 
#-----[ FIND ]------------------------------------------ 
# 
<td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
# 
#-----[ AFTER ADD ]------------------------------------------ 
# 
<td align="right" valign="middle" width="1"><a href="JavaScript:window.location.reload()"><img src="images/icon_refresh.gif" height="15" width="13" border="0"/></a></td>
# 
#-----[ OPEN ]------------------------------------------ 
# 
templates/subSilver/viewforum_body.tpl 
# 
#-----[ FIND ]------------------------------------------ 
# 
<td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span>
# 
#-----[ AFTER ADD ]------------------------------------------ 
# 
<td align="right" valign="middle" width="1"><a href="JavaScript:window.location.reload()"><img src="images/icon_refresh.gif" height="15" width="13" border="0"/></a></td>
# 
#-----[ OPEN ]------------------------------------------ 
# 
templates/subSilver/overall_header.tpl
# 
#-----[ FIND ]------------------------------------------ 
# 
&nbsp;<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" style="vertical-align:middle" />{L_USERGROUPS}</a>&nbsp;
# 
#-----[ AFTER ADD ]------------------------------------------ 
# 
&nbsp;<a href="JavaScript:window.location.reload()" class="mainmenu"><img src="images/icon_refresh.gif" width="12" height="13" border="0" alt="{L_REFRESH}" hspace="3" style="vertical-align:middle" />{L_REFRESH}</a>&nbsp;
# 
#-----[ OPEN ]------------------------------------------ 
# 
language/lang_english/lang_main.php
# 
#-----[ FIND ]------------------------------------------ 
# 
$lang['Critical_Information'] = 'Critical Information';
# 
#-----[ AFTER ADD ]------------------------------------------ 
# 
$lang['Refresh'] = 'Refresh';
# 
#-----[ OPEN ]------------------------------------------ 
# 
includes/page_header.php
# 
#-----[ FIND ]------------------------------------------ 
# 
'L_FAQ' => $lang['FAQ'],
# 
#-----[ AFTER ADD ]------------------------------------------ 
# 
'L_REFRESH' => $lang['Refresh'],
# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM

User avatar
morpheus2matrix
Former Team Member
Posts: 9171
Joined: Wed Apr 10, 2002 7:31 pm
Location: France
Contact:

Post by morpheus2matrix »

which difference between this one : http://www.phpbb.com/phpBB/viewtopic.php?t=166044 ?
Former phpBB MOD-Team Member -

Forgive my bad English :(

No support by PM/Email - Thanks - You can thanks me here :) - Pay me for installing MOD's :lol:

danb00
Registered User
Posts: 1025
Joined: Sun Dec 15, 2002 9:41 pm
Location: Inside Mod:Extreme PHPBB
Contact:

Post by danb00 »

well my ones better, and has been in development longer.

over a month

danb00
Registered User
Posts: 1025
Joined: Sun Dec 15, 2002 9:41 pm
Location: Inside Mod:Extreme PHPBB
Contact:

Post by danb00 »

well it would have been sooner but i have been working on 3-4 other mods :)

Rapid Dr3am
Registered User
Posts: 198
Joined: Sun Jul 13, 2003 4:14 pm
Location: Incommunicado
Contact:

Post by Rapid Dr3am »

Hate to ask this but, what's the point?

Does your keyboard not have an F5 key on it?

Regardless of that, it will work quite easily, but is that image your using Open-Source, or copyrighted?

Post Reply

Return to “[2.0.x] MODs in Development”