Hmm.. Good question !
I think the block should be a link. You can access the user link and message/notification link from the main notification block.
[RFC|Merged] notification box
- Dragosvr92
- Registered User
- Posts: 624
- Joined: Tue May 31, 2011 12:08 pm
- Location: Romania
- Contact:
Re: [RFC] notification box
Previous user: TheKiller
Avatar on Memberlist 1.0.3
Avatar on Memberlist 1.0.3
-
- Registered User
- Posts: 523
- Joined: Sat Apr 22, 2006 10:29 pm
- Contact:
Re: [RFC] notification box
Agreed... In my opinion the whole block should be a link. Doing so will make it very mobile (phones, tablets, etc) friendly.TheKiller wrote:Hmm.. Good question !
I think the block should be a link. You can access the user link and message/notification link from the main notification block.
- EXreaction
- Registered User
- Posts: 1555
- Joined: Sat Sep 10, 2005 2:15 am
Re: [RFC] notification box
It already is.
-
- Registered User
- Posts: 523
- Joined: Sat Apr 22, 2006 10:29 pm
- Contact:
Re: [RFC] notification box
Glad to hear it!EXreaction wrote:It already is.
Re: [RFC] notification box
Hey, thanks for the hard work. I'm trying to test this out, and I'm getting a fatal error when trying to install and populate the tables. It has to do with the key length.
Here's what I get:
Here's what I get:
Code: Select all
install_install.php [ 1169 ]
SQL : CREATE TABLE phpbb_user_notifications ( item_type varchar(255) DEFAULT '' NOT NULL, item_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, user_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, method varchar(255) DEFAULT '' NOT NULL, notify tinyint(1) UNSIGNED DEFAULT '1' NOT NULL, PRIMARY KEY (item_type, item_id, user_id, method) ) CHARACTER SET `utf8` COLLATE `utf8_bin`
Specified key was too long; max key length is 1000 bytes
Re: [RFC] notification box
utf8 uses 3 bytes per character, latin1 uses 1 byte per character. I am not sure if item_type and method need a varchar of 255.
Do not hire Christian Bullock he won't finish the job and will keep your money
- EXreaction
- Registered User
- Posts: 1555
- Joined: Sat Sep 10, 2005 2:15 am
Re: [RFC] notification box
What database system and version are you using?
- EXreaction
- Registered User
- Posts: 1555
- Joined: Sat Sep 10, 2005 2:15 am
Re: [RFC] notification box
When someone reviews it.
Re: [RFC] notification box
I'm using MySQL with MySQLi, version 5.1.65.EXreaction wrote:What database system and version are you using?
Like RmCGirr83 pointed out, the problem stems from all four columns being primary keys, as that exceeds 1000 bytes in UTF-8.
However, I was able to bypass this issue by importing the table manually (not from install) and changing the 2 varchar columns to varbinary.