Forumotion and IPB
3 posters
Page 1 of 1
Forumotion and IPB
Hello Everyone, it has been a long while since I have visited here or even posted.
I have a question regarding both Forumotion and IPB. I have an IPS Hosted forum now, However I have affiliated with some Forumotion forums and I'm Administrator in some of them.
I wanted to know how can I make it possible for content that's made on a Forumotion Forum appears in a Section I set up in my IPB Forum.
Let's say I make a thread in a Forumotion Forum, How would that thread also appear in my IPB forum. I've seen this done with other sites but I dunno what it's called. I do know it's possible, however I do not know how to do it So I would like some help.
thanks in advance.
I have a question regarding both Forumotion and IPB. I have an IPS Hosted forum now, However I have affiliated with some Forumotion forums and I'm Administrator in some of them.
I wanted to know how can I make it possible for content that's made on a Forumotion Forum appears in a Section I set up in my IPB Forum.
Let's say I make a thread in a Forumotion Forum, How would that thread also appear in my IPB forum. I've seen this done with other sites but I dunno what it's called. I do know it's possible, however I do not know how to do it So I would like some help.
thanks in advance.
Re: Forumotion and IPB
@Eugeo Ayano
This is possible, you would have to use Cross Domain Ajax! Below is a code that I did for communication between different domains:
Example of use:
But I realized that you need the code for IPBoard platform, in this case I can not help you because here is only for Forumotion!
JS
This is possible, you would have to use Cross Domain Ajax! Below is a code that I did for communication between different domains:
- Code:
/*******************************************************************************************************
* Application: jQuery.ajaxCORS
* Description: Cross Domain Ajax.
* Version: RC1
* Using: query.yahooapis.com, based on James Padolsey (http://james.padolsey.com) project
* Made and Optimizations by JScript - 2014/12/13
* Copyright (c) 2014 JScript <jscriptbrasil at live dot com>
* This work is free. You can redistribute it and/or modify it
* under the terms of the WTFPL, Version 2
*******************************************************************************************************/
jQuery.ajaxCORS = (function(_cors) {
var protocol = location.protocol,
hostname = location.hostname,
patt = RegExp(protocol + '//' + hostname),
YQL = 'http' + (/^https/.test(protocol) ? 's' : '') + '://query.yahooapis.com/v1/public/yql?callback=?',
query = 'select * from html where url="{URL}" and xpath="*"';
function isExternal(url) {
return !patt.test(url) && /:\/\//.test(url);
}
return function(Obj) {
var url = Obj.url;
if (/get/i.test(Obj.type) && !/json/i.test(Obj.dataType) && isExternal(url)) {
// Manipulate options so that JSONP-x request is made to YQL
Obj.url = YQL;
Obj.dataType = 'json';
Obj.data = {
q: query.replace(
'{URL}',
url + (Obj.data ?
(/\?/.test(url) ? '&' : '?') + jQuery.param(Obj.data) : '')
),
format: 'xml'
};
// Since it's a JSONP request, then complete === success
if (!Obj.success && Obj.complete) {
Obj.success = Obj.complete;
delete Obj.complete;
}
Obj.success = (function(_success) {
return function(data) {
if (_success) {
// Fake XHR callback.
_success.call(this, {
responseText: (data.results[0] || '')
// YQL screws with tag <script>, then get rid of them...
.replace(/<script[^>]+?\/>|<script(.|\s)*?\/script>/gi, '')
}, 'success');
}
};
})(Obj.success);
}
return _cors.apply(this, arguments);
};
})(jQuery.ajax);
Example of use:
- Code:
console.clear();
$.ajaxCORS({
type: 'GET',
url: 'Your_URL',
success: function(data) {
console.log(data);
}
});
But I realized that you need the code for IPBoard platform, in this case I can not help you because here is only for Forumotion!
JS
Re: Forumotion and IPB
Ok, I suppose I would go to IPB's support forum and ask them for their code. That's not problem. This code you gave me it's a Javascript code right? I insert it in the Javascript area of the ACP? Also what would I choose? In all Pages, In the topics? etc and how would I edit the code what would I need to insert
Re: Forumotion and IPB
@Jscript , I got a response from IPB's support Forum http://prntscr.com/7slqw8 Does Forumotion have an RSS export? I know IPS does but I dunno much about FM
Re: Forumotion and IPB
Eugeo Igvalt wrote:Ok, I suppose I would go to IPB's support forum and ask them for their code. That's not problem. This code you gave me it's a Javascript code right? I insert it in the Javascript area of the ACP? Also what would I choose? In all Pages, In the topics? etc and how would I edit the code what would I need to insert
Eugeo Igvalt wrote:@Jscript , I got a response from IPB's support Forum http://prntscr.com/7slqw8 Does Forumotion have an RSS export? I know IPS does but I dunno much about FM
Please don't double post. Your post needs to be separated by at least 24 hours before bumping. Please use the edit button instead!
Sir Chivas™- Helper
- Posts : 6965
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||
Re: Forumotion and IPB
@Eugeo Igvalt
The code that I posted was just one example of communication between different domains!
And as you need to read Forumotion's topics to IPB, you will have to adapt a few things in the code to make it work in forums IPB.
JS
The code that I posted was just one example of communication between different domains!
And as you need to read Forumotion's topics to IPB, you will have to adapt a few things in the code to make it work in forums IPB.
JS
Similar topics
» Hacking of PMs on one Forumotion site being posted on another
» How to Delete Forumotion Link to Forumotion next to search box on my site
» Import phpBB20 exiting non-Forumotion forum to a Forumotion one
» My forumotion design has been copied by another forumotion forum
» Forumotion IAmA request : Forumotion Staff
» How to Delete Forumotion Link to Forumotion next to search box on my site
» Import phpBB20 exiting non-Forumotion forum to a Forumotion one
» My forumotion design has been copied by another forumotion forum
» Forumotion IAmA request : Forumotion Staff
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum