Jump to content


- - - - -

(Adriano) Auto Birthday Message v1.0


  • Please log in to reply
61 replies to this topic

#1 Adriano Faria

Adriano Faria

    ...a curious guy...

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,268 posts
  • Location:Brazil
  • Real Name:Adriano
  • IPB Version:v3.3.x
Contributor

Posted 09 October 2007 - 05:56 PM

File Name: (Adriano) Auto Birthday Message v1.0
File Submitter: Rush
File Submitted: 9 Oct 2007
File Category: IP.Board v2.3.x & v2.2.x Mods

This MOD sends a message to the birthday members of your board. You can configure the way you want to send the message: auto PM or New topic. If you choose PM, you have the options to save a copy in your Sent Folder or track the PM. If you choose New Topic, you can select the forum where the topic will be created. You have the options to create the new topic with status closed or open and you can select the date format for the topic title.

WATCH OUT!!!
The task is setted to run everyday, at Midnight! If you're using "Server Time Zone" on Admin CP, you have to edit the task and increase/decrease the hours to make it right.


You can configure the ID of the author of MP or new topic created.


PM received by the user


New topic listing all the users who's birthdaying today

Click here to download this file

#2 EvilHeat

EvilHeat

    Member

  • Members
  • PipPipPip
  • 21 posts
  • Real Name:EvilHeart
  • IPB Version:v2.2.x

Posted 09 October 2007 - 07:47 PM

Thankss uuuu sooo muchhhh  w00t.gif

#3 TheEnd90x

TheEnd90x

    Premium Member

  • IM Supporters
  • PipPipPipPipPip
  • 151 posts
  • Location:Burton, MI [USA]
  • Real Name:Jacob
  • IPB Version:v2.3.x

Posted 10 October 2007 - 12:09 AM

Woo! Thanks! Good mod!


One issue for me...


CODE
Happy Birthday! Warm wishes for you, and hope you have a great one! Congrats!

Membro(s):

    * <span style='color:#696969'>plazman
    * <span style='color:#696969'>PyRo
    * <span style='color:#696969'>eeyore
    * <span style='color:#696969'>Darkmoon
    * riddance123isgay


Where can I change the word "Membro(s)" at? My board is an English board, and Membro(s) doesn't work... Also, as you can see, the members with HTML in front of their name... yeah I have no idea why its there... what can I do to fix it?
Posted Image

#4 Adriano Faria

Adriano Faria

    ...a curious guy...

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,268 posts
  • Location:Brazil
  • Real Name:Adriano
  • IPB Version:v3.3.x
Contributor

Posted 10 October 2007 - 12:38 AM

QUOTE(TheEnd90x @ Oct 9 2007, 09:09 PM) <{POST_SNAPBACK}>
* <span style='color:#696969'>plazman
     * <span style='color:#696969'>PyRo
     * <span style='color:#696969'>eeyore
     * <span style='color:#696969'>Darkmoon
     * riddance123isgay

Probably something in the configuration of your groups... Take a look at ADMIN CP -> MANAGEMENT -> MANAGE USER GROUPS -> suffix.

QUOTE(TheEnd90x @ Oct 9 2007, 09:09 PM) <{POST_SNAPBACK}>
Where can I change the word "Membro(s)" at? My board is an English board, and Membro(s) doesn't work... Also, as you can see, the members with HTML in front of their name... yeah I have no idea why its there... what can I do to fix it?

You can edit "Membro(s)" in sources/tasks/BirthdayMessage.php.

#5 BirdForce

BirdForce

    Member

  • Members
  • PipPipPip
  • 24 posts
  • Real Name:Michael
  • IPB Version:v2.3.x

Posted 10 October 2007 - 02:17 AM

ah been waiting for this mod for a while!

#6 TheEnd90x

TheEnd90x

    Premium Member

  • IM Supporters
  • PipPipPipPipPip
  • 151 posts
  • Location:Burton, MI [USA]
  • Real Name:Jacob
  • IPB Version:v2.3.x

Posted 10 October 2007 - 06:19 PM

QUOTE(Rush @ Oct 9 2007, 08:38 PM) <{POST_SNAPBACK}>
QUOTE(TheEnd90x @ Oct 9 2007, 09:09 PM) <{POST_SNAPBACK}>
* <span style='color:#696969'>plazman
     * <span style='color:#696969'>PyRo
     * <span style='color:#696969'>eeyore
     * <span style='color:#696969'>Darkmoon
     * riddance123isgay

Probably something in the configuration of your groups... Take a look at ADMIN CP -> MANAGEMENT -> MANAGE USER GROUPS -> suffix.

QUOTE(TheEnd90x @ Oct 9 2007, 09:09 PM) <{POST_SNAPBACK}>
Where can I change the word "Membro(s)" at? My board is an English board, and Membro(s) doesn't work... Also, as you can see, the members with HTML in front of their name... yeah I have no idea why its there... what can I do to fix it?

You can edit "Membro(s)" in sources/tasks/BirthdayMessage.php.

Thanks for the reply Rush, I'll try the fixes now.  happy.gif

-=-=-=-
The fixes went okay for me. File edit was simple, and the HTML mistake was a silly mistake I made, some member groups I forgot to add </span> at the end... yeah... I feel dumb, lol

The mod is working great although, thanks.

Edited by TheEnd90x, 10 October 2007 - 06:36 PM.

Posted Image

#7 Adriano Faria

Adriano Faria

    ...a curious guy...

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,268 posts
  • Location:Brazil
  • Real Name:Adriano
  • IPB Version:v3.3.x
Contributor

Posted 10 October 2007 - 07:11 PM

QUOTE(TheEnd90x @ Oct 10 2007, 03:19 PM) <{POST_SNAPBACK}>
The fixes went okay for me. File edit was simple, and the HTML mistake was a silly mistake I made, some member groups I forgot to add </span> at the end... yeah... I feel dumb, lol
The mod is working great although, thanks.

Thanks for the reply! thumbsup.gif

#8 Assistran

Assistran

    n00b

  • Banned
  • Pip
  • 2 posts
  • Location:Recife - Pernambuco - Brazil
  • Real Name:Vlademir Assis
  • IPB Version:v2.3.x

Posted 11 October 2007 - 07:17 PM

When I try run this task was showed it:

QUOTE(ipb error)
Fatal error: Call to undefined function: msg_get_cc_users() in /home/xxxxxx/public_html/forum/ips_kernel/class_db.php on line 608


#9 Adriano Faria

Adriano Faria

    ...a curious guy...

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,268 posts
  • Location:Brazil
  • Real Name:Adriano
  • IPB Version:v3.3.x
Contributor

Posted 11 October 2007 - 11:31 PM

QUOTE(Assistran @ Oct 11 2007, 04:17 PM) <{POST_SNAPBACK}>
When I try run this task was showed it:

QUOTE(ipb error)
Fatal error: Call to undefined function: msg_get_cc_users() in /home/xxxxxx/public_html/forum/ips_kernel/class_db.php on line 608


Try not to run the task in ACP! If you wanna make some tests, configure  the task to run at every 5 min...

#10 gerry5039

gerry5039

    Advanced Member

  • Members
  • PipPipPipPip
  • 53 posts
  • Location:Great Britain
  • Real Name:Gerry
  • IPB Version:v3.0.x

Posted 19 October 2007 - 11:19 PM

I installed it, installed perfectly, but it will not post into the forum chosen or any other.

Can you help please.

#11 Adriano Faria

Adriano Faria

    ...a curious guy...

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,268 posts
  • Location:Brazil
  • Real Name:Adriano
  • IPB Version:v3.3.x
Contributor

Posted 20 October 2007 - 11:44 AM

QUOTE(gerry5039 @ Oct 19 2007, 08:19 PM) <{POST_SNAPBACK}>
I installed it, installed perfectly, but it will not post into the forum chosen or any other. Can you help please.


Hey buddy, working like a charm on 2.3.2... everything's fine! See those screenshots:


  
The topic created on 2.3.2


Viewing the topic content
Be sure not to select a category instead of a forum and see how's the configuration: Show Birthday Message as: Auto PM or New Topic.

