With the 1.10b (and latest svn changes) it is meant for admins to be able to change the creator of the forums.
Unfortunately, all users with permission to create blogs, can now create blogs for any other user - even if they can not post to them.
It seems that the latest file templates/tiki-edit_blog.tpl and .php requires that a value for the creator is passed back from the field Creator. Thus, the field has to be present with a valid content.
I'm sure there is an easier way of doing this but here is a solution:
In the file templates/tiki-edit_blog.tpl
Replace:
<tr class="editblogform"><td>{tr}Creator{/tr}</td><td><select name="creator">
{foreach from=$users key=userId item=u}
<option value="{$u|escape}"{if $u eq $creator} selected="selected"{/if}>{$u}</option>
{/foreach}
</select></td></tr>
with:
<tr class="editblogform"><td>{tr}Creator{/tr}</td>
{if $tiki_p_admin eq 'y' or $tiki_p_blog_admin eq 'y'}
<td><select name="creator">
{foreach from=$users key=userId item=u}
<option value="{$u|escape}"{if $u eq $creator} selected="selected"{/if}>{$u}</option>
{/foreach}
</select> </td>
{else}
<td>{$user}</td>
{/if}
</tr>
This solution still shows the menu if the user has admin privs but if the user does not have admin privs, the user name will simply show up as static text next to Creator.
The solution works for previews as well.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |