1 keatonatron Mar 21, 2007 14:57
3 keatonatron Mar 21, 2007 15:22
Changing $Comment->author(); to $Comment->author('', ''); in _feedback.php did the trick.
Now only if I can find that javascript.... :'(
4 afwas Mar 21, 2007 15:38
keatonatron wrote:
Changing $Comment->author(); to $Comment->author('', ''); in _feedback.php did the trick.
Now only if I can find that javascript.... :'(
You'd even better comment it out like so:
<!--
<div class="bCommentTitle">
// <?php $Comment->author() ?>
// <?php $Comment->author_url( '', ' · ', '' ) ?>
</div>
-->
5 keatonatron Mar 21, 2007 15:46
I didn't want to remove the user's name altogether, I just wanted to remove the [visitor] title that gets attached to the end.
These are the first 4 parameters for the author() method (notice number 2 ;) ):
1. String to display before author name if not a user
2. String to display after author name if not a user
3. String to display before author name if he's a user
4. String to display after author name if he's a user
6 afwas Mar 21, 2007 15:56
Well done :roll:
7 blueyed Mar 21, 2007 19:54
The javascript gets generated by the Form class (inc/_misc/_form.class.php). This is meant for some special handling (maybe "check all" etc), but gets outputted with every Form - wether it uses this functionality or not. It should be quite save to remove this.
OTOH I rather think that the mobile device should ignore the Javascript (SCRIPT) tags, shouldn't it?
8 keatonatron Mar 21, 2007 20:17
blueyed wrote:
OTOH I rather think that the mobile device should ignore the Javascript (SCRIPT) tags, shouldn't it?
You would think so. The strange thing is that the actual tags don't show up, but the scripting in between them does. The second tag is also visible, but much better than the first (it shows up simply as "//").
There are so many standards and "half-capable" devices these days, it's hard to know exactly what's going on in there. My cell phone can handle flash and Java applets, but has no clue what to do with CSS or javascript.
Thanks a lot for the info, I'll look into it in the morning!
B2e uses little Java Script, but some as you found out. I do not know whether you can remove it or not.
Your second question is easier. Look for _lastcomments.php in either the ../blogs/skins/your_skin/ folder or ../blogs/skins/. On the lines 40-43 you find:
Good luck.