[BETA] Popup Announcements v0.4.5b

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
WelcomB
Registered User
Posts: 154
Joined: Fri Dec 26, 2003 4:23 pm

[BETA] Popup Announcements v0.4.5b

Post by WelcomB »

Create global forum announcements which will pop-up after a specified date whenever a user logs in.

This is the first beta release. It's fully functional though very basic.. just the skeleton and I'm looking for people to help me test and review. I've been known to miss out a few lines of code when compiling the txt file so pls be patient with me. :)

Any suggestions to the templates and format are most welcomed.

Download the mod here.
Last edited by WelcomB on Thu Jan 15, 2004 12:17 am, edited 5 times in total.

Larmo
Registered User
Posts: 143
Joined: Tue Jul 29, 2003 3:44 pm
Location: Charlotte, NC
Contact:

Post by Larmo »

Yes, I'd love to help. This mod would be incredibly useful for my board.

Let me know how I can help.


-Larmo

WelcomB
Registered User
Posts: 154
Joined: Fri Dec 26, 2003 4:23 pm

Post by WelcomB »

erm.. you can help by installing this mod and testing it out and post any errors you encountered here or pm me.

BE SURE to make a backup of your forum before installing this mod, or any other mod. I wouldn't want any permenant damage on any of your boards when testing out my mod. :)

Larmo
Registered User
Posts: 143
Joined: Tue Jul 29, 2003 3:44 pm
Location: Charlotte, NC
Contact:

Post by Larmo »

I don't think I'm your man. I've only just begun to mess with modding, and I don't have the confidence to test a mod that's could potentially screw my whole board up !!

:roll: :roll:

-Larmo

A.I. BOT
Registered User
Posts: 1848
Joined: Thu Apr 17, 2003 11:43 pm
Location: Newfoundland, Canada
Contact:

Post by A.I. BOT »

very nice mod im gonna use it

WelcomB
Registered User
Posts: 154
Joined: Fri Dec 26, 2003 4:23 pm

Post by WelcomB »

BETA Version 0.3.0b released

Latest release supports BBCode and Smilies in announcements. Bug with the date entry has been fixed. Download from the same link as above.
Last edited by WelcomB on Sun Jan 04, 2004 2:34 pm, edited 1 time in total.

pokemaster
Registered User
Posts: 361
Joined: Fri Aug 22, 2003 8:10 am
Location: UK

Post by pokemaster »

the above link does not work (the BETA Version 0.3.0b released ) it has a up missing in the url but the very top one worked!

[ edit ]

made a db_update for this mod

http://www.sivph.com/rpg/announcement_popup_db.zip <- download here

please add this with you mod WelcomB
My Newest Mods: Money Box ,P&J Mod , Fortune teller

WelcomB
Registered User
Posts: 154
Joined: Fri Dec 26, 2003 4:23 pm

Post by WelcomB »

Thanks pokemaster.. all those typos is so like me.. :)

Yet to hear from you all about this mod..

Rapid Dr3am
Registered User
Posts: 198
Joined: Sun Jul 13, 2003 4:14 pm
Location: Incommunicado
Contact:

Post by Rapid Dr3am »

pokemaster wrote: the above link does not work (the BETA Version 0.3.0b released ) it has a up missing in the url but the very top one worked!

[ edit ]

made a db_update for this mod

http://www.sivph.com/rpg/announcement_popup_db.zip <- download here

please add this with you mod WelcomB


That db_update.php won't allow it to get validated here.

None of my generated db_update.php files do, because they link to another site not this one for support. ;)

This can be fixed by editing the updated file, or if you download the generator the file language/lang_english/db_generator.tpl you can edit the entire output from there. ;)

WelcomB
Registered User
Posts: 154
Joined: Fri Dec 26, 2003 4:23 pm

Post by WelcomB »

Is a db_update.php really essential or useful? I'm not sure as this is only the first few mods I'm posting. What about if I link to a db_update.php seperately from the mod package for users to use at their own risk?

btw, minor changes to the mod. It's now version 0.4.0b
When I get the form verification done then I'll release it as a final beta v1.0.0

pokemaster
Registered User
Posts: 361
Joined: Fri Aug 22, 2003 8:10 am
Location: UK

Post by pokemaster »

sorry, i didn't get chance to install it i just wanted to let you know the things i said above...

Rapid Dr3am: i will change my coding :)
My Newest Mods: Money Box ,P&J Mod , Fortune teller

Larmo
Registered User
Posts: 143
Joined: Tue Jul 29, 2003 3:44 pm
Location: Charlotte, NC
Contact:

Post by Larmo »

Where can I find the latest version? I've grown some gonads and am willing to test it out... 8O 8O 8O

The link above still links to version 0.3.0 and I see 0.4.0 is available.

Thanks, please let me know !!!


-Larmo

Rapid Dr3am
Registered User
Posts: 198
Joined: Sun Jul 13, 2003 4:14 pm
Location: Incommunicado
Contact:

Post by Rapid Dr3am »

pokemaster wrote: Rapid Dr3am: i will change my coding :)


Your coding? The copyright of that file is in my name. ;)

It's a generated file from my generator. :)

But i let it slip.

As for the hack.

FROM phpbb_announcement

Define this in contants as not everyone uses the same prefix.

WelcomB
Registered User
Posts: 154
Joined: Fri Dec 26, 2003 4:23 pm

Post by WelcomB »

oh yah thanks for reminding me. I thought of doing that after I get it tested. Sure just a little search and replace job.

Larmo: Oops sorry I forgot to update the version inside the file. Please re-download from the same link.

So how's the testing getting on? Any bugs, suggestions or critisim?

Thank you all for helping me test.
Check out my mod: Pop-up Announcement
I see in your eyes the same fear that would take the heart of me. A day may come when the courage of Men fail, when we forsake our friends, and break all bonds of fellowship, but it is not this day. This day, we fight!!!

Tom_S
Registered User
Posts: 524
Joined: Tue Jul 29, 2003 6:54 pm
Location: 127.0.0.1
Contact:

Post by Tom_S »

Error running db_update.php:

Code: Select all

CREATE TABLE phpbb_announcement ( `announce_id` MEDIUMINT NOT NULL AUTO_INCREMENT, `announce_subject` VARCHAR(60), `announce_msg` TEXT, `user_id` MEDIUMINT NOT NULL, `announce_time` INT NOT NULL, 'bbcode_uid' VARCHAR(10) NOT NULL, PRIMARY KEY (`announce_id`) )
+++ Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''bbcode_uid' VARCHAR(10) NOT NULL, PRIMARY KEY (`announce_

ALTER TABLE phpbb_users ADD 'user_last_announcement' INT DEFAULT '0' NOT NULL
+++ Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''user_last_announcement' INT DEFAULT '0' NOT NULL' at line 2
And adding the tables in phpMyAdmin manually..this error:

Code: Select all

Error

SQL-query :  

CREATE TABLE phpbb_announcement(

`announce_id` MEDIUMINT NOT NULL AUTO_INCREMENT ,
`announce_subject` VARCHAR( 60 ) ,
`announce_msg` TEXT,
`user_id` MEDIUMINT NOT NULL ,
`announce_time` INT NOT NULL ,
'bbcode_uid'VARCHAR( 10 ) NOT NULL ,
PRIMARY KEY ( `announce_id` ) 
) 

MySQL said: 


You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near ''bbcode_uid' VARCHAR(10) NOT NULL,
    PRIMARY KEY (`announce_
 
I went back in Time...
Image

Post Reply

Return to “[2.0.x] MODs in Development”