Benjamin Lupu
Forum Replies Created
-
Hi, after a quick it appears to be a recent problem with PhoneGap Build. Many users of this service also report it. Investigation is on going.
Closing as inactive.
Forum: Plugins
In reply to: [WP-AppKit - Mobile apps and PWA for WordPress] Android App creationHi,
WP-AppKit can surely. However, you have to remember it is a product that needs development skills (WordPress, JavaScript and Mobile). it won’t convert your site into an app without development.
Regards.
Forum: Fixing WordPress
In reply to: Building IOS App via phonegapHi everyone. First, quick disclosure: I am part of the WP-AppKit project.
To answer the original question, I’d say that there 2 possibilies to create a mobile app connected to WordPress :
- You can encapsulate your responsive website in a container distributed as an app
- You can create an app that will interact with WordPress through an API
I wouldn’t recommend the first one as some features such as offline management can’t be achieved. However sometimes you have to use it as reproducing some functionalities that WordPress plugins provide can be very hard (think of e-commerce cart for example).
Now regarding the API based solution, there’s many ways to do that:
- You can use the WordPress REST API or any other REST API including one you build yourself
- You can use native technologies (such as Swift or Java) for the app itself or create hybrid apps (ie. written in JavaScript). Famous solutions are ReactJS, AngularJS… Then you’ll encapsulate your web app in a container using Cordova to be able to access native device functions and distribute your app in app stores
A quick word about WP-AppKit:
- We chose to create a dedicated REST API part because the WP REST API didn’t exist and we kept it because mobile apps needs specific endpoints. For sure, at some point in the future we will use the WP REST API.
- We don’t use mainstream JS frameworks such as ReactJS. We propose a specific theme approach (close to the WordPress one but in JavaScript). The idea is to ease the pain of creating JS based apps.
- We rely on Cordova and are compatible with PhoneGap Build, a cloud compilation service
- WP-AppKit is free and open source
- You can discover its features (notably offline mode) here: https://uncategorized-creations.com/features/
At last, whatever solution you choose please remember that building JavaScript apps has a steep learning curve (I know that many people are saying otherwise, but believe me, it has a steep learning curve). Also remember that building apps (hybrid or not) is a very different (and exciting) world (think animations for example). So you have to decide if you want a packaged solution (ie. an app builder) or a technical base to start with and you may tweak later.
I wish you the best for your app ??
Forum: Plugins
In reply to: [DX Unanswered Comments] Proposal for translation (FR)OK – Let me know ??
Forum: Plugins
In reply to: [DX Unanswered Comments] Proposal for translation (FR)That’s what I’ve tried to do but I got the message: This plugin is not properly prepared for localization. If you would like to translate this plugin, please contact the author.
Forum: Plugins
In reply to: [DX Unanswered Comments] Exclude admin response by list of non repliedI believe so. If you open DX Unanswered Comments panel in the Settings menu, you’ll see the Authors List. Type usernames separated by commas in it and click Save Users. When done, the usernames will be hidden from Non-replied and Non-replied – Top Level comment lists.
Forum: Plugins
In reply to: [Advanced Page Manager] Sort alphabetically when showing all pagesHi, thank you for using our plugin ??
There’s a good reason that you can’t sort alphabetically in the All subpanel : this is not a list ?? You can’t sort a treeview alphabetically.
What you can do to achieve that is to click on the Recent Pages link and then on the Pages column header. (The Recent Pages subpanel contains all pages sorted by default by publish date.)
Regards.
Forum: Plugins
In reply to: Creating a custom form for my themeOK. The way I do it works fine with 2.6.5 version but not under the 2.7.
Any idea ?
Forum: Fixing WordPress
In reply to: Non-breaking spaces@rpali – Hi again
Please note that for 2.6.3 after installing the plugin, you can insert nbsp entity from the charmap.
However, this feature is broken in the 2.7 for FF. It still works for IE.
The problem comes from TinyMCE itself.
https://sourceforge.net/tracker/index.php?func=detail&aid=1628509&group_id=103281&atid=635682
It appears that TinyMCE has a bug when inserting nbsp entity (from charmap or using the nonbreaking plugin).
However the bug affects only FF. I have tested the insert from charmap under IE7 and it works fine (WP 2.7).
So I guess we have to wait that somebody fixes the thing.
Please note that even the TinyMCE demo on https://tinymce.moxiecode.com/ has the bug (works with IE and not working with FF).
Forum: Themes and Templates
In reply to: No-break space is removed by the editor@all – Hi again
I think I have a new clue.
https://sourceforge.net/tracker/index.php?func=detail&aid=1628509&group_id=103281&atid=635682
It appears that TinyMCE has a bug when inserting nbsp entity (from charmap or using the nonbreaking plugin).
However the bug affects only FF. I have tested the insert from charmap under IE7 and it works fine (WP 2.7).
So I guess we have to wait that somebody fixes the thing.
Please note that even the TinyMCE demo on https://tinymce.moxiecode.com/ has the bug (works with IE and not working with FF).
Forum: Themes and Templates
In reply to: No-break space is removed by the editorHello, nothing obvious for myself too… I have the same problem.
I partially resolved it by writing a quick plugin to prevent TinyMCE to strip entity. So when activated it allows to enter by hand the entity in the HTML view. (Tested on 2.6.3 and 2.7).
However under the 2.7, I still can’t use the special character (or the button from the WP Super Edit plugin).
https://benjaminlupu.net/misc/2009-01-29/tiny-mce-configuration-plugin.zip
Forum: Fixing WordPress
In reply to: Non-breaking spaces@rpali – Hi again !
Found a solution.
It appears that the WordPress TinyMCE configuration doesn’t allow by default the non-breaking space HTML entity.
Under the 2.6.3, you may see that in the wp-includes/js/tinymce/tiny_mce_config.php (line 163).
Under the 2.7, you may see that in the wp-includes/post.php (line 1264).
The idea of course is to add the entity we needed. For that, TinyMCE expects the hex code and the entity text. For the non-breaking space : 160 and nbsp.
You may add it by hand in the code simply by extending the lines cited above (eg. ’38,amp,60,lt,62,gt’ to ’38,amp,60,lt,62,gt,160,nbsp’).
However it is not safe regarding WP upgrades.
So, I jump into the idea to build a simple plugin to secure that (my first one; so be indulgent).
https://www.benjaminlupu.net/misc/2009-01-29/tiny-mce-configuration-plugin.zip
Enjoy ?? (I have tested on the 2.7 only).