PDA

View Full Version : Forum Blocks - Help


Hiro
28 Mar 2010, 08:01
I want to put a PHP form in a forum blocks bit (the right side on vbulletin 4.0.x), and under the form I want to echo a cookie.

Basically, the current code I have is:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------




This works fine... it submits the form to the script.php, sets the cookie as the entered city and then echos the COOKIE on the block below the form.

I'm having problems with the blocks caching system, as if I do a new search and the cookie changes, the previous result is still cached in the block.

How can I work around this to get the block performing in real time and not cached?

Vaupell
28 Mar 2010, 13:39
did you set the update timer in forumblocks ?

Forums and moderators > forum blocks manager > EDIT the specifik block
change Cache Time (in minutes) : to maybe 0, its WERY server stressing.
but i think 5-10minuttes, but how often do you change city ?

dayli ?