#12 NickNeeck

NickNeeck

    Novice

  • Members
  • PipPip
  • 18 posts
  • Real Name:Nick
  • IPB Version:v2.3.x

Posted 21 October 2007 - 02:57 AM

great mod! thx biggrin.gif

#13 chaz

chaz

    Coder

  • Banned
  • PipPipPipPipPip
  • 134 posts
  • IPB Version:N/A

Posted 22 October 2007 - 10:12 AM

what about a calendar topic from the calendar event submission?

#14 Depot

Depot

    Invision Modding.com Helper - Type - Person

  • IM Supporters
  • PipPipPipPipPipPipPipPipPipPip
  • 5,573 posts
  • Location:NE Florida
  • Real Name:Larry C
  • IPB Version:v2.3.x
Contributor

Posted 22 October 2007 - 11:41 AM

QUOTE(chaz @ Oct 22 2007, 06:12 AM) <{POST_SNAPBACK}>
what about a calendar topic from the calendar event submission?

Creating A Topic From A Calendar Event.

The search button is your friend, please learn to use it.

- - - - nsMod Community Forums - - - -

Posted Image Services System Modification Installation FAQ Invision Modding Store Posted Image

I DO: IPB UPGRADES, MOD INSTALLS, DATABASE BACKUPS & RESTORATION, CUSTOM SKINS, SITE TRANSFERS

IMPORTANT - READ THIS BEFORE YOU PM ME!!!

Do not ask me for assistance / provide me with your url if you own a nullified board - IM Staff will be notified.


#15 MylesTaylor

MylesTaylor

    Coder

  • IM Supporters
  • PipPipPipPipPip
  • 207 posts
  • Location:Online
  • Real Name:Michael Vogel
  • IPB Version:v2.3.x

Posted 01 November 2007 - 07:11 PM

I have my task set to run at midnight, but it runs at 6:00 PM. I don't know how to set it back any further because you can't go back any further than midnight.

Posted Image


#16 Adriano Faria

Adriano Faria

    ...a curious guy...

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,268 posts
  • Location:Brazil
  • Real Name:Adriano
  • IPB Version:v3.3.x
Contributor

Posted 02 November 2007 - 08:58 AM

QUOTE(MylesTaylor @ Nov 1 2007, 04:11 PM) <{POST_SNAPBACK}>
I have my task set to run at midnight, but it runs at 6:00 PM. I don't know how to set it back any further because you can't go back any further than midnight.

IP.Board surely is running tasks before this one!

#17 MylesTaylor

MylesTaylor

    Coder

  • IM Supporters
  • PipPipPipPipPip
  • 207 posts
  • Location:Online
  • Real Name:Michael Vogel
  • IPB Version:v2.3.x

Posted 02 November 2007 - 07:16 PM

It's running 18 hours late. I need to set it back 18 hours and I'm not sure how since that goes into the day before.

Posted Image


#18 Adriano Faria

Adriano Faria

    ...a curious guy...

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,268 posts
  • Location:Brazil
  • Real Name:Adriano
  • IPB Version:v3.3.x
Contributor

Posted 02 November 2007 - 07:24 PM

QUOTE(MylesTaylor @ Nov 2 2007, 04:16 PM) <{POST_SNAPBACK}>
It's running 18 hours late. I need to set it back 18 hours and I'm not sure how since that goes into the day before.

That's how it works: IPB can run a task and it can take hours or several minutes... In the meantime, other task will wait this first one end to begin... IPB runs the task this way! ohmy.gif

#19 chaz

chaz

    Coder

  • Banned
  • PipPipPipPipPip
  • 134 posts
  • IPB Version:N/A

Posted 04 November 2007 - 12:29 AM

SO can it be via PM AND post??? or does it have to be one or the other and not both?

#20 Adriano Faria

Adriano Faria

    ...a curious guy...

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,268 posts
  • Location:Brazil
  • Real Name:Adriano
  • IPB Version:v3.3.x
Contributor

Posted 04 November 2007 - 09:06 AM

One or another!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users