Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Comment Permalinks
remouk
New
Comment Permalinks
0
Comments
http://www.subdays.de/forum/comments.php?DiscussionID=6892&Focus=153029#Item_44
The funny thing is, the Commentnumber in "#Item_" is ALWAYS 'doubled'; #Item_22 would be
correct in this case.
My workaround:
I am changing it to
http://www.subdays.de/forum/comments.php?DiscussionID=6892&Focus=153029#Comment_153029
[edit] this may be moved to a different thread, i found quite a few with a "permalink" subjcet
[edit 2]I guess that "$RowNumber" maybe already used, grep found it everywhere. I changed it to $RowNumberPerm and now everything is fine; of course i had to add
if (!$RowNumberPerm) { $RowNumberPerm=1; }
otherwise 0 would have been the starting number.
today I tried to translate "Comments Permalinks" and some other Add-ons, too, into German and noticed most of them use the "old style" for declaring the language variables.
So I made a convertion (with the help of "sed" described here) to use the documented "new style" for the "Comments Permalinks" extension.
If you want (an I recommend it) you can download the patch or/and the new "default.php" from my site at http://sokai.name/code/vanilla/add-ons/.
For all German people: The translated text can be downloaded from http://sokai.name/code/vanilla/translation/.
Thanks a lot,
sokai
I updated the extension (and removed the typo in the name) and credited you as the principal author.