Version: 1.00, by Tayeb
Developer Last Online: Aug 2010
Version: 2.3.x
Rating:
Released: 08-20-2003
Last Update: Never
Installs: 12
No support by the author.
This hack uses code written by NanoEntity's (Top 10 Hack) and changed by d3f (MSN6Tab), both available at vbulletin.org. Thomas Rudant's WAP Monitoring block for phpnuke was a source of inspiration. All credit to all of them!
Basically, this hack WAP-enables the latest threads in forums. I believe lots more can be done with WAP in conjunction with PHP for data-mining information from Forums.
No templates or hacking of php files is required. Just upload 2 php files and WAP-enable your server, instructions on how to Web-enable included. Check if your php has xml support
You can see more threads and exclude forums by changing values within last.php file, one of files, contained in attached zip.
I'd like to hear from all those that implement this hack, and be informed of any extra features that they may be added.
Zip file updated:
-to avoid conflicts between html and wml headers, index.wml is kept in a subdirectory of forums directory;
-to sort out header information error in some servers, turning on output buffering, a special thanks to Linux
Tayeb
_________
in sunnyPortugal - land of oranges!
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Very cool! It's working fine on my site. I may modify it to suit my needs... I don't want to spend a lot of time on this because I don't have a wap enabled phone and I'm sure here on my country a lot of people doesn't have these services...
Yesterday at 10:21 PM JulianD said this in Post #14 Very cool! It's working fine on my site. I may modify it to suit my needs... I don't want to spend a lot of time on this because I don't have a wap enabled phone and I'm sure here on my country a lot of people doesn't have these services...
Anyway, thanks for the code
+
Yesterday at 10:26 PM NanoEntity said this in Post #15 Nice MOD, great work buddy
Thanks to both of you. Lots more can be done. And it's nice to be at beach (here in Portugal it was quite nice this weekend!) and see what's going on...
I am testing this... it worked!!! It's so cool....
My shared server enabled wap for me.
But I also got an error.... when displaying the threads (last.php):
Warning: Cannot modify header information - headers already sent by (output started at public_html/last.php:4) in /public_html/forums/upload/admin/functions.php on line 1581
Warning: Cannot modify header information - headers already sent by (output started at /public_html/last.php:4) in /public_html/forums/upload/admin/functions.php on line 1581
---
then the posts show like they should. I just get this "warning" in between. Thanks for the help!
edit: I changed the index.wml to wap wml and still the same errors. Must the server also change the name in the DirectoryIndex? hope not...
Yesterday at 10:25 PM bandersen said this in Post #17 I am testing this... it worked!!! It's so cool....
My shared server enabled wap for me.
But I also got an error.... when displaying the threads (last.php):
Warning: Cannot modify header information - headers already sent by (output started at public_html/last.php:4) in /public_html/forums/upload/admin/functions.php on line 1581
Warning: Cannot modify header information - headers already sent by (output started at /public_html/last.php:4) in /public_html/forums/upload/admin/functions.php on line 1581
---
then the posts show like they should. I just get this "warning" in between. Thanks for the help!
edit: I changed the index.wml to wap wml and still the same errors. Must the server also change the name in the DirectoryIndex? hope not...
When do you get this error? After the Welcome card (in WAPyou have cards not pages...) or right when you get the display?
Also I notice that last.php is in your public_hml folder instead of your forums folder or so it seems.
What you need to do is to have last.php and index.wml in your forums folder.
Perhaps you may get a conflict with index.cgi file. In that case, place index.wml in a separate directory say wap below your main forums directory and edit index.wml line 15 where it says:
Code:
<card ontimer="last.php">
change to:
Code:
<card ontimer="../last.php">
last php must be always in the main directory of your forums i.e. where you have global.php.
Today at 10:06 AM TMM said this in Post #19 Great thing that someone's taking WAP into consideration here
Would it be possilbe to include a WAP page with "online users" info?
Yes indeed! Really the imagination is your limit. One could have info on who's online, latest member, etc. Actually I'm working into this and hope to publish soon a newer version of vBWAPmonitoring with a stats page...