Notifications
Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum wpForo Support Forum

[Solved] User & Comment Mentioning crashed my website  

Page 2 / 2

P H
Posts: 34
 P H
Customer
Topic starter
(@pejman-habibi)
Member
Joined: 10 months ago

Well, I don't know how to resolve that issue, and, I think you know, Wp-Pro-Quiz  has not been updated in 5 years, though it miraculously continues to run without a hitch. (Hats off to the plugin author, !) So I can't contact him, but I can and have contacted you. 😉

What it means for me, I'm afraid, is that I won't be able to use the wpDiscuz User & Comment Mentioning add-on. 🙁 ... which is a pity, as, as a new customer, I am quite happy with my purchase of your bundle.

8 Replies
Astghik
Admin
(@astghik)
Joined: 3 years ago

Support Team
Posts: 4656

@pejman-habibi,

Please change the role of the user to admin and let us know. The developers will try to help you with this. 

P H
 P H
Customer
(@pejman-habibi)
Joined: 10 months ago

Member
Posts: 34

@astghik

Done!

(And thank you for following this up!)

Astghik
Admin
(@astghik)
Joined: 3 years ago

Support Team
Posts: 4656

@pejman-habibi,

The developers have checked the codes of the plugin. The only way to solve the issue in the plugin code is deleting that hook. However, we're not sure if it may not cause other conflicts. So please let us know if you confirm to delete that hook.

P H
 P H
Customer
(@pejman-habibi)
Joined: 10 months ago

Member
Posts: 34

@astghik

If you do, and it causes other conflicts, will you be kind enough to restore the original at my request ? If so, yes, please go ahead and delete it, and we'll see how it goes.

Astghik
Admin
(@astghik)
Joined: 3 years ago

Support Team
Posts: 4656

@pejman-habibi,

The hook is already removed. Please test it and let us know if you see any issues. 

hai991dk
Customer
(@hai991dk)
Joined: 3 years ago

Member
Posts: 8

@astghik How to remove hook? I also encountered similar problems, although I do not use wpDiscuz User & Comments Mentioning

 

<p>
<?php echo do_shortcode(apply_filters('comment_text', $this->quiz->getText())); ?>
</p>

 

2020 05 26 211335
Elvina
Moderator
(@elvina)
Joined: 1 year ago

Noble Member
Posts: 1407

@hai991dk,

The issue comes from the Wp-Pro-Quiz plugin. Please follow the steps below toto get it resolved:

1. Open the following file:

wp-pro-quiz/lib/view/WpProQuiz_View_FrontQuiz.php

2. Find the following lines, and replace with the following ones:

2.1. line 623

apply_filters('comment_text', $this->quiz->getText()) 

2.2 replace with the following one:

$this->quiz->getText()

2.1. line 761

apply_filters('comment_text', $resultText) 

2.2 replace with the following one:

$resultText

2.1. line 871

apply_filters('comment_text', $question->getQuestion())

2.2. replace with the following one:

$question->getQuestion()

2.1. line 985

apply_filters('comment_text',$clozeData['replace'])

replace with the following one:

$clozeData['replace']

2.1. line 995

apply_filters('comment_text',$assessmentData['replace'])

2.2 replace with the following one:

$assessmentData['replace']

2.1. line 1032

apply_filters('comment_text',$question->getCorrectMsg())

2.2 replace with the following one:

$question->getCorrectMsg()

2.1. line 1060

apply_filters('comment_text',$question->getCorrectMsg())

replace with the following one:

$question->getCorrectMsg()

2.1. line 1062

apply_filters('comment_text',$question->getIncorrectMsg())

2.2.replace with the following one:

$question->getIncorrectMsg()

2.1. line 1081

apply_filters('comment_text', $question->getTipMsg())

2.2. replace with the following one:

$question->getTipMsg()

Please don't forget to delete all caches and press CTRL+F5(twice) on the frontend before checking.

hai991dk
Customer
(@hai991dk)
Joined: 3 years ago

Member
Posts: 8

@elvina Thanks so much!

P H
Posts: 34
 P H
Customer
Topic starter
(@pejman-habibi)
Member
Joined: 10 months ago

Thank you very much for your effort and follow-up. I really appreciate your service-minded attitude.

The Mentioning Addon is now active and the pages with wp-pro-quiz quizzes on them seem to be functioning normally. I'll keep on looking into it to make sure all's good.

Thank you, too, for the couple of useful plugins your developers have installed on my site (Query Monitor and AceIDE)! 🙂

2 Replies
Astghik
Admin
(@astghik)
Joined: 3 years ago

Support Team
Posts: 4656

@pejman-habibi,

I'll keep on looking into it to make sure all's good.

Sure please keep us informed. 

Thank you, too, for the couple of useful plugins your developers have installed on my site (Query Monitor and AceIDE)! 

Yes the plugins are very useful. You can keep those plugins. 

hai991dk
Customer
(@hai991dk)
Joined: 3 years ago

Member
Posts: 8

@pejman-habibi Can you compress folder wp-pro-quiz and share for me?

Page 2 / 2
Share:
Scroll to top