Advertisement:
GCWebhosting

Author Topic: Fetching preview not working in 1.1. beta 3  (Read 6736 times)

Offline Millermo

  • Semi-Newbie
  • *
  • Posts: 33
  • Gender: Male
Fetching preview not working in 1.1. beta 3
« on: August 09, 2005, 06:31:41 AM »


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

Help please.

« Last Edit: August 10, 2005, 11:56:50 PM by Amacythe »
http:/www.torrentsmexico.com

Offline Ben_S

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,725
  • xxx
Re: Fetching preview not working in 1.1. beta 3
« Reply #1 on: August 09, 2005, 06:34:54 AM »
Are your templates upto date, does it work for anyone?
Liverpool FC Forum with 14 million+ posts.

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: Fetching preview not working in 1.1. beta 3
« Reply #2 on: August 09, 2005, 01:19:30 PM »
I'm afraid 1.1 Beta 3 Public is not completely compatible with MKPortal.

-[Unknown]

Offline Millermo

  • Semi-Newbie
  • *
  • Posts: 33
  • Gender: Male
Re: Fetching preview not working in 1.1. beta 3
« Reply #3 on: August 09, 2005, 07:52:14 PM »
Are your templates upto date, does it work for anyone?

Yes, all upto date.

http:/www.torrentsmexico.com

Offline xetolosch

  • Jr. Member
  • **
  • Posts: 153
Re: Fetching preview not working in 1.1. beta 3
« Reply #4 on: August 10, 2005, 03:54:56 AM »
Are these problems only with the beta of smf 1.1 or also with smf 1.1?

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: Fetching preview not working in 1.1. beta 3
« Reply #5 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]

Offline Millermo

  • Semi-Newbie
  • *
  • Posts: 33
  • Gender: Male
Re: Fetching preview not working in 1.1. beta 3
« Reply #6 on: August 10, 2005, 04:13:02 PM »
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 :

Code: [Select]
//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.
« Last Edit: August 10, 2005, 04:21:00 PM by torrentsmexico »
http:/www.torrentsmexico.com

Offline txx1972

  • Newbie
  • *
  • Posts: 3
Re: Fetching preview not working in 1.1. beta 3
« Reply #7 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

Code: [Select]
// 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 :

Code: [Select]
// 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.

Offline redone

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,939
  • Gender: Male
Re: Fetching preview not working in 1.1. beta 3
« Reply #8 on: September 23, 2005, 09:52:31 AM »
Or you could just use bloc's tinyportal.  ;)

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

~redone

Offline beemer

  • Jr. Member
  • **
  • Posts: 398
  • Gender: Male
    • BMW7Resource.co.uk
Re: Fetching preview not working in 1.1. beta 3
« Reply #9 on: September 23, 2005, 07:26:49 PM »
There is a fix for this now  by meo over @ MKP  :D

http://www.mkportal.it/support/showthread.php?t=7562&page=2&pp=10
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

Offline oSa

  • Jr. Member
  • **
  • Posts: 155
  • Gender: Male
  • FM Expert
Re: Fetching preview not working in 1.1. beta 3
« Reply #10 on: February 27, 2006, 08:41:20 PM »
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

Code: [Select]
// 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 :

Code: [Select]
// 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?

Offline dl3mcj

  • Semi-Newbie
  • *
  • Posts: 11
Re: Fetching preview not working in 1.1. beta 3
« Reply #11 on: May 19, 2007, 01:18:45 PM »
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

Code: [Select]
// 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 :

Code: [Select]
// 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

Offline AndyII

  • Semi-Newbie
  • *
  • Posts: 40
Re: Fetching preview not working in 1.1. beta 3
« Reply #12 on: June 17, 2007, 06:11:17 PM »
 :) BRAVO    !!!!!!
this should be part of the 1.1.2 download, I put it in My install package