Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
WAP Plugin BETA Details »»
WAP Plugin BETA
Version: 1.0, by 007pig 007pig is offline
Developer Last Online: Jan 2011 Show Printable Version Email this Page

Version: 3.5.1 Rating:
Released: 11-13-2005 Last Update: Never Installs: 255
Uses Plugins Template Edits
Is in Beta Stage  
No support by the author.

WAP Plugin
BETA
By 007pig at vBulletin Chinese

What is the product for?
WAP is a highly demanded feature of the Chinese customers so I write the plugin.
The plugin is for any vB forums which would like their members browsing them with mobile device. It is able to detect mobile device correctly and provide narrow page output for mobile.
Currently there's only a style for WAP 2.0 devices, that means the plugin doesn't support WAP 1.x/WML device now.

History
Nov 14, 2005
Beta -- Initial release

Installation
1. Unzip.
2. Upload and import the product "product-wap-en.xml".
3. Upload and import the style "vbulletin-style-wap.xml". Remember to select NO for "Allow User Selection".
4. Go to "vBulletin Settings" -> "WAP settings" and change "Default WAP 2.0 Style" to "WAP 2.0".
5. Browse your vB forum with your mobile.

TODO
Create a new style for WML 1.x device.

Please click Install if you have installed this mod.

Supporters / CoAuthors

Show Your Support

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

Comments
  #62  
Old 12-12-2005, 09:55 AM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dreamer81
when i enter the page with my PDA, it doesn't use the wap style.. it just goes into the normal page.. how do i fix that?
Why would you want to? Surely a Hi-Fi version is better if the handset can handle it?
Reply With Quote
  #63  
Old 12-12-2005, 09:31 PM
soniceffect's Avatar
soniceffect soniceffect is offline
 
Join Date: Feb 2005
Location: UK
Posts: 453
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Whats the difference between wap1 and wap2??? Curious LOL
Reply With Quote
  #64  
Old 12-13-2005, 11:56 AM
dreamer81 dreamer81 is offline
 
Join Date: Jul 2005
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FleaBag
Why would you want to? Surely a Hi-Fi version is better if the handset can handle it?
well.. i'd prefer the wap version, since a normal board takes forever to load on a mobile using gprs (max data transfer is 4-5kb/s)....
Reply With Quote
  #65  
Old 12-13-2005, 04:08 PM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have one problem when i log on through my phone to view the site i get this message about " in order to accept post request originating from this domain, the admin must add this domain to the white list" now what domain do i use ? my site or the cell phone?.... :ermm:

thanks in advance.
Reply With Quote
  #66  
Old 12-17-2005, 07:58 PM
LBSources LBSources is offline
 
Join Date: Nov 2005
Location: New York
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great thanks!
Reply With Quote
  #67  
Old 12-19-2005, 05:35 PM
feldon23's Avatar
feldon23 feldon23 is offline
 
Join Date: Oct 2001
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lefteris
nothing new for Wap 1.0?
WAP 1.0 is damn near impossible. This thread is for WAP2.

Quote:
Originally Posted by 7thgenCivic
doesn't the PDA option in the archive do the same thing?
Can't post in the Archive.

Quote:
Originally Posted by soniceffect
Whats the difference between wap1 and wap2??? Curious LOL
Massive difference. WAP2 is a subset of XHTML. WAP1 is a totally made up system that has almost nothing in common with HTML. You would have more luck converting RSS to WAP1 than vB.
Reply With Quote
  #68  
Old 12-19-2005, 05:38 PM
feldon23's Avatar
feldon23 feldon23 is offline
 
Join Date: Oct 2001
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got a MySQL error message until I completed this step:

4. Go to "vBulletin Settings" -> "WAP settings" and change "Default WAP 2.0 Style" to "WAP 2.0".
Reply With Quote
  #69  
Old 12-19-2005, 05:43 PM
fly fly is offline
 
Join Date: Oct 2003
Posts: 1,215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by feldon23
WAP 1.0 is damn near impossible. This thread is for WAP2.
Quote:
Originally Posted by 007pig
I'll waste my time so please wait
He said he'd do it...
Reply With Quote
  #70  
Old 12-19-2005, 05:44 PM
Phlex's Avatar
Phlex Phlex is offline
 
Join Date: Jul 2005
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there also a palm plugin ?
Reply With Quote
  #71  
