• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
      • Try XenForo Demo
      • New Posts
      • FAQ
      • Calendar
      • Community
        • Groups
        • Albums
        • Member List
      • Forum Actions
        • Mark Forums Read
      • Quick Links
        • Today's Posts
        • Who's Online
      • Sponsor
        • Sponsor a Feature
        • List of Donors
    • Wiki
    • Support
    • What's New?
    • Buy Now
    • Manual
    • 
    • Forum
    • VaultWiki How-Tos
    • VaultWiki Questions
    • Post wiki page with DM

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Results 1 to 2 of 2

    Thread: Post wiki page with DM

    • Thread Tools
      • Show Printable Version
    1. July 18, 2014 #1
      Badhabits
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Badhabits is offline
      New Member
      Join Date
      September 2, 2011
      Posts
      1
      Rep Power
      0

      Post wiki page with DM

      I'm trying to Automatically post a wikipage like you can a thread with with class_dm_threadpost.php . If I use the class_dm_threadpost.php the wiki page shows up as a thread in (list) ,but it acts like there is no pagetext. I would appreciate any help with this.





      This is how I do threads with a cron job currently.

      Code:
      		                    require_once(DIR . '/includes/class_dm.php');
                                                   require_once(DIR . '/includes/class_dm_threadpost.php');
      			                                $threaddm =& datamanager_init('Thread_FirstPost', $vbulletin, ERRTYPE_SILENT, 'threadpost');
      							$threaddm->do_set('forumid', $forumid1);
      							$threaddm->do_set('userid', $userid1);
      							$threaddm->do_set('username', $username1);
      							$threaddm->do_set('title', $title1);
      							$threaddm->do_set('pagetext', $pagetext1);
      							$threaddm->do_set('allowsmilie', $no);
      							$threaddm->do_set('visible', $yes);
      							$threaddm->do_set('ipaddress', $zeroip);
      							$threaddm->set_info('is_automated', true);
      							$threaddm->save();
      							unset($threaddm);
      Reply With Quote Reply With Quote

    2. July 20, 2014 #2
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      687
      Is this VaultWiki 3?

      If so, have a look at the newpost_complete plugin, as you probably want to duplicate that after your DM call.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    Similar Threads

    1. Supermod when editing a wiki page displays a blank page (Vbulletin)
      By migratoria in forum General Discussion
      Replies: 13
      Last Post: January 17, 2016, 2:31 PM
    2. Idea: include wiki page in Forum Post (wiki/forum integration)
      By InformationNirvana in forum Ideas & Suggestions
      Replies: 2
      Last Post: December 14, 2011, 12:56 AM
    3. Is it possible to post a wiki article in a forum which also contains threads?
      By howard in forum VaultWiki Questions
      Replies: 3
      Last Post: June 30, 2011, 6:10 PM
    4. Notification for my staff when someone modify a wiki post?
      By yoodac in forum VaultWiki Questions
      Replies: 1
      Last Post: May 3, 2011, 1:50 PM
    5. Nominate forum post for Wiki inclusion
      By Alfa1 in forum Ideas & Suggestions
      Replies: 4
      Last Post: December 29, 2010, 11:23 AM

    Bookmarks

    Bookmarks
    • Submit to Digg Digg
    • Submit to del.icio.us del.icio.us
    • Submit to StumbleUpon StumbleUpon
    • Submit to Google Google

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •  
    • BB code is On
    • Smilies are On
    • [IMG] code is Off
    • [VIDEO] code is
    • HTML code is Off

    Forum Rules

    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 12:47 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.