Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
Create Posts
fly
Join Date: Oct 2003
Posts: 1,215

by fly fly is offline 07 Dec 2005


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Views: 38845
Reply With Quote
Comments
  #2  
Old 21 Dec 2005, 00:24
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Real name: Rich
Hello,

I am a pretty crafty fellow and can figure out most things but I am a tad confused here. As a tutorial, I would expect this to tell me what it does and how to implement it.

(I am guessing it creates a thread that reads"Hi mom!")

All I see is some code but what I would do with this code and what it would do for me I am at a loss for. Is there any chance you could expand on this for us not so knowledgeable individuals. lol
__________________
Rich

Swapped 2 sites to Xenforo since vBulletin left me hanging for so long with the vB4 - PHP5 compatibility issues. Running PHP 5.5 with Xenforo with NO issues.
Reply With Quote
  #3  
Old 21 Dec 2005, 00:49
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
I thought the title pretty much gave it away > [How To] Create Posts

That is the code to create a post in an existing thread.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #4  
Old 21 Dec 2005, 04:39
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Real name: Daniel
Wouldn't it be easier to just use the "Create Thread" button and call it Hi Mom?
__________________
Daniel
Reply With Quote
  #5  
Old 21 Dec 2005, 05:51
Code Monkey's Avatar
Code Monkey Code Monkey is offline
 
Join Date: May 2004
Originally Posted by Daniel
Wouldn't it be easier to just use the "Create Thread" button and call it Hi Mom?
Yes, but that's not as fun as doing it with the Data Manager.
Reply With Quote
  #6  
Old 21 Dec 2005, 13:12
fly fly is offline
 
Join Date: Oct 2003
Originally Posted by iguanairs
Hello,

I am a pretty crafty fellow and can figure out most things but I am a tad confused here. As a tutorial, I would expect this to tell me what it does and how to implement it.

(I am guessing it creates a thread that reads"Hi mom!")

All I see is some code but what I would do with this code and what it would do for me I am at a loss for. Is there any chance you could expand on this for us not so knowledgeable individuals. lol
As stated, this is code you would use in a hack to reply to a certain thread. What else do you want to know?
Reply With Quote
  #7  
Old 08 Jan 2006, 00:52
Razz Razz is offline
 
Join Date: Dec 2001
I tried this out but it doesn't seem to update the view and reply counters when it creates the new post or did I miss something?
Reply With Quote
  #8  
Old 11 Jan 2006, 21:36
laddil laddil is offline
 
Join Date: Nov 2005
I have a quick question about using this method to put in a post...

Does it take into account user preferances (i.e., emoticons, smilies, etc.) and forum security settings (vBcode, raw HTML, etc.)?

The modification I'm writing needs to add posts to a specific forum, but I have consern about the potential of this bypassing security and causing mischief.
Reply With Quote
  #9  
Old 10 Apr 2006, 12:15
grana grana is offline
 
Join Date: Dec 2005
I have a question: if I create a post in this way, does vb send the "update notification emails" to the subscribed users?
If not, how can I trigger this?

Thanks!
Reply With Quote
  #10  
Old 18 Apr 2006, 00:27
Cloud Strife Cloud Strife is offline
 
Join Date: Jun 2002
edit

Last edited by Cloud Strife; 18 Apr 2006 at 01:10.
Reply With Quote
  #11  
Old 24 Apr 2006, 16:47
Wild-Wing Wild-Wing is offline
 
Join Date: Dec 2005
how can this be used to edit a post already posted?
Reply With Quote
  #12  
Old 25 Apr 2006, 13:43
fly fly is offline
 
Join Date: Oct 2003
afaik, it can't.
Reply With Quote
  #13  
Old 26 Apr 2006, 11:53
Evercraft's Avatar
Evercraft Evercraft is offline
 
Join Date: Jan 2005
You need to add the following code, after the post has been created, to update forum counters and last post index etc.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Originally Posted by laddil
I have a quick question about using this method to put in a post...

Does it take into account user preferances (i.e., emoticons, smilies, etc.) and forum security settings (vBcode, raw HTML, etc.)?

The modification I'm writing needs to add posts to a specific forum, but I have consern about the potential of this bypassing security and causing mischief.
It doesn't check permissions.
__________________
My Hacks
vB Event Forums

Last edited by Evercraft; 26 Apr 2006 at 11:54. Reason: Automerged Doublepost
Reply With Quote
  #14  
Old 22 Jul 2006, 21:28
nj_vb nj_vb is offline
 
Join Date: Jul 2006
This doesn't work with 3.5.x for me...

It's saying "the user is already logged in, if you have lost your pw click here" or something to that effect. Any ideas?
Reply With Quote
  #15  
Old 24 Jul 2006, 06:52
Atakan KOC's Avatar
Atakan KOC Atakan KOC is offline
 
Join Date: Feb 2006
Real name: Atakan KOÇ
3.5.x


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
vBulletin 5 : http://www.atabb.com/
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

Posting Rules
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 On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 14:18.

Layout Options | Width: Wide Color: