We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

why not refreshing automatically?

Options
im not sure if this is the right thread to post this in. If i mark something as read or thank someone on a thread, it does not come up automatically that i have thanked someone. however, if i come off the computer and go on an hour later the thanks will be there. also if i refresh the page after thanking it will automatically be thanked. my mams computer does everything at the right time. is there something in my computer settings that does not allow live updates if that is what i call it. im sure it will be something simple but im not very computer orientated!

any help would be appreciated.
Just about to give up!

Comments

  • esuhl
    esuhl Posts: 9,409 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    It sounds like either the page isn't being refreshed properly or the browser is reading old data from the cache. If you hit CTRL+R the page should refresh appropriately. You might want to have a look at the cache settings in your web browser to see if there's an option you can change so that the pages refresh themselves automatically..
  • asbokid
    asbokid Posts: 2,008 Forumite
    edited 9 May 2011 at 1:34AM
    The Thanks button generated by the vBulletin forum software uses a hyperlink to a PHP server-side script called post_thanks.php. That script accepts two parameters that are passed via the HTTP query string.

    The first parameter is the number of the post to receive your thanks, and the second parameter is a security token. That token is used to stop forum users from running automated code and bots to falsely uprate themselves.
    <a href="[URL="http://forums.moneysavingexpert.com/view-source:http://forums.moneysavingexpert.com/post_thanks.php?do=post_thanks_add&p=43459604&securitytoken=1304899357-63fef75f09801da36d344de57c4d05c6734cf592"]post_thanks.php?do=post_thanks_add&amp;p=xxx&amp;securitytoken=yyy[/URL]"
    id="post_thanks_button_xxx"
    onclick="return post_thanks_give(xxx, false);"
    rel="nofollow">
    <img src="[URL="http://forums.moneysavingexpert.com/view-source:http://images2.moneysavingexpert.com/images/forum_style_2/buttons/post_thanks.gif"]http://images2.moneysavingexpert.com/images/forum_style_2/buttons/post_thanks.gif[/URL]"
    alt="Thanks"
    border="0" />
    </a>
    
    The Thanks button immediately displays your thanks underneath the post, through the use of the return parameter of an "onclick" call to a Javascript function called post_thanks_give().

    The function post_thanks_give() is defined in a separate library of Javascript functions that is loaded through a cascading style sheet, from:
    [URL="http://forums.moneysavingexpert.com/view-source:http://images2.moneysavingexpert.com/clientscript/post_thanks.js?v=181010"]http://images2.moneysavingexpert.com/clientscript/post_thanks.js?v=181010[/URL]
    
    In that file of Javascript functions, the definition for post_thanks_give() is given as:
    function post_thanks_give(postid, integrate) {
    fetch_object('post_thanks_button_' + postid).style.display = 'none';
    if (integrate == true)     { fetch_object('post_groan_button_' + postid).style.display = 'none';     } 
    var sUrl = 'post_thanks.php';
    var postData = 'do=post_thanks_add&using_ajax=1&p=' + postid + '&securitytoken=' + SECURITYTOKEN;
    var request = YAHOO.util.Connect.asyncRequest('POST', sUrl, post_thanks_callback, postData);
    post_thanks_callback.object_name[request.tId] = 'post_thanks_box_' + postid;
    return false;
    
    It sounds like you don't have Javascript enabled in your browser.

    That would explain why your Thanks are being recorded via the post_thanks.php script. That part of the operation is successfully updating the mySQL database to store your thanks.

    However, the second part of the operation, the instant display of your thanks on the current webpage relies on the call via onclick to the Javascript function post_thanks_give(), and that needs Javascript to be enabled in your browser.
  • closed
    closed Posts: 10,886 Forumite
    You haven't said which browser you use, assuming IE:

    internet explorer, tools, internet options, browsing history settings, select check for newer versions of stored pages automatically, ok, ok.
    !!
    > . !!!! ----> .
  • free4440273
    free4440273 Posts: 38,438 Forumite
    try clearing the cache with ccleaner / some browsers handle refreshing better than others //
    BLOODBATH IN THE EVENING THEN? :shocked: OR PERHAPS THE AFTERNOON? OR THE MORNING? OH, FORGET THIS MALARKEY!

    THE KILLERS :cool:

    THE PUNISHER :dance: MATURE CHEDDAR ADDICT:cool:
  • traceya89
    traceya89 Posts: 942 Forumite
    Part of the Furniture Combo Breaker
    closed wrote: »
    You haven't said which browser you use, assuming IE:

    internet explorer, tools, internet options, browsing history settings, select check for newer versions of stored pages automatically, ok, ok.


    this solved my problem. thanks very much.
    Just about to give up!
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 351K Banking & Borrowing
  • 253.1K Reduce Debt & Boost Income
  • 453.6K Spending & Discounts
  • 244K Work, Benefits & Business
  • 599K Mortgages, Homes & Bills
  • 176.9K Life & Family
  • 257.4K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 37.6K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.