+ Reply to Thread
Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 33

Thread: Ajax based new posts

  1. #21
    vinkin is offline x10Hosting Member vinkin is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    54

    Re: Ajax based new posts

    Admin, any updates ?
    My small forum, If an Indian then check it out you may have your friends here at http://www.indiachatforum.net

  2. #22
    Christopher's Avatar
    Christopher is offline Retired Christopher is an unknown quantity at this point
    Join Date
    Jun 2006
    Location
    USA
    Posts
    7,330

    Re: Ajax based new posts

    Sorry for the wait. Completely forgot about this.
    http://exchangecore.com/download/4

    That version works for sure.

  3. #23
    vinkin is offline x10Hosting Member vinkin is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    54

    Re: Ajax based new posts

    Thanks Admin,
    will check and update.
    Edit:
    Thank you Admin, its working fine. You can have a look at here
    http://www.indiachatforum.net/spy.php

    Will update later if there are any bugs or issues.
    Last edited by vinkin; 11-29-2009 at 02:15 AM. Reason: Automerged Doublepost
    My small forum, If an Indian then check it out you may have your friends here at http://www.indiachatforum.net

  4. #24
    vinkin is offline x10Hosting Member vinkin is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    54

    Re: Ajax based new posts

    The plugin is working very fine... thought it updates some time wrong timings but once refreshed its fine.
    My small forum, If an Indian then check it out you may have your friends here at http://www.indiachatforum.net

  5. #25
    matthew88 is offline x10Hosting Member matthew88 is an unknown quantity at this point
    Join Date
    Dec 2009
    Posts
    9

    Re: Ajax based new posts

    I worked with AJAX a bit before, what i would recommend you wouldnt like since ur not so great with javascript, but its awsome to pick up on after awhile.

    Anyways the code you would have to write would be javascript to check for new post without refreshing ur page. To do this you tell the javascript to check a PHP page called, php_check_database.php if ur not checking the database for information but instead a FILE, well your going to be sorta screwed unless you addon the javascript HEADER request limit for information.

    On ur current page the information you want must be set up DIV or some other BLOCK element. Blah Blah Blah, yes im boring you with all this crap. But anyways you grab a bit of code from the reading source. Afterwards you compare that information to the current information or last post made on you webpage. If the information is different it means a new post was made and it should fetch that information from the database.

    If you using a database for information retrieve fetching a TIME-STAMP is the best least possible bandwidth consuming information fetch you can do. Lmao now that im done i hope you have some understanding of the back and forth requird information required between server and client. Client is the javascript request and server is the PHP asking for updated information/Time-stamp. Once the returned information is different than on the current page it sets another code to fetch the new information and add it onto the current DIV/BLOCK element.
    Edit:
    1 Thing i forgot, you have to set your HEADERS to not cache the page, if not AJAX might not load correctly.
    Last edited by matthew88; 01-01-2010 at 07:58 PM. Reason: Automerged Doublepost

  6. #26
    vinkin is offline x10Hosting Member vinkin is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    54

    Re: Ajax based new posts

    Thanks for the good illustration of the working mechanism, but I have a question why did you explain it ? as I think admin knows it well and me too. So i would really appreciate it if you have a better code than the admin has provided.

    But still never the less good description.
    My small forum, If an Indian then check it out you may have your friends here at http://www.indiachatforum.net

  7. #27
    vinkin is offline x10Hosting Member vinkin is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    54

    Re: Ajax based new posts

    Any updated news ?
    My small forum, If an Indian then check it out you may have your friends here at http://www.indiachatforum.net

  8. #28
    vinkin is offline x10Hosting Member vinkin is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    54

    Re: Ajax based new posts

    @ Admin,

    Any updates regarding forum spy ?
    My small forum, If an Indian then check it out you may have your friends here at http://www.indiachatforum.net

  9. #29
    Christopher's Avatar
    Christopher is offline Retired Christopher is an unknown quantity at this point
    Join Date
    Jun 2006
    Location
    USA
    Posts
    7,330

    Re: Ajax based new posts

    Sorry. I've been extremely busy with a ton of projects. I'll try to release the update sometime in February.

  10. #30
    vinkin is offline x10Hosting Member vinkin is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    54

    Re: Ajax based new posts

    Its ok no problem. Just was curious thats it.
    My small forum, If an Indian then check it out you may have your friends here at http://www.indiachatforum.net

+ Reply to Thread
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. AJAX Gaming Server?
    By Sup3rkirby in forum Programming Help
    Replies: 14
    Last Post: 12-26-2007, 05:14 PM
  2. Top 10 Posters
    By nicholas in forum Off Topic
    Replies: 5
    Last Post: 04-27-2005, 01:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers