Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBWAPMontoring v.1.0a Details »»
vBWAPMontoring v.1.0a
Version: 1.00, by Tayeb Tayeb is offline
Developer Last Online: Aug 2010 Show Printable Version Email this Page

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.

Comments
  #12  
Old 08-23-2003, 06:12 AM
MrNase MrNase is offline
 
Join Date: May 2003
Location: Germany
Posts: 670
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx, but i don't have a working demo
could someone post a link?
Reply With Quote
  #13  
Old 08-23-2003, 07:36 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If this will really work one day,
I'll gonna kiss you (no promise)

)
Reply With Quote
  #14  
Old 08-23-2003, 11:45 AM
Tayeb Tayeb is offline
 
Join Date: Sep 2002
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #15  
Old 08-23-2003, 08:21 PM
JulianD's Avatar
JulianD JulianD is offline
 
Join Date: Jan 2002
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #16  
Old 08-23-2003, 08:26 PM
NanoEntity NanoEntity is offline
 
Join Date: Oct 2001
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice MOD, great work buddy
Reply With Quote
  #17  
Old 08-24-2003, 09:11 PM
Tayeb Tayeb is offline
 
Join Date: Sep 2002
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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...
Reply With Quote
  #18  
Old 08-25-2003, 08:25 PM
bandersen's Avatar
bandersen bandersen is offline
 
Join Date: Feb 2002
Location: Oslo
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #19  
Old 08-26-2003, 08:49 AM
Tayeb Tayeb is offline
 
Join Date: Sep 2002
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.

Hope you get it working.
Reply With Quote
  #20  
Old 08-27-2003, 08:06 AM
TMM TMM is offline
 
Join Date: Mar 2003
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great thing that someone's taking WAP into consideration here

Would it be possilbe to include a WAP page with "online users" info?
Reply With Quote
  #21  
Old 08-27-2003, 09:14 AM
Tayeb Tayeb is offline
 
Join Date: Sep 2002
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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...

Tayeb
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:42 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06206 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete