PDA

View Full Version : how do i code a new thread in a forumid.


Vaupell
01-21-2010, 07:10 PM
gonna make a template, and a form, when filled it submits a new thread
with given parameters..

say template is the thread/post contents..

thraed title : test title (stored in options [test_title])

template : test_thread

This is a test thread


preset forum id : 1 (stored in options [test_forumid])

I just make a button somewhere random, and when i click that button
i want it to post a thread with the parameters above..

And usually when i dont have a clue how to start, i check out vbulletin code.
but i just cant make sense from newthread.php

plus it seems like alot, when back on 3.x we could post a new thread
with maximum some 50 lines, and all the counters etc was set correct for the new thread.

havent seen any vb4 mods yet, that post new threads either, so cant see how others do.
Any help on how to progress ?

BBR-APBT
01-21-2010, 07:21 PM
No sense in me working up the code when you never say if it works or not.
https://vborg.vbsupport.ru/showthread.php?t=233430

I have a mod that post a welcome thread on register you can start there.
Check my profile.

Vaupell
01-21-2010, 07:24 PM
No sense in me working up the code when you never say if it works or not.
https://vborg.vbsupport.ru/showthread.php?t=233430

I have a mod that post a welcome thread on register you can start there.
Check my profile.

gonna call you mad dog from now on, cause you bite!

Well im gonna post a reply, when i get to trying that code out..
patience is a virtue, i dont poses, but i see im not alone.

well look for your welcome post ;)
and dont worry, i will get to the modcp eventually..

BBR-APBT
01-21-2010, 07:26 PM
gonna call you mad dog from now on, cause you bite!

Well im gonna post a reply, when i get to trying that code out..
patience is a virtue, i dont poses, but i see im not alone.

well look for your welcome post ;)
and dont worry, i will get to the modcp eventually..

LOL I don't bite.

Vaupell
01-21-2010, 07:38 PM
Gonna hurry up and respont before someone gets mad around here :D

got your mod, looks great, installed it on my own board btw, just needs a little setup.
howewer the plugins, im proberly only gonna look into the one with register_addmember_complete
cause im going to run it from a php file instead of plugin.

but its beautifull, makes sense.. Thank you.

BBR-APBT
01-21-2010, 09:41 PM
I wasn't mad, LOL I really wanted to know if it worked I have not tested it. I need to do pretty much the same thing for the modCP in the future and was wondering if I should bookmark that thread or not.