Title: jayant's Replies | WordPress.org

---

# jayant

  [  ](https://wordpress.org/support/users/jayant/)

 *   [Profile](https://wordpress.org/support/users/jayant/)
 *   [Topics Started](https://wordpress.org/support/users/jayant/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jayant/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jayant/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jayant/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jayant/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jayant/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Advanced customization of category archive pages](https://wordpress.org/support/topic/advanced-customization-of-category-archive-pages-1/)
 *  Thread Starter [jayant](https://wordpress.org/support/users/jayant/)
 * (@jayant)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/advanced-customization-of-category-archive-pages-1/#post-817968)
 * Are we allowed to do something like:
    `query_post("cat=1,-2,-3")`
 * So I get back results which belong to atleast cat1 among other but do not belong
   to cat2 or cat3.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Limit what ‘Contributor’ users see in the admin area](https://wordpress.org/support/topic/limit-what-contributor-users-see-in-the-admin-area/)
 *  Thread Starter [jayant](https://wordpress.org/support/users/jayant/)
 * (@jayant)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/limit-what-contributor-users-see-in-the-admin-area/#post-804918)
 * Well the article does not talk about what I said and neither do the plugins listed
   achieve it. Quote from your article:
 * > Contributers are authors on probation. They can write their own posts and edit
   > them before they are published. When a contributer is done writing and editing
   > their post they can submit it for review. At this point an Editor or Administrator
   > would need to publish the post before it appears on the blog. Once published
   > the contributer looses all privileges with regards to the published post. Contributers
   > cannot manage their own comments. Like Authors, contributers are able to see
   > the titles of all posts including scheduled ones. Contributors can see all 
   > comments, including unmoderated ones, but cannot edit any of them.
 * Just to make it clear again:
 * > Like Authors, contributers are able to see the titles of all posts including
   > scheduled ones. Contributors can see all comments, including unmoderated ones,
   > but cannot edit any of them.
 * I do not want them to see title of all posts. In the admin area they should only
   see titles of posts which belong to them. They also not be able to see unmoderated
   comments.
 * The article/ plugin do not help in this.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [New Plugin: Role Scoper](https://wordpress.org/support/topic/new-plugin-role-scoper/)
 *  [jayant](https://wordpress.org/support/users/jayant/)
 * (@jayant)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/new-plugin-role-scoper/page/2/#post-769585)
 * I wish to allow registered users to contribute some articles on my blog. The 
   problem is if a contributor user logs in, he presently sees the title of all 
   the drafts, future posts from all the users.
 * I will want the contributing user to know the count of only his drafts or future
   posts and not of any other user. I will not want him to even see the title of
   such posts.
 * Can this be achieved by this plugin?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Cannot use object of type WP_Error as array (trying to import wordpress xml)](https://wordpress.org/support/topic/cannot-use-object-of-type-wp_error-as-array-trying-to-import-wordpress-xml/)
 *  [jayant](https://wordpress.org/support/users/jayant/)
 * (@jayant)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/cannot-use-object-of-type-wp_error-as-array-trying-to-import-wordpress-xml/#post-772423)
 * This error basically occurs when you have a line like the following in your XML
   file:
 * `<category domain="tag"><![CDATA[ ]]></category>`
 * Note that all we have in cdata is space(s).
 * Immediate workaround to this will be to open your XML file in the text editor
   and to remove that line. (Hint: most text editors have a replace all functionality)
 * How that line came in the exported file is something to be investigated. I do
   not have access to the place where I exported my blog posts from, so I cannot
   investigate further on this.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Cannot use object of type WP_Error as array (trying to import wordpress xml)](https://wordpress.org/support/topic/cannot-use-object-of-type-wp_error-as-array-trying-to-import-wordpress-xml/)
 *  [jayant](https://wordpress.org/support/users/jayant/)
 * (@jayant)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/cannot-use-object-of-type-wp_error-as-array-trying-to-import-wordpress-xml/#post-772422)
 * I just got some time to do some debugging:
 * Basically in one line before we have a call to ‘wp_insert_term’.
 * This method returns either an array or WP_Error. The return value of this method
   is being assumed as array only.
 * I did a var_dump on the object and here is what I got in return:
 *     ```
       object(WP_Error)#108006 (2) {
         ["errors"]=>
         array(1) {
           ["db_insert_error"]=>
           array(1) {
             [0]=>
             string(39) "Could not insert term into the database"
           }
         }
         ["error_data"]=>
         array(1) {
           ["db_insert_error"]=>
           string(28) "Duplicate entry '' for key 2"
         }
       }
       ```
   
 * I am investigating further for the bug-fix.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Google XML Sitemaps] Feature Request: Split Sitemaps](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-feature-request-split-sitemaps/)
 *  Thread Starter [jayant](https://wordpress.org/support/users/jayant/)
 * (@jayant)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-feature-request-split-sitemaps/#post-796752)
 * thats actually quite easy to achieve…
    we can use a bucket scheme:- suppose i
   have a setting that each sitemap should contain only atmost 2000 posts. we decide
   which sitemap the post goes to based on its post-id: int($post->id/2000)
 * there maybe some posts that dont exist and hence the sitemap may contain less
   than 2000 urls, but that should be fine i think.. as it makes things/ calculations
   easier,
 * when the user changes the setting for the max number of url per sitemap, we rebuild
   all the sitemaps.
 * one of the blogs i have is since 1999 (one of the earliest blogs) and has more
   than 200,000 blog posts.
 * if you need help implementing this feature, i will be happy to help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Google XML Sitemaps] BUG: Sitemap Generator stops in between](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-bug-sitemap-generator-stops-in-between/)
 *  Thread Starter [jayant](https://wordpress.org/support/users/jayant/)
 * (@jayant)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-bug-sitemap-generator-stops-in-between/#post-796751)
 * no errors in debug mode.. it just stops..
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Auto approve self pings, no limit on self pings](https://wordpress.org/support/topic/auto-approve-self-pings-no-limit-on-self-pings/)
 *  Thread Starter [jayant](https://wordpress.org/support/users/jayant/)
 * (@jayant)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/auto-approve-self-pings-no-limit-on-self-pings/#post-803739)
 * any one knows of any plugins/ hacks that do this?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Cannot use object of type WP_Error as array (trying to import wordpress xml)](https://wordpress.org/support/topic/cannot-use-object-of-type-wp_error-as-array-trying-to-import-wordpress-xml/)
 *  [jayant](https://wordpress.org/support/users/jayant/)
 * (@jayant)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/cannot-use-object-of-type-wp_error-as-array-trying-to-import-wordpress-xml/#post-772421)
 * i am also getting the same error..
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Advanced customization of category archive pages](https://wordpress.org/support/topic/advanced-customization-of-category-archive-pages/)
 *  Thread Starter [jayant](https://wordpress.org/support/users/jayant/)
 * (@jayant)
 * [17 years, 12 months ago](https://wordpress.org/support/topic/advanced-customization-of-category-archive-pages/#post-796604)
 * Yes the AND operation. Thanks.
 * I think we need to document this. I cannot find documentation on “get_query_var”
   or on “category__and”.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [New plugin – Userextra](https://wordpress.org/support/topic/new-plugin-userextra/)
 *  [jayant](https://wordpress.org/support/users/jayant/)
 * (@jayant)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/new-plugin-userextra/page/2/#post-264091)
 * Cannot download this plugin. The SVN for the plugin has no files. Could someone
   please provide the same?

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