Fetching preview not working in 1.1. beta 3

Started by Millermo, August 09, 2005, 06:31:41 AM

Previous topic - Next topic

Millermo



Fetching preview not working in 1.1. beta 3  integrated with mkportal.

Help please.

http:/www.torrentsmexico.com

Ben_S

Are your templates upto date, does it work for anyone?
Liverpool FC Forum with 14 million+ posts.

[Unknown]

I'm afraid 1.1 Beta 3 Public is not completely compatible with MKPortal.

-[Unknown]

Millermo

http:/www.torrentsmexico.com

xetolosch

Are these problems only with the beta of smf 1.1 or also with smf 1.1?

[Unknown]

They will be with all versions of 1.1, since it is a problem with MKPortal.

If you are having problems but do not have MKPortal installed with SMF, it is a template problem.

-[Unknown]

Millermo

#6
Quote from: [Unknown] on August 10, 2005, 11:07:26 AM
They will be with all versions of 1.1, since it is a problem with MKPortal.

If you are having problems but do not have MKPortal installed with SMF, it is a template problem.

-[Unknown]

Thanks, its a problem with MkPortal, if remove the integration, works excellent.

The code problem is :

//added from MKportal
if($FORUM_VIEW == 1 && !$checkaction) {
require_once $MK_PATH."mkportal/include/boardmod/smf_out.php";
mkportal_board_out();
}
//end added


Last I heard MK does not support any kind of beta product until that product becomes final so we will see.


Nemo.
http:/www.torrentsmexico.com

txx1972

Hi,
i find out a bit it`s not fine but it works.
There was a problem with JavaScript to define the variables whre smf 1.1 was in MK-Portal
so here is what to fix.

Search in Templates/default/Post.template.php


// Show the preview section.
var i, preview = XMLDoc.getElementsByTagName("smf")[0].getElementsByTagName("preview")[0];
setInnerHTML(document.getElementById("preview_subject"), preview.getElementsByTagName("subject")[0].firstChild.nodeValue);




replace with :


// Show the preview section.
var i, preview = XMLDoc.getElementsByTagName("smf")[0], XMLDoc.getElementsByTagName("preview")[0];
setInnerHTML(document.getElementById("preview_subject"), preview.getElementsByTagName("subject")[0].firstChild.nodeValue);




Greets Timo

I know there was always an error in JavaScript IE , but now the preview works.

redone

Or you could just use bloc's tinyportal.  ;)

I personally don't think MKportal is very SMF friendly these days.

~redone

beemer

http://www.bmw7resource.co.uk
SMF 1.1 RC1
MKP 1.1 RC1
Helios Multi RC1
-------------------------------------------------------
http://www.thefishsheadnhorsesarse.co.uk
SMF 1.1 RC2
TinyPortal 0.8.6

oSa

Quote from: txx1972 on September 23, 2005, 09:45:31 AM
Hi,
i find out a bit it`s not fine but it works.
There was a problem with JavaScript to define the variables whre smf 1.1 was in MK-Portal
so here is what to fix.

Search in Templates/default/Post.template.php


// Show the preview section.
var i, preview = XMLDoc.getElementsByTagName("smf")[0].getElementsByTagName("preview")[0];
setInnerHTML(document.getElementById("preview_subject"), preview.getElementsByTagName("subject")[0].firstChild.nodeValue);




replace with :


// Show the preview section.
var i, preview = XMLDoc.getElementsByTagName("smf")[0], XMLDoc.getElementsByTagName("preview")[0];
setInnerHTML(document.getElementById("preview_subject"), preview.getElementsByTagName("subject")[0].firstChild.nodeValue);




Greets Timo

I know there was always an error in JavaScript IE , but now the preview works.

I'm using 1.1RC2 with Joomla 1.0.7 and i have this "fetching preview" problem when using Firefox. There is no problem with ie. I did what the post in quote says, the preview function works by this way but there is a new problem. "Additional options" doesn't work correctly, all the options are visible without clicking it. Can someone help me?

dl3mcj

Quote from: txx1972 on September 23, 2005, 09:45:31 AM
Hi,
i find out a bit it`s not fine but it works.
There was a problem with JavaScript to define the variables whre smf 1.1 was in MK-Portal
so here is what to fix.

Search in Templates/default/Post.template.php


// Show the preview section.
var i, preview = XMLDoc.getElementsByTagName("smf")[0].getElementsByTagName("preview")[0];
setInnerHTML(document.getElementById("preview_subject"), preview.getElementsByTagName("subject")[0].firstChild.nodeValue);




replace with :


// Show the preview section.
var i, preview = XMLDoc.getElementsByTagName("smf")[0], XMLDoc.getElementsByTagName("preview")[0];
setInnerHTML(document.getElementById("preview_subject"), preview.getElementsByTagName("subject")[0].firstChild.nodeValue);




Greets Timo

I know there was always an error in JavaScript IE , but now the preview works.

Thank you, this solved my problem on SMF 1.1.1

AndyII

 :) BRAVO    !!!!!!
this should be part of the 1.1.2 download, I put it in My install package

Advertisement: