All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.


Author Topic: No internal links in my WP-Print 2.10 pages  (Read 19853 times)

0 Members and 2 Guests are viewing this topic.

Offline elarequi

  • Newbie
  • *
  • Posts: 20
    • View Profile
No internal links in my WP-Print 2.10 pages
« on: 12 April 2007, 12:09 »
After installing your excellent WP-Print 2.10 plugin in my WordPress blog, I've translated it to spanish via the .POT file. I've also made some minor changes in code, in order to obtain a better spanish translation.

My problem is that no internal links appear in the bottom of the page. I've activated the plugin, updated the permalink structure according to instructions, but to no avail.

There's no the first time I've used this plugin in my blog. With version 2.6., everything worked OK. Anyway, I prefer version 2.10, because of the localization file.

Here you have my blog data:

WordPress Version: 2.1.3.
Theme: Tarski.
Blog URL: http://www.labitacoradeltigre.com.
Problem Plugin Name And Version: WP-Print 2.10.
PHP And MYSQL Version: 5.2.0 and 4.1.21.
Possible Conflicting Plugins:

  • Akismet 2.0
  • CompleteRSS 1.0
  • Creative Commons Configurator 1.0
  • del.icio.us widget 1.0
  • Feedburner Feed Replacement 2.2
  • Google Search widget 1.0
  • King_Framework 0.70
  • King_Text_Widget 0.69
  • Live Comment Preview 1.7
  • Sidebar Widgets 1.2.1.20070210b
  • Spam Karma 2 2.3 rc1 -2
  • SRG Clean Archives 2.1
  • Tarski links widget 1.2
  • Ultimate Tag Warrior 3.14159265
  • WP-PostViews 1.10
  • WP-Print 2.10

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: No internal links in my WP-Print 2.10 pages
« Reply #1 on: 12 April 2007, 14:06 »
You upgraded? Are you using email_link() to display the link? As of WP-EMail 2.10, you can edit the link manually in E-Mail -> E-Mail Options

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline elarequi

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: No internal links in my WP-Print 2.10 pages
« Reply #2 on: 12 April 2007, 17:35 »
No, I didn't upgrade. I've migrated my blog from one ISP to another. Although I imported most of the tables from the old sql file, I've made the new installation with a fresh wp_options table, to prevent potential conflicts with plugins.

I don't have any email_link() function. I use theme Tarski and the code <?php if(function_exists('wp_print')) { print_link(); } ?> in file loop.php. By the way, loop.php is not in the same directory as the other theme Tarski files, but in the subdirectory /library. Does this anything to do with my problem?

Offline Ttech

  • Official Support
  • Global Moderator
  • *****
  • Posts: 4,294
    • View Profile
Re: No internal links in my WP-Print 2.10 pages
« Reply #3 on: 12 April 2007, 23:01 »
Well you may want to try this:
 <?php if(function_exists('print_link')) { print_link(); } ?>
because I don't believe there is a wp_print function. I maybe wrong. I think GaMerZ was thinking this was a different plugin you were talking about. I think I did too.
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: No internal links in my WP-Print 2.10 pages
« Reply #4 on: 13 April 2007, 04:51 »
Ops can u go to WP-Admin -> Options -> Print and configure the link? You might want to try the default theme to see if it works

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline elarequi

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: No internal links in my WP-Print 2.10 pages
« Reply #5 on: 13 April 2007, 06:31 »
None of your solutions work. I've changed the code, as Ttech suggested, but the plugin doesn't show internal links (the original code, to which I've returned, is the one that GaMerZ shows in his instructions to use the plugin).

I've also checked all the possible options in the plugin configuration page and I've selected the default theme, but I always get the same: no internal links at the bottom of the page.

If you look at the code in browser, you can see this line where the internal links were expected to appear:

<p style="text-align: left;"></p>

That's to say, a void paragraph. Does this mean anything to you?

On the other hand, could there be a problem with permalinks? When I migrated the blog, my new hosting company told me I had to add a line to my .htaccess so that permalinks could work. Here you have:

Options -Indexes IncludesNOEXEC FollowSymLinks

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: No internal links in my WP-Print 2.10 pages
« Reply #6 on: 13 April 2007, 06:52 »
Hmmm, I think I solved this before, but I cant remember how. Do you mind if u create a temp wp-admin account for me and chmod print.php to 777?

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline elarequi

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: No internal links in my WP-Print 2.10 pages
« Reply #7 on: 13 April 2007, 07:45 »
Done.

I've sent data of user and password by email.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: No internal links in my WP-Print 2.10 pages
« Reply #8 on: 13 April 2007, 07:47 »
received. On it now =)

EDIT: http://www.labitacoradeltigre.com/2007/04/02/el-tigre-en-estado-zombie/ I thought there is a print link at the bottom?

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline elarequi

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: No internal links in my WP-Print 2.10 pages
« Reply #9 on: 13 April 2007, 08:06 »
I'm not sure if I've understood you well.

The print link (print icon + "Imprimir esta entrada") is not part of the post. It is in the loop.php file, by means of the code
<?php if(function_exists('wp_print')) { print_link(); } ?>

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: No internal links in my WP-Print 2.10 pages
« Reply #10 on: 13 April 2007, 08:21 »
then what do u mean by internal links? As in links within a post content?

Example: http://www.lesterchan.net/wordpress/2007/04/03/wp-pagenavi-updates/print/

Are you referring to the thing that said "URLs in this post:"

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline elarequi

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: No internal links in my WP-Print 2.10 pages
« Reply #11 on: 13 April 2007, 08:44 »
I mean the URLs preceded by square brackets, after "URLs in this post:".

I don't see them.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: No internal links in my WP-Print 2.10 pages
« Reply #12 on: 13 April 2007, 10:30 »
I think there is something wrong with your host php config. I copied the whole content from your site to my localhost and everything was working properly. After some drilling down. I notice that this php function:
Code: [Select]
preg_match_all is not performing its job at all, for some reasons, it can get the correct amount of links, it just could not get the link data.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline elarequi

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: No internal links in my WP-Print 2.10 pages
« Reply #13 on: 13 April 2007, 12:34 »
Thank you, GaMerZ, for your patience and excellent support, much better than it's usual in this business.

Your suspicions match my own ones. In fact, there's another function of my WordPress which doesn't work: the rss feed aggregator of the main backend page. I don't see the news from WordPress.

I'm going to make a support request to my web hosting provider.

Can I deactivate your account?

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: No internal links in my WP-Print 2.10 pages
« Reply #14 on: 13 April 2007, 17:26 »
sure go ahead and deactivate it =D

Thanks for the compliments =D

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline elarequi

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: No internal links in my WP-Print 2.10 pages
« Reply #15 on: 14 April 2007, 19:12 »
I've got new facts in the "strange case of URLs in this post disappeared".

Some minutes ago, I've got a new comment (the fifth one, by Corsaria) in my last post: http://www.labitacoradeltigre.com/2007/04/02/el-tigre-en-estado-zombie/]. As you can see, the URL annotated by Corsaria appears at the bottom of WP-Print page.

The strangest part of the case is that a new URL I've added to check the plugin, just at the end of my post, doesn't appear. It does appear, however, if the URL is inside one comment (see comment number 6, which is mine).

If URLs in comments appear, I guess that the cause of the problem is not due to the fact that the preg_match_all function doesn't work in my server. Do you agree?

What could be the reason because URLs in comments are treated in a different way that URLs in post body?

Offline Ttech

  • Official Support
  • Global Moderator
  • *****
  • Posts: 4,294
    • View Profile
Re: No internal links in my WP-Print 2.10 pages
« Reply #16 on: 14 April 2007, 23:08 »
Possibly.
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: No internal links in my WP-Print 2.10 pages
« Reply #17 on: 15 April 2007, 07:02 »
OMG that is weird, the comments urls and the post urls will sort of merge and then it will appear at the bottom. Take a look at here:
http://www.lesterchan.net/wordpress/2006/06/08/wp-polls-211-released/print (It should appear like this)

What if you do not show comments, will the URL in the post show?

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline elarequi

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: No internal links in my WP-Print 2.10 pages
« Reply #18 on: 15 April 2007, 11:26 »
With print comments option=no, URLs in post don't show.

I have a copy of my blog in localhost (Windows XP + Apache 2), with the same configuration of the one in Internet. The problem with URLs in post also happens in my localhost. As you say that a copy of my blog worked fine in your localhost, I guess that the cause of the problem lies in the server configuration.

.htaccess, perhaps? I am going to send you by email the content of my .htaccess file. And thanks a lot, again, for your patience.

Here you have my .htaccess (public server and localhost), in case it gives you some clue.
« Last Edit: 15 April 2007, 12:18 by elarequi »

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: No internal links in my WP-Print 2.10 pages
« Reply #19 on: 15 April 2007, 11:40 »
ops i look at your htaccess, it is the exact same copy as mine. What is your php version?

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.