EDIT:
Now I could add images to the question lists through advanced theme:
change function q_list($q_list) to:
function q_list($q_list)
{
if (count(@$q_list['qs'])) { // first check it is not an empty list and the feature is turned on
// Collect the question ids of all items in the question list (so we can do this in one DB query)
$postids=array();
foreach ($q_list['qs'] as $question)
if (isset($question['raw']['postid']))
$postids[]=$question['raw']['postid'];
if (count($postids)) {
// Retrieve the content for these questions from the database and put into an array
$result=qa_db_query_sub('SELECT postid, content, format FROM ^posts WHERE postid IN (#)', $postids);
$postinfo=qa_db_read_all_assoc($result, 'postid');
// Get the regular expression fragment to use for blocked words and the maximum length of content to show
$blockwordspreg=qa_get_block_words_preg();
$maxlength=qa_opt('mouseover_content_max_len');
// Now add the popup to the title for each question
foreach ($q_list['qs'] as $index => $question) {
$thispost=@$postinfo[$question['raw']['postid']];
if (isset($thispost)) {
$text=qa_viewer_text($thispost['content'], $thispost['format'], array('blockwordspreg' => $blockwordspreg));
$text=qa_shorten_string_line($text, $maxlength);
// $q_list['qs'][$index]['title']='<SPAN TITLE="'.qa_html($text).'">'.@$question['title'].'</SPAN>';
$q_list['qs'][$index]['content']=$thispost['content'];
}
}
}
}
Then add to NOAHs embed plugin to qa-embed-layer.php :
function q_item_content($q_item)
{
if (isset($q_item['content'])){
$q_item['content'] = $this->embed_replace($q_item['content']);
}
qa_html_theme_base::q_item_content($q_item);
}
I really dont know if this is errorfree, but at least it works.
Now I can show on each questionlist uploaded images or embedded youtube movies.