Johan81 Posted March 7, 2012 Share Posted March 7, 2012 Can you try to recache all? If you haven't problems with other hooks it must be functional. I assume you've IPB 3.2.3 Did that before, but to be sure that I did it right last time. Should I do it when the hook is activated or deactivated? Think it was activated last time i tried. Correct, I'm running IPB 3.2.3. /Johan Link to comment
*Salvo* Posted March 8, 2012 Share Posted March 8, 2012 Activate the hook>>>System Setting>>>Hooks>>>(PAV) Someone mentions you | and check the ideal setting for you. After that clear the cache (I use the SEARCH function to have the immediate cache page). I have about 50 hooks installed, without any problem. So I guess there's something else that gives problem, not the hook itself. Link to comment
Johan81 Posted March 8, 2012 Share Posted March 8, 2012 I have clicked on all recache buttons But I still get an error. Now on a new line: Fatal error: Call to undefined method classPostForms::getispreview() in /web/gallery/ipboard/hooks/p32MentionsClassPost_472f1286b3e8d24f68ff60df5f4cd260.php on line 24 Line 24 instead of 102. And thats even if i don't use the @user hook in the post. /Johan Link to comment
*Salvo* Posted March 8, 2012 Share Posted March 8, 2012 It's possible that there's some compatibility issue with the getispreview() function. Of course I'm not sure. Are you testing it on your computer, on a server Linux, or...else? Link to comment
Johan81 Posted March 8, 2012 Share Posted March 8, 2012 It's possible that there's some compatibility issue with the getispreview() function. Of course I'm not sure. Are you testing it on your computer, on a server Linux, or...else? I'm running it on a ubuntu server install. /Johan Link to comment
Pavulon87 Posted March 11, 2012 Author Share Posted March 11, 2012 Because of some reason there is a problem with class classPostForms(and its method getispreview). classPostForms(admin/applications/forums/sources/classes/post/classPostForms.php) is extending classPost(admin/applications/forums/sources/classes/post/classPost.php) and is extended by class p32MentionsClassPost from hook. Any method from classPost and classPostForms should work without problems. But there must be something which breaks everything. You could try to change:parent::getIsPreview()[/CODE] into: [CODE]$this->getIsPreview() or: $this->_internalData['IsPreview'][/code] Link to comment
Johan81 Posted March 11, 2012 Share Posted March 11, 2012 Because of some reason there is a problem with class classPostForms(and its method getispreview). classPostForms(admin/applications/forums/sources/classes/post/classPostForms.php) is extending classPost(admin/applications/forums/sources/classes/post/classPost.php) and is extended by class p32MentionsClassPost from hook. Any method from classPost and classPostForms should work without problems. But there must be something which breaks everything. You could try to change:parent::getIsPreview()[/CODE] into: [CODE]$this->getIsPreview() or: $this->_internalData['IsPreview'][/code] In which file should i do this? /Johan Link to comment
shanert Posted March 12, 2012 Share Posted March 12, 2012 If I install this hook, the default for all members is the notification via notification list. How can I turn on the notification via email, by default, too? Link to comment
*Salvo* Posted March 12, 2012 Share Posted March 12, 2012 In which file should i do this? /Johan In your forum's root, search the folder /hooks and the file: p32MentionsClassPost_472f1286b3e8d24f68ff60df5f4cd260.php Make the changes that Pavulon wrote. Link to comment
Johan81 Posted March 12, 2012 Share Posted March 12, 2012 Because of some reason there is a problem with class classPostForms(and its method getispreview). classPostForms(admin/applications/forums/sources/classes/post/classPostForms.php) is extending classPost(admin/applications/forums/sources/classes/post/classPost.php) and is extended by class p32MentionsClassPost from hook. Any method from classPost and classPostForms should work without problems. But there must be something which breaks everything. You could try to change: parent::getIsPreview()[/CODE] into: [CODE]$this->getIsPreview()[/CODE] or: [CODE]$this->_internalData['IsPreview'][/CODE] [CODE] Fatal error: Call to undefined method classPostForms::setpostcontentpreformatted() in /web/gallery/ipboard/hooks/p32MentionsClassPost_472f1286b3e8d24f68ff60df5f4cd260.php on line 49 When trying the first change i get this error msg when i am going to send the post: When trying the second change i ghet this error msg: Fatal error: Call to undefined method classPostForms::setpostcontentpreformatted() in /web/gallery/ipboard/hooks/p32MentionsClassPost_472f1286b3e8d24f68ff60df5f4cd260.php on line 49 So none of them worked... just more errors. /Johan Link to comment
Pavulon87 Posted March 14, 2012 Author Share Posted March 14, 2012 When trying the second change i ghet this error msg: Fatal error: Call to undefined method classPostForms::setpostcontentpreformatted() in /web/gallery/ipboard/hooks/p32MentionsClassPost_472f1286b3e8d24f68ff60df5f4cd260.php on line 49 So none of them worked... just more errors. /Johan Probably if you change: parent::setPostContentPreFormatted( $post['post'] ); to: $this->_internalData['PostContentPreFormatted'] = $post['post'];[/code] then an error will no longer occur, but can occur a new error about "parent::addReply()" which will not be able to get around. I have no idea what else can be done without access to your files/ACP. Link to comment
Buskopan Posted March 15, 2012 Share Posted March 15, 2012 Members with Russian nicknames are not getting the notifications... please help Link to comment
Pavulon87 Posted March 19, 2012 Author Share Posted March 19, 2012 Hello Buskopan. Do you enabled the option "Use alternative search"? Link to comment
Chetan105 Posted March 24, 2012 Share Posted March 24, 2012 Any Showstopper issues with IPB 3.3 ? Link to comment
Timberwolf1771 Posted March 24, 2012 Share Posted March 24, 2012 This seems to be working on my test board which is 3.3 Link to comment
SECTalk.com Posted April 20, 2012 Share Posted April 20, 2012 I just wanted to say awesome add-on. Thanks a lot for this. A couple of questions: 1) Is there a way to have the @ symbol not appear in the actual post? 2) You know when you send a PM and start typing a user's name, and a list comes up and you can just click the name.. is there anyway for that little popup to come up while you are typing a name into the post box? Thanks Link to comment
SECTalk.com Posted April 21, 2012 Share Posted April 21, 2012 Also, Pav, I have created my own custom library hook extending the same class as one of the files in this mod. But when my hook is enabled, it makes this one not function. Is there anyway you could help me figure out what is conflicting? Thanks Link to comment
media Posted April 22, 2012 Share Posted April 22, 2012 I just purchased this... If you mention multiple names in a post only the last one get parsed and sent notification???? Is this a bug??? Also, Do you have any plan to include support for blog, gallery, and so on???? Thanks Link to comment
media Posted April 23, 2012 Share Posted April 23, 2012 One more problem @admin or @Admin my username is not triggering the notification, is there a reason??? (settings is ok set to receive notification) Thanks Link to comment
Timberwolf1771 Posted April 23, 2012 Share Posted April 23, 2012 I just purchased this... If you mention multiple names in a post only the last one get parsed and sent notification???? Is this a bug??? Also, Do you have any plan to include support for blog, gallery, and so on???? Thanks I would check your setting to see how many you're allowed to have in a post. I often have more than one when I'm mentioning people in a post and I don't have any problems. One more problem @admin or @Admin my username is not triggering the notification, is there a reason??? (settings is ok set to receive notification) Thanks I think you might have missed an upload or something. I just tried this on my test board and it @admin worked for me. What version board are you using? Link to comment
media Posted April 23, 2012 Share Posted April 23, 2012 I would check your setting to see how many you're allowed to have in a post. I often have more than one when I'm mentioning people in a post and I don't have any problems. 10I think you might have missed an upload or something. I just tried this on my test board and it @admin worked for me. What version board are you using? fixed... (Settings changed) Link to comment
Timberwolf1771 Posted April 23, 2012 Share Posted April 23, 2012 Excellent! Glad you got it sorted. Link to comment
media Posted April 23, 2012 Share Posted April 23, 2012 I just purchased this... If you mention multiple names in a post only the last one get parsed and sent notification???? Is this a bug??? Also, Do you have any plan to include support for blog, gallery, and so on???? Thanks This is still problem : My setting number is: 20 I tried every possible way if I put multiple name in a same post only send notification to the first one... Link to comment
shanert Posted May 11, 2012 Share Posted May 11, 2012 Is there a way to use this with the calendar too? So that the users can mention other users at the calendar-comments? Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.