Post Number not showing up in some posts Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
3 posters

    Post Number not showing up in some posts

    avatar
    VS
    New Member


    Posts : 22
    Reputation : 1
    Language : English

    Solved Post Number not showing up in some posts

    Post by VS March 17th 2016, 6:58 pm

    Hello,
    Please click this link. The post numbers appear till #375 in this page, but after that it does not display post numbers. I see the post numbers in all other threads and posts. I am not sure what's so specific on the posts in this page that it does not appear. Because of which we could not share or copy the link of a particular post.
    http://ilayaraja.forumms.net/t118p600-586

    Can you please help me?

    Thanks in advance!


    Last edited by VS on March 17th 2016, 11:49 pm; edited 1 time in total
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51491
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Post Number not showing up in some posts

    Post by SLGray March 17th 2016, 7:34 pm

    Check post #375 to see if there is any codes that are missing closing tags? I mean edit the post to check it.



    Post Number not showing up in some posts Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    VS
    New Member


    Posts : 22
    Reputation : 1
    Language : English

    Solved Re: Post Number not showing up in some posts

    Post by VS March 17th 2016, 8:06 pm

    Thanks a lot for your quick response. I checked the tags for post #375 and also the next posts. There was only "color", "bold" and "italics" tag in those posts and all the tags ended correctly.

    I also noticed just now that the post number links are missing in every page in every thread, not just in this thread, but in the bottom portion of the page. The top portion of the page (posts 1 to 15) display the number links correctly, but the bottom portion of the page does not. So it appears to be some other issue.
    Included other thread links too for your verification:

    http://ilayaraja.forumms.net/t118-586
    http://ilayaraja.forumms.net/t112-unusual-observations-on-raja-s-orchestration
    http://ilayaraja.forumms.net/t28-bgm-sharing-thread-ilayaraaja-bgm-thread

    Please let me know your analysis and also let me know if I can do to fix the issue.

    Thanks again!
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51491
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Post Number not showing up in some posts

    Post by SLGray March 17th 2016, 8:44 pm

    Try this:  AP > General > Forum > Configuration
    Scroll to the bottom and resyn your forum.  Do not worry you will not loose any data.



    Post Number not showing up in some posts Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51491
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Post Number not showing up in some posts

    Post by SLGray March 17th 2016, 8:51 pm

    Do you have sponsored content activate for members or just guests?  Also are you the only one on your forum seeing this issue?



    Post Number not showing up in some posts Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    VS
    New Member


    Posts : 22
    Reputation : 1
    Language : English

    Solved Re: Post Number not showing up in some posts

    Post by VS March 17th 2016, 9:09 pm

    Everyone is seeing this issue. In fact, one of the forum members intimated me about this issue. I don't know anything about sponsored content. Thanks.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51491
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Post Number not showing up in some posts

    Post by SLGray March 17th 2016, 9:10 pm




    Post Number not showing up in some posts Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    VS
    New Member


    Posts : 22
    Reputation : 1
    Language : English

    Solved Re: Post Number not showing up in some posts

    Post by VS March 17th 2016, 9:21 pm

    Yes. Now I see it in Admin Panel/General/Configuration/. Allow sponsored content is activated only for "Guests".
    Take Notes
    Take Notes
    Helper
    Helper


    Male Posts : 2337
    Reputation : 324
    Language : English
    Location : Forumountain

    Solved Re: Post Number not showing up in some posts

    Post by Take Notes March 17th 2016, 9:26 pm

    Set it to "No".
    avatar
    VS
    New Member


    Posts : 22
    Reputation : 1
    Language : English

    Solved Re: Post Number not showing up in some posts

    Post by VS March 17th 2016, 9:44 pm

    Yes I did it. I still don't see the post numbers.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51491
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Post Number not showing up in some posts

    Post by SLGray March 17th 2016, 9:47 pm

    Check here:  AP > General > Messages & Emails > Configuration
    Check to see what the number is set to for posts per page.



    Post Number not showing up in some posts Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    VS
    New Member


    Posts : 22
    Reputation : 1
    Language : English

    Solved Re: Post Number not showing up in some posts

    Post by VS March 17th 2016, 9:53 pm

    It is set to 25.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51491
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Post Number not showing up in some posts

    Post by SLGray March 17th 2016, 9:54 pm

    Try this:  delete the forum's cookies and your browser's cache.



    Post Number not showing up in some posts Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51491
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Post Number not showing up in some posts

    Post by SLGray March 17th 2016, 9:55 pm

    Wait a minute!  Is your forum's version #phpBB3 ?  If yes, phpBB 3 does not have numbered posts.  Are you using a code?



    Post Number not showing up in some posts Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    VS
    New Member


    Posts : 22
    Reputation : 1
    Language : English

    Solved Re: Post Number not showing up in some posts

    Post by VS March 17th 2016, 11:30 pm

    Sorry, for some reason this support forum was loading very slow from my office. Drove back home and logging in.
    Yes, there was some script given from this forum long time back to see the post numbers. Now I don't remember where we put the code in.
    avatar
    VS
    New Member


    Posts : 22
    Reputation : 1
    Language : English

    Solved Re: Post Number not showing up in some posts

    Post by VS March 17th 2016, 11:48 pm

    You're absolutely right!! The code which we got had posts_per_page as 15 which was causing the issue. Thanks a lot for nailing it down. I really appreciate your patience and diligence in approaching and solving the issue. I have pasted the code if it could help someone. If it is any violation, please take out the code.

    Code:
    $(function() {
       ('Copyright © AvacWeb. All Rights Reserved. Use and  modification of this script is not allowed without this entire copyright notice in the original, copied, or modified script. No distribution without consent.');
       var posts_per_page = 15; //number of posts you have displayed per page in topics.
       var page = document.title.match(/-\sPage\s(\d+)$/), page = page ? page[1] : 1;
       var posts = $('.postprofile', document.getElementById('main-content')), postnum = (page - 1) * posts_per_page;
       for(var i = 0; i < posts_per_page; i++) {
          if(!posts[i]) break;
          var link = posts[i].previousSibling.getElementsByTagName('h2')[0].getElementsByTagName('a')[0].href;
          posts[i].innerHTML = '<span class="postnumber"><a href="' + link + '">#' + ++postnum + '</a></span>' + posts[i].innerHTML;
       }
    });

    Can't thank you enough for immense help!!
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51491
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Post Number not showing up in some posts

    Post by SLGray March 18th 2016, 5:12 am

    You're welcome.

    Topic solved and archived



    Post Number not showing up in some posts Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.