View Full Version : vBWAPMontoring v.1.0a
Tayeb
08-20-2003, 10:00 PM
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!
DILLIGAF
08-22-2003, 01:50 PM
/me clicks install
DILLIGAF
08-22-2003, 02:19 PM
Just tried it, and after it shows the title page it then says "Page read error"
Dean C
08-22-2003, 02:35 PM
Sounds promising :)
I'd be interested to see any examples or screenshots of people using this on their wap phones :)
Tayeb
08-22-2003, 03:18 PM
Today at 04:19 PM DILLIGAF said this in Post #3 (https://vborg.vbsupport.ru/showthread.php?postid=427911#post427911)
Just tried it, and after it shows the title page it then says "Page read error"
It ought to display the second page. Is last.php file in the same directory as global.php of your forum? And index.wml have you placed in the same directory as last.php?
What index.wml does is to display the welcome card (in WAP we refer to cards) and next jumps to last.php which somehow isn't found.
You can run last.php separately without XML headers to verify that last.php connects to your database. If you contact me directly I can send you the file so that you can try it.
Now a question: does your php have xlm support? This is enabled when php in compiled.
Tayeb
Tayeb
08-22-2003, 03:22 PM
Today at 04:35 PM Mist said this in Post #4 (https://vborg.vbsupport.ru/showthread.php?postid=427918#post427918)
Sounds promising :)
I'd be interested to see any examples or screenshots of people using this on their wap phones :)
Here they're:
https://vborg.vbsupport.ru/external/2003/08/1.jpg https://vborg.vbsupport.ru/external/2003/08/2.jpg
:D
Tayeb
MrNase
08-22-2003, 04:23 PM
Isn't there a windows based WAP-Browser? My father got his mobile with him in cologne so i can't test it and need the windows based thing.
Can someone post the link to this software AND a working demo?
thanks so much :)
Tayeb
08-22-2003, 05:35 PM
Today at 06:23 PM MrNase said this in Post #7 (https://vborg.vbsupport.ru/showthread.php?postid=427938#post427938)
Isn't there a windows based WAP-Browser? My father got his mobile with him in cologne so i can't test it and need the windows based thing.
Can someone post the link to this software AND a working demo?
thanks so much :)
If you go to http://www.wapsilon.com you'll find a plugin which you can install in your IE. After installed you use and URL like wap?www.yoursite.com/forums.
Hope this help...
:)
Tayeb
Dean C
08-22-2003, 06:14 PM
Tayeb - that looks like its been done in PS ;)
I don't doubt this works - excellent prospect of a good hack here...
AmericanWoman
08-22-2003, 07:19 PM
This is awesome - I'll try it out as soon as I've finished upgrading my board.
Good job!
MrNase
08-23-2003, 06:12 AM
thx, but i don't have a working demo :(
could someone post a link?
gmarik
08-23-2003, 07:36 AM
If this will really work one day,
I'll gonna kiss you (no promise)
:o)
Tayeb
08-23-2003, 11:45 AM
Here's an example at http://www.myiwc.com/test/. Can only view through WAP or using a simulator. Use the link http://wappy.to
:)
Tayeb
JulianD
08-23-2003, 08:21 PM
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 :)
NanoEntity
08-23-2003, 08:26 PM
Nice MOD, great work buddy ;)
Tayeb
08-24-2003, 09:11 PM
Yesterday at 10:21 PM JulianD said this in Post #14 (https://vborg.vbsupport.ru/showthread.php?postid=428240#post428240)
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 (https://vborg.vbsupport.ru/showthread.php?postid=428241#post428241)
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...
bandersen
08-25-2003, 08:25 PM
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...
Tayeb
08-26-2003, 08:49 AM
Yesterday at 10:25 PM bandersen said this in Post #17 (https://vborg.vbsupport.ru/showthread.php?postid=428612#post428612)
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:
<card ontimer="last.php">
change to:
<card ontimer="../last.php">
last php must be always in the main directory of your forums i.e. where you have global.php.
Hope you get it working.
Great thing that someone's taking WAP into consideration here :)
Would it be possilbe to include a WAP page with "online users" info?
Tayeb
08-27-2003, 09:14 AM
Today at 10:06 AM TMM said this in Post #19 (https://vborg.vbsupport.ru/showthread.php?postid=428953#post428953)
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...
Tayeb
Linux
08-27-2003, 09:30 PM
I put the both files in the fourm directory
but I am getting this msg when it is open the threads page
Warning: Cannot modify header information - headers already sent by (output started at/public_html/vb/wab.php:4) in public_html/vb/admin/functions.php on line 1863
Warning: Cannot modify header information - headers already sent by (output started at /public_html/vb/wab.php:4) in /public_html/vb/admin/functions.php on line 1863
Linux
08-28-2003, 08:28 AM
Yesterday at 11:30 PM Linux said this in Post #21 (https://vborg.vbsupport.ru/showthread.php?postid=429099#post429099)
I put the both files in the fourm directory
but I am getting this msg when it is open the threads page
Warning: Cannot modify header information - headers already sent by (output started at/public_html/vb/wab.php:4) in public_html/vb/admin/functions.php on line 1863
Warning: Cannot modify header information - headers already sent by (output started at /public_html/vb/wab.php:4) in /public_html/vb/admin/functions.php on line 1863
I fixed this problem
just turn on output buffering.
i.e. put
PHP:
--------------------------------------------------------------------------------
ob_start();
--------------------------------------------------------------------------------
at the beginning of last.php
it will looks like this
PHP:
--------------------------------------------------------------------------------
<?php
ob_start();
header("Content-type: text/vnd.wap.wml");
--------------------------------------------------------------------------------
Logician
08-28-2003, 09:42 AM
looks very promising! Thanks for sharing.. :)
Tayeb
08-28-2003, 04:46 PM
Today at 10:28 AM Linux said this in Post #22 (https://vborg.vbsupport.ru/showthread.php?postid=429199#post429199)
I fixed this problem
just turn on output buffering.
i.e. put
PHP:
--------------------------------------------------------------------------------
ob_start();
--------------------------------------------------------------------------------
at the beginning of last.php
it will looks like this
PHP:
--------------------------------------------------------------------------------
<?php
ob_start();
header("Content-type: text/vnd.wap.wml");
--------------------------------------------------------------------------------
Thanks Linux :)
Tayeb
Linux
08-29-2003, 10:38 AM
Thanks Tayeb,
Looking forward to improve it
keep the good work up
Tayeb
08-29-2003, 01:16 PM
Today at 12:38 PM Linux said this in Post #25 (https://vborg.vbsupport.ru/showthread.php?postid=429447#post429447)
Thanks Tayeb,
Looking forward to improve it
keep the good work up
Quite cool! Thanks for the input :)
Tayeb
Robink
10-20-2003, 06:39 PM
This is a great Hack... Just what I wanted.
But, I just noticed that I am able to read all threads and see my forum through my WAP phone without any modifications using Google. If I go to google, and go to my vB forum through Google, google someone converts each page to a nicely readable format for my cellphone, and I can read threads, profiles, topics etc.
I havent been able to login to an account yet though :(
Tayeb
10-21-2003, 08:22 AM
Hello Robink:
I haven't tried out the google's approach. Anyhow the WAP hack is to offer information in a readable manner in the limited screen of a WAP-enabled mobile phone.
You can check the latest threads at my site either using a WAP-enabled mobile phone and point it to http://www.myiwc.com/test or using WAP browser such as one at http://www.wappy.to and pointing to the test page I have made available. Opera browser allows also to access WAP pages.
Tayeb
Robink
10-23-2003, 02:27 PM
Quite nice. But is it possible to read the threads too?
Tayeb
10-23-2003, 02:50 PM
Dear Robink:
As I said you're limited to the screen of your WAP-enabled mobile's screen. So it'd be difficult to read a thread.
Just check on the http://www.wappy.to point the browser at http://www.myiwc.com/test and use say the Wapsilon Nokia 6210 link to view on a Nokia simulator.
Tayeb
Robink
10-30-2003, 12:28 PM
Yes, I saw that :)
I was just wondering if it was possible to see the whole thread... and perhaps even reply and all that!
Heh, guess we'll have to wait a bit longer for that to happen.
JulianD
11-01-2003, 02:32 AM
Yes it's possible... I was inspired by this hack and I wrote my own WAP browsable version of my forums... I haven't tested it with a real phone, but I've been using one of the Nokia WAP Simulators and it works and looks pretty fine....
I'm waiting for a brand new cell phone company to get my new WAP enabled phone and start testing it.
The bad side of this is that I reused almost all the code you found on vbulletin 2... I didn't want to reinvent the wheel, so I used the code on showthread.php, forumdisplay.php, newpost.php, etc... Obviously, with some heavy modifications...
Robink
11-04-2003, 09:13 AM
Really? Thats great!
Can you give me a link? I'll try it from my WAP phone.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.