I installed it and it works wonderfully.... except when posting code/quotes:
Quote:
Parse error: syntax error, unexpected T_BAD_CHARACTER, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/.ember/rocesfam/belowdelancey.com/forum/includes/ame_bbcode.php(192) : regexp code on line 14
Fatal error: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Failed evaluating code: ame_substitute(1, "", " Admin Log In As User version 2.1 FOR UPGRADE AND FRESH INSTALLATIONS! 1) Import product-abe1_admin_log_as_user.xml into PRODUCTS. Allow Overwrite \"YES\" (admincp -> Plugin System -> Manage Products -> [Add/Import Product]) 2) Do the template edits in header: find: -------------------------------------------------------------------- <!-- logo --> -------------------------------------------------------------------- BEFORE place this: -------------------------------------------------------------------- <!-- Start Admin Log In As User --> <if condition=\"$_REQUEST[\'admin_log_in_as_user\'] OR $_COOKIE[COOKIE_PREFIX . \'admin_log_in_as_user\']\"> <div align=\"center\" style=\"color: red; background-color: white; border: 1px solid black; padding:2px\"><a href=\"$vboptions[forumhome].php?$session[ in /home/.ember/rocesfam/belowdelancey.com/forum/includes/ame_bbcode.php on line 192
|
what I was trying to post was the instructions.txt of Admin login as user. I don't anticipate this being problematic for most things, since the community shouldn't be posting code, but I figured I'd alreat you to it.
Quote:
Admin Log In As User version 2.1
FOR UPGRADE AND FRESH INSTALLATIONS!
1) Import product-abe1_admin_log_as_user.xml into PRODUCTS. Allow Overwrite "YES" (admincp -> Plugin System -> Manage Products -> [Add/Import Product])
2) Do the template edits
in header:
find:
--------------------------------------------------------------------
<!-- logo -->
--------------------------------------------------------------------
BEFORE place this:
--------------------------------------------------------------------
<!-- Start Admin Log In As User -->
<if condition="$_REQUEST['admin_log_in_as_user'] OR $_COOKIE[COOKIE_PREFIX . 'admin_log_in_as_user']">
<div align="center" style="color: red; background-color: white; border: 1px solid black; padding:2px"><a href="$vboptions[forumhome].php?$session[sessionurl]&log_out_admin_log_in_as_user=true">$vbphra se[admin_log_out_as_user]</a></div>
</if>
<!-- End Admin Log In As User -->
--------------------------------------------------------------------
in MEMBERINFO:
find:
--------------------------------------------------------------------
<td class="vbmenu_control"><a href="infraction.php?$session[sessionurl]do=report&u=$userinfo[userid]">$vbphrase[give_infraction]</a></td>
--------------------------------------------------------------------
AFTER place this:
--------------------------------------------------------------------
<!-- Start Admin Log In As User -->
</if>
<if condition="$show_admin_log_as_user_link">
<td class="vbmenu_control"><a href="$vboptions[forumhome].php?$session[sessionurl]u=$userinfo[userid]&admin_log_in_as_user=$userinfo[userid]">$vbphrase[log_in_as_user]</a></td>
<!-- End Admin Log In As User -->
--------------------------------------------------------------------
Done.
Click 'install' in the thread you downloaded this from.
Done
|