The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: C:\sites\kwikcontent\supportforum\global.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\global.php 94 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 28 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: C:\sites\kwikcontent\supportforum\global.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\global.php 573 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 28 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: C:\sites\kwikcontent\supportforum\global.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\global.php 752 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 28 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: C:\sites\kwikcontent\supportforum\global.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\global.php 892 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 28 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: C:\sites\kwikcontent\supportforum\global.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\global.php 892 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 28 require_once
Warning [2] Undefined variable $unreadreports - Line: 25 - File: C:\sites\kwikcontent\supportforum\global.php(959) : eval()'d code PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\global.php(959) : eval()'d code 25 errorHandler->error
C:\sites\kwikcontent\supportforum\global.php 959 eval
C:\sites\kwikcontent\supportforum\showthread.php 28 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: C:\sites\kwikcontent\supportforum\global.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\global.php 1024 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 28 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: C:\sites\kwikcontent\supportforum\inc\functions.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions.php 5308 errorHandler->error
C:\sites\kwikcontent\supportforum\global.php 1024 build_theme_select
C:\sites\kwikcontent\supportforum\showthread.php 28 require_once
Warning [2] Undefined array key "mybb" - Line: 2121 - File: C:\sites\kwikcontent\supportforum\inc\functions.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions.php 2121 errorHandler->error
C:\sites\kwikcontent\supportforum\inc\functions_indicators.php 41 my_set_array_cookie
C:\sites\kwikcontent\supportforum\showthread.php 669 mark_thread_read
Warning [2] Undefined array key "profilefield" - Line: 6 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php(484) : eval()'d code PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php(484) : eval()'d code 6 errorHandler->error
C:\sites\kwikcontent\supportforum\inc\functions_post.php 484 eval
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php 768 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php 773 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php(484) : eval()'d code PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php(484) : eval()'d code 6 errorHandler->error
C:\sites\kwikcontent\supportforum\inc\functions_post.php 484 eval
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php 768 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php 773 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php(484) : eval()'d code PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php(484) : eval()'d code 6 errorHandler->error
C:\sites\kwikcontent\supportforum\inc\functions_post.php 484 eval
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php 768 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php 773 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php(484) : eval()'d code PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php(484) : eval()'d code 6 errorHandler->error
C:\sites\kwikcontent\supportforum\inc\functions_post.php 484 eval
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php 768 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php 773 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "invisible" - Line: 1568 - File: C:\sites\kwikcontent\supportforum\showthread.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\showthread.php 1568 errorHandler->error
Warning [2] Undefined variable $threadnotesbox - Line: 33 - File: C:\sites\kwikcontent\supportforum\showthread.php(1600) : eval()'d code PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\showthread.php(1600) : eval()'d code 33 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1600 eval
Warning [2] Undefined variable $search_thread - Line: 60 - File: C:\sites\kwikcontent\supportforum\showthread.php(1600) : eval()'d code PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\showthread.php(1600) : eval()'d code 60 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1600 eval
Warning [2] Undefined variable $addremovesubscription - Line: 82 - File: C:\sites\kwikcontent\supportforum\showthread.php(1600) : eval()'d code PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\showthread.php(1600) : eval()'d code 82 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1600 eval
Warning [2] Undefined variable $thread_deleted - Line: 104 - File: C:\sites\kwikcontent\supportforum\showthread.php(1600) : eval()'d code PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\showthread.php(1600) : eval()'d code 104 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1600 eval





Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Pharse?
#1
Hi Jeff,

Hope you can help, is there anyway to display the yahoo answers with some separation paragraphs. The content displayed is quite difficult to read which makes it look a bit spammy. Is there anyway we can modify the code, maybe add in a line or two to allow the answers to be displayed properly?

Also it would be nice if you could add another module for us to add our own articles to the sub keyword. This will really solve the "long tail" problem associated with longer keywords with no results found. Smile Btw is there a way to do it which I'm not aware of?

regards,
Jeremy
Reply
#2
Jeremy, you can edit the display of the answers by altering the HTML template for that page. The one you refer to is yahoo_answer.htm and it can be found in the folder - templates/yahoo_grids_1/yahoo_answer.htm. There is a CSS style associated with those, so you may be able to achieve your desired look by simply altering the _style.css file in the same directory.

There is no way to currently add articles to subkeys. Building a module for this is possible, but would require an additional release of the software. This would be a feature I would suggest as a custom modification, because a new release of Kwikcontent will not be coming out any time soon. I will, however, make a note of this suggestion on my end and will consider it for a future release. I'd really like to hear others' opinions on the subject.
Reply
#3
Hi Jeff,

Is this the line that we change?

{$answer.qa_info.Content|regex_replace:"/[\r\t\n]/":" "}

What do we change to separate the answer into paragraphs like what the person input? I don't really understand the code.

Thanks
Reply
#4
Sorry, I didn't understand your original question, but now I do. Yes, that is the line you want to edit.

Before:
<li>{$ans.Content|regex_replace:"/[\r\t\n]/":" "}</li>

After:
<li>{$ans.Content|regex_replace:"/[\r\t\n]/":"<p>"}</li>

You can also add some space between the different answers:

Before:
<li>{$ans.Content|regex_replace:"/[\r\t\n]/":" "}</li>

After:
<li>{$ans.Content|regex_replace:"/[\r\t\n]/":" "}</li><br /><br />
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)