DragonByte Tech Proudly Hosted By
Dedicated Servers from HiVelocity Hosting

User Tag List

  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Results 1 to 5 of 5
    1. #1
      Junior Member
      Gil
      207
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      This user has no status.
       
      I am:
      ----
       
      Join Date
      Feb 2011
      Posts
      14
      Rep Power
      0

      Default Ajax JQuery auto page refresh

      I've been searching for this and found a lot different code/scripts yet i have not been able to get any of them working.

      Wouldn't be a good idea to make a mod that auto refresh the page with ajax jquery?

      Btw, i'm already using the ajax threads mod.


    2. #2
      Administrator Decado's Avatar
      Blog Entries
      63
      Gil
      9,566
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      is writing up design docs for
      product updates
       
      I am:
      Friendly
       
      Join Date
      Jan 2010
      Location
      Glasgow, Scotland
      Age
      23
      Posts
      2,298
      Blog Entries
      63
      Rep Power
      10

      Default

      Not really sure how what you are requesting is different from AJAX Threads?

      Iain Kidd
      Founder & Managing Director
      DragonByte Technologies Ltd www.DragonByte-Tech.com

    3. #3
      Junior Member
      Gil
      207
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      This user has no status.
       
      I am:
      ----
       
      Join Date
      Feb 2011
      Posts
      14
      Rep Power
      0

      Default

      HTML Code:
      <html>
      <head>
      <!-- For ease i'm just using a JQuery version hosted by JQuery- you can download any version and link to it locally -->
      <script src="http://code.jquery.com/jquery-latest.js"></script>
      <script>
       $(document).ready(function() {
       	 $("#responsecontainer").load("response.php");
         var refreshId = setInterval(function() {
         }, 9000);
         $.ajaxSetup({ cache: false });
      });
      </script>
      </head>
      <body>
       
      <div id="responsecontainer">
      (auto refresh homepage or forumpage)
      </div>
      </body>
      This is just an example.
      I tried different scripts and couldn't get any one of them working.
      I just don't have any idea how or where to write the script so it auto refresh homepage.

      (javascript refresh element setinterval)

      Last edited by Fanta; 30th January 2012 at 23:51.

    4. #4
      Development Team Ozzy47's Avatar
      Blog Entries
      10
      Gil
      21,314
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      is Pulling my hair out trying to
      code
       
      I am:
      Wtf
       
      Join Date
      Mar 2010
      Posts
      3,161
      Blog Entries
      10
      Rep Power
      10

      Default

      If you want it to refresh the CMS home page you need to edit the template vBulletin CMS Templates / vbcms_page

      If you want it to refresh the Forum home page you need to edit the template Forum Home Templates / FORUMHOME

      Add the following code to the very top of the template.

      Code:
      <meta http-equiv=refresh content="300">
      You can change 300 to what ever you wish, the value is in seconds.

      Please do not Private Message me with support requests or product questions. PMs are only for exchanging sensitive information (like FTP / AdminCP logins).
      Thanks San thanked for this post


    5. #5
      Junior Member
      Gil
      207
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      This user has no status.
       
      I am:
      ----
       
      Join Date
      Feb 2011
      Posts
      14
      Rep Power
      0

      Default

      Quote Originally Posted by Ozzy47 View Post
      If you want it to refresh the CMS home page you need to edit the template vBulletin CMS Templates / vbcms_page

      If you want it to refresh the Forum home page you need to edit the template Forum Home Templates / FORUMHOME

      Add the following code to the very top of the template.

      Code:
      <meta http-equiv=refresh content="300">
      You can change 300 to what ever you wish, the value is in seconds.
      Hello,

      I already know how to do that but i want to have the page refreshed with jquery.


      javascript - auto-refreshing div with jquery - Stack Overflow


      Refresh DIV Content Without Reloading Page


      Im sure you guys can make a jquery page refresh vbulletin mod

      Well.. it's just an idea


    Thread Information

    Users Browsing this Thread

    There are currently 1 users browsing this thread. (0 members and 1 guests)

    Similar Threads

    1. [vB 4.1.x] hide content and auto refresh
      By cyberbog84 in forum Advanced Post Thanks / Like Lite Support
      Replies: 1
      Last Post: 18th December 2011, 13:04
    2. [vB 4.1.x] Refresh page after THANKS
      By greenmeanie in forum Advanced Post Thanks / Like Lite Support
      Replies: 5
      Last Post: 4th December 2011, 19:01
    3. [vB 4.1.x] Page refreshed after thanking?
      By Fakher in forum Advanced Post Thanks / Like Lite Support
      Replies: 14
      Last Post: 23rd March 2011, 14:47
    4. [vB 4.0.x] Refresh problem (Ajax??)
      By Salsatope in forum Advanced Post Thanks / Like Lite Support
      Replies: 3
      Last Post: 3rd November 2010, 10:58

    Tags for this Thread

    Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •