Welcome, Guest. Please Login or Register.
May 09, 2025, 11:41:50 PM
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  |  Auto Msg « previous next »
Pages: 1 2 [3] 4 Reply Ignore Print
Author Topic: Auto Msg  (Read 1547 times)
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Auto Msg
« Reply #30 on: January 20, 2003, 11:39:03 PM »
Reply with quote

Just include a "Packages/modification.php" file.  You could even just do it with a "Packages/modification.sql" ... BUT remember that the SQL file can only have one query in it.

-[Unknown]
Logged
tdodnz
Sr. Member
****
Posts: 275


Asleep zzzzz (Snore Snore)

ICQ - 166370583cnd_nz@go.com WWW
Re:Auto Msg
« Reply #31 on: January 21, 2003, 12:47:24 AM »
Reply with quote

so what your trying to say is just go
<file>
modification.php
</file>

and that will run modification.php doing whats in it?how do I get modification.php to run while its installing my package I never figured this out, can I just put an include_once 'Modification.php';
in the mod.yp file or what, and that file allready has access to their server right and is connected.
« Last Edit: January 21, 2003, 12:52:05 AM by tdodnz » Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Auto Msg
« Reply #32 on: January 21, 2003, 01:24:11 AM »
Reply with quote

No I meant include it in the YaBBpak.

-[Unknown]
Logged
tdodnz
Sr. Member
****
Posts: 275


Asleep zzzzz (Snore Snore)

ICQ - 166370583cnd_nz@go.com WWW
Re:Auto Msg
« Reply #33 on: January 21, 2003, 05:25:26 AM »
Reply with quote

Ok Guys like I said I would release it today

Package Server http://www.cnd.net.nz/Clan/forum/Packages

Ok no need to create the tables the mod will do it, if not tell me ill need to know what version you have and what happened

[Unknown] can you please give me an example of what you mean do you just put it in the directory with the mod.yp file and go include_once ... in the mod.yp file please give example im confused.
« Last Edit: January 21, 2003, 10:54:29 PM by tdodnz » Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Auto Msg
« Reply #34 on: January 21, 2003, 06:50:46 AM »
Reply with quote

In a yp file, you have a number of files... for example, you would have the following for a mod:

Packages/modification.mod
Packages/modification.txt

In addition, you may also have

Packages/modification.sql
Packages/modification.php

If either of these exist, they will be executed before the .mod file is.

-[Unknown]
Logged
tdodnz
Sr. Member
****
Posts: 275


Asleep zzzzz (Snore Snore)

ICQ - 166370583cnd_nz@go.com WWW
Re:Auto Msg
« Reply #35 on: January 21, 2003, 08:32:00 AM »
Reply with quote

ok I see thanks
Logged
TF
Full Member
***
Posts: 214


I'm a llama!

Re:Auto Msg
« Reply #36 on: January 21, 2003, 02:11:04 PM »
Reply with quote

Quote from: tdodnz on January 21, 2003, 05:25:26 AMOk Guys like I said I would release it today

Package Server http://www.cnd.net.nz/Mods

Ok no need to create the tables the mod will do it, if not tell me ill need to know what version you have and what happened

[Unknown] can you please give me an example of what you mean do you just put it in the directory with the mod.yp file and go include_once ... in the mod.yp file please give example im confused.

The URL doesn`t work.
Logged
Tha Master
Full Member
***
Posts: 201


G€€N G€KL!€R, !K B€N H!€R

vermeulen_yves@hotmail.com WWW
Re:Auto Msg
« Reply #37 on: January 21, 2003, 04:20:49 PM »
Reply with quote

Is there a normal version to?
Logged

« Last Edit: Next Week at 23:59:59 pm by Tha Master »
_________________________________________________________________________________________________________
tha master was here ;)
http://www.forumekes.tk
Tha Master
Full Member
***
Posts: 201


G€€N G€KL!€R, !K B€N H!€R

vermeulen_yves@hotmail.com WWW
Re:Auto Msg
« Reply #38 on: January 21, 2003, 07:02:19 PM »
Reply with quote

For people that don't want to use the yabbpack version:

here is the mysql thingy:
CREATE TABLE `AutoMsg` (
`Name` VARCHAR(255) NOT NULL,
`From` VARCHAR(50) NOT NULL,
`IMSubject` TEXT NOT NULL,
`IMMsg1` TEXT NOT NULL,
`IMMsg2` TEXT NOT NULL,
`IMActive` VARCHAR(3) NOT NULL,
`Topic` VARCHAR(3) NOT NULL,
`TopicSubject ` TEXT NOT NULL,
`TopicMsg1` TEXT NOT NULL,
`TopicMsg2` TEXT NOT NULL,
`TopicActive` VARCHAR(3) NOT NULL,
`IMOp1` VARCHAR(3) NOT NULL,
`IMOp2 ` VARCHAR(3) NOT NULL,
`TopicOp1` VARCHAR(3) NOT NULL,
`TopicOp2` VARCHAR(3) NOT NULL
);
Logged

« Last Edit: Next Week at 23:59:59 pm by Tha Master »
_________________________________________________________________________________________________________
tha master was here ;)
http://www.forumekes.tk
tdodnz
Sr. Member
****
Posts: 275


Asleep zzzzz (Snore Snore)

ICQ - 166370583cnd_nz@go.com WWW
Re:Auto Msg
« Reply #39 on: January 21, 2003, 10:36:51 PM »
Reply with quote

Do you mean a boardmod file??

if so no, I don't know boardmod sorry I can release the package script but thats not short
Logged
tdodnz
Sr. Member
****
Posts: 275


Asleep zzzzz (Snore Snore)

ICQ - 166370583cnd_nz@go.com WWW
Re:Auto Msg
« Reply #40 on: January 21, 2003, 10:56:32 PM »
Reply with quote

By the way if youv'e installed this mod there is a bug that needs to be fixed, I forgot to add a few lines to index.php

You need to add the following lines to  $actionarray
'AutoMsg' => array("$sourcedir/Admin.php", 'AutoMsg'),
'AutoMsg2' => arra("$sourcedir/Admin.php", 'AutoMsg2'),

The package has now been updated to fix this problem
Logged
Tha Master
Full Member
***
Posts: 201


G€€N G€KL!€R, !K B€N H!€R

vermeulen_yves@hotmail.com WWW
Re:Auto Msg
« Reply #41 on: January 22, 2003, 11:49:37 AM »
Reply with quote

Oh,
That's why it diddent worked for me ;D
Logged

« Last Edit: Next Week at 23:59:59 pm by Tha Master »
_________________________________________________________________________________________________________
tha master was here ;)
http://www.forumekes.tk
TF
Full Member
***
Posts: 214


I'm a llama!

Re:Auto Msg
« Reply #42 on: January 22, 2003, 12:17:01 PM »
Reply with quote

Quote from: tdodnz on January 21, 2003, 10:36:51 PMDo you mean a boardmod file??

if so no, I don't know boardmod sorry I can release the package script but thats not short

Aha...?

How do I install this mod then?
Logged
tdodnz
Sr. Member
****
Posts: 275


Asleep zzzzz (Snore Snore)

ICQ - 166370583cnd_nz@go.com WWW
Re:Auto Msg
« Reply #43 on: January 22, 2003, 12:36:42 PM »
Reply with quote

well if you can't use the yabbpak center I can post whats edited and you can do it manually if you wish.

Unless Tha Master would be so great, since this Mod was made for him, to make the BardMod file  ;D and yeah sorry bout the link problem I was rebuilding all my mods, adding the db entry stuff.

The new url is listed near the top of this page, you must of tried just as I was messing with that took about 1/2 an hour then I updated this stuff
« Last Edit: January 22, 2003, 12:39:27 PM by tdodnz » Logged
TF
Full Member
***
Posts: 214


I'm a llama!

Re:Auto Msg
« Reply #44 on: January 22, 2003, 12:42:34 PM »
Reply with quote

I see.

Now I understand.

But the auto msg mod is not for 1.4.1 :(
Logged
Pages: 1 2 [3] 4 Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Auto Msg « 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.046 seconds with 20 queries.