Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 08 Aug 2019, 23:18
vbSuperfan vbSuperfan is offline
 
Join Date: Jun 2019
Do the vBulletin mobile apps use Javascript-capable webviews to display threads?

I would like to make a small interactive GUI that would be displayed inside normal vBulletin discussion threads, by means of a custom BB code which includes javascript code which in turn makes AJAX calls to an external PHP script on the same domain, and then dynamically updates the contents of a DIV tag also included in the same BB code (i.e. standard operation for any AJAX GUI).

I know that this shouldn't be a problem for the normal browser-version of vBulletin, since it's just a common HTML page, and BB codes can contain arbitrary HTML/Javascript.

BUT, I'm not equally sure about the vBulletin mobile apps (i.e. those of the vBulletin Mobile Suite, the most recent 2.x versions) which I'm also using for my site. Would such a design also work directly in the discussion threads displayed in these mobile apps?

Or, put in a more technical way: Do the vBulletin mobile apps use Javascript-capable webviews to display their threads, or are the thread contents in these mobile apps rather rendered in some kind of more static fashion inside these apps, thereby prohibiting any such kind of dynamic Javascript modification of their displayed contents?
Reply With Quote
  #2  
Old 09 Aug 2019, 16:29
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
I believe the vBulletin apps do not make use of any HTML/CSS/JavaScript but communicate with the API running on the forum and then parse and render the response of the API on the screen.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #3  
Old 09 Aug 2019, 20:34
vbSuperfan vbSuperfan is offline
 
Join Date: Jun 2019
Thanks for your reply!

Even if the apps themselves don't use javascript etc, I guess they could still render the threads in a (local) webview, even if they fetched the contents via the API, which would in turn make it possible to use HTML/Javascript in the post? Do you know it this is the case or not?

If the mobile apps do not use HTML at all to render the posts, how can for example custom BB codes (e.g. for embedding of video from custom sites) work and display correctly in them?
Reply With Quote
  #4  
Old 09 Aug 2019, 21:32
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
Might be better to ask that at vbulletin.com, but it does not necessarily have to be rendered using HTML/JavaScript. It can be rendered using the framework that is part of the programming languages that they used to code these apps. (Xcode/C#/Java)
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
Reply


Tags
ajax, mobile apps, mobile suite


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 08:37.

Layout Options | Width: Wide Color: