The MU forums have moved to WordPress.org

Invite System (42 posts)

  1. partypageusa
    Member
    Posted 18 years ago #

    this is strange when I use the 8/28/05 build for the invite.php file the Invite tab appears and when I use the latest the tab disappears.

  2. jaseone
    Inactive
    Posted 18 years ago #

    Have a look in the code it might be commented out for some reason.

    Also I don't think it shows up unless you have an available invite.

  3. ozgreg
    Member
    Posted 18 years ago #

    the invite system is by default commented out in the menu.php. You will need to uncomment it.

    Actually the invite system needs a little bit of work along these lines..

    A) Global Setting -> Activation
    B) Global Settings -> wp-newblogs by invite only
    C) Multiple hardcoding of wordpress.com changed to the dynamic sitename.

    Anyone know what are the plans regarding this invite system?

  4. partypageusa
    Member
    Posted 18 years ago #

    I have uncommented those out but still can't see the Invite tab inside the Site admin section.

    The problem I think is the invite php file inside the MU-plugin is not able to hook onto the Site Admin page.

  5. Frequent
    Member
    Posted 18 years ago #

    I am in the same boat as partypage USA. I've uncommented out the invites in menu.php but I still see no tab. partypageuse, did you ever get this figured out?

    Freq---

  6. partypageusa
    Member
    Posted 18 years ago #

    Still haven't gotten this fix yet. I am thinking it is not showing because the error messages I keep getting when I reinstall this.

    WordPress database error: [Table 'host_wordpress.wp_sitemeta' doesn't exist]
    SELECT meta_key, meta_value FROM wp_sitemeta WHERE meta_key = 'check_reg_for_invite' AND site_id = '1'

    WordPress database error: [Table 'host_wordpress.wp_sitemeta' doesn't exist]
    SELECT meta_key, meta_value FROM wp_sitemeta WHERE meta_key = 'super_users' AND site_id = '1'

    WordPress database error: [Table 'host_wordpress.wp_sitemeta' doesn't exist]
    SELECT site_id FROM wp_sitemeta WHERE site_id = '1' AND meta_key = 'admin_user_id' AND meta_value = ''

    WordPress database error: [Table 'host_wordpress.wp_users' doesn't exist]
    SELECT ID FROM wp_users WHERE user_login = ''

    WordPress database error: [Table 'host_wordpress.wp_usermeta' doesn't exist]
    SELECT meta_key, meta_value FROM wp_usermeta WHERE user_id = '0' AND meta_key = 'invites_left'

  7. partypageusa
    Member
    Posted 18 years ago #

    Finally I got this invite thing fix. Now time to move on to the image issue now. Here is how to fix for all of you who are having trouble with this issue too. Go find the following lines:

    if( is_site_admin() ) {
    add_action('admin_menu', 'invites_admin_menu');
    add_action('admin_footer', 'invites_admin_footer');
    }

    replace that line with the following

    if( is_site_admin() == false ) {
    add_action('admin_menu', 'invites_admin_menu');
    add_action('admin_footer', 'invites_admin_footer');
    }

  8. Frequent
    Member
    Posted 18 years ago #

    partypageusa-

    Would that be in menu.php? Because I'm not seeing that line at all there.

    Freq---

  9. partypageusa
    Member
    Posted 18 years ago #

    The line is inside the file invites.php located inside the mu-plugin folder

  10. Frequent
    Member
    Posted 18 years ago #

    partypageusa I owe you one! That did the trick! Many thanks!

    Freq---

  11. partypageusa
    Member
    Posted 18 years ago #

    no problem

  12. vCarey
    Member
    Posted 18 years ago #

    Way Cool! Many Thnaks!

    I have one question regarding invites. In the Manage>Invites it has the option to delete invites. When I delete an invite it says it was deleted but it is still on the list at the bottom of the page.

    Any way to fix the delete option?

About this Topic

  • Started 18 years ago by partypageusa
  • Latest reply from vCarey