Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages

www.blogsome.com Forum Index » Bugs - Problems with your blog?

Post new topic   Reply to topic
"Most Popular Posts" links are incorrect
View previous topic :: View next topic  
Author Message
TaoDo_ul
Guest





PostPosted: Mon Jul 25, 2005 5:50 pm    Post subject: "Most Popular Posts" links are incorrect Reply with quote

My "Most Popular Posts" links don't point to the correct posts.

taodo.blogsome.com
Back to top
oceanblade



Joined: 21 Jul 2005
Posts: 5

PostPosted: Mon Jul 25, 2005 6:40 pm    Post subject: Reply with quote

I'm getting the same thing too

oceanblade.blogsome.com
Back to top
View user's profile Send private message
schinckel



Joined: 03 Apr 2005
Posts: 1238
Location: Adelaide, Australia

PostPosted: Wed Jul 27, 2005 4:40 am    Post subject: Popular Post Bug Reply with quote

The solution can be found here.

Replace this code in your template:

Code:
{get_permalink id=$hits.postID}


with:

Code:
<a href="{$siteurl}{$hits.url}" title="{$hits.title}">{$hits.title|truncate:20:".."}{$key}</a>
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
TaoDo-ul
Guest





PostPosted: Wed Jul 27, 2005 1:34 pm    Post subject: Reply with quote

Thanks schinckel, that did the trick!

Nice site, BTW.. Smile
Back to top
TaoDo_ul
Guest





PostPosted: Wed Jul 27, 2005 1:38 pm    Post subject: Reply with quote

Just gotta clarify what I changed though..

I changed:

<a href="{get_permalink id=$hits.postID}" title="{$hits.title}">{$hits.title|truncate:30:"..."}</a>

to

<a href="{$siteurl}{$hits.url}" title="{$hits.title}">{$hits.title|truncate:20:".."}{$key}</a>
Back to top
TaoDo_ul
Guest





PostPosted: Wed Jul 27, 2005 1:43 pm    Post subject: Reply with quote

Oops.. didn't quite work as I wanted, although the links are now correct.. could you please specify what should go precisely between the <ahref=> and the </a> ?
Back to top
Guest






PostPosted: Wed Jul 27, 2005 2:30 pm    Post subject: Reply with quote

Removed the last {$key} before the </a>

Thus:
Code:

        {popularposts}
        {if $pposts != ''}
          <h2>Most Popular Posts</h2>
          <ul>
          {foreach from=$pposts key=key item=hits}
            <li><a href="{$siteurl}{$hits.url}" title="{$hits.title}">{$hits.title|truncate:20:".."}</a>: {$key}</li>
          {/foreach}
          </ul>
        {/if}
Back to top
villervalla
Guest





PostPosted: Mon Sep 19, 2005 12:41 pm    Post subject: I did this - now it´s blank! Reply with quote

I did exactly this, i removed and copied exactly as above - now my blog is blank! Please help me!

http://villervalla.blogsome.com
Back to top
zheaton



Joined: 03 Dec 2004
Posts: 532
Location: United States

PostPosted: Mon Sep 19, 2005 5:35 pm    Post subject: Reply with quote

It loads fine for me now - I'm assuming that you fixed the problem.
_________________
I'm no longer a moderator - don't PM me with questions.

Search the forum, check the wiki, and ask smart questions
Back to top
View user's profile Send private message Visit poster's website
letsgetpaid
Guest





PostPosted: Fri Dec 16, 2005 9:04 am    Post subject: Reply with quote

my popular post have disappear...

I cant get the popular post link correctly..

http://letsgetpaid.blogsome.com
Back to top
letsgetpaid
Guest





PostPosted: Wed Dec 21, 2005 6:41 am    Post subject: Reply with quote

something is wrong with my popular link and my monthly link.

i tried everything tht is posted in this forum but still can't manage to get it appear correctly

http://letsgetpaid.blogsome.com
Back to top
Guest






PostPosted: Wed Dec 21, 2005 6:50 am    Post subject: Reply with quote

my popular post reappear but keeps showing the same post only.

a month ago still not appearing
Back to top
zheaton



Joined: 03 Dec 2004
Posts: 532
Location: United States

PostPosted: Wed Dec 21, 2005 9:50 pm    Post subject: Reply with quote

0.) Please don't double-post.

1.) Please post weblog URLs.

2.) Have you tried all of the steps listed in this thread?

3.) Have you searched the forum?

4.) letsgetpaid - Is there some reason I'm missing that your blog is titled "Let's Get Paid Online?" Based on that, and the content, this really looks like part of an SEO campaign. You might want to read the Terms of Service, particularly with respect to the opening paragraph.
_________________
I'm no longer a moderator - don't PM me with questions.

Search the forum, check the wiki, and ask smart questions
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.blogsome.com Forum Index » Bugs - Problems with your blog? All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum