get "Thread Subject" of value
terzier Offline
Member
***
Posts: 91
Joined: Feb 2012
Post: #1
Wink get "Thread Subject" of value
I wanted to make a simple form, but is limited to how to apply the "value" into a title threads. as in the following example. if when a person can choose the HTML or CSS, and the options they select becomes TITLE (Thread Subject) a threads where users / members can not change?

how do I apply? Aww

Un-Official MyBB from Indonesia| Facebook Page|Twitter
GARUDA DIDADA KU
10-30-2015 01:33 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #2
RE: get "Thread Subject" of value
Since it is a custom form made by you, maybe it is better to post your current code first?

10-30-2015 06:09 AM
Find all posts by this user Quote this message in a reply
terzier Offline
Member
***
Posts: 91
Joined: Feb 2012
Post: #3
RE: get "Thread Subject" of value
I did not make such a code. This idea was first inspired when I look at yaldaram.com, on the following page.

there when we chose the $10 or $15 on the next page worth of written we choose.

therefore I try to want to apply things like that but in a thread title.

it necessary to modify newthread.php?

or is there a plugin like that I mean this? Biggrin

Un-Official MyBB from Indonesia| Facebook Page|Twitter
GARUDA DIDADA KU
(This post was last modified: 10-30-2015 06:44 PM by terzier.)
10-30-2015 06:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #4
RE: get "Thread Subject" of value
(10-30-2015 06:41 PM)terzier Wrote:  I did not make such a code. This idea was first inspired when I look at yaldaram.com, on the following page.

Sorry, but are you sure that page using the method described here?

(10-30-2015 01:33 AM)terzier Wrote:  following example.

(10-30-2015 06:41 PM)terzier Wrote:  or is there a plugin like that I mean this? Biggrin

I'm not quite sure about it. Maybe you need to search it in MyBB website.

(10-30-2015 06:41 PM)terzier Wrote:  therefore I try to want to apply things like that but in a thread title.

it necessary to modify newthread.php?

I think not only newthread, but editpost too. And maybe better to do something with PostDataHandler and Moderation.

10-31-2015 01:31 AM
Find all posts by this user Quote this message in a reply
terzier Offline
Member
***
Posts: 91
Joined: Feb 2012
Post: #5
RE: get "Thread Subject" of value
Quote:Sorry, but are you sure that page using the method described here?

by logic alone. I just saw from the system works is similar. namely, what we choose what we get. is not that the core work? Rules

Quote:Maybe you need to search it in MyBB website..

if I have enough knowledge in the field of programming (coding) as you surely I will not be difficult to modify the following plugins.

http://community.mybb.com/thread-126964.html
http://mods.mybb.com/view/new-thread
http://mybbhacks.zingaburga.com/showthread.php?tid=278

I realized I was stupid in terms of coding. I have little expertise to modify the template MyBB. and even then not pure #tbh Erf

I hope to get an answer here. possible from you? RateU Tongue

Un-Official MyBB from Indonesia| Facebook Page|Twitter
GARUDA DIDADA KU
10-31-2015 03:18 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #6
RE: get "Thread Subject" of value
My answer is the same. Since you want it for MyBB's threads, you need to hook into PostDataHandler (for validating, insert thread and update thread) and Moderation (for merging threads, splitting post, and change thread subject).

Hopefully you can start from that.

(This post was last modified: 10-31-2015 05:05 AM by RateU.)
10-31-2015 04:59 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #7
RE: get "Thread Subject" of value
If all you want is to use a thread prefix, then use a prefix but exclude the threadprefix field from your editpost template. Make the prefix required and you are there.


[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 10-31-2015 09:22 PM by leefish.)
10-31-2015 09:22 PM
Visit this user's website Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #8
RE: get "Thread Subject" of value
Yeah, should be easier like that. But at least wait till 1.8.7 since the 1.8 quick subject edit has an annoying issue with the prefix (if MyBB fixes it in 1.8.7).

11-01-2015 02:10 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: