vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Hacks not updating (https://vborg.vbsupport.ru/showthread.php?t=277864)

Skivey 02-01-2012 06:56 AM

Hacks not updating
 
I changed a hack so that an automated post that was made had new information. Its done via a php file and pulled in.

It seems the update I have done isnt working yet. When I check the file via FTP its different than whats being displayed in the forum.

Is there someting I need to do to make the forum update this file?

Matt

kh99 02-01-2012 02:30 PM

The only thing I can think of is that we use a cache for php files, so when something is changed the cache needs to be flushed.

Skivey 02-01-2012 05:27 PM

ok ill try that, thanks :)

--------------- Added [DATE]1328122187[/DATE] at [TIME]1328122187[/TIME] ---------------

sorry if i sound thick, i flushed the post cache? But it seemed not to do anything. Am I dong the riht thing? I searched google for flushing the cache, but didnt really get any help from google.

Simon Lloyd 02-01-2012 06:08 PM

Maybe a link to the hack or some more information on it would help :)

Skivey 02-01-2012 06:28 PM

I cannot do a direct link, but I can send you the file if you like?

Simon Lloyd 02-01-2012 06:32 PM

Sure but if you do please be aware that i may post it of excerpts of it here so that folk can help you (us :)) sort out your issue :)

PM me for email address

kh99 02-01-2012 06:38 PM

Quote:

Originally Posted by Skivey (Post 2295047)
ok ill try that, thanks :)

--------------- Added [DATE]1328122187[/DATE] at [TIME]1328122187[/TIME] ---------------

sorry if i sound thick, i flushed the post cache? But it seemed not to do anything. Am I dong the riht thing? I searched google for flushing the cache, but didnt really get any help from google.

Well, you may not have the kind of cache I was talking about, it was just an idea. You'd probably already know about it if you did.

But when you change the script that auto-posts you're not expecting the existing posts to change, right?

Skivey 02-01-2012 06:41 PM

nopes, its the new posts that arent changing.

Im happy for the code to be put in here ill send both pieces.

Ill warn you its a mess, it was programmed by someone who didnt have a clue... I only took the website over in December.

Simon Lloyd 02-01-2012 09:04 PM

@kh99, im looking at the files and its only text that has changed in $bodytext, i think the file isn't being uploaded to the correct place which is why it's assumed it isn't working :)

kh99 02-01-2012 09:33 PM

I didn't ask for the files. But that sounds like a good possibility - we all do that on occasion.


All times are GMT. The time now is 11:53 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01018 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete