#1 WordPress forum plugin created by gVectors Team

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

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
Crossposting how to...
 
Share:
Share
Tweet
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: 5 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: 4057
Sofy - Facebook Sofy - Twitter
 Sofy
Admin
June 29, 2019 9:51 am
(@sofy)
Support Team
Joined: 4 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
    2 years 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 wpForo – WooCommerce Memberships Integration wpForo Emoticons wpForo – Tenor GIFs Integration
View all Addons »

Recent Topics

  • Forum topics and pages not indexing

    By Vijiki, 50 mins ago

  • Can't send confirmation email from topics when suscribe for new topic

    By gilbau, 4 hours ago

  • Can't add shortcodes to wpForo

    By avorai, 5 hours ago

  • New Feature H1 title for tags

    By annushka, 19 hours ago

  • File in antisapm protection not deleted

    By pesimist57, 24 hours ago

  • How to make URL dynamic like - post1233

    By kedy, 1 day ago

Topic Tags

  • translation49
  • css49
  • plugin conflict48
  • seo45
  • new features44
  • buddypress42
  • ultimate member40
  • avatar40
  • forum40
  • moderation38
  • login38
  • registration36
  • threaded layout35
  • cache33
  • editor32
  • menu32
  • shortcode31
  • spam29
  • phrases28
  • forum accesses28
View all tags (2162)

Recent Posts

  • RE: Can't add shortcodes to wpForo

    @robert wpForo is what converts my homepage into a foru...

    By avorai, 3 mins ago

  • RE: Forum topics and pages not indexing

    Hi @vijiki, I see a few dozens of result in google. I...

    By Robert, 8 mins ago

  • RE: Show Likers with their avatar

    @fawp a half crashed forum a fully crashed forum ...

    By Tutrix, 1 hour ago

  • RE: Can users be in multiple forums?

    @monimair, wpForo has secondary usergroups function so...

    By Chris, 1 hour ago

  • RE: H1 title for tags

    Hi @annushka, Your suggestion has been added to our t...

    By Chris, 2 hours ago

  • RE: wpForo 2 Major Update is Imminent!

    I would like to be added to the beta test as I am worki...

    By laurenceliew, 3 hours ago

  • Can't send confirmation email from topics when suscribe for new topic

    When a user click on "Subscribe for new topic" a warnin...

    By gilbau, 4 hours ago

Share:
Share
Tweet
Share
  Forum Statistics
20 Forums
9,754 Topics
49.4 K Posts
7 Online
43.4 K Members

Latest Post: Can't add shortcodes to wpForo Our newest member: situsslotgacor87 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-2022 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
  • Addons Demo
  • Documentation