Live Preview phpbb 3.0.11

Mod Support

Moderators: BNa, Sekuro, 4seven

Live Preview phpbb 3.0.11

Postby Cable Player » 21 Feb 2013, 20:29

Hi there, I'm not too sure why the mod author can't offer support on .com but can here, but that's OK I didn't mind signing up over here. So, here's a copy/paste of my post:

Is this MOD compatible with phpBB 3.0.11?

I've installed it but it doesn't work - when typing it doesn't "update"... I've installed it before, on previous versions and it worked just fine.

You can see that the livepreview.html file is being loaded, as a small blank area above the posting body is seen, but it doesn't update as you're typing. I saw a post regarding computability with ABBCB3, which I have installed, but wouldn't see where it could conflict.

These are the MODs I have installed:
Advanced BBCode Box 3 (aka ABBC3) 3.0.12
Welcome PM on first Login (WPM) 2.2.5
Latest Post In Profile 1.0.1
Contact Admin 1.0.10
Add groups in team page & Legend repositioning 0.2.1
Activity Stats MOD 1.0.0
RedBar³ 1.0.2
Static Pages 1.0.3
List subforums in columns 1.0.0
board3 Portal 2.0.1
Advertisement Management 1.0.10
Ultimate Points 1.1.2
ReIMG Image Resizer 2.0.1
Collapsable Categories with Cookies
phpBB mChat 1.3.5
phpBB Gallery 1.1.6
User Blog Mod 1.0.15
Latest Topic Title 1.1.2

Thanks in advance for anything that may help!!
Cable Player

Tiptop

Tiptop
 
Posts: 4
Joined: 21 Feb 2013, 20:28
 
Resolution: 1920x1080


Re: Live Preview phpbb 3.0.11

Postby 4seven » 21 Feb 2013, 21:14

In the case of Live Preview the Advanced BBCode Box 3 (aka ABBC3) 3.0.12 have an other textarea id and syntax as the textarea in a genuine vanilla board. Thats not a false of Live Preview. If you cant fix it with the given information, i need a testuser.
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4seven

Tiptop

Tiptop
 
Posts: 318
Joined: 20 Jun 2012, 16:55
 
Resolution: 1920x1080


Re: Live Preview phpbb 3.0.11

Postby Cable Player » 21 Feb 2013, 21:24

Hello, I'm sorry I don't understand.

I'll PM you login details.
Cable Player

Tiptop

Tiptop
 
Posts: 4
Joined: 21 Feb 2013, 20:28
 
Resolution: 1920x1080


Re: Live Preview phpbb 3.0.11

Postby 4seven » 22 Feb 2013, 18:01

This file is missing and toses an 404 on firebug on starting the posting/live preview:
http://www.the_domain.net/styles/Chrimbo/theme/images/icon_faq.gif

1.png

After that 'missing error' (some seconds) it works perfectly in firefox:

2.png

Just hit F5 after that firebug error.

So the solution is simple:
- Pull the missing file on the right place.
- Also check this fix for the "incoming littlebox with [ok] button" > in chrome:
https://www.phpbb.com/customise/db/mod/ ... 32#p192432
- Also the update time for live preview is to short on this board (this board rides faster as on my testboards). Make it a bit longer:

open

livepreview.js

find

Code: Select all
        setTimeout ('process()',100);
    }
}

function handleServerResponse ()
{
    
    if 
(xmlHttp.readyState == 4)
    {
        if (xmlHttp.status == 200)
        {
            xmlResponse = xmlHttp.responseText;                    
            document
.getElementById("livepreview").innerHTML = xmlResponse;
            setTimeout ('process()',150);

replace with

Code: Select all
        setTimeout ('process()',200);
    }
}

function handleServerResponse ()
{
    
    if 
(xmlHttp.readyState == 4)
    {
        if (xmlHttp.status == 200)
        {
            xmlResponse = xmlHttp.responseText;                    
            document
.getElementById("livepreview").innerHTML = xmlResponse;
            setTimeout ('process()',300);

or replace with

Code: Select all
        setTimeout ('process()',200);
    }
}

function handleServerResponse ()
{
    
    if 
(xmlHttp.readyState == 4)
    {
        if (xmlHttp.status == 400)
        {
            xmlResponse = xmlHttp.responseText;                    
            document
.getElementById("livepreview").innerHTML = xmlResponse;
            setTimeout ('process()',600);
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4seven

Tiptop

Tiptop
 
Posts: 318
Joined: 20 Jun 2012, 16:55
 
Resolution: 1920x1080


Re: Live Preview phpbb 3.0.11

Postby Cable Player » 23 Feb 2013, 04:12

Thanks, that did the trick.

How was it you got firefox to tell you that?? I'm interested!! :)
Cable Player

Tiptop

Tiptop
 
Posts: 4
Joined: 21 Feb 2013, 20:28
 
Resolution: 1920x1080


Re: Live Preview phpbb 3.0.11

Postby 4seven » 23 Feb 2013, 18:05

Firebug
http://getfirebug.com/
is an addon for firefox and other systems.

Shows you eg. script errors (in [console] tab) on websites and much more.

A 'must have' for developer and webadmins.
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4seven

Tiptop

Tiptop
 
Posts: 318
Joined: 20 Jun 2012, 16:55
 
Resolution: 1920x1080


Re: Live Preview phpbb 3.0.11

Postby Cable Player » 23 Feb 2013, 20:08

Awesome, thanks!!
Cable Player

Tiptop

Tiptop
 
Posts: 4
Joined: 21 Feb 2013, 20:28
 
Resolution: 1920x1080


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 3 guests

cron