Forum Replies Created

Viewing 3 replies - 16 through 18 (of 18 total)
  • Hiya,

    I’m looking into installing this onto my WordPress mu site and I can’t seem to find any information about the hooks built into the cache or if anyone has asked this question before…

    I would like to know if you can:

    when a page is cached, replace my ‘This page: 52 queries in 0.172 seconds.’ text within my footer – with ‘This page: Cached on [some php date(‘format’, since epoch time)]’ timestamped in the cached page.

    Is this indeed possible or should it be a feature request?

    I think it would be a great edition to my wpmu home page to demonstrate to users that their blogs are super fast to non-logged in users… and the results they can see for themselves by logging in and out.

    I look forward to your reply ??

    Deadpan110

    (@deadpan110)

    I have also experienced some oddness with waiting for WordPress approval for plugins… I submitted my plugin to WordPress/extend/plugins/add/ over a week ago and heard nothing… I started wondering if they just needed more information, so i resubmitted the plugin as [my-plugin-name]-re-requested with a detailed account of what the plugin was about along with a note that I was re-requesting it.

    Later that day, /extend/plugins/add/ showed that my plugin had been accepted and I should receive an email within an hour… a day later and no email… so I rechecked /extend/plugins/add/ and saw that the plugins had resorted back to waiting approval… but thats not all, my extend profile page started showing mySQL errors (which I then promptly reported).

    3 days later, I get an email saying:

    Your plugin hosting request has been aproved.
    Within one hour, you will have access to your SVN repository

    Unfortunately, this was for the [my-plugin-name]-re-requested (do they not read the description of my plugin (required))?

    So feeling very disheartened at this point, I attempted to access the SVN repository… It does not exist (7 hours later) and my pending requests for plugins have now dissapeared.

    I have always liked WordPress and currently use it as a backend for 10 sites, this whole process has left me feeling quite left out of the so called WordPress community!

    I think WordPress should make a better effort to email the plugin submitters as their current seemingly underhanded approach disheartens new coders and more mature coders alike.

    As a mature coder, I feel as if I have been shunned and it now feels quite pointless continuing any work on my project (of which there are currently 2 developers).

    I would definitely feel more positive if at least I had an email stating:
    “We appreciate your efforts but unfortunately are unable to host your plugin, please feel free to host the plugin on your own site – maybe try again with any other plugin ideas you have soon. keep up the good work!”

    But I guess never knowing is currently the preferred method!!

    Deadpan110

    (@deadpan110)

    I found that in WordPress 2.0.7 classes.php can also be edited.

    I use the event calendar plugin but also found i needed to set the post timestamp due to the way I wanted my blog to work for my needs.

    Starting at line 591 in classes.php:

    $now = gmdate('Y-m-d H:i:59');
    Change to:

    $now = explode('-',gmdate('Y-m-d H:i:59'));
    $now = $now[0]+1 . '-' . $now[1] . '-' . $now[2] . $now[3];

    This sets the now date forward 1 year.

    And at line 595 in classes.php:

    if ($pagenow != 'post.php' && $pagenow != 'edit.php' && !($this->is_single && $user_ID)) {

    Change to:

    if ($pagenow != 'post.php' && $pagenow != 'edit.php' && !($this->is_single)) {

    I wouldn’t know if this works for any version other than 2.0.7 and im also unsure if this is indeed correct, but for now, it seems to work.

    For anyone else editing the WordPress files, please remember your work will be undone when you update.

Viewing 3 replies - 16 through 18 (of 18 total)