Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
Thread Tools
  #11  
Old 15th January 2013, 04:38
ndbj ndbj is offline
Senior Member
 
Join Date: Dec 2012
Portugal
Posts: 35
Default
Quote:
Originally Posted by sharpie View Post
added m8 but still shows new tags after i refresh page:(
Open your browse.class.php in a different browser.
If your using I.E., try with mozilla.
then, tell me if the new tag is gone or if it's still there.

maybe you'll have to put this at the beggining of your php file:
<meta http-equiv="expires" value="0" />
<meta http-equiv="cache-control" content="no-cache" />
or this, don't really know how it works ajax
<META HTTP-EQUIV="Expires" CONTENT="-1">
<meta http-equiv="cache-control" content="no-cache" />




Bump: oh, and put this at the end of your browse.php
right before the stdfoot, not in the browse.class.php

PHP Code:
mysql_query("UPDATE users SET last_browse=".gmtime()." where id=".$CURUSER['id']);



Last edited by ndbj; 15th January 2013 at 04:58.
Reply With Quote
  #12  
Old 15th January 2013, 12:30
sharpie sharpie is offline
Senior Member
 
Join Date: Apr 2012
United Kingdom
Posts: 17
Default
Still doesn't work m8 with this Ajax browse but if I go to my old browse it is clearing the new tags but I want to stick with this new Ajax browse
Reply With Quote
  #13  
Old 16th January 2013, 03:07
ndbj ndbj is offline
Senior Member
 
Join Date: Dec 2012
Portugal
Posts: 35
Default
post here again your new ajax-browse.php file
and all the files wich your browse calls to function.
Reply With Quote
  #14  
Old 16th January 2013, 12:49
sharpie sharpie is offline
Senior Member
 
Join Date: Apr 2012
United Kingdom
Posts: 17
Default
here you go m8ty
Attached Files
File Type: rar Ajax Browse.rar (108.7 KB, 19 views)
Reply With Quote
  #15  
Old 17th January 2013, 04:23
ndbj ndbj is offline
Senior Member
 
Join Date: Dec 2012
Portugal
Posts: 35
Default
Try this, in your ajax.browse.php, after:
PHP Code:
<!--
Ajax XML return - TheHippy 01/04/2009
-->
<?php
require_once("include/bittorrent.php");
include(
"class/db.class.php");
include(
"class/browse.class.php");
dbconn(false);
add
PHP Code:
header ('Cache-control: no-store');
header ('Pragma: no-cache'); 
if don't work, add
PHP Code:
<meta http-equiv="expires" value="0" />
<
meta http-equiv="cache-control" content="no-cache" /> 
try both ways also with
PHP Code:
dbconn(); 
Reply With Quote
  #16  
Old 17th January 2013, 12:19
sharpie sharpie is offline
Senior Member
 
Join Date: Apr 2012
United Kingdom
Posts: 17
Default
same problem m8 still not removing the new tags

Bump: Still having an issue with this the new tags appear but members cant remove them
Reply With Quote
Reply

Tags
ajax , browse


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 00:04. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.