#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
Crossposting how to...
 
Share:
Notifications
Clear all

Crossposting how to use from code

    Last Post
RSS

basatexcellent
Posts: 51
 basatexcellent
Topic starter
June 28, 2019 9:38 am
(@basatexcellent)
Trusted Member
Joined: 4 years ago

I am looking for a method to enable/disable xposting from code. As a number of my posts are created from code I need to have the possibility to enable/disable xposting from code too.

I already can set the post metadata keys "_wpforo_crossposting_forumid" and "_wpforo_crossposting_disabled" and when opening the post created by code in the WP backend all I need to do is hit the update button and the magic happens.

However if I update / publish the post from code it does not set up the relation between the WordPress post and the wpForo topic. Any ideas how I can do this from code?

Topic Tags
crossposting code php
1 Reply
Sofy
Posts: 4048
Sofy - Facebook Sofy - Twitter
 Sofy
Admin
June 29, 2019 9:51 am
(@sofy)
Support Team
Joined: 3 years ago

Hi @basatexcellent,

Please open a new support topic in gvectors.com forum and ask there the question. 

https://gvectors.com/forum/wpforo-blog-cross-posting/

However if I update / publish the post from code it does not set up the relation between the WordPress post and the wpForo topic. Any ideas how I can do this from code?

Please let them know what code do you mean. 

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
  All forum topics
  Previous Topic
Next Topic  
Related Topics
  • Cross-Posting Ones Forum Between Categories
    5 months ago
Topic Tags:  crossposting code php (2),

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages  wpforo-advanced-attachments-128x128  wpforo-embeds-128x128 wpForo User Custom Fields addon  wpForo – Blog Cross Posting addon  wpForo Ads Manager
View all Addons »

Recent Topics

  • Foro "moves" in Mobile devices as Admin

    By Jesus, 4 hours ago

  • Disabling Add Topic option

    By WeAreThe99, 5 hours ago

  • Lost the menu !!

    By dimalifragis, 5 hours ago

  • Forum is displayed narrow on mobile

    By jalin0919, 12 hours ago

  • How to clear cache for forum? It's for my users view, it's caching old data.

    By dantesalvino, 21 hours ago

  • User role does not adhere to user group

    By langel87, 21 hours ago

Topic Tags

  • new features43
  • seo39
  • translation37
  • plugin conflict36
  • forum35
  • buddypress33
  • login33
  • registration30
  • threaded layout30
  • ultimate member29
  • moderation28
  • editor25
  • avatar24
  • shortcode24
  • css24
  • menu23
  • tags22
  • profile21
  • migration20
  • url20
View all tags (1512)

Recent Posts

  • Foro "moves" in Mobile devices as Admin

    Hi, it's not really a mayor problem IF IT ONLY HAPPENS ...

    By Jesus, 4 hours ago

  • RE: Disabling Add Topic option

    @wearethe99, Sure it's possible. You can create ne...

    By Sofy, 5 hours ago

  • RE: I now get the email notifications but no longer "bell notifications"

    Ahhhh, great, things starts to make sense then. I was...

    By Jesus, 5 hours ago

  • RE: What this means / do

    @jesus, You've added the screenshot, but I'll need to...

    By Sofy, 5 hours ago

  • RE: Lost the menu !!

    Hi Sofy, For some reason the menu selection are lost,...

    By dimalifragis, 5 hours ago

  • RE: wpforo-admin-note Help

    I've already provided the article in previous post. You...

    By Sofy, 7 hours ago

  • RE: Forum is displayed narrow on mobile

    Thanks for your support. I resolved problem with belo...

    By jalin0919, 9 hours ago

Share:
  Forum Statistics
20 Forums
8,020 Topics
40.2 K Posts
2 Online
15.5 K Members

Latest Post: Foro "moves" in Mobile devices as Admin Our newest member: fishcriio834 Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2021 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Documentation