News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Someone PLEASE help me with my WAP Modification!!

Started by BxK, February 19, 2009, 08:02:36 PM

Previous topic - Next topic

BxK

Hi , I'm currently working on a WAP modification I need some help on a few things all my other posts haven't been responded to . I was hoping someone could please help me.

http://m.mattcworld.com

I need to know how to or atleast help on:
- Create new pages in WAP
- Members list in WAP
- Shoutbox
- Activate Links
- Make members names clickable in WAP



Thanks . Someone please help ! PLEASE! ha Thank You !! :D :D :D


My WAP Mod >>>> http://www.empireofthesun.net/forum/index.php?board=164.0

John Eric

why you ask like this the answer is   forward and strait as you make wap page like any other page except I say to you just fear not of WAP page and VCARD or WML or WMLSCRIPT but instead to just render page only as plain HTML4!

for memberlist yes WAP2 mode has no memberlist to view but you can query database directly and be happy or you can be sneaky and extract from context variables
like this

      ob_start();
      include("index.php;action=mlist");
      $buffer = ob_get_contents();
      ob_end_clean();
      global $context;

then you go through the array context member for all you need
if you send too much data to device you may kill it so you need to know who you sending to with useragent of phone and maybe if you list names list no more greater than 10 and use accesskey so user not scroll or maybe not just give user memberlist but first say member give me name to search first

make member name click=question click to what? click for pm or click for profile? or click for email ? is guest or not guest? you must write out plan for all function of mobile and write for plan, how much byte must come and make sure too much byte is not for too small phone or fail

BxK

#2
Thank you ! I will try this...

Clickable for example the same as when you click moserate at the bottom the the forum without th [Edit] beside your name.

Links Clickable such as this >>> examplelink.com

John Eric

to make member name clickable then
<a href="yoursite.com/function?userId=###">username</a>

yoursite.com=yourname

click your site to see member functions and build url with the same way then use method I show to load the page then get what you want from context variables and write your own html or wml greetings

JimM

If this is solved, feel free to mark it as solved by clicking the Mark Topic Solved link at the bottom of the page under the linktree.
Jim "JimM" Moore
Former Support Specialist

Advertisement: