JustMe
Forum Replies Created
-
Forum: Plugins
In reply to: Clickable Smilies in comments.I am trying to put the clickable smileys on my post page and followed the hack advice from LL shown here: https://www.ads-software.com/support/index.php?action=vthread&forum=10&topic=872&page=0#post-8
And this is what shows up on my post page:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /wp-admin/quicktags.php on line 6
This is what my quicktags.php file currently looks like:
<script src=”quicktags.js” language=”JavaScript” type=”text/javascript”></script>
<script language=”JavaScript”
type=”text/javascript”>edToolbar();</script>
<?php
foreach($b2smiliestrans as $smiley => $img)
{
print ‘<img src=”‘.$smilies_directory.’/’.$img.'” alt=”‘.$smiley.'” class=”middle” onClick=”bbinsert(document.post,/’/’,
/”.str_replace(“‘”,”/'”,$smiley).’/’)” /> ‘; // TODO: escape ‘
}
?>
Any suggestions on how to fix this? Thanks!Forum: Fixing WordPress
In reply to: Importing OPML to LinksOK all… this is coming from a php newb so feel free to take it with a grain of salt… but also know that once I made this change I got it to work with no problems… so dumb luck I am guessing! lol
Anyways, I too was having probs importing my BlogRoll using the Import BlogRoll function. I kept getting the above error message. Asked the boyfriend what “echo” means and he said sometimes it is a print-type function. Did some searching on the web and saw some similar kind of relation of echo = print. So I opened the above file using wordpad, counted down to line 58, saw the word “echo” and thought “ok, this can be easily fixed if I totally screw it up”. So I bit the bullet and made the highlighted change to line 58. It appears to work as after I save the file, I then went back to BlogRoll, copied the OPML code, pasted it into the WordPress box as directed, clicked Import… and success! So give it a try, it may just work for you too. ??
So this is the original line in my link-parse-opml.php file:
or echo(sprintf(“XML error: %s at line %d”,
And this is the line after my change:
or print(sprintf(“XML error: %s at line %d”,
Hope this works for you… and btw, if you can do so in layman’s terms… wanna explain to me exactly what I did and why it worked? ??Forum: Fixing WordPress
In reply to: Blogroll Import ProblemsSo I am assuming there is no word on fixing this yet?? Very frustrating! Arg!