The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
How to update post content
Hi,
I want to be able to click a link or button in showthread that updates post content to something I predefine but not sure what hooks to use, or what to use in datamanager. In postbit_display_complete I can use Code:
if (can_moderate($this->thread['forumid'])) { $updatetopic = " SOME CODE TO ADD _GET Request?"; $this->post['message'] = $updatetopic.$this->post['message']; } How can I update the topic with some new text Say 'UPDATED' Hook, I don't know? Can I use dataman in postbit_display_complete to do it? Code:
if ($_GET['update_topic']) dataman set topic data = "UPDATED"; Never mind, I got it sorted, Thanks |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|