With all these "let's look at your logs" and "please share your tune" I am thinking that rusEfi console should allow one to upload logs and tune - and we need a page where one's logs and tunes would be available.
To make things easier I am thinking to use existing forum username/password for authentication, I guess in the beginning I am looking to hack some custom code into existing phpbb codebase. Next step is for me to learn some PHP
Any PHP developers looking to contribute?
rusEfi social network
- AndreyB
- Site Admin
- Posts: 14331
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
rusEfi social network
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14331
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: rusEfi social network
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: rusEfi social network
Consider using existing Tapatalk API (this "mobiquo mod" is already installed in this phpbb3!).
It uses XML-RPC for communication protocol: https://tapatalk.com/api.php
And several java implementations already exist: https://github.com/francescomuia/tapatalk-api
This particular project doesn't have "new_topic", but you can add it, I guess:
Then, you could add something like this to your rusEFIconsole java code:
It requires "(String forum_id, byte [] subject, byte [] text_body, String prefix_id, ..........)"
See the description of all these fields: https://tapatalk.com/api/api_section.php?id=3#new_topic
There's also "reply_post", etc.
You just need to study those xml field names - and voila!
So, what I'm trying to say is that there's no need to write your own php code - it's already there!
It uses XML-RPC for communication protocol: https://tapatalk.com/api.php
And several java implementations already exist: https://github.com/francescomuia/tapatalk-api
This particular project doesn't have "new_topic", but you can add it, I guess:
Code: Select all
// see TopicService.java
public class TopicService extends TapatalkBaseService
{
//...
public void newTopic(.........) throws TapatalkApiException
{
this.invokeFuntion(TopicFunction.NEW_TOPIC, .........);
}
}
Code: Select all
TapatalkServices ts = new TapatalkServices(urlOfOurRusEfiForum);
ts.getUserService().login(loginName, password);
String[] ids = ts.getForumService().getIdByUrl(forumUrl);
ts.getTopicServices().newTopic(.......);
See the description of all these fields: https://tapatalk.com/api/api_section.php?id=3#new_topic
There's also "reply_post", etc.
You just need to study those xml field names - and voila!
So, what I'm trying to say is that there's no need to write your own php code - it's already there!
- AndreyB
- Site Admin
- Posts: 14331
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: rusEfi social network
Oh, that's actually a great idea. Originally I was thinking to go with completely custom tables but as a simpler solution we can begin by programmatially posting logs or tune as attachments into either normal threads or special auto-updated threads...
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute