Vote script gives Error

Discussion in 'JavaScript' started by ruberr2002, Sep 4, 2008.

  1. #1
    Hi
    Vote button on my site TotalPad.com is really slow & sometime user has to click votebutton 2-3 times to vote. (& it turns so slow to 'voted button')
    totalpad.com is a pligg based site & runs on 9.6 version which is quite older version (the latest one is 9.9.5). Being the older version I am unable to get the support for this issue in pligg forum.
    Could anyone please help where the problem could be. I have seen sites like indianpad.com where vote button is very smooth & once user clicks on the button it turns to voted like charm.
     
    ruberr2002, Sep 4, 2008 IP
  2. mobibu

    mobibu Active Member

    Messages:
    116
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #2
    Actually there are a few options that you can consider...
    a) upgrade to the latest pligg version
    b) move your pligg files into a faster web server
    c) make sure that your pligg template takes as little resources as possible.
     
    mobibu, Sep 4, 2008 IP
  3. temp2

    temp2 Well-Known Member

    Messages:
    1,231
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    150
    Digital Goods:
    2
    #3
    if that is button, you should disable it when user click the first time; you should view this script, Submit Once , to understand disable property clearly.

    Whenever you encounter problems in JavaScript, you should visit http://javascriptbank.com - place can solve all JavaScript problems for you
     
    temp2, Sep 5, 2008 IP