MyBB Hacks

Full Version: get "Thread Subject" of value
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Since it is a custom form made by you, maybe it is better to post your current code first?
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
(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.
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
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.
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.
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).
Reference URL's