WAP: Add edit-function

Started by clearly, August 27, 2006, 08:07:15 AM

Previous topic - Next topic

clearly

Hi guys,

I would like to add the edit-function to the WAP-template. My members should be able to edit their posts via WAP.

I think I have to edit Wireless.template.php but my PHP is very poor. If someone knows a solution, please let me know.

Thanks :)

hartiberlin

Yes, that would be very nice.

I would also need a scaled down picture version
of attachment pictures that were posted
with the messages.

How can we do this ?

Many thanks in advance.

Regards, Stefan.

Xaneth

#2
How is this done?  I can see that I can edit my posts on this forum, and I'd like to extend that same functionality to my forum!

This is an edit using my Blackberry. Meant to say that it is possible to edit here at http://www.simplemachines.org/community, please fill us in!

Also curious about the trouble I have when replying to a post, or creating a new post via the WAP of my forum. It takes me to a blank page. Also noticed it on this site after saving an edit!

hartiberlin

Hi All,
did somebody finally enhance the Wireless.template.php
for more functions ?

I really would  love to have also at least the edit function via WAP
interface.
Cause when I use my PDA  I sometimes have some typos in my
postings, when I am outside on the road and can not edit out these
typos. That is too bad.

So who has already hacked the
Wireless.template.php
to included Editing and a few other gimmicks ?

Also the quoting is very bad implemented and you always don´t know,
is this a quote or a part of the new posting ?

Please help.
Many thanks.

Regards, Stefan.

hartiberlin

Is nobody working on the Wireless.template.php to add
a few more features ?
Many thanks.

Xaneth

Has this been dropped? I'm still able to edit here, but not on my own forum. What's the secret? It would also be desirable to have the ability to search the forum among other things. As an example, have a look at the forums over at www.blackberryforums.com. It has the ability to list your subscriptions, as well as choosing WAP 2.0 or WAP 1.1, as well as searching and a lot of other features. May have to change my forum software to make it more mobile friendly as most of our users work in the field.

hartiberlin

Maybe they are already running SMF 2.x ?

I would still need it for SMF 1.1.5

Is there anybodywho has ported these features to this version ?
Many thanks.

Xaneth

Same hither.  Running 1.1.5.  Have not tried 2.x just yet.

hartiberlin

Would be very needed for SMF 1.1.5

Should not be too complicated just to hack the
wireless.template.php
file.

morency

#9
ai make thats change  for 1.1.4 it's work also for 1.1.5 @ wireless.template > http://wapdesire.pluto.ro [nofollow] ;)

hartiberlin

Quote from: morency on June 24, 2008, 08:02:05 AM
ai make thats change  for 1.1.4 it's work also for 1.1.5 @ wireless.template > http://wapdesire.pluto.ro ;)

Where can this wireless.template.php
file be downloaded from ?

Many thanks.

morency

I am from my mobile phone . . .sorry dude:(

hartiberlin

Quote from: morency on June 26, 2008, 04:37:54 PM
I am from my mobile phone . . .sorry dude:(

Can you please post the answer,
when you are online again with your real PC ?
Many thanks in advance.

Regards, Stefan.

morency

Esti roman?? check this !! [quote ]
   if ($context['can_reply'])
         echo '<br />CP:
               <a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';sesc=', $context['session_id'], ';imode">Reply</a>';

      // Can the user modify the contents of this post?
      if ($message['can_modify'])
         echo '
               <a href="', $scripturl, '?action=post;msg=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';sesc=', $context['session_id'], ';imode">Modify</a>';

      // How about... even... remove it entirely?!
      if ($message['can_remove'])
         echo '
               <a href="', $scripturl, '?action=deletemsg;topic=', $context['current_topic'], '.', $context['start'], ';msg=', $message['id'], ';sesc=', $context['session_id'], ';imode">Remove</a></p>';
[/quote]

add after forum message ;)

hartiberlin

Many thanks,
but what PHP file must be modified ?
And exactly at which lines ?

Please explain more.

Many thanks.

morency


hartiberlin

Many thanks Morency !

Maybe it is easier to just post the modified
Wireless.template.php ?

Could you just please post yours ?
Please just attach it as a file to your posting.
Many thanks.

Regards, Stefan.

Xaneth

Yes, thanks for the tip, but this is confusing as ******.  Either post a working WirelessTemplate.php, or point to what we should be searching for and tagging at the end.  Also, using 2.x is very different, so if you have any idea where it might go in 2.x, please let us know.

tooman

i've added it on my 1.1.7 successfully :)

bro morency, can u share register script on wap like yours? :)

tooman


Advertisement: