Monday, 4th April 2005Monday, 4th April 2005 Home » Blog » Updated My WordPress Plugins
Updated My WordPress Plugins
Posted By Lester Chan at 18:13 in WordPress Plugins
  • 118 Responses
  • 1,240 views

I have updated all my WordPress Plugins to be compatible with WordPress 1.5. However, this site is still running on WordPress 1.2. I will upgrade it as soon as I modified the templates. Apparently modifying codes is much more interesting than modify codes. LOL.

My Plugins For WordPress
» WordPress 1.5 Stats - download - demo
Display your WordPress statistics.

» WordPress 1.5 WAP - download - demo
Browse your WordPress weblog entries on a WAP enabled mobile phone.

» WordPress 1.5 Poll - download - demo
Adds an integrated poll system to your WordPress.

» WordPress 1.5 Page Navigation - download - demo
Adds a page navigation with paging elements to your WordPress.

» WordPress 1.5 Print - download - demo
Displays a printable version of your WordPress weblog post.

» WordPress 1.5 E-Mail - download - demo
Enable you to send your webblog entry to a friend.

» WordPress 1.5 User Online - download - demo
Enable you to display how many users are online on your Wordpress with detailed statistics of where they are and who there are(Members/Guests/Search Bots).

I may have another 2 more plugins to be released. Relative dates and advanced search engine for WordPress.

*Update* Comments are auto closed after 30 days, if you still need help technical support, please email me or post it in the forum.


107 Comments107 Comments
Podz's Avatar
Podz
Comment #1
  • 19:28
  • Monday, 4th April 2005

I get 404’s on the download links ?

GaMerZ's Avatar
GaMerZ
Comment #2
  • 20:23
  • Monday, 4th April 2005

ops, sorry, link fixed.

Podz's Avatar
Podz
Comment #3
  • 22:29
  • Monday, 4th April 2005

Thanks !

Podz's Avatar
Podz
Comment #4
  • 22:54
  • Monday, 4th April 2005

I have a strange error that maybe should help me with ?
http://www.tamba2.org.uk/T2/about-t2/ is a normal WP page
http://www.tamba2.org.uk/T2/wp-useronline.php
http://www.tamba2.org.uk/T2/wp-stats.php

See the sql errors in the miniblog ? I can’t get the errors to appear any other way, and I have no clue how to go about curing this.

I had to alter the bottom of each plugin to this:
{?php
get_footer();
?}
as leaving the get_sidebar in there broke my layout.

Podz's Avatar
Podz
Comment #5
  • 23:06
  • Monday, 4th April 2005

I do apologise - it say “maybe you could help me with” and not what it does say.

Sorry !!

c0y0te's Avatar
c0y0te
Comment #6
  • 01:36
  • Tuesday, 5th April 2005

Downloads don’t work for me. I’ve tried IE, firefox and opera browsers, but it just keeps reloading the page. The browser says the page loads with errors and the text of the errors are as follows:-

Line 420
Char: 12
Error: ‘d.im.width’ is null or not an object
Code: 0
URL: http://www.lesterchan.net/blogs/archives/2005/04/04/updated-my-wordpress-plugins

This mean anything to you? Any chance you could email me the following plugins if I can’t get download working? I’m after the WP-Stats, WP-Print and WP-Poll plugins. Thanks in advance.

c0y0te

XeroCool's Avatar
XeroCool
Comment #7
  • 05:48
  • Tuesday, 5th April 2005

For your usersonline plugin, I get:

Warning: Invalid argument supplied for foreach() in /usr/home/xerocool/domains/r0×0rz.info/public_html/wp-useronline.php on line 37

whats wrong? Its activated and I did get a blank page.

Jennifer's Avatar
Jennifer
Comment #8
  • 07:55
  • Tuesday, 5th April 2005

Thanks for the great plugins. I’m using users online and wp-stats as we speak. I’m adding the email and print as soon as I get some brain power going :)

solarpunk's Avatar
solarpunk
Comment #9
  • 08:00
  • Tuesday, 5th April 2005

hello,

i upgrade from previous version bug i am getting this error message.

Fatal error: Cannot redeclare get_totalposts() (previously declared in /home/fusionrain/blog/wp-stats.php:19) in /home/fusionrain/blog/wp-content/plugins/statistics.php on line 17

GaMerZ's Avatar
GaMerZ
Comment #10
  • 12:30
  • Tuesday, 5th April 2005

Podz: It is tested on the default kubrick theme template, that is why it may be broken on some other template. By removing get_sidebar(); it will not affect anything.

XeroCool: did you add in the function call as stated in the readme.txt on the templates? Can you check also whether the tables are created in the MYSQL db?

c0y0te: Wierd, is there some spyware in your computer because I am sure that errors is not from the site. I will mail you the files when I get home =)

Jennifer: No Problem. Thanks for the feedback

solarpunk: It is because you are using another stats plugin, try deactivating statistics.php. It should solve the problem.

ddman's Avatar
ddman
Comment #11
  • 13:29
  • Tuesday, 5th April 2005

Using a bunch of the plugins, they are great. It seems to give errors while the databases are empty, etc… for example, the error mentioned about about useronline, if there are no users online it gives an error… perhaps check if ($usersonline) to avoid this.

Also, not sure if this is something with 1.5, but it doesn’t seem to show the username of registered users. In my experience everyone comes up as guest???

ddman's Avatar
ddman
Comment #12
  • 13:34
  • Tuesday, 5th April 2005

lol, after posting I’ve come to realize the the useronline works after the user posts, but what if they are registered and the posting cookie is not set?

JErm's Avatar
JErm
Comment #13
  • 14:26
  • Tuesday, 5th April 2005

Thanks dude these are great. I just downloaded them and can’t wait to plug them to my blog! :D

Podz's Avatar
Podz
Comment #14
  • 17:19
  • Tuesday, 5th April 2005

Hi again - any idea why the list of sql errors appears when I use either plugin ?

wirjo's Avatar
wirjo
Comment #15
  • 19:09
  • Tuesday, 5th April 2005

Awesome man!

GaMerZ's Avatar
GaMerZ
Comment #16
  • 19:42
  • Tuesday, 5th April 2005

ddman: okie thanks for the tip, will look into that. Regarding the cookie, it is the best I can do? Any suggestions?

JErm, wirjo: thanks for the feedback

Podz: Is that the same SQL error? The php error u posted earlier occur because of 2 functions of the same name. Care to post the sql error?

BOK's Avatar
BOK
Comment #17
  • 20:20
  • Tuesday, 5th April 2005

Thank you very much!
WP-sStats and Users Online even work together :-)

boogie's Avatar
boogie
Comment #18
  • 21:19
  • Tuesday, 5th April 2005

For some reason votes coming in from the main page or any page its included on are not counting.

Any votes that are made from wp-polls.php are counting.

any clues at all?

boogie's Avatar
boogie
Comment #19
  • 21:23
  • Tuesday, 5th April 2005

oh i should add that when i add
vote_poll();

to the top of the header.php page it just simply appears there as text?

boogie's Avatar
boogie
Comment #20
  • 21:35
  • Tuesday, 5th April 2005

I think i figured it out and its working now. It should have been

< ?php vote_poll(); ?>

I think most people installing this would realize to put the php code around it, i’m a bit of a novice so just cut and paste what the text file said to do. Now that I figured it out it appears to be working. :)… i think.

hipocratico's Avatar
hipocratico
Comment #21
  • 21:37
  • Tuesday, 5th April 2005

Thanks for a very nice plug in…using stats. I want to give my feedback. First I wrote: http://www.hipocratico.net/blog/wp-stats.php/.

I received “no input file specified”

You have to write: http://www.hipocratico.net/blog/wp-stats.php

No slash see!!!

Very newbie mistake!!

Hope this can help us newbies

GaMerZ's Avatar
GaMerZ
Comment #22
  • 23:29
  • Tuesday, 5th April 2005

BOK: thanks for the feedback.

boggie: LOL

hipocratico: wp-stats is a file thus u need to point it directly with no trailing slashes behind. Normally trailing slashes are used for folders only

ddman's Avatar
ddman
Comment #23
  • 23:43
  • Tuesday, 5th April 2005

GaMerZ,

There are several functions that are used on other pages that I am working on that for some reason don’t work when I apply them to the function. For example, $user_identity is used on my comments page to say “you are logged in as ” . $user_identity. This was written into the theme that I am using (Classic) So i am not sure what other variables have to be declared, etc. to get it up and running, but perhaps that’s worth a shot. Also in the stats plugin I am getting the foreach() error as well. I believe it is probably due to empty variables again. Like I said, I *think* you can fix this by running a simple check before you start the foreach loop, like

if ($thevariable)

but perhaps I am way off base.

Just trying to help, I think all of your plugins are pretty incredible and very helpful! THANKS!!!!!

ddman's Avatar
ddman
Comment #24
  • 23:46
  • Tuesday, 5th April 2005

Also,

On the print plugin you show how many comments there are. I’ve added on my site a plugin that separates comments from trackbacks. Thus, the number that is displayed may be misleading (as it would be higher than I want if I have any trackbacks), but since the print plugin is pretty minimalist, it appears that the plugin is not being “included” Do you have any suggestions? What I am thinking is probably just to call that plugin individually as opposed to calling all plugins. Is the best way to do this just include(theplugin.php); ??

– ddman

ddman's Avatar
ddman
Comment #25
  • 00:26
  • Wednesday, 6th April 2005

OK, the print problem does not appear to be because of the include. It’s possible it’s because it’s not in “the loop”.

ddman's Avatar
ddman
Comment #26
  • 00:32
  • Wednesday, 6th April 2005

Update: FIXED the print problem… I was making a silly mistake… Sorry to flood the comments :)

– ddman

Lawrence's Avatar
Lawrence
Comment #27
  • 01:58
  • Wednesday, 6th April 2005

I get the following error with the useronline plugin:

Fatal error: [] operator not supported for strings in /home/lawtai/domains/taibros.net/public_html/wp-admin/useronline-install.php on line 14

I have it activated and have the line added in wp-settings.php. I tried copying your code into phpmyadmin to create the table but it gave me an error there as well, so no table is created.

Z's Avatar
Z
Comment #28
  • 03:39
  • Wednesday, 6th April 2005

The wp-stats.php doesn’t link to posts correctly if the user doesn’t use permalinks (i.e. links to their posts are /index.php?p=100 instead of /2005/03/18/gatlinburg/), at least this seems to be the problem with my site. When I enabled permalinks it linked to the posts ok, but when I disabled them (as I have it normally), the links did not work.

Instead of linking to http://mysite.com/index.php?p=100 it links to http://mysite.com/index.php?p= with no post id following the equal sign.

This is under the sections 10 Recent Posts, 10 Recent comments, etc.

syed's Avatar
syed
Comment #29
  • 12:10
  • Wednesday, 6th April 2005

hey les, ya got ya acceptance from ntu?

sneebish's Avatar
sneebish
Comment #30
  • 14:51
  • Wednesday, 6th April 2005

I am working on installing and configuring the poll plugin that you created (nice stuff, by the way! Thanks.).

On the readme instructions, should this line:
vote_poll();

Really be this line?
< ?vote_poll(); ?>

In tells me to insert the “vote_poll();” code on the first line of headers.php. However, the first line on my theme is the DOCTYPE notation, meta information, and site title. When this line is entered without the PHP brackets, it just shows up as HTML text on the page. With the PHP brackets, it disappears; however, when trying to use the poll to vote, I get the following error:

Warning: Cannot modify header information - headers already sent by (output started at /[my web site]/wordpress/wp-content/themes/pool-v106/header.php:1) in /[my web site]/wordpress/wp-content/plugins/polls.php on line 80.

I get the distinct impression I messed something up here… can you help? :)

sneebish's Avatar
sneebish
Comment #31
  • 14:53
  • Wednesday, 6th April 2005

Ooops… the syntax I wrote under “Really be this line?” disappeared. What I had written was ” < ? vote_poll(); ? > ” (without all the spaces)

sneebish's Avatar
sneebish
Comment #32
  • 14:54
  • Wednesday, 6th April 2005

Your site keeps removing my PHP code. ;-) Anyway I think you know what I am getting at.

Jess's Avatar
Jess
Comment #33
  • 18:23
  • Wednesday, 6th April 2005

Thanks for updating these -they’re great. Is it possible to put the title of the page in wp-stats anduseronline? At the moment the title bar just says the name of my site and I’d like it to say which page I’m on.

The search engine plugin sounds fabulous too.

Thanks!

Dennis's Avatar
Dennis
Comment #34
  • 19:01
  • Wednesday, 6th April 2005

Hi,

I had to change the image source for the pollbar in wp-polls.php. It says “../images/pollbar.gif” so it lacks “wp-” in front of “images”. Other than that it seems to work just fine.

Thank you very much.

GaMerZ's Avatar
GaMerZ
Comment #35
  • 19:14
  • Wednesday, 6th April 2005

ddman: hi, the reason for not using the if(variable) because if there is an error, it will not display any last comments and that will nto really help in debugging because by right it should display the stats. For your print problems is it solve?

Lawrence: maybe you can email me the code that u use to insert into phpmyadmin?

syed: Yap, Computer Engineering

sneebish: hmm when you put < ? php vote_poll(); ? > at the top of the you got an error? if that is the case, mind sending me your header.php?

Z, Jess, Dennis: Okie Point noted, will get it done tomorrow too.

Zulan's Avatar
Zulan
Comment #36
  • 21:31
  • Wednesday, 6th April 2005

Hi GaMerZ!

Thanks for your hard work!

I am getting some errors trying to install the poll thing though. I get this error message:

Warning: Invalid argument supplied for foreach() in C:\Program Files\Apache Group\Apache2\htdocs\wp-content\plugins\polls.php on line 62

Any idea?

Zulan's Avatar
Zulan
Comment #37
  • 21:33
  • Wednesday, 6th April 2005

I thought my url was going to be visable, maybe it is. I cant see it, so my site is there you can se the error message in action :-)

Zulan's Avatar
Zulan
Comment #38
  • 22:28
  • Wednesday, 6th April 2005

I also have the error message sneebish have:

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\wp-content\themes\zulans-weblog-blogg\header.php:3) in C:\Program Files\Apache Group\Apache2\htdocs\wp-content\plugins\polls.php on line 80

I am sending my header.php to you as soon as I find your e-mail adress as you requested of sneebish.

Zulan's Avatar
Zulan
Comment #39
  • 22:37
  • Wednesday, 6th April 2005

Alot of stuff here, sorry to dump this on you, but I found out another thing that might shed some more light, it seems that the header is giving me problems, beacuse if I deactivate the plugin from within wordpress plugin manager I get this errror message when trying to access the site:

Fatal error: Call to undefined function: vote_poll() in C:\Program Files\Apache Group\Apache2\htdocs\wp-content\themes\zulans-weblog-blogg\header.php on line 3

Lawrence's Avatar
Lawrence
Comment #40
  • 22:45
  • Wednesday, 6th April 2005

The code I tried to insert was the same code you had written into the useronline-install file. I just copied and pasted and got an error.

silph's Avatar
silph
Comment #41
  • 23:56
  • Wednesday, 6th April 2005

Hey!

Your wp-poll works almost perfectly. There’s one thing though, that’s not working.

I’ve done everything you said in the readme file, but still I get this warning when I vote:

Warning: Cannot modify header information - headers already sent by (output started at wp-content/themes/default/header.php:5) in wp-content/plugins/polls.php on line 71

I’ve read the readme file a few times, but still doesn’t know what I’ve could of done wrong.

And you don’t mention, in your readme, what I’m supposed to do with the wp-polls.php-file. :D

Help me, please? :)

Midori's Avatar
Midori
Comment #42
  • 05:03
  • Thursday, 7th April 2005

Thumbs up for your plugins… :-) All my readers wanted me to set the Poll on again ;-)

GaMerZ's Avatar
GaMerZ
Comment #43
  • 09:46
  • Thursday, 7th April 2005

Lawrence: I will email you the sql code.

silph, Zulan: it is a file that display your polls archive? It is optional. I will take a look at the header problems since 3 of yoou all are getting it.

Midori: Thanks =)

GaMerZ's Avatar
GaMerZ
Comment #44
  • 09:52
  • Thursday, 7th April 2005

I think if you are having problem, drop me a mail instead. =D

nathaniel's Avatar
nathaniel
Comment #45
  • 21:41
  • Thursday, 7th April 2005

thanks! these are great! wp-email has to be one of my fave plugins, and we appreciate your updating it before you’ve even updated your own site! Note to english, as opposed to code, geeks: recommended not recommanded (spelling error in the text ;)

Chris's Avatar
Chris
Comment #46
  • 01:51
  • Friday, 8th April 2005

I’m trying to setup your wp-email plugin, but in your readme.txt it gives instructions for editing the .htaccess file if you are using friendly permalinks.

I AM using friendly permalinks, but I do not have the ReWrite rule you are mentioning. When I add it manually, I get a 500 Internal Server error.

Any suggestions? Thanks!

Chris's Avatar
Chris
Comment #47
  • 01:07
  • Saturday, 9th April 2005

I got the .htaccess fixed. Basically, there is a line in the file that matches that of your readme.txt WITHOUT the ^archives/.

Now, does anyone have any clue how to assign CSS to the redirected page? The form works functionally, but there is no structure to the redirected page (no CSS at all).

Thanks all.

GaMerZ's Avatar
GaMerZ
Comment #48
  • 11:11
  • Saturday, 9th April 2005

Chris: CSS? what do u mena redirect page?

Chris's Avatar
Chris
Comment #49
  • 12:25
  • Saturday, 9th April 2005

No, like, goto my site and click on the “email” link. The page it brings up does not load any other content. It messes the page all up. It’s not importing the CSS file I think, or something.

silph's Avatar
silph
Comment #50
  • 00:49
  • Sunday, 10th April 2005

Hm. Will you reply my email with the solution with the header problem or have you forgotten to check your inbox? :)

GaMerZ's Avatar
GaMerZ
Comment #51
  • 09:33
  • Monday, 11th April 2005

Chris: Your site does have css imported, I think u need to modify the email template a little bit

silph: I was away for the past few days, will get back to u shortly.

Chris's Avatar
Chris
Comment #52
  • 10:09
  • Monday, 11th April 2005

Modify the email template in what way? Shouldn’t it populate the story around the form? I’m confused…

Thanks for your help, btw. :)

Govind's Avatar
Govind
Comment #53
  • 20:27
  • Monday, 11th April 2005

Thanks for the plugin. For me, its working fine in firefox. But I am getting 404 page not found errors in internet explorer. Dont know why?.

Here is my blog link.

http://www.govue.org/blog/

And wp-stats.php is here

http://www.govue.org/blog/wp-stats.php

Can any one tell me, why am I getting such error??. Thanks.

Ryan's Avatar
Ryan
Comment #54
  • 05:28
  • Tuesday, 12th April 2005

Great work! The plugins are awesome!

GaMerZ's Avatar
GaMerZ
Comment #55
  • 09:33
  • Tuesday, 12th April 2005

I am using IE to view your site, it works fine for me.

Thanks Ryan =)

Chris's Avatar
Chris
Comment #56
  • 01:45
  • Wednesday, 13th April 2005

GaMerZ,

What did you mean by me having to modify the php file to get it work work on my site? I’m not real sure what you meant…

sneebish's Avatar
sneebish
Comment #57
  • 07:59
  • Wednesday, 13th April 2005

I have a fix for the Poll that I wanted to share with everyone. Here is the error message:

Warning: Cannot modify header information - headers already sent by (output started at /[my web site]/wordpress/wp-content/themes/pool-v106/header.php:1) in /[my web site]/wordpress/wp-content/plugins/polls.php on line 80.

The readme file indicates, as one of the last steps, to copy and paste the code “vote_poll();” into the header.php file for the theme you are using. Two notes are missing from the readme file:

1) This code will require the PHP code brackets surrounding the function (otherwise the text “vote_poll();” will actually show as HTML on the web site). This may be obvious to l33t programmers who use your poll, but I need things spelled out. :)

2) The code for vote_poll(); with brackets must be placed on the FIRST line of the header.php file, and ALL THE WAY to the left side. No tabs or indents or spacing is allowed. Otherwise, it tries to load whatever is to the left of this function first, which results in the error message I pasted above.

Hope this helps, and keep up the cool plug-ins, GaMerZ!!

Poonam's Avatar
Poonam
Comment #58
  • 08:58
  • Wednesday, 13th April 2005

I am using the stats.php. Its great and I love it. I have an issue though that my sidebar is not showing up properly….

Do u know how that can be fixed?

http://www.neerajpoonam.com/wp/wp-stats.php

researcher's Avatar
researcher
Comment #59
  • 14:30
  • Wednesday, 13th April 2005

hi GaMerZ,
love all those good jobs you are doing :)
have a small question about Polls.
why does the question appears twice in the results?
see my testsite

Peter A. Shevtsov's Avatar
Peter A. Shevtsov
Comment #60
  • 18:33
  • Wednesday, 13th April 2005

Hello GaMerZ!
I’m trying to add wp-wap to my site.
Im Firefox + WMLBrowser extension everything works good, but on my phone and in other wap emulators i get Error 404 Not Found. And in apache logs it’s the same - 404! How can this be fixed?

Thanks!

Ronald's Avatar
Ronald
Comment #61
  • 19:15
  • Wednesday, 13th April 2005

Thanx Gamerz for the plugin(s) (i’m only using polls)
Thanx Sneebish for finding the solution, works fine now.

Dan'l's Avatar
Dan'l
Comment #62
  • 22:51
  • Wednesday, 13th April 2005

I’m relatively new to WordPress but took the plunge with the print plug-in. It provides a great-looking, left-justified preview of what is about to be printed (exactly perfect) but when it actually prints all the lines centered on the hard copy. Is there something I need to do on my end to change this? Thanks — Dan’l

Chad's Avatar
Chad
Comment #63
  • 02:28
  • Thursday, 14th April 2005

I get this error message from my email plugin:

Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/degenh2/public_html/blog/wp-includes/class-smtp.php on line 105

Warning: fsockopen(): unable to connect to smtp.degenhart.us:25 in /home/degenh2/public_html/blog/wp-includes/class-smtp.php on line 105

Any ideas?

Chad's Avatar
Chad
Comment #64
  • 03:40
  • Thursday, 14th April 2005

Nevermind, I fixed the smtp server name in the wp-email file and that cleared everything up!

Thanks for updating the plugin.

Chris's Avatar
Chris
Comment #65
  • 02:43
  • Friday, 15th April 2005

Anyone have any ideas for the wp-email script? The form won’t load the post right…I have no idea how to fix it.

Any help would be great.

Uffe's Avatar
Uffe
Comment #66
  • 04:59
  • Saturday, 16th April 2005

I like the wp-print plugin, but it seems not to work well with LZIL - at least not with right-aligned floating pop up images. the pictures are printed left-aligned instead.

GaMerZ's Avatar
GaMerZ
Comment #67
  • 15:20
  • Saturday, 16th April 2005

Poonam: try adding get_sidebar(); after ur header instead of before the footer. You need to trial and error.

researcher: twice? where is ur site?

Peter A. Shevtsov: not found? Did you add in at the root wordpress folder?

Ronald: Np

Dan’l: An example would be good

Chad: NP

Chris: hmmm, send me your wp-email file?

Uffe: An example would be good

Dan'l's Avatar
Dan'l
Comment #68
  • 18:18
  • Saturday, 16th April 2005

Just go to http://logoswalk.com/journal/ and click the “[ Print this Journal Entry ]” for any post. I’ve tried it from different computers with the same result. The preview looks perfect (left-justified) but the actual print-out center-justifies all the text. Thanks!

Darren's Avatar
Darren
Comment #69
  • 22:27
  • Saturday, 16th April 2005

Gamerz Excellent plugins!!!

I have just tried the wap plugin, called up the wap url in the wap phone, all of the blog entries appear (yay!) but when I click on the blog link it says ‘Sorry’

Any ideas?

wap URL is travel-rants.com/wp-wap.php

Do I have to have comments on each blog for it to work?

GaMerZ's Avatar
GaMerZ
Comment #70
  • 18:49
  • Sunday, 17th April 2005

Dan’l: Wierd, my printer prints out fine.

Darren: Sorry in the sense? I am using WINWAP to browse it, it works fine. No, you do not need a comment to work.

Ed's Avatar
Ed
Comment #71
  • 21:45
  • Sunday, 17th April 2005

I figured out what was going on with Dan’l, as it was happening on my blog as well. Hopefully all of my code tags work:

On line 54 there’s a <center&gt tag, with the closing tag on line 70. Those tags seem to override the text-align: left property of the #Outline div.

Also, does anyone get 3 space-delimited hyphens at the top instead of the blog name/url? If so, look at line 53. There are two php statements starting with &lt? get-bloginfo. In both of these, the question mark should be followed by an equals sign so they look like the code in the title tag on line 17.

GaMerZ: Thanks for these plugins. Any plans to replace the html formatting tags with css? I’d offer to do it but I’m not totally up on standards compliance

Ed's Avatar
Ed
Comment #72
  • 21:50
  • Sunday, 17th April 2005

Looks like I didn’t get my tags quite right. Let’s try this again:

That should read as <center> tag on Line 54.

And line 53 should be changed to:

<p align="center"><b>- &lt?=get_bloginfo('name')?> - <?=get_bloginfo('url')?> -</b></p>

Ed's Avatar
Ed
Comment #73
  • 21:53
  • Sunday, 17th April 2005

Third time lucky? (Admin, feel free to edit/delete posts to eliminate all of my bad code.)

And line 53 should be changed to:

<p align="center"><b>- <?=get_bloginfo('name')?> - <?=get_bloginfo('url')?> -</b></p>

If you see any stray “&gt” in the above code sample, it should be this character: >. Likewise “&lt” should read as <. Sorry about that.

Dan'l's Avatar
Dan'l
Comment #74
  • 00:03
  • Monday, 18th April 2005

Thanks, Ed!

To confirm, my code was missing the two “=” signs in Ed’s Comment #73. Adding them and then changing the

tags that followed that line to cured the problem.

Thanks again.

Uffe's Avatar
Uffe
Comment #75
  • 15:01
  • Monday, 18th April 2005

#67 - Sorry, thought I had entered my URL, when I posted the comment. However, look at Vær kritisk - kør britisk, which uses LZIL for the popup picture. When using the print plugin (”Udskriv indlæg” in danish), the picture is left aligned.

sneebish's Avatar
sneebish
Comment #76
  • 23:13
  • Monday, 18th April 2005

Thanks, Ed, for the fix on the wp-print feature (mine was printing centered too). One other question related to this: on-screen, the posts have formatted text — large, bold headline, smaller non-bold text, all in Verdana. This is how the code is formatting it, and it displays correctly. However, when I print the page, all the bolding and sizing is lost, and it defaults back to Times New Roman. Any ideas?

GaMerZ's Avatar
GaMerZ
Comment #77
  • 09:42
  • Tuesday, 19th April 2005

hi guys, yap i discovered the print bug because it does not echo out the values, thanks ed for the fast fix, the fix is now updated.

Uffe: I think it is because your image is alighed to the left? Try putting align=”right” in the img tag.

BigheaD's Avatar
BigheaD
Comment #78
  • 11:38
  • Wednesday, 20th April 2005

Thanks for your great work!

I have the same question with Jess(comment#33).

Is it possible to put the title of the page in useronline? At the moment the title bar just says the name of my site and I’d like it to say which page I’m on.

Thanks again…

Peter A. Shevtsov's Avatar
Peter A. Shevtsov
Comment #79
  • 13:12
  • Wednesday, 20th April 2005

Hello GamerZ!

I tried your WP plugins, exactly wp-wap and wp-print, but I can’t make them work correctly :(
My problem is the following:
WML and HTML output correctly (the are even displayed in Firefox and Opera) but HTTP header which is sent is “404 Not Found”.
I’ve investigated your code and find that the problem is in wp-blog-header.php — in this file headers are sent. But I don’t know how to fix it.
I also don’t know why such happens. Probably it is so because my blog dir is http://mera.com.ru/wordpress/ but my blog url is http://mera.com.ru/ (I use mod_rewrite to redirect URLs correctly).

GaMerZ's Avatar
GaMerZ
Comment #80
  • 17:23
  • Wednesday, 20th April 2005

BigHead: I tried, it cannot be done unless u did some modifications.

Peter: you mean both plugin doesnt work for u? Where do you put the plugins? wp.print.php is in your wordpress directory?

BigheaD's Avatar
BigheaD
Comment #81
  • 06:07
  • Thursday, 21st April 2005

GaMerZ: Thanks for ur answer. But what modifications I must do for it?

Peter A. Shevtsov's Avatar
Peter A. Shevtsov
Comment #82
  • 16:34
  • Thursday, 21st April 2005

GaMerZ: Yes, both plugins don’t work for me :( All plugins are in my wordpress directory

GaMerZ's Avatar
GaMerZ
Comment #83
  • 09:16
  • Saturday, 23rd April 2005

BigheaD: the modifications is quite complicated, maybe for a start on the header you can check whether the page is wp-useronline, if it is then u display it else u display the normal ones

Peter: Is there a site?

Ralph's Avatar
Ralph
Comment #84
  • 08:01
  • Sunday, 24th April 2005

I installed your wap-plugin (thanks for which, btw) and have the following problem:
1. In my phone, the first page will display the message titles (not the excerpts, though) fine.

2. However, when I click on the title, I’m getting a “communication error - try again or contact your ISP” message.

3. I tried accessing your wap demo site with my phone. Here, I can view the titles fine, too. When I click on them, in most cases I’ll get to see the full postings, too. It does not work, however, with messages “Updated my WordPress Plugin” and “I Turned 21 Today” (Happy Birthday, btw, even though it’s a bit late … :-) -
here, I’m getting the same error message.

4. I have not touched your code so far and have kept to your path convention.

5. This is Wap page URL:
http://fantomaster.com/fantomNews/wp-wap.php

6. Finally, if you can help me get this worked out - how do I change that URL to
http://wap.fantomaster.com/fantomNews/ ?

Thanks in advance for your help.

(Your print plugin works just fine, btw.)

GaMerZ's Avatar
GaMerZ
Comment #85
  • 13:46
  • Sunday, 24th April 2005

hi there, the error you are getting is due to some illegal characters which is not supported in WAP 1.0, if you are using WAP 2.0 enabled PDAs/Phones, you should not get that error.

I used WINWAP and tested your wap site, and it works fine.

Regarding your wap subdomain, you need to create a subdomain called wap and a folder call fantomnews? then you need to rename wp-wap.php to index.php and you need to modify both wap files (renaming all wp-wap.php to index.php).

Ralph's Avatar
Ralph
Comment #86
  • 20:07
  • Sunday, 24th April 2005

Thanks for your response.
Hm, I’m using a Sonyericsson K700i which is WAP 2.0 enabled. This is weird - will have to check it out with SE support then, I guess.

As for the subdomain, I’ll have a look into using mod_rewrite instead as else it could generate all sorts of path and maintenance problems. But thank you for outlining the procedure.

GaMerZ's Avatar
GaMerZ