Jump to content
  • 0

Known Bugs and Issues


Div

Question

The following is the current list of known bugs and issues with the site that I have collated from the comments I have seen post the upgrade.

These are divided into sections, Desktop, Tablet, Mobile and App. Feel free to contribute to the topic with issues I have missed but always refer to this opening post for the details of known issues and/or fixes.

Please consult this list before reporting an issue and report any new problems into us my emailing support@pieandbovril.com

1. Desktop Issues

1.1 Flicker between pages as team theme is applied. The default colour scheme applies for a few seconds before the users team theme displays.

1.2 Quotes can disappear if the user tried to edit a quote they have pulled into their post

1.3 Users are signed in "anonymously" by default on the board

2. Tablet Issues (iPad, Android, Kindle - when not using our app)

2.1 There is no emoticon or post formatting capability when using the desktop theme on an iPad

3. Mobile Issues (when not using our app)

3.1 YouTube size is too big for mobile platform (reported on Android)

3.2 Users cannot easily skip to specific page numbers from inside a topic on the mobile skin

3.3 If user clicks the back button the black "loading" image stays on screen

3.4 Mobile theme does not show the time of a post, only the date

3.5 YouTube clips are not displayed Fixed 13th Feb @ 2155

4. App issues (iOS and Android)

4.1 Quoted users name is not displayed on the displayed quote when on the App Fixed 13th Feb @ 2330

4.2 YouTube clips are not displayed Fixed 24th Feb

4.3 New lines are being ignored on posts so all text appears in one long line. Line breaks are added if the post is edited Fixed 14th Feb @ 1540

4.4 Some emoticons are not displayed in posts, instead the HTML code markup is shown

4.5 Following the fix we applied to 4.1 users are now only seeing one topic posted under the "Participated" tab in latest content Fixed 14th Feb @ 1540

4.6 When a user quotes another user on the app the quote is not displayed properly in the resulting post, even though it appears ok in the desktop forum. Fixed 24th Feb

4.7 Some users are reporting line break code "<br>" appearing when they are using the App

Link to comment
Share on other sites

  • Answers 350
  • Created
  • Last Reply

Recommended Posts

Not sure if you've noticed but you have an issue with the tapatalk stuff. To see what I mean look at the main forum page view source, at line 72 onwards and you'll see..

var tapatalk_ipad_msg = 'Pie and Bovril now has it's very own App for your iPad and it's free ! Click here to download and install or just press cancel to proceed to the forum.';
var tapatalk_iphone_msg = 'Pie and Bovril now has it's very own App for your iPhone or iPod Touch and it's free ! Click here to download and install or just press cancel to proceed to the forum.';
var tapatalk_android_msg = 'Pie and Bovril now has it's very own App for your Android device and it's free ! Click here to download and install or just press cancel to proceed to the forum.';
All these JavaScript vars are defined using single quotes, however the string value inside them also contains single quotes, thus terminating the string and throwing a JS error (several of them).

To resolve this, either use double quotes for the definitions, like so...

var myVar = "It's now safe to use 'single quotes' in here";
or escape the single quotes in the strings, like so...
var myVar = 'It\'s new safe to use \'escaped single quotes\' in here'; 
Link to comment
Share on other sites

Not sure if you've noticed but you have an issue with the tapatalk stuff. To see what I mean look at the main forum page view source, at line 72 onwards and you'll see..

var tapatalk_ipad_msg = 'Pie and Bovril now has it's very own App for your iPad and it's free ! Click here to download and install or just press cancel to proceed to the forum.';
var tapatalk_iphone_msg = 'Pie and Bovril now has it's very own App for your iPhone or iPod Touch and it's free ! Click here to download and install or just press cancel to proceed to the forum.';
var tapatalk_android_msg = 'Pie and Bovril now has it's very own App for your Android device and it's free ! Click here to download and install or just press cancel to proceed to the forum.';
All these JavaScript vars are defined using single quotes, however the string value inside them also contains single quotes, thus terminating the string and throwing a JS error (several of them).

To resolve this, either use double quotes for the definitions, like so...

var myVar = "It's now safe to use 'single quotes' in here";
or escape the single quotes in the strings, like so...
var myVar = 'It\'s new safe to use \'escaped single quotes\' in here'; 

Thanks for that Ric.

Link to comment
Share on other sites

2. Tablet Issues (iPad, Android, Kindle - when not using our app)

2.1 There is no emoticon or post formatting capability when using the desktop theme on an iPad

See here:

http://www.pieandbovril.com/forum/index.php/topic/198296-new-look-pb-problems-with-ipad/

I admit Mercury is not perfect but best option I have found for ipad.

Link to comment
Share on other sites

In relation to the flickering of the stylesheets, it's to do with the ipbforumskins.js file and the timing of setting the css classname on the <body> tag. In particular this..

 
    if ( ($.cookie('teamCookie') != null))    {
        $("body").removeClass().addClass($.cookie('teamCookie'));
        $("#teamSelect").children("span#" + $.cookie('teamCookie')).addClass("chosenTeam");
    }
    else{
        $("body").addClass("teamScotland");
    }

This is run using the jQuery hook.. $(document).ready() ..which will trigger once all the DOM has been loaded, and before the DOM assets have been loaded, but because there is so much content on each page (just under 30kb on the main forum page, coming in at approx 3500 lines of HTML) this needs to be served to the client before the stylesheet rule is applied, during that delay the browser tries to render what it knows so far which will result in the teamScotland (default) skin being rendered thus resulting in a "blue flash" of the background until the DOM is complete and the jQuery can pick up the team selection and apply it.

As the page is constantly changing you can't cache it, so there isn't an easy way to speed up this process (as it is), and even then different browsers deal with the caching and DOM rendering in different ways.

Ideally you would render the classname onto the <body> tag which would mean it being inserted using PHP on the server. As it is, you should be getting sent the cookie value in the page header, so it should (and I say should, because I am not looking at the code, just the served content) be as simple as finding the <body> tag in the forum templates, and using the following PHP...

<?php
 echo '<body id="ipboard_body" class="' . $_COOKIE['teamCookie']!='' ? $_COOKIE['teamCookie'] : 'teamScotland' . '">';
?>


I say "as simple as", it's likely that the forum uses token replacement on the templates (ie: {IPB_USERNAME} gets replaced by the current username) so you'll need to do a little more work than just copying and pasting, however anyone with a little experience of PHP should be able to figure it out in a few minutes.

However, providing the classname from the server will resolve the problem of the flash (and those on slow connections) while still allowing the style changing JS on the client side.

Link to comment
Share on other sites

On a plus side the youtube links for me are now simple to embed. All the crap with the newish style ''feature player embedded'' has been resolved and don't need to manually remove it.

Link to comment
Share on other sites

In relation to the flickering of the stylesheets, it's to do with the ipbforumskins.js file and the timing of setting the css classname on the <body> tag. In particular this..

 
    if ( ($.cookie('teamCookie') != null))    {
        $("body").removeClass().addClass($.cookie('teamCookie'));
        $("#teamSelect").children("span#" + $.cookie('teamCookie')).addClass("chosenTeam");
    }
    else{
        $("body").addClass("teamScotland");
    }

This is run using the jQuery hook.. $(document).ready() ..which will trigger once all the DOM has been loaded, and before the DOM assets have been loaded, but because there is so much content on each page (just under 30kb on the main forum page, coming in at approx 3500 lines of HTML) this needs to be served to the client before the stylesheet rule is applied, during that delay the browser tries to render what it knows so far which will result in the teamScotland (default) skin being rendered thus resulting in a "blue flash" of the background until the DOM is complete and the jQuery can pick up the team selection and apply it.

As the page is constantly changing you can't cache it, so there isn't an easy way to speed up this process (as it is), and even then different browsers deal with the caching and DOM rendering in different ways.

Ideally you would render the classname onto the <body> tag which would mean it being inserted using PHP on the server. As it is, you should be getting sent the cookie value in the page header, so it should (and I say should, because I am not looking at the code, just the served content) be as simple as finding the <body> tag in the forum templates, and using the following PHP...

<?php
 echo '<body id="ipboard_body" class="' . $_COOKIE['teamCookie']!='' ? $_COOKIE['teamCookie'] : 'teamScotland' . '">';
?>

I say "as simple as", it's likely that the forum uses token replacement on the templates (ie: {IPB_USERNAME} gets replaced by the current username) so you'll need to do a little more work than just copying and pasting, however anyone with a little experience of PHP should be able to figure it out in a few minutes.

However, providing the classname from the server will resolve the problem of the flash (and those on slow connections) while still allowing the style changing JS on the client side.

Thanks very much for this Ric, I have passed your thoughts on to the developer who created our team theme and see what he reckons.

I felt that the advertising code was not helping so I am loading that inside an iFrame so that it loads independently of the page structure but that hasn't made much (if any) difference.

Link to comment
Share on other sites

Thanks very much for this Ric, I have passed your thoughts on to the developer who created our team theme and see what he reckons.

No problems. The developer will have a better view of what is going on as he can see the back end code and I'm just making guesses from what is served to the client, but I'm glad if that helps in any way.

Heh, there is also the chance I'm completely wrong with the above.. :o ..but then again my ego won't let me to accept that.. ;)

Link to comment
Share on other sites

No problems. The developer will have a better view of what is going on as he can see the back end code and I'm just making guesses from what is served to the client, but I'm glad if that helps in any way.

Heh, there is also the chance I'm completely wrong with the above.. :o ..but then again my ego won't let me to accept that.. ;)

Well I haven't a clue so if he can't fix it then I might hire you to have a look at it for me.

Previously we had 60 odd copies of the same theme installed, and each of those set the colour variation of that theme. This worked well, until we then came to update the forum and the skin need updating. We were looking at days of effort to update all the themes again.

This way we have only one to worry about, as the colour is changed on the fly, but obviously we have this technical challenge to overcome now !

Link to comment
Share on other sites

If anyone has been having difficulty when trying to copy and paste content into the editor can you please try again now and tell me if your issue has been fixed ?

Link to comment
Share on other sites

Not sure if you've noticed but you have an issue with the tapatalk stuff. To see what I mean look at the main forum page view source, at line 72 onwards and you'll see..

var tapatalk_ipad_msg = 'Pie and Bovril now has it's very own App for your iPad and it's free ! Click here to download and install or just press cancel to proceed to the forum.';

var tapatalk_iphone_msg = 'Pie and Bovril now has it's very own App for your iPhone or iPod Touch and it's free ! Click here to download and install or just press cancel to proceed to the forum.';

var tapatalk_android_msg = 'Pie and Bovril now has it's very own App for your Android device and it's free ! Click here to download and install or just press cancel to proceed to the forum.';

All these JavaScript vars are defined using single quotes, however the string value inside them also contains single quotes, thus terminating the string and throwing a JS error (several of them).

To resolve this, either use double quotes for the definitions, like so...

var myVar = "It's now safe to use 'single quotes' in here";

or escape the single quotes in the strings, like so...

var myVar = 'It\'s new safe to use \'escaped single quotes\' in here';

Thanks for that Ric.

Still having an issue with "double quoting" on the app.

When I quoted Div's post, which says "Thanks for that Ric", it also quotes Ric's post in full.

Link to comment
Share on other sites

Still having an issue with "double quoting" on the app.

When I quoted Div's post, which says "Thanks for that Ric", it also quotes Ric's post in full.

I will test tomorrow and add that to the bug tracker if I can reproduce.

Ta.

Link to comment
Share on other sites

Issue 4.1, quotes on the App not showing the name of the user being quoted, has now been fixed. This fix applies to Android and iOS devices and there is no app update or restart required.

Link to comment
Share on other sites

Another couple of fixes, in the app new lines are now dealt with properly, and the bug we created earlier today with the participated thread list not updating has also been fixed.

We are now however seeing a new issue on the app where quoted posts are not rendering properly in the app, even though they look fine on the desktop.

Sigh. Whose bright idea was it to launch an app ?

Link to comment
Share on other sites

Div, could you tell me how you fixed the YouTube videos not appearing? I have the exact same problem on another IPS Forum.

Sure thing, this article has the fix, no idea why they haven't bundled this into the patch they released yesterday;

http://www.invisionpower.com/support/kb/_/youtube-videos-do-not-show-on-mobile-devices-r29

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...