vBulletin Modifications

Adding options to the new thread page.

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

Reply
 
LinkBack Thread Tools
Old 06-28-2006, 02:37 PM   #1
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default Adding options to the new thread page.

Title pretty much says it all. I think it would benifit alot oof people if you know please post. Anything from yes/no's to text boxes.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 06-29-2006, 02:27 PM   #2
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

ok so to quote this:
Quote:
Originally Posted by merk
It is built using the thread datamanagers.

The best way to handle it would be:

* add fields to the newthread template
* clean the variables in newthread_post_start ($vbulletin->input->clean_array_gpc()
* add fields to database using another query in newpost_complete eg

You must first be a registered member to view any code.
Or it could very well be possible by modifying the datamanagers, but I'm not that far into the system yet
and:

Quote:
Originally Posted by Andreas
- Alter table thread to add your fields
- Adjust Template newthread
- Creae a Plugin for threadpfdata_start to add the fields to its validfields
- Create a Plugin for newthread_post_start to set the fields in $post to the cleaned form data
- Create a Plugin for newpost_process to set the values from $post to the Datamanager

This method does not cause additional queries
So who can dum it down for me Ie: tell me what to add to the new thread template. I am completely dum. So basically can you tell me what to add where just for a simple text box.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-29-2006, 03:10 PM   #3
Coder
gio~logist's Avatar
Join Date: Jul 2005
Location: Miami, Florida
gio~logist is on a distinguished road

Default

Until i post the hacks here, try using my mod over at vb.org




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-29-2006, 04:00 PM   #4
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

Ok, does it work with 3.6?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-29-2006, 04:06 PM   #5
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

Regards to the primum version whe is it coming out?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-29-2006, 04:15 PM   #6
Coder
gio~logist's Avatar
Join Date: Jul 2005
Location: Miami, Florida
gio~logist is on a distinguished road

Default

The premium version is still being worked on at the moment. Once i add search ability and 1 or 2 other things (in addition to what i've already done), it should be ready.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



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

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[req] Disable Thread Notification Email Options Zatch Bell vBulletin Modification Requests 2 06-11-2006 11:00 AM
Adding to Options page in User CP Nick R General vBulletin Support 9 05-28-2006 12:00 PM
give a thread a bar with options world32 vBulletin Modification Requests 8 05-27-2006 08:58 AM
Comment hack using thread from forum kkiely vBulletin Modification Requests 1 08-06-2005 07:32 AM
Adding a Thread status Icon John Mullins vBulletin Modification Requests 15 06-18-2005 01:02 PM


All times are GMT -3. The time now is 10:41 AM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)