Notifications
Clear all

Custom 3.5.8 version available - notification module

6 Posts
2 Users
2 Reactions
134 Views
(@jimmi)
Posts: 95
Estimable Member
Topic starter
 

I marked this version with tag 3.5.8.0 because there is no update needed, almost nobody uses this and it is annoying still change version number.

Notification module added and inbuilt functionality:

- send email about new registered user with direct profile link (thanks Jaded for this idea)

- send email about user asked for new password

You can set those notifications on/off.  Multiple emails (separated by comma) are allowed and tested.

How to use:

- standard module (upload only those files)

- update user/editbio.php and lostpassword.php files.  (just add some lines of the code)

 

On github repo - there is exactly seen what was changed.

 

3.5.8 fixed a little bug in URL settings - not accepted https in site URL.

 

Never say that something is impossible because there will be always some dummy who will do it.
URL for efiction site: https://www.hpfanfiction.cz/
php: 8.1.33 MariaDB 10.5
efic version: 4.0.x
mods: storyimage, notifications, storyend

 
Posted : 25/04/2024 3:36 am
marcy reacted
(@marcy)
Posts: 71
Trusted Member
 

Is this module ready for release? Cause its not installing.

It gave me something like it couldn't create the table for the module.

 
Posted : 25/04/2024 9:20 pm
(@marcy)
Posts: 71
Trusted Member
 

A fatal MySQL error was encountered.
Query: SHOW COLUMNS FROM fanfiction_settings LIKE 'notifications'
Error: (1146) Table 'au34cl4_fic.fanfiction_settings' doesn't exist

 
Posted : 25/04/2024 9:49 pm
(@marcy)
Posts: 71
Trusted Member
 

I installed the beta reader list module and that worked. But not this one

 
Posted : 25/04/2024 9:51 pm
(@jimmi)
Posts: 95
Estimable Member
Topic starter
 

Hi, yes, and it is used on 2 sites. The code is used/inspired by the challenges module (this one is changing the settings table too - it has options). 

I updated some things, please, try again. If you have still errors, can you run these queries manually in PHPmyadmin? 

- change your prefix

this is to check if that field already exists or not 

SHOW COLUMNS FROM " . TABLEPREFIX . "fanfiction_settings LIKE 'notifications'

This one adds that field:

ALTER TABLE `" . TABLEPREFIX . "fanfiction_settings` ADD `notifications` TEXT NOT NULL default ''
 

Thanks a lot and sorry for the trouble.

 

Never say that something is impossible because there will be always some dummy who will do it.
URL for efiction site: https://www.hpfanfiction.cz/
php: 8.1.33 MariaDB 10.5
efic version: 4.0.x
mods: storyimage, notifications, storyend

 
Posted : 26/04/2024 12:24 am
(@jimmi)
Posts: 95
Estimable Member
Topic starter
 

@marcy After moving to another provider and a different database server, I have a similar issue with the date field update like you...   Fixed now in 3.5.8 (in repo)   

 

Never say that something is impossible because there will be always some dummy who will do it.
URL for efiction site: https://www.hpfanfiction.cz/
php: 8.1.33 MariaDB 10.5
efic version: 4.0.x
mods: storyimage, notifications, storyend

 
Posted : 23/05/2024 1:15 am
marcy reacted
Share: