India
|
Edited by Ananthavas at 2013-11-27 21:30
For mobile users, it's impossible to upload avatar, since most mobile browsers doesn't support flash..
However, UC FORUM(Official Forum of UC Browser) has a feature, in which users can upload avatar without using flash function, but just by browsing to their profile page in mobile mode & using a usual file upload option, just like below:
After clicking submit button, the avatar will get uploaded successfully..
Being curious about this, I just peeked into their space_profile.htm, which is located at http://forum.ucweb.com/template/ ... e/space_profile.htm
By viewing the source code of the above page, we can see something like this:
- <form action="home.php?mod=avatarupload&mobile=yes" method="post"
- enctype="multipart/form-data">
- <input type="file" name="file" id="file" />
- <br />
- <input type="submit" name="submit" value="{lang submit}" />
- </form>
Copy the Code I tried to implement this on our forum, but it failed, since their is nothing like "home.php?mod=avatarupload" written in Discuz..
However, the page can be designed like the above, with upload form embedded..
Anyone knows, how to get this "home.php?mod=avatarupload" thing defined somewhere?
Vot? Kaaleth? Anyone?
This Query is made on the behalf of me & RaviPratap bro..
|
This post contains more resources
You have to Login for download or view attachment(s). No Account? Register
x
|