styril
Forum Replies Created
-
Forum: Plugins
In reply to: Plugin wanted: Author Avatar (For site with multiple post authors)It doesn’t seem to work for me. For some reason, this shows up right above an X image.
if (function_exists(‘gravatar’)) { echo “”;}
The image does not show but has the link https://chronos.marvinsweb.com/blog/”;echo%20gravatar(get_the_author_email());echo%20″
Forum: Alpha/Beta/RC
In reply to: Smilies in the Admin screensWhen I post this:
<div id=”quicktags”>
<script src=”../wp-includes/js/quicktags.js” type=”text/javascript”></script>
<script type=”text/javascript”>if ( typeof tinyMCE == “undefined” || tinyMCE.configs.length < 1 ) edToolbar();</script>
</div>
‘;
if (function_exists(“wp_grins”)) { echo “
“; wp_grins(); }
‘;
else echo ‘I get this:
=========================
Parse error: parse error, unexpected T_STRING in /home/chronos/public_html/blog/wp-admin/admin-functions.php on line 1097
=============================If I post only this:
<div id=”quicktags”>
<script src=”../wp-includes/js/quicktags.js” type=”text/javascript”></script>
<script type=”text/javascript”>if ( typeof tinyMCE == “undefined” || tinyMCE.configs.length < 1 ) edToolbar();</script>
</div>
‘;
if (function_exists(“wp_grins”)) { echo “
“; wp_grins(); }I get this instead:
=================================
Parse error: parse error, unexpected ‘<‘ in /home/chronos/public_html/blog/wp-admin/admin-functions.php on line 1095
==============================If I didn’t anything in the admin-functions.php, it seems to work ok. I’m confused. ^^ I don’t know anything about php so I’m not sure if I don’t edit anything in the admin-functions.php, it will be safe. ^^
Oh! And I edited the wp-grins.php like LesBessant said and added <?php wp_grins(); ?> on wp-admin/edit-form.php, wp-admin/edit-form-advanced.php and wp-admin/edit-form-comment.php since there’s no wp-admin/quicktags.php
Thanks for helping.