Old 12-19-2005, 05:59 PM
feldon23's Avatar
feldon23 feldon23 is offline
 
Join Date: Oct 2001
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been customizing this style quite a bit.

* I removed the $forum[description] code from all four threadbit templates.


* I went ahead and deleted the entire Quick Reply section from SHOWTHREAD since I can't imagine that working on WAP2.

* I did add this to my postbit between the </if> and the <hr /> so I can edit (it uses advanced edit instead of trying to do quickedit) my and other posts on the road:
HTML Code:
<if condition="$post['editlink']"></if><if condition="$post['editlink']"> | <a href="$post[editlink]">$vbphrase[edit_delete_message]</a></if>
* and I have stripped down editpost considerably:

HTML Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[edit_post]</title>
</head>
<body$onload>
$header
$navbar


$postpreview

<form name="vbform" action="editpost.php" method="post">

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0">
<tr>
	<td class="panelsurround">
	<div class="panel">
		<div align="$stylevar[left]">
	
		$usernamecode
		
		<!-- edit reason field -->
		<div class="smallfont" style="margin-bottom:$stylevar[formspacer]px">
			<div>$vbphrase[reason_for_editing]:</div>
		 <div><input type="text" class="bginput" name="reason" value="$newpost[reason]" size="20" maxlength="200" tabindex="1" title="$vbphrase[optional]" /></div>
		</div>
		<!-- / edit reason field -->
		
		<!-- subject field -->
		<table cellpadding="0" cellspacing="0" border="0" style="margin-bottom:$stylevar[formspacer]px">
		<tr>
			<td class="smallfont" colspan="3">$vbphrase[title]:</td>
		</tr>
		<tr>
		 <td><input type="text" class="bginput" name="title" value="$title" size="20" maxlength="85" tabindex="1" title="$vbphrase[optional]" /></td>
			<td>&nbsp;&nbsp;</td>
		 <td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td>
		</tr>
		</table>
		<!-- / subject field -->

		<table cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td>
			
		<!-- message area -->
		<div class="smallfont"><phrase 1="member.php?$session[sessionurl]u=$postinfo[userid]" 2="$postinfo[username]" 3="$postinfo[postdate]" 4="$postinfo[posttime]">$vbphrase[message_by_x_on_y_at_z]</phrase>:</div>
		$messagearea
		<!-- / message area -->

			</td>
		</tr>
		</table>
		
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="hidden" name="s" value="$session[sessionhash]" />
		<input type="hidden" name="do" value="updatepost" />
		<input type="hidden" name="p" value="$postid" />
		<input type="hidden" name="posthash" value="$posthash" />
		<input type="hidden" name="poststarttime" value="$poststarttime" />
		<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[save_changes]" accesskey="s" tabindex="1" />
		<input type="submit" class="button" name="preview" value="$vbphrase[preview_changes]" accesskey="p" tabindex="1" />
	</div>
	
	</td>
</tr>
</table>

<br />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0">
<tbody id="collapseobj_newpost_options" style="$vbcollapse[collapseobj_newpost_options]">	
	<tr valign="top">
		<td class="panelsurround" align="center">
		<div class="panel">
			<div align="$stylevar[left]">
		    		    	
				<fieldset class="fieldset">
		 	 <legend>$vbphrase[miscellaneous_options]</legend>
		 		<div style="padding:$stylevar[formspacer]px">
		 			<if condition="$bbuserinfo['signature'] != ''"><div><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="1" $checked[signature] />$vbphrase[show_your_signature]</label></div></if>
		 			<if condition="$show['parseurl']"><div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div></if>
		    		    $disablesmiliesoption
					</div>
				</fieldset>
	

				$threadmanagement
				
				</div>
			</div>
			
			<div style="margin-top:$stylevar[cellpadding]px">
		 	<input type="submit" class="button" name="sbutton" value="$vbphrase[save_changes]" accesskey="s" tabindex="1" />
		 	<input type="submit" class="button" name="preview" value="$vbphrase[preview_changes]" accesskey="p" tabindex="1" />
			</div>
		</td>
	</tr>
</tbody>
</table>

</form>

<br />

$footer

</body>
</html>
I could see editing threadbit to manually include a &perpage=5 just to keep download sizes under control.
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 08:13 PM.


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.05890 seconds
  • Memory Usage 2,340KB
  • Queries Executed 26 (?)
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_html
  • (7)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
  • (4)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