Forum Replies Created

Viewing 15 replies - 226 through 240 (of 525 total)
  • On the profile page, you get all the data associated to the user. The one that comes from both tables: users and usermeta. In the user list only fields from users table are available, so, the field you want to use is not available on the list and you have to retrieve yourself from database.

    You can do it in to ways:

    1) Composing the SQL query to get the field.
    2) With this call: $userdata = get_userdata($user[‘ID’]); and you will have the field on the $userdata object.

    The second option is quicker to code, but more database consumer.

    A suggestion is not to edit the templates supplied, better if you create a new php file from them and use this( You can call the file something like userlist-custom.php, this way is more difficult to lose changes when updating.

    The following post will help you to set the templates outside the plugin folder and never lose your changes when updating (using manual update or auto-update): http://alkivia.org/community/aoc-styling-your-pages/

    What I would do with my favorite image edition software is to compose a complete header. Just have to create an empty proportional image to 970 pixels wide, and paste this one (resized) in the position you want. If you want an image on header you have to work the image with an image editing software.

    You can see what I mean on one of my sites: http://txanny.net. There I created the background an pasted the resized images over it. All have been done with my image editing program. When I saw it looked like I wanted, then I uploaded the header image.

    The theme code sets the picture height proportional to 970 pixels wide, as stated just below the upload box ‘The uploaded image will be proportionally resized to 970 pixels wide’. The picture is set as background.

    Being a background image, you cannot change the image size, without changing the header size: have to change the CSS styles, and the code that uploads, resizes the image, and sets the new CSS for the height.

    The easiest way is to create and upload an image 970 pixels wide with the height you want on your header, has the image covers all header area.

    Also, a link to the site always helps to see what is happening and why you’re having any issue with the image. Telling us what did you expected on it, as I imagine that you expect something outside the header image feature.

    I just checked it by changing the font-size to 30 pixels and it worked perfect.

    Just a couple of questions:

    1. Did you look at the page source code in your browser to see if the file is send?
    2. If you send your site URL, it could help to see why it’s not working.
    3. Where can the theme can be loaded? I could not find it on the theme browser.

    I’ve seen some themes that do not include a call to the wp_head() function on the header.php file. Sure it will not be the case, but check it, as the call to this function is required by WordPress API.

    Just take care as the hack is for the current version (2.2.1) but it is applicable if you look for similar lines on the file shown above.

    I’m working on version 3.0 for the plugin. This version will include all widget output in templates that you can modify, edit or create new templates to display the output.

    I have no ETA as I will start my holidays soon and will be on half holidays until September, 15. Hope I can release it before, if not, you will have to wait.

    Nice to read that. Internationalization options are a must, as there are big non-english communities. To have it in mind when coding, just to place the proper translation functions in place is really easy.

    I run some blogs in languages other than English, and hack the plugin to translate the contact form strings is a bad idea, as I loose them any time an update is available.

    The select you wrote, does not come from the plugin, as it does not query the database in that way. It does not query the comments with a SELECT DISTINCT, it just makes a regular query.

    The query made by the plugin to retrieve the last user comments is that one:

    SELECT * FROM $wpdb->comments
        WHERE comment_approved = '1' AND user_id = '$user->ID'
        GROUP BY comment_post_ID
        ORDER BY comment_date_gmt DESC
        LIMIT 0,5

    You can see it’s really different from what you wrote on your first post. I think the problem comes from elsewhere and disabling the last user comments will not solve this. Probably you changed more things, aren’t you?

    I would check all other plugins, specially if you have any related to comments. You can make a text search ‘SELECT DISTINCT’ on all php files to find where that query is done.

    By the way, what mySQL version are you using?
    Which plugins are you using (with versions)?
    And if you can post the full query string that gives the error, would help also.

    With this info, I will try to set a test site and try to see where the problem is.

    The date registered is provided by WordPress, and is the date you created the user.

    If you’re copying the profiles from another WordPress database, you could export the users table and import it again using phpMyAdmin of some similar tool.

    The only way I know to change it, is to edit it on the database. I’ve found no plugin to edit it.

    The theme does not write the RSS. There is no template for it. The rss link is returned and set by calling bloginfo(‘rss2_url’). The RSS output is provided by the WordPress core.

    I’ve seen in your site thye link is set twice, and shows it twice in the header code.

    Did you change the header.php code?
    Have you any plugin to manage or provide feeds?

    Some times, just saving the permalinks again solves this kind of issues.

    As esmi said, if switching to default theme is a good start to isolate the problem. And deactivating all plugins to see if it solves and start activating one by one until you found which plugin makes it not to work.

    This issue is flagged as [Resolved] please start a new topic for a new question as I do not follow resolved questions.

    Thumbnail aspect is set by WordPress when uploading the image. You have to play with thumbnail sizes in WordPress media settings.

    Have you deleted your browser cache? CSS files are cached, and to see the changes in the file you have to clean the cache or to do a page hard refresh.

    I could reproduce this on a site, but in an strange way:

    – I had an English WordPress install.
    – Uploaded the translation files to /wp-content/languages (three files, .po, .mo and .php)

    With that, I’ve seen the same issue you’re having. Just deleting the .php file in languages directory solved it.

    Only if WordPress was English and uploaded the language files later.

    Is this is your case?

    If you have a language php file on this folder, you can try just to rename it and see if it solves your issue.

    Just a note: more megapixels to process, more memory needed, and some hosting providers just set the memory limit too low 😉

    Perhaps could be done in a different way: By changing an IM label to ‘Pet Name’, and show this on profile. This can be done just creating your own profile template, and the label is changed on the profile settings page.

    But what you ask, yes, can be removed by commenting the line 66 in class.profile.php it’s just this line:

    // Checks nickname uniqueness.
    add_action('user_profile_update_errors', array($this, '_uniqueNickname'), 10, 3);

    If you comment that line, don’t order the profiles by nickname, as the plugin will not know which profile to show when looking it by nickname and always will show the same profile for the same nickname.

    This is that way by design. Sideposts categories do not show in main RSS feeds. Posts shown in the widget, are removed from main pages, and the main RSS feed is one of them.

    Every SidePosts widget category have its own category feed.

Viewing 15 replies - 226 through 240 (of 525 total)