Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
WAP headers Details »»
WAP headers
Version: , by Michi Michi is offline
Developer Last Online: Jun 2006 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 09-30-2003 Last Update: Never Installs: 0
 
No support by the author.

I'm making my vbulletin WAP- compatible, and have gotten to the point where unregistered users can post new threads and reply to old ones via WAP. But I got stuck with the redirect page (uses template standardredirect). I made a wap- version of the template, which is 100% validated WML. Still, the redirect page is the only one that my wap browser (WinWap 3.1 pro) says is not wml, but text/html.

In the beginning of the source code of a working page, WinWap shows this header:

HTTP/1.1 200 OK
Date: Tue, 30 Sep 2003 12:26:09 GMT
Server: Apache/1.3.28 (Unix) mod_watch/3.18 mod_gzip/1.3.26.1a PHP/4.3.3 FrontPage/4.0.4.3 mod_ssl/2.8.15 OpenSSL/0.9.6b
X-Powered-By: PHP/4.3.3
X-Accelerated-By: PHPA/1.3.3r2
Connection: close
Content-Type: text/vnd.wap.wml; charset=ISO-8859-1

But on the redirect page the last line of the header is

Content-Type: text/html

What can this be? All my files are in the same folder, so I guess that even though I tried to get rid of all Vbulletin's automatically created headers, there's still some line somewhere that tells the browser that it's dealing with html, not wml. The problem page is the only page that's made from customizing an original vb page, newthread.php & newreply.php.

Ideas?

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 10-20-2003, 06:49 PM
Robink Robink is offline
 
Join Date: Feb 2003
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, Cant help you, but can you give me a link to your site?

I'd very much like to see a completely WAP enabled site running vB
Reply With Quote
  #3  
Old 10-21-2003, 07:59 AM
Michi Michi is offline
 
Join Date: Jan 2003
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's at fi.rocsport.com/forum/wap.php. And 100% in Finnish, so you propably won't understand anything!

I managed to fix the problem by adding a new @header row in global-wap.php (A version of global.php, modified for Wap.) It doesn't use that much of vbulletin's features, it ended up being a series of individual pages that make queries to the vb database. Works, though. Only downside is that I couldn't make it use the login- functions, so posting and replying work only in forums that don't require logging in.
Reply With Quote
  #4  
Old 10-23-2003, 02:29 PM
Robink Robink is offline
 
Join Date: Feb 2003
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great! Although I didnt understand anything, I could read posts and topics. Its done quite well.

Any plans of releasing this as a Hack?
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 10:55 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03951 seconds
  • Memory Usage 2,220KB
  • Queries Executed 17 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (4)postbit_onlinestatus
  • (4)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete