当前位置: 首页>>代码示例>>PHP>>正文


PHP bp_get_blog_signup_allowed函数代码示例

本文整理汇总了PHP中bp_get_blog_signup_allowed函数的典型用法代码示例。如果您正苦于以下问题:PHP bp_get_blog_signup_allowed函数的具体用法?PHP bp_get_blog_signup_allowed怎么用?PHP bp_get_blog_signup_allowed使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了bp_get_blog_signup_allowed函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: bp_blog_signup_allowed

/**
 * Output whether blog signup is allowed.
 *
 * @todo Deprecate. It doesn't make any sense to echo a boolean.
 */
function bp_blog_signup_allowed()
{
    echo bp_get_blog_signup_allowed();
}
开发者ID:CompositeUK,项目名称:clone.BuddyPress,代码行数:9,代码来源:bp-core-template.php

示例2: do_action

            }
        }
        ?>

					</div><!-- #profile-details-section -->

					<?php 
        do_action('bp_after_signup_profile_fields');
        ?>

				<?php 
    }
    ?>

				<?php 
    if (bp_get_blog_signup_allowed()) {
        ?>

					<?php 
        do_action('bp_before_blog_details_fields');
        ?>

					<?php 
        /***** Blog Creation Details ******/
        ?>

					<div class="register-section" id="blog-details-section">

						<h4><?php 
        _e('Blog Details', 'buddypress');
        ?>
开发者ID:igniterealtime,项目名称:community-plugins,代码行数:31,代码来源:register.php

示例3: bp_ajax_register_form_function


//.........这里部分代码省略.........
                        do_action('bp_custom_profile_edit_fields');
                        ?>

								<p class="description"><?php 
                        bp_the_profile_field_description();
                        ?>
</p>

							</div>

						<?php 
                    }
                    ?>

						<input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php 
                    bp_the_profile_group_field_ids();
                    ?>
" />

						<?php 
                }
            }
        }
        ?>

					</div><!-- #profile-details-section -->

					<?php 
        do_action('bp_after_signup_profile_fields');
        ?>


				<?php 
        if (bp_get_blog_signup_allowed()) {
            ?>

					<?php 
            do_action('bp_before_blog_details_fields');
            ?>

					<?php 
            /***** Blog Creation Details ******/
            ?>

					<div class="register-section clearfix" id="blog-details-section ">

						<div style="display:none" class="ctrlHolder">
						<p><input type="checkbox" name="signup_with_blog" id="signup_with_blog" value="1" checked="checked" /> <?php 
            _e('Yes, I\'d like to create a new site', 'buddypress');
            ?>
</p>
						</div>
                        <div style="clear:both"></div>
						<div id="blog-details">
							<div class="ctrlHolder fullwidth">
							<label for="signup_blog_url"><?php 
            _e('Choose Site Name', 'buddypress');
            ?>
 <?php 
            _e('', 'buddypress');
            ?>
</label>
							<div id="signup_blog_url_error" class="error"></div>

							<?php 
            if (is_subdomain_install()) {
开发者ID:hscale,项目名称:webento,代码行数:67,代码来源:bp-ajax.registration.php


注:本文中的bp_get_blog_signup_allowed函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。