Welcome, Guest. Please Login or Register.
November 23, 2024, 08:24:24 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Rules and Regs « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Rules and Regs  (Read 57595 times)
Joseph Fung
Global Moderator
YaBB God
*****
Posts: 4512


Keep smiling: it makes others nervous.

WWW
Rules and Regs
« on: December 18, 2001, 08:07:26 PM »
Reply with quote

Well, they aren't really rules and regs, but we have a few requests to you mod writers out there.
  • For now, untill we release a couple IMPORTANT mods...leave Admin.php and the package php files alone.  Don't worry - you can play with them in a couple weeks
  • leave Settings.php alone please.  We would like you to store all your variables in the settings table (which has 2 fields - variable and value).  You can access those variables with the yabb-defined global variable $modSettings['yourVariableName'] = 'yourVariableValue';
We ask this so as to keep Settings.php pristine, and to make sure the installer /converter won't have any problems.
  • please leave the "Modify Forum Preferences and Settings" screen along.  We made an "Installed 'Mods' Settings and Options" screen just for you!
  • please try to keep your mod code together - i.e. try not to spread it out.  the reason for this is to allow us to easily implement updates to the scripts as we create new releases.  Code that alters every other line is MUCH worse than code that adds 200 lines a the top.
  • please user VERY descriptive varaible names so as not to create conflicts with other mods or other code - i.e. all the attachment mod stuff has 'attachment' before the variable name
thanks!
« Last Edit: December 20, 2001, 10:16:15 PM by Joseph Fung » Logged

Dave Smulders
YaBB SE Developer
YaBB God
*****
Posts: 608


WWW
Re:Rules and Regs
« Reply #1 on: December 21, 2001, 02:59:38 AM »
Reply with quote

What about giving each mod a number, and use that as the prefix of all variables? Or, maybe a unique name, that would be more descriptive.
You could get the unique name via a script on this page, and when you want to submit a mod, you have to enter this name with it to be able to submit it. The script then makes sure no one uses the same variable names.
Just since finding two conflicting mods out of a list of 40 is a bitch, I think it's worth the effort.

« Last Edit: December 21, 2001, 03:00:29 AM by Dave Smulders » Logged

TheJkWhoSaysNi
YaBB God
*****
Posts: 1025


I dont know what to put here, i'll leave it blank.

ICQ - 122821095TheJkWhoSaysNi@evilemail.com WWW
Re:Rules and Regs
« Reply #2 on: December 21, 2001, 05:07:30 PM »
Reply with quote

uh, this is an off topic question, but does the forum preferences and settings section have its own file, or is it part of admin.php?
Logged

WARNING: THIS POST MAY CONTAIN TRACES OF PEANUT!!!
I'm listening to....
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Rules and Regs
« Reply #3 on: December 21, 2001, 05:10:35 PM »
Reply with quote

Don't know if you knew it was off topic why you'd post it here in a reply...

The forum settings are in Admin.php, the mod settings are in ModSetting.php.
Logged

Matt Siegman
Super Duper Developer
YaBB God
*****
Posts: 927


Red Hot!

ICQ - 95930457 WWW
Re:Rules and Regs
« Reply #4 on: December 21, 2001, 06:20:00 PM »
Reply with quote

I messed with the Package and Admin files already :)

Actually, they are just bug fixes, for stupid bugs that were made at 2 AM probably :)

I also messed with Post.php too :)

you can "approve" my packages I guess ;)
http://www.mattsiegman.com/YaBBSE/Packages

(I cracked your Package Server files too, so I have my own :))
Logged

TheJkWhoSaysNi
YaBB God
*****
Posts: 1025


I dont know what to put here, i'll leave it blank.

ICQ - 122821095TheJkWhoSaysNi@evilemail.com WWW
Re:Rules and Regs
« Reply #5 on: December 21, 2001, 08:00:43 PM »
Reply with quote

Quote from: Jeff Lewis on December 21, 2001, 05:10:35 PMDon't know if you knew it was off topic why you'd post it here in a reply...

The forum settings are in Admin.php, the mod settings are in ModSetting.php.

Sorry, I diddnt know where else to ask it.
Logged

WARNING: THIS POST MAY CONTAIN TRACES OF PEANUT!!!
I'm listening to....
Jack.R.Abbit
Mod Team
YaBB God
*****
Posts: 553


RACE FOR SPENT!

Re:Rules and Regs
« Reply #6 on: September 20, 2002, 10:57:38 PM »
Reply with quote

Quote from: Joseph Fung on December 18, 2001, 08:07:26 PM
  • For now, untill we release a couple IMPORTANT mods...leave Admin.php and the package php files alone.  Don't worry - you can play with them in a couple weeks

So.... can we play with the Admin.php now?  I want to mod the email members section which is in the Admin.php.

-Jack
Logged

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


|----------------------------------------------|
|                                              |
|          DON'T PM ME FOR SUPPORT!             |
|                                              |
|----------------------------------------------|
groundup
Disciple of Joe, Head Cleric
Mod Team
YaBB God
*****
Posts: 2983


Error 309: Please notify the administrator of this

WWW
Re:Rules and Regs
« Reply #7 on: September 30, 2002, 01:59:33 AM »
Reply with quote

that was on dec 18, 2001.  mod away
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] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Rules and Regs « 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.015 seconds with 20 queries.