Notifications
Clear all

Custom 3.5.8 version available - notification module

6 Posts
2 Users
1 Reactions
18 Views
(@jimmi)
Posts: 83
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: 3.5.8
mods: storyimage, notifications, storyend

 
Posted : 25/04/2024 4:36 am
marcy reacted
(@marcy)
Posts: 70
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 10:20 pm
(@marcy)
Posts: 70
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 10:49 pm
(@marcy)
Posts: 70
Trusted Member
 

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

 
Posted : 25/04/2024 10:51 pm
(@jimmi)
Posts: 83
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: 3.5.8
mods: storyimage, notifications, storyend

 
Posted : 26/04/2024 1:24 am
(@jimmi)
Posts: 83
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: 3.5.8
mods: storyimage, notifications, storyend

 
Posted : 23/05/2024 2:15 am
Share: