Forum Replies Created

Viewing 7 replies - 16 through 22 (of 22 total)
  • Change your style.css

    #sidebar {style.css (line 530)
    margin-left:0px;
    padding:10px 5px;
    text-align:left;
    <strong>float:right</strong>
    width:160px;
    }

    However, I do recommend use other theme. You may find nice themes from themes.wordpress.net.

    I would ideally like them to only be able to view the “write” and “profile” tabs when they log in.

    For a default registered user, he/she does not have a write permission. Only Read Post/Page permission is given by default so that a user can see only “Profile” tabs once he/she logged in. If you want to give a user write permission,
    1. Change Permission one by one. or
    2. Options -> General, change “New User Default Role” to corresponding user level.
    3. Use Plugin.

    Its all up to your choice.

    Using v2.2?

    There are a lot of options you can change your template.
    Please visit themes.wordpress.net for nice themes for wordpress.

    hm…that’s weird.
    In the presentation option, when you click a new theme (not current theme), it just updates current theme. Never ask me “do you want xxx…?” question.

    For WordPress 2.1.x, Disabling Dashboard is much easier.
    Open ‘menu.php’ under wp-admin.php.
    The very first line of code is

    $menu[0] = array(__('Dashboard'), 'read', 'index.php');

    The 2nd argument is the user permission – ‘read’ permission has default registered user.
    Change ‘read’ to other user level such as ‘edit_users’ if you want make Dashboard only visible to Admin privilege.

    $menu[0] = array(__('Dashboard'), 'edit_users', 'index.php');

    Now default registered users only have one option – Profile.

    webophir

    (@webophir)

    I had the same problem w/wp2.1. I looked through the source code and I found that wp loaded ‘quicktags’ toolbar by default instead of ‘wp_tiny_mce’ toolbar.

    You can find this code uder /wp-includes/general-template.php. At line 823, you may see

    <div id="quicktags">
    	<?php wp_print_scripts( 'quicktags' ); ?>
    	<script type="text/javascript">edToolbar()</script>
    	</div>

    To make tinymce working, change
    <?php wp_print_scripts( 'quicktags' ); ?>
    to
    <?php wp_print_scripts( 'tiny_mce' ); ?>
    and delete
    <script type="text/javascript">edToolbar()</script>
    line.

    With this change of code, you can see tinymce toolbar at least, but for some reason, you cannot see advanced tool bars (at the current version, 2.1.2, of wordpress). To make it work, I followed the instruction of sluggo.

    Go to /wp-includes/js/tinymce/tiny_mce_config.php file.
    At line 32, you can see
    $mce_buttons = apply_filters('mce_buttons', array('bold', 'italic', 'strikethrough', 'separator', 'bullist', 'numlist', 'outdent', 'indent', 'separator', 'justifyleft', 'justifycenter', 'justifyright', 'separator', 'link', 'unlink', 'image', 'wp_more', 'separator', 'spellchecker', 'separator', 'wp_help', 'wp_adv_start', 'wp_adv', 'separator', 'formatselect', 'underline', 'justifyfull', 'forecolor', 'separator', 'pastetext', 'pasteword', 'separator', 'removeformat', 'cleanup', 'separator', 'charmap', 'separator', 'undo', 'redo', 'wp_adv_end'));

    Change the order of
    'wp_adv_start', 'wp_adv'
    to
    'wp_adv', 'wp_adv_start'

    Now Tinymce works with advanced toolbar w/o using other plugins!

Viewing 7 replies - 16 through 22 (of 22 total)