phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

MOD template


 
Search this topic... | Search MOD Writing... | Search Box
Register or Login to Post    Index » MOD Writing  Previous TopicPrint TopicNext Topic
Author Message
eviL
Board Member



Joined: 18 Nov 2008

Posts: 3



PostPosted: Sun Nov 23, 2008 10:30 pm 
Post subject: MOD template

One of the most important things for modding is the format. For phpBB2 this is the text format. To start a new project, just copy-paste the following into a blank text file and start adding your edits.

Here is the template:
Code:
##############################################################
## MOD Title: mod_title_goes_here
## MOD Author: your_phpBB_username < your_email > (your_real_name) your_url
## MOD Description: some_description_goes_here
## MOD Version: x.x.x
##
## Installation Level: (Easy/Intermediate/Advanced)
## Installation Time: x Minutes
## Files To Edit: file_1,
##      file_2,
##      file_3,
##      etc
## Included Files: (N/A, or list of included files)
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
##############################################################
## MOD History:
##
##   YYYY-MM-DD - Version x.x.x
##      - version notes go here
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ ACTION ]------------------------------------------
#

#
#-----[ ACTION ]------------------------------------------
#

#
#-----[ ACTION ]------------------------------------------
#


#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM


And these are the allowed actions:
Code:
SQL
COPY
DIY INSTRUCTIONS
OPEN
FIND
REPLACE WITH
AFTER, ADD
BEFORE, ADD
INCREMENT
IN-LINE FIND
IN-LINE AFTER, ADD
IN-LINE BEFORE, ADD
IN-LINE REPLACE WITH
Back to top
drathbun
Board Member



Joined: 24 Jul 2008

Posts: 653
Location: Texas


flag
PostPosted: Mon Nov 24, 2008 1:14 am 
Post subject: Re: MOD template

Hi, eviL, did you lose your love? icon_lol.gif

I am going to be copying my MOD Manager from the phpBB Doctor site over here, along with the documentation that I've done. I don't think I had copied the documentation for the text template yet though, so thanks for sharing that.

_________________
phpBBDoctor Blog
Back to top
eviL
Board Member



Joined: 18 Nov 2008

Posts: 3



PostPosted: Mon Nov 24, 2008 4:30 pm 
Post subject: Re: MOD template

Unfortunately your board stole it from me. icon_razz.gif I thought this might be of use. Feel free to move/change/remove it as you see fit.
Back to top
drathbun
Board Member



Joined: 24 Jul 2008

Posts: 653
Location: Texas


flag
PostPosted: Mon Nov 24, 2008 7:04 pm 
Post subject: Re: MOD template

So the registration process stripped out the <3 from your username? I didn't think I had code in place to do that...

[Edit] I tested it, and sure enough, it's stripped out. [/Edit]

_________________
phpBBDoctor Blog
Back to top
drathbun
Board Member



Joined: 24 Jul 2008

Posts: 653
Location: Texas


flag
PostPosted: Thu Dec 11, 2008 3:56 am 
Post subject: Re: MOD template

evil, do you have any thoughts about what to do about this paragraph in the MOD template?
Quote:
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################

Obviously this will no longer be the case once the 2.x MODs area is shut down...

_________________
phpBBDoctor Blog
Back to top
lumpy burgertushie
Board Member



Joined: 19 Nov 2008

Posts: 214


flag
PostPosted: Thu Dec 11, 2008 2:39 pm 
Post subject: Re: MOD template

depends on what your policy is going to be for MODs hosted here.

If they will be validated before being allowed , then rewording the template will be simple.

If not, then maybe disclaimers would be better.


robert
Back to top
RMcGirr83
Board Member



Joined: 02 Dec 2008

Posts: 53
Location: East Lyme, CT


flag
PostPosted: Wed Dec 17, 2008 2:33 am 
Post subject: Re: MOD template

Which raises the question of who (or is it whom...always confused by that one) will be doing the validating.
_________________
Rich McGirr
Back to top
Dog Cow
Board Member



Joined: 18 Nov 2008

Posts: 378


flag
PostPosted: Wed Dec 17, 2008 5:58 pm 
Post subject: Re: MOD template

RMcGirr83 wrote:
Which raises the question of who (or is it whom...always confused by that one) will be doing the validating.

Oh, I think most of us here have enough experience to validate each other. icon_surprised.gif
Back to top
Sylver Cheetah 53
Board Member



Joined: 17 Dec 2008

Posts: 426
Location: Milky Way


flag
PostPosted: Wed Dec 17, 2008 8:42 pm 
Post subject: Re: MOD template

Good observation. icon_wink.gif
_________________
Image link
My Forum || My Blog

phpBB2 forever! icon_smile.gif
Back to top
3Di
Board Member



Joined: 03 Dec 2008

Posts: 15
Location: Italy


flag
PostPosted: Sun Dec 28, 2008 6:01 pm 
Post subject: Re: MOD template

drathbun wrote:
evil, do you have any thoughts about what to do about this paragraph in the MOD template?
Quote:
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################

Obviously this will no longer be the case once the 2.x MODs area is shut down...

Indeed it's the responsibility of this site that rules here, then just change the URLs. icon_wink.gif
Back to top
eviL
Board Member



Joined: 18 Nov 2008

Posts: 3



PostPosted: Sun Jan 04, 2009 4:00 pm 
Post subject: Re: MOD template

Since phpBB2 is legacy (from the MOD team's perspective) I would suggest to simply remove it, since there is no official location anymore. In case other phpBB2 sites arise they can use the same, like this the template is not tied to one specific site.
Back to top
ramon fincken
Board Member



Joined: 01 Jan 2009

Posts: 2
Location: Utrecht, The netherlands ( Moved from A'dam/Diemen )


flag
PostPosted: Mon Jan 05, 2009 11:11 am 
Post subject: Re: MOD template

I second that icon_smile.gif
_________________
www.phpbbinstallers.net www.phpbbantispam.com www.ramonfincken.com [My personal blog, phpbb2 core ofcourse ! ]
Back to top
Sylver Cheetah 53
Board Member



Joined: 17 Dec 2008

Posts: 426
Location: Milky Way


flag
PostPosted: Mon Jan 05, 2009 12:18 pm 
Post subject: Re: MOD template

Ramon, please create me an account on your board. I get this message:
Code:
Usage of forbidden word
We're very sorry, your post request has been blocked.
If you don't want this to happen in the future go visit the groups page and subscribe to the 'Bypass words' group

Username: Sylver Cheetah 53 Email: SylverCheetah53@gmail.com

Thanks!
P.S.: Sorry to put this here, but we can not send pm's on this board.

_________________
Image link
My Forum || My Blog

phpBB2 forever! icon_smile.gif
Back to top
ramon fincken
Board Member



Joined: 01 Jan 2009

Posts: 2
Location: Utrecht, The netherlands ( Moved from A'dam/Diemen )


flag
PostPosted: Mon Jan 05, 2009 12:26 pm 
Post subject: Re: MOD template

Sylver Cheetah 53 wrote:
Ramon, please create me an account on your board. I get this message:
Code:
Usage of forbidden word
We're very sorry, your post request has been blocked.
If you don't want this to happen in the future go visit the groups page and subscribe to the 'Bypass words' group

Username: Sylver Cheetah 53 Email: SylverCheetah53@gmail.com

Thanks!
P.S.: Sorry to put this here, but we can not send pm's on this board.


An admin will approve your request

_________________
www.phpbbinstallers.net www.phpbbantispam.com www.ramonfincken.com [My personal blog, phpbb2 core ofcourse ! ]
Back to top
Display posts from previous:   
Register or Login to Post    Index » MOD Writing  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0119 seconds using 15 queries. (SQL 0.0013 Parse 0.0003 Other 0.0103)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo