Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 How to make simple form
Ariif Offline
Junior Member
**
Posts: 3
Joined: May 2012
Post: #1
How to make simple form
Hi Mybb Hack Jap, Im currently using XThread and still cannot use it. I have follow the guide in the XThreads Example Applications but not found what i want.

I want to make simple form for my "Hardware Configuration" section and it should display like this when someone view the thread:

Processor(CPU):Intel Core i7-3770K 3.5GHz LGA 1155
Motherboard: ASUS P8Z77-V DELUXE
Memory:CORSAIR Vengeance 8GB
Graphic Card:EVGA GeForce GTX 680
Hard Disk: Western Digital Caviar Black 1TB
Power Supply: CORSAIR Professional Series HX750
Processor Cooling: CORSAIR H100 Water Cooling
Operating System: Windows 7 Ultimate 64bit

I want the question display with the answer when they post the thread. Hope you know what i mean.
(This post was last modified: 05-27-2012 03:43 PM by Ariif.)
05-27-2012 03:40 PM
Find all posts by this user Quote this message in a reply
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #2
RE: How to make simple form
This is a good example:
http://mybbhacks.zingaburga.com/showthread.php?tid=285

Just change the title, and use a different key for each field. In Display Format put how you want it to look like, for example:

Code:
<strong>Processor(CPU):</strong> {VALUE}


And add your variable inside postbit/postbit_classic:

Code:
{$GLOBALS['threadfields']['KEY']}


Where KEY is the key you choose for each individual field.


Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
(This post was last modified: 05-27-2012 04:06 PM by Sama34.)
05-27-2012 04:05 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Ariif Offline
Junior Member
**
Posts: 3
Joined: May 2012
Post: #3
RE: How to make simple form
It only show at the forum but at the thread it not show. any how? where do i put {$GLOBALS['threadfields']['processor']} at he bottom of all code in there?
05-28-2012 04:07 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #4
RE: How to make simple form
If you don't know HTML and much about MyBB's template system, I strongly recommend you study those before using XThreads.

My Blog
05-28-2012 04:27 PM
Find all posts by this user Quote this message in a reply
Ariif Offline
Junior Member
**
Posts: 3
Joined: May 2012
Post: #5
RE: How to make simple form
(05-28-2012 04:27 PM)ZiNgA BuRgA Wrote:  If you don't know HTML and much about MyBB's template system, I strongly recommend you study those before using XThreads.
In your opinion where is a good place for me to learn HTML? ?Do I need to take the class or just learn on the web? and if I finished learn html language what I need to learn next to use Xthread?
05-28-2012 07:37 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #6
RE: How to make simple form
Just search for a tutorial on the web - plenty out there.
HTML is pretty easy - it shouldn't take long to learn and is immensely helpful if you wish to do any form of customisation to your website.

After HTML, play around with the MyBB template system to get familiar with that - if you know HTML well, it should be easy to understand.
After that, follow the tutorial Sama34 posted above, making sure you understand each step - this should be enough to give you an idea of how to use XThreads.

My Blog
05-28-2012 09:32 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: