Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Latest posts from a subdomain install
Avatar
doctorb
Member
sp_UserOfflineSmall Offline
Jan 19, 2014 - 10:36 pm

Hi friends,

First post in 2014, so wish you all a Happy New Year!

My site runs on wordpress multisite and I have the simple press forums installed on a subdomain 

http://forum.hpathy.com/

Is it possible to display the latest forum posts at our homepage or in a widget at the main domain http://problem-with-post-edit-.....npathy.com ?

 

 

Simple Press is a great software working at Homeopathy Forums

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 19, 2014 - 10:47 pm

out of the box, afraid not... just like wp, sp treats each multisite install as an island with no sharing of data...

but you could write a small plugin that would run on the main site that could pull the data from the db and display it... its on our list to see if we can add such a plugin some day, just not sure when...

Avatar
doctorb
Member
sp_UserOfflineSmall Offline
Jan 20, 2014 - 12:49 am

Is there any code in the 'Template tags and Widgets' plugin that can be reused for this?

Simple Press is a great software working at Homeopathy Forums

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 20, 2014 - 5:30 am

There is certainly code in the template tags plugin that could be re-used for the display side of things. The display is not really the problem. The main issue that needs addressing is the database connection that is always geared to the current WP instance. Any code written has to address it's queries to a different set of tables. Again - not difficult as such but not built in.

Another issue that would need designing and coding is that of permissions. Who on the remote site has access to what forum data on the other. It might be that in your case everyone does but if and when we create something like this it would need to be taken in to account.

I may be proposing something that is more trouble than it is worth but it might be worth looking at an RSS feed to draw in the SP information and then working some code to display that. Maybe worth thinking about anyway.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626