Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • fUzZy89 – How did you do that medlemmer page? I’ve been trying to figure out how to do a list of members on a site I’m building and just can’t seem to do it.

    Any success, ecwatral? I have a similar need – a community activist organization using wordpress as a CMS, and having people (who want to join us to help out) register on the site. That makes them all Subscribers in WordPress, and allows us to send them occasional email notifications and stuff.

    But we’d like to have a page (subscriber-only) listing all the members with some bio information on each one. So it’d be way more than list_authors, sort of looping through each user on the site and displaying info on each one.

    Any sort of solution out there?

    Has anyone had any progress with this problem? I’m experiencing it too.

    I’m getting the same problem, just after installing the MyNetflix 1.5 plugin. Every once in a while, while loading my page, it’ll spit out a ton of errors before showing the plugin’s output, and also a few errors instead of showing the sidebar archives and links lists. A reload of the page will get rid of the errors, but they come back again at other times. Here’s an example of the first few errors:

    Warning: mysql_affected_rows(): A link to the server could not be established in /home/[…]/damek.org/wp-includes/wp-db.php on line 155

    Warning: mysql_insert_id(): 5 is not a valid MySQL-Link resource in /home/[…]/damek.org/wp-includes/wp-db.php on line 158

    Warning: Invalid argument supplied for foreach() in /home/[…]/damek.org/wp-includes/functions.php on line 283

    These errors are each repeated over and over in various orders.

    Any ideas?

    Another little tip on this topic, if you want to display multiple time zones, and some of them are usually in Daylight Saving when your server’s time is not (and vice versa), you can accommodate for it this way:

    <?php
    $timezone = +10;
    echo gmdate("j M Y, g:i a", time() + 3600*($timezone+abs(date("I")-1)));?>

    Use that for the locations that are usually in DST when yours is out of DST (and vice versa). It subtracts 1 from the server’s DST offset, and then gets the absolute value (the abs() php function). So, if your server’s DST offset is 1, this converts it to 0, and if your server’s DST offset is 0, this converts it to -1 and then abs() gets rid of the -.

    It’s not perfect; time zones go into DST at different times and they don’t all go into DST. But if you’re in the northern hemisphere and you want to show your local time alongside a time in the southern hemisphere, using this adjustment for the southern time zone makes the display correct most of the time instead of being an hour off for half the year.

    damek

    (@damek)

    Ah geez, I can’t believe it … after writing that long message I got it in my head that it might be DreamHost’s fault, so I googled “exhibit wordpress dreamhost” and lo and behold the first hit was to page three of this thread which has this post which tells how to make it work.
    And lo and behold, it works. I can’t believe I missed that when scanning this thread for hints earlier.
    So, uh, nevermind. Sorry.

    damek

    (@damek)

    I’m having a heck of a time – since Bloghosts.com recently bit the dust, I’ve had to switch to a new host. (BTW, I chose DreamHost.com.) Over at Bloghosts, I had two wordpress blogs installed, one for pictures, and I had Exhibit working nicely on it.
    In switching, however, I’ve done something wrong and Exhibit just won’t work for posting or editing anything. Everything shows up on the site, and the Plugins page shows Exhibit and it’s active, but when going to edit any draft or post, they just look like normal, as if Exhibit didn’t exist.
    The site is: https://www.damek.org/kam/
    You can log in with u:tester p:tester if you’d like to see how Exhibit isn’t working despite being installed and showing pictures on the blog.
    Does anyone have any ideas as to why it wouldn’t work? Maybe something with post.php? I didn’t just copy over all my files from the old host, I did a fresh install of everything and then restored the data from the other host’s database. But somehow Exhibit didn’t get installed properly or didn’t initialize or something.

Viewing 7 replies - 1 through 7 (of 7 total)