Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
Writing a MOD
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: 1, 2  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
Writing a MOD
PostPosted: 06/15/2007 9:44 AM Reply with quote
Dove
lakeccrunner
Dove
Posts 76
Word Cnt. 5,619
BDay N/A
Sign N/A
Joined: Mar 17, 2007
Local time: 6:47 AM
blank.gif
I'm going to attempt to write my first MOD. I think it would be good for me since I'm going to be writing most of my site scripts in PHP.

But I was wondering if there is anywhere on the internet where there are tutorials for writing MOD's?

The MOD I want to write is for the members Coaster Count. I want the there to be a Coaster Count option in the users profile settings and when they register they can input it.

And, I want it to show up where it displays the user word count and posts etc.

I think I can write the MOD, I think I know enough about PHP to write the MOD, but I just need to know what files to create...and how to get it to work with EasyMOD..

Thanks in advance for any help I recieve.
Back to Top
View user's profile Find all posts by lakeccrunner Send private message  
Re: Writing a MOD
PostPosted: 06/15/2007 1:50 PM Reply with quote
Dove
lakeccrunner
Dove
Posts 76
Word Cnt. 5,619
BDay N/A
Sign N/A
Joined: Mar 17, 2007
Local time: 6:47 AM
blank.gif
Ok, I think I've found a few of the files I need to edit...

root/templates/*/viewtopic_body.tpl
root/templates/*/profile_viewbody.tpl
root/viewtopic.php
root/includes/usercp_viewprofile.php
root/includes/usercp_register
root/profile.php
root/language/lang_english/lang_main.php

Are there any others that I may need to edit? And which files should I edit first, or does it matter?

And are there any files that I need to create to pull this MOD off?
Back to Top
View user's profile Find all posts by lakeccrunner Send private message  
Re: Writing a MOD
PostPosted: 06/16/2007 12:34 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 7:47 AM
Location: St Pete, FL
peace.gif
Yes, you will also need to modify the profile_add_body.tpl and profile.php files if you want to give them an option to adjust the settings in their Profile.  I see no reason to create totally new files for this since it will probably be a fairly small MOD...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Writing a MOD
PostPosted: 06/16/2007 5:00 PM Reply with quote
Dove
lakeccrunner
Dove
Posts 76
Word Cnt. 5,619
BDay N/A
Sign N/A
Joined: Mar 17, 2007
Local time: 6:47 AM
blank.gif
Writing a MOD is harder than I thought...

I know a little bit about PHP, but I don't know how to go about doing this...
Back to Top
View user's profile Find all posts by lakeccrunner Send private message  
Re: Writing a MOD
PostPosted: 06/16/2007 6:39 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 7:47 AM
Location: St Pete, FL
peace.gif
If you know what changes you want to make to the code, I can help you to write the MOD script if that is the problem...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Writing a MOD
PostPosted: 06/16/2007 6:41 PM Reply with quote
Dove
lakeccrunner
Dove
Posts 76
Word Cnt. 5,619
BDay N/A
Sign N/A
Joined: Mar 17, 2007
Local time: 6:47 AM
blank.gif
I think I might know what changes I need to make, but I'm not sure where to make them...
Back to Top
View user's profile Find all posts by lakeccrunner Send private message  
Re: Writing a MOD
PostPosted: 06/16/2007 6:52 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 7:47 AM
Location: St Pete, FL
peace.gif
What did you have in mind???

dontknow
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Writing a MOD
PostPosted: 06/16/2007 8:35 PM Reply with quote
Dove
lakeccrunner
Dove
Posts 76
Word Cnt. 5,619
BDay N/A
Sign N/A
Joined: Mar 17, 2007
Local time: 6:47 AM
blank.gif
Actually, I was messing around with some of the files today, and I came to the conclusion that I have absolutely no idea what I'm doing...

hysterical2
Back to Top
View user's profile Find all posts by lakeccrunner Send private message  
Re: Writing a MOD
PostPosted: 06/16/2007 9:29 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 7:47 AM
Location: St Pete, FL
peace.gif
LOL  The only way to figure out what you are doing is to jump in with both feet and get your hands dirty...

Dancing  Dancing  Dancing  Dancing  Dancing
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Writing a MOD
PostPosted: 06/16/2007 10:23 PM Reply with quote
Dove
lakeccrunner
Dove
Posts 76
Word Cnt. 5,619
BDay N/A
Sign N/A
Joined: Mar 17, 2007
Local time: 6:47 AM
blank.gif
^ I haven't given up yet...I'm determined to do this!

One thing though, do you know where I can find anything that will help tell me what some of the coding is for? I think I need a file telling me a little bit about what it does...
Back to Top
View user's profile Find all posts by lakeccrunner Send private message  
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: 1, 2  Next
Page 1 of 2


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.1079s (PHP: 63% - SQL: 37%) - SQL queries: 57 - GZIP disabled - Debug on