On these pages are my WordPress plugins, the odd article and my Support Forum.

For my random rantings on everything else please visit my blog at Yellow Swordfish

WP Plugins


Articles

If you find any of my plugins useful, please comsider a donation towards my running costs.

Thank you

Current User: Guest
Please consider registering

 
Search Forums:


 




Counter goes up every time i edit a post

UserPost

2:35 pm
31 Jan 2008


CShadowRun

Member

posts 9

 
1

It’s pretty much all in the title, when i edit a post, or even publish the post. The counter goes up by the amount of links to the download i have in the post, is this what it’s supposed to do? i think it’s a bug :(

3:04 pm
31 Jan 2008


Yellow Swordfish

Admin

Peterborough, England

posts 4562

 
2

I think it’s a bug and not one I have tracked yet. Try outting a nofollow in the link could you? See if that helps it…

8:27 am
1 Feb 2008


Yellow Swordfish

Admin

Peterborough, England

posts 4562

 
3

I had another thought about this which may provide the answer.

You said that the counter updates whenever you edit or publish a post and I assume you mean by that, a post with a link in it to the download. At least I assume you do bot mean EVERY post regardless.

One possibility is that WP will send a ping to any link and it has always sent a ping to internal url’s as well. Thus may, perhaps, cause the trigger. The way around this (and it solves the ing problem as well) is to use a relative path instead of the full address.  WP will not then send the ping.  I’d be fascinated to know if this is the problem…

1:08 pm
1 Feb 2008


CShadowRun

Member

posts 9

 
4

Sorry for the slow reply.

I wasn’t sure what a nofollow link was but i asked in the wordpress IRC channel and they told me i had to use rel="nofollow" inside <a >

That didn’t fix it.

However i changed it to use an internal link and now it’s all working. Thanks :D

Maybe as a fix you could stop the post counter from rising if it was requested from localhost. 

:)

1:34 pm
1 Feb 2008


Yellow Swordfish

Admin

Peterborough, England

posts 4562

 
5

Well it’s good to hear it proven. I’ll try and do some work on this as soon as V3 of the forum is out the door once and for all.

6:12 pm
8 Feb 2008


Mark

Guest

 
6

I can confirm what CShadowRun said about the problem. It indeed exists. I can also confirm his solution Laughing


10:55 pm
8 Feb 2008


footballfreak

Member

posts 19

 
7

3.0 is fantastic looking…  can't wait!

Laughing



Reply to Topic: Counter goes up every time i edit a post

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 10 + 2        (Required)

Topic Reply:


 
 

About the Stuff at Yellow Swordfish forum

Currently Online:

16 Guests

Maximum Online: 71

Forums:

Groups: 3

Forums: 15

Topics: 1740

Posts: 11776

Members:

There are 799 members

There are 738 guests


Yellow Swordfish has made 4562 posts

Top Posters:

Mr Papa - 1226

-Radio- - 475

ovizii - 85

jfv - 80

angelic007 - 66

Administrator: Yellow Swordfish | Moderators: Yellow Swordfish, Mr Papa, -Radio-


© Simple:Press Forum - Version 3.1.3 (Build 356)