Welcome, Guest. Please Login or Register.
November 10, 2024, 07:31:12 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  How to write a mod « previous next »
Pages: 1 2 [3] 4 Reply Ignore Print
Author Topic: How to write a mod  (Read 157219 times)
Jedi~
Eric
Beta Tester
YaBB God
*****
Posts: 1284


WWW
Re:How to write a mod
« Reply #30 on: June 26, 2002, 03:39:20 AM »
Reply with quote

It should use the same tags as boardmod :-\  ::)
Logged
Radio
Noobie
*
Posts: 31


I'm a llama!

Re:How to write a mod
« Reply #31 on: July 10, 2002, 03:54:25 AM »
Reply with quote

I've never been a big fan of board mod systems. I've always preferred to just dive in the actual script, but it's probably just me.
Logged
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:How to write a mod
« Reply #32 on: July 10, 2002, 06:39:38 AM »
Reply with quote

Yeah it is much easier to go straight into the code then to worry about the actual mod.
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
Jedi~
Eric
Beta Tester
YaBB God
*****
Posts: 1284


WWW
Re:How to write a mod
« Reply #33 on: September 04, 2002, 08:31:13 PM »
Reply with quote

Right, but for those that don't know how to edit the code (which is probably a great majority of the users) it's good to have a board mod system.
Logged
Jack.R.Abbit
Mod Team
YaBB God
*****
Posts: 553


RACE FOR SPENT!

Re:How to write a mod
« Reply #34 on: October 09, 2002, 09:32:15 PM »
Reply with quote

OK, so I've been poking around in the Packages.php and I've stumbled upon this bit of code:
 while(preg_match("/<(id|version|author|email|homepage|info|approved)>\n(.+?)\n<\\/\\1>/is", $file2, $regs))
  {
    $info["$regs[1]"] = $regs[2];
    $file = str_replace("<$regs[1]>\n$regs[2]\n</$regs[1]>", "", $file);
  }

  if($info['approved'] == "yes") echo "\n$txt[pacman1]\n";
  if($info['id'] != "")          echo "\n<br>$txt[pacman2]: $info[id]\n";
  if($info['version'] != "")     echo "\n<br>$txt[pacman3]: $info[version]\n";
  if($info['author'] != "")      echo "\n<br>$txt[pacman4]: $info[author]\n";
  if($info['email'] != "")       echo "\n<br>$txt[pacman5]: $info[email]\n";
  if($info['homepage'] != "")    echo "\n<br>$txt[pacman6]: $info[homepage]\n";
  if($info['info'] != "")        echo "\n<br>$txt[pacman7]: $info[info]\n";

This would lead me to believe that I could add these tags into my PacMan mod file much like I've seen in the BoardMod files.  However, when ever I add these to my mod file it seems to hang PacMan until my process times out.  If I remove them, the mod installs just fine.  I would like to include them since they are there for a reason and I would like to apply the proper credits to the files.  Am I doing something wrong or ar they just not working?

-Jack
Logged

<--------  Mods by Jack  -------->
Package Server: http://www.modsbydesign.com/mods.by.jack/yabbse/ (now serving)


|----------------------------------------------|
|                                              |
|          DON'T PM ME FOR SUPPORT!             |
|                                              |
|----------------------------------------------|
Jack.R.Abbit
Mod Team
YaBB God
*****
Posts: 553


RACE FOR SPENT!

Re:How to write a mod
« Reply #35 on: October 25, 2002, 06:17:07 PM »
Reply with quote

OK  so I've figured out why the PacMan hangs on these mod info tags.. it enters and endless loop because it is looping on $file2 but deleteing tags from $file.  I have put together a mod that fixes this and some other things.

http://www.yabb.info/community/index.php?board=158;action=display;threadid=14291


Quote from: Jedi~ on June 26, 2002, 03:39:20 AMIt should use the same tags as boardmod :-\  ::)
OH... :o   my mod makes it do that too! :P

-Jack
Logged

<--------  Mods by Jack  -------->
Package Server: http://www.modsbydesign.com/mods.by.jack/yabbse/ (now serving)


|----------------------------------------------|
|                                              |
|          DON'T PM ME FOR SUPPORT!             |
|                                              |
|----------------------------------------------|
ajk
Full Member
***
Posts: 145


Add something witty here! :-)

ICQ - 1494077ajkcomputing@msn.com WWW
Re:How to write a mod
« Reply #36 on: December 06, 2002, 01:12:02 PM »
Reply with quote

Hi Zeff and everyone.

This is a very good start.  But where can we find what we need to actually learn the code to create a mod itself.  Not just how to put it in boardmod or in mod form.

I need to learn the actual language for programming.  I understand the editing process to fit MY board.  But not to construct a mod from scratch.

Thanks and happy holidays,
Logged

Andy Knifel
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:How to write a mod
« Reply #37 on: December 06, 2002, 05:47:26 PM »
Reply with quote

Oh to learn PHP? http://www.php.net is a good place to start ;)
Logged

Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:How to write a mod
« Reply #38 on: December 29, 2002, 06:11:56 AM »
Reply with quote

Did all of Jack's mod changes make it into 1.5? The boardmod tags part especially.
Logged
J-Fan Guy
Noobie
*
Posts: 31


I got this negative karma from clicking a llama.

WWW
Re:How to write a mod
« Reply #39 on: December 30, 2002, 07:07:52 AM »
Reply with quote

I think anyone capable of writing new code for the board in the first place will be able to figure out how to write the mod for use with boardmod. It's pretty simple.
Logged
ajk
Full Member
***
Posts: 145


Add something witty here! :-)

ICQ - 1494077ajkcomputing@msn.com WWW
Re:How to write a mod
« Reply #40 on: December 30, 2002, 09:09:37 AM »
Reply with quote

Quote from: tkimura on December 30, 2002, 07:07:52 AMI think anyone capable of writing new code for the board in the first place will be able to figure out how to write the mod for use with boardmod. It's pretty simple.

This is true.  I was talking about NON PHP programers.
For me, I'm an HTML we page designer and editor.  I'd love to learn more about it.  I've been looking at php.net.  But there is a lot to learn.
Logged

Andy Knifel
Derek
Jr. Member
**
Posts: 65


I'm a llama!

Re:How to write a mod
« Reply #41 on: April 10, 2003, 10:49:57 PM »
Reply with quote

So can I still use boardmod and the boardmod tags for YaBBSE? Because that's what I just did for a mod that I just posted about... ::)
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:How to write a mod
« Reply #42 on: April 10, 2003, 11:18:59 PM »
Reply with quote

Quote from: Derek on April 10, 2003, 10:49:57 PM
So can I still use boardmod and the boardmod tags for YaBBSE? Because that's what I just did for a mod that I just posted about... ::)

Yes, but you should use lowercase for the tags, (ie. edit file not Edit file.) or it won't work in the package manager.

-[Unknown]
Logged
tuntis
Jr. Member
**
Posts: 97


Now connecting......Succesfully completed...

tuntis@hotmail.com
Re:How to write a mod
« Reply #43 on: April 22, 2003, 04:18:19 PM »
Reply with quote

Why YaBB don't create program to create Mod!?
Logged

BEEEEEP...Internet connection started...Dialing to www.yabbse.org/community... Dialing to ns1.infodoma.com... Completed...Please wait...Dialing to www.sourceforge.net...Please wait...BEEP BIIP BEEP calling to 2123-13231838423238429489273942312389248...
groundup
Disciple of Joe, Head Cleric
Mod Team
YaBB God
*****
Posts: 2983


Error 309: Please notify the administrator of this

WWW
Re:How to write a mod
« Reply #44 on: April 23, 2003, 12:56:24 AM »
Reply with quote

look for boardmod ;) or Yabbpak
Logged

http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
fastfinancialfreedom.org
Pages: 1 2 [3] 4 Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  How to write a mod « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.546 seconds with 20 queries.