[ABD] Board Notices Manager

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
falcon23
Registered User
Posts: 46
Joined: Fri Nov 21, 2014 6:42 pm

Re: [Dev] Board Notices Manager

Post by falcon23 »

Small problem.

If extension is enabled i can`t open "Who is online" - only blank (white) page viewonline.php
User avatar
FredQ
Registered User
Posts: 138
Joined: Sat Nov 01, 2014 10:48 am
Location: Northeast Scotland
Name: Fred Q
Contact:

Re: [Dev] Board Notices Manager

Post by FredQ »

falcon23 wrote:Small problem.

If extension is enabled i can`t open "Who is online" - only blank (white) page viewonline.php
That's interesting, I don't have the issue on any of the instances I'm using for testing :o

Do you have access to the Apache/PHP log file? Does it have a PHP error or warning in it?
My board (converted from vBulletin)
falcon23
Registered User
Posts: 46
Joined: Fri Nov 21, 2014 6:42 pm

Re: [Dev] Board Notices Manager

Post by falcon23 »

As I said in PM:

Code: Select all

PHP Fatal error:  Call to undefined function fq\boardnotices\rules\phpbb_get_user_rank() in /home/adm46438/public_html/ext/fq/boardnotices/rules/rank.php on line 106
Problem is connected to {RANK} variable ... without {RANK} in notice all work fine.
User avatar
FredQ
Registered User
Posts: 138
Joined: Sat Nov 01, 2014 10:48 am
Location: Northeast Scotland
Name: Fred Q
Contact:

Re: [Dev] Board Notices Manager

Post by FredQ »

falcon23 wrote:
Problem is connected to {RANK} variable ... without {RANK} in notice all work fine.
Ok, now I see what is the problem. It should be easy to fix, thanks for reporting it ;)
My board (converted from vBulletin)
falcon23
Registered User
Posts: 46
Joined: Fri Nov 21, 2014 6:42 pm

Re: [Dev] Board Notices Manager

Post by falcon23 »

FredQ wrote:...thanks for reporting it ;)
YW! The extension is a great I really like it and it is very useful. With the offered variables seem to be very intelligent in "communication" with the user. The user's reaction is: "Hey, this announcement is directed exactly to me!" or "How forum knows that I missed some things?" :D

Great work FredQ.

If I may suggest some options:
- More {VARIABLE} :)
- X button for users who read notice - after read it they can close notice. If user close it no more that notice for that user in that session. It would be very polite.

Keep up the good work!
Regards.
User avatar
FredQ
Registered User
Posts: 138
Joined: Sat Nov 01, 2014 10:48 am
Location: Northeast Scotland
Name: Fred Q
Contact:

Re: [Dev] Board Notices Manager

Post by FredQ »

falcon23 wrote:
If I may suggest some options:
- More {VARIABLE} :)
- X button for users who read notice - after read it they can close notice. If user close it no more that notice for that user in that session. It would be very polite.

Keep up the good work!
Regards.
Thanks! This is much appreciated.

I was planning on a dismiss button already. Well I have two features in the pipe right now:
  • Displaying more than one notice (each notice would have a "don't show more after me" configuration)
  • Dismiss a notice. The notice would reappear after a configurable number of days (configurable for each notice)
I also have a few other rules I want to implement and then the extension will be ready to be released.

New version 0.2.1: Fixed a bug when using the {RANK} variable.
My board (converted from vBulletin)
falcon23
Registered User
Posts: 46
Joined: Fri Nov 21, 2014 6:42 pm

Re: [Dev] Board Notices Manager

Post by falcon23 »

Thanks!
User avatar
FredQ
Registered User
Posts: 138
Joined: Sat Nov 01, 2014 10:48 am
Location: Northeast Scotland
Name: Fred Q
Contact:

Re: [Dev] Board Notices Manager

Post by FredQ »

Version 0.2.2:
  • Added three new rules: number of posts equals to, less than and more than
  • Added three new variables: POSTS (number of posts), GROUPID and GROUPNAME (id and name of the default group only)
By the way, got asked today if I didn't mind getting some suggestions of improvement. I sure not! Please post your suggestions (new functionality, new rules/conditions, new {variable}).
My board (converted from vBulletin)
User avatar
Volksdevil
Registered User
Posts: 2415
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [Dev] Board Notices Manager

Post by Volksdevil »

This is a fantastic extension, very useful and helpful to 'lure' members into interacting etc.

Well done! 8-)

I'm going to update to latest version as soon as I can.
My phpBB Extensions
Finally found great Website Hosting from :arrow: KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Twitch | My Volkswagen Corrado G60
User avatar
FredQ
Registered User
Posts: 138
Joined: Sat Nov 01, 2014 10:48 am
Location: Northeast Scotland
Name: Fred Q
Contact:

Re: [Dev] Board Notices Manager

Post by FredQ »

Volksdevil wrote:This is a fantastic extension, very useful and helpful to 'lure' members into interacting etc.
Thank you for your feedback!

version 0.2.7 released: Bug fixes and new functional tests to make sure I don't break things working on it :mrgreen:
My board (converted from vBulletin)
User avatar
Volksdevil
Registered User
Posts: 2415
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [Dev] Board Notices Manager

Post by Volksdevil »

Is updating just the usual case of:
Disable extension
Delete old files.
Upload new files.
Enable extension.

? :)
My phpBB Extensions
Finally found great Website Hosting from :arrow: KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Twitch | My Volkswagen Corrado G60
User avatar
FredQ
Registered User
Posts: 138
Joined: Sat Nov 01, 2014 10:48 am
Location: Northeast Scotland
Name: Fred Q
Contact:

Re: [Dev] Board Notices Manager

Post by FredQ »

Volksdevil wrote:Is updating just the usual case of:
Disable extension
Delete old files.
Upload new files.
Enable extension.

? :)
Yes, that's exactly the case. It's better to remove the previous files since the extension is in development and some files get moved or renamed.

I have this script I use on my different test boards (assuming you're using some flavour of Unix to host phpBB) that I run from a [phpBBroot]/packages folder:

Code: Select all

#!/bin/bash
rm boardnotices.zip
wget https://github.com/gouarfig/board-notices/archive/master.zip -O boardnotices.zip
unzip boardnotices.zip
/usr/bin/php ../bin/phpbbcli.php extension:disable fq/boardnotices
rm -rf ../ext/fq/boardnotices/*
mv board-notices-master/* ../ext/fq/boardnotices/
/usr/bin/php ../bin/phpbbcli.php extension:enable fq/boardnotices
rm -rf board-notices-master
My board (converted from vBulletin)
User avatar
Volksdevil
Registered User
Posts: 2415
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [Dev] Board Notices Manager

Post by Volksdevil »

Hi mate, just a quick question about the {ANNIVERSARY} tag...

Will it increment (Go up in value) for each year that a member has been registered?
eg: 1 year, 2 year, 3 year etc?
My phpBB Extensions
Finally found great Website Hosting from :arrow: KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Twitch | My Volkswagen Corrado G60
User avatar
FredQ
Registered User
Posts: 138
Joined: Sat Nov 01, 2014 10:48 am
Location: Northeast Scotland
Name: Fred Q
Contact:

Re: [Dev] Board Notices Manager

Post by FredQ »

Volksdevil wrote:Hi mate, just a quick question about the {ANNIVERSARY} tag...

Will it increment (Go up in value) for each year that a member has been registered?
eg: 1 year, 2 year, 3 year etc?
Yes, that's how it works 8-)

Maybe it's not too obvious, but I couldn't find a better name for this variable.
My board (converted from vBulletin)
User avatar
Hippie459MN
Registered User
Posts: 964
Joined: Mon Oct 15, 2007 10:13 pm
Location: Minnesota, USA
Contact:

Re: [Dev] Board Notices Manager

Post by Hippie459MN »

Holy smokes! This is exactly what I have been wanting for a long time! Huge thank you for this. So far its working great here. :D
Locked

Return to “Abandoned Extensions”