gat
Forum Replies Created
-
Forum: Plugins
In reply to: Waypath Hack: Content related random trackbacks fruhmmm… what do you mean? well, my comment template is the one that cames with wp.. slightly modified.. but.. don’t you call the comment template with
<pre>
<?php include($abspath . ‘b2comments.php’); ?>
</pre>
??? i do so, and just modify b2comments.php with the echo wypath.. uhm.. what do you mean when you say “is your comment template different from your index.php” ?? of course is different.. but i think i’m missing something ?? ??
let me knowForum: Plugins
In reply to: Word Countehy guys, just calculate how many words you wrote is boooring.. why don’t calculate something else?
for example, obtain the total of the LETTERS (spaces included) you typed and assign it to $totaletters, then calculate..
<pre>
<?php
$calories = $totaletters*0.0819398; // one keystroke = 0.0819398 calories
echo ‘calories wasted: ‘. number_format($calories);
?>
</pre>
..to obtain how many calories you wasted with your blog ??
or (better!!!)
<pre>
<?php
$sexcal = $calories/250; // about 250 calories each time you have sex
echo ‘which means i could have sex: ‘. number_format($sexcal);
?> times!!!
</pre>
to obtain how many times you could have sex instead of blogging for the same amount of calories ??
ghghghghghghghghghg a bit of fun out of this hell of world ?? ??Forum: Fixing WordPress
In reply to: mod_rewritesorry for my crosspost, i have a similar problem with old archives.. in particular, i can se the archived post since when i set up .htaccess and permalinks in the option screen, but i can’t see anything has been done before..
in the last month’s archive i can just see what i posted AFTER the .htaccess setup (from 13th november on) and nothing before.. the same thing for other archives, they just give me back my page without posts..Forum: Fixing WordPress
In reply to: mod_rewrite and archives (again!)i just made a discovery..
after importing the old posts (which i checked out, are correctly imported!) you should edit them (even without changing the content) and publish them again to get them work with mod_rewrite..
plus, only the archive months i published with the mod_rewrite option on are working correctly, the other archives, if clicked, are actually showing a page with no posts..Forum: Fixing WordPress
In reply to: mod_rewrite and archives (again!)sorry..
anyway my imported post works fine using the standard link with no mod_rewrite, like
<pre>https://gat.blogo.net/?p=180&c=1</pre>
any ideas?Forum: Plugins
In reply to: Waypath Hack: Content related random trackbacks froh.. i forgot.. if you put the modified code in the popup comment template, you will obtain (linking it the right way) a popup window with your related entries ?? isn’t it?
Forum: Plugins
In reply to: Waypath Hack: Content related random trackbacks frGreat hack! I would suggest how I used it for my blog..
instead of placing:
<pre>
<?php if ($p > 0) {echo waypath(return_content());}?>
</pre>
in my template (index.php to be clear), i placed just:
<pre>
<?php echo waypath(return_content());?>
</pre>
in my comment template. this because, if you try, you will see that the ‘..if {$p..’ thing will not work if you use apache mod_rewrite to generate permalinks (ie. https://gat.blogo.net/2003/11/15/indecisioni/).. just because, i think, the $p variable is not used (is it? well, doesn’t matter.. it doesnt work, believe me ?? )
this way you could access your related post going to the item page, or clicking the comment link (which is the same..)..
i did this way, placed a link named “BlogospheRelated” at the bottom of my posts, which brings back the comment page + anchor (such as #related) in the comment page where the plugin shows his output.
again, great hack ?? !!!
see you!Forum: Plugins
In reply to: previous post in the same page (not a real hack buHi mike. well, yes you are right! And I’m guilty because i knew that and forgot to post it ??
Actually, yes, if you delete a post or leave one in draft mode, you may have a broken link.. note that if your broken link is an anchor into the same page (for example href=”#hello”) the links simply doesn’t work, without giving any headache like 404 or something
thanks mike!Forum: Plugins
In reply to: previous post in the same page (not a real hack bu… well, >, of course is >… sorry
Forum: Fixing WordPress
In reply to: mod_rewrite and archive listwell, great!!! this worked great, thanks very much! now i have a nice /year/month in my archive link url too!!!
thanks again!