Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Thread Descriptions
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #31
RE: Thread Descriptions
(03-18-2012 02:13 PM)webmasterdean Wrote:  
(03-06-2012 09:52 AM)ZiNgA BuRgA Wrote:  Well you never gave a screenshot of your forumdisplay...

oh! i gave screenshot please check this post : http://mybbhacks.zingaburga.com/showthre...http://mybbhacks.zingaburga.com/showthread.php?tid=285&pid=1001
Please note the bolded part above.

My Blog
03-18-2012 08:37 PM
Find all posts by this user Quote this message in a reply
webmasterdean Offline
Junior Member
**
Posts: 7
Joined: Feb 2012
Post: #32
RE: Thread Descriptions
Hi,

Thank you very much.

please check now forum display threads screen short.
   

Thanks in advance

(03-18-2012 08:37 PM)ZiNgA BuRgA Wrote:  
(03-18-2012 02:13 PM)webmasterdean Wrote:  
(03-06-2012 09:52 AM)ZiNgA BuRgA Wrote:  Well you never gave a screenshot of your forumdisplay...

oh! i gave screenshot please check this post : http://mybbhacks.zingaburga.com/showthre...http://mybbhacks.zingaburga.com/showthread.php?tid=285&pid=1001
Please note the bolded part above.
03-18-2012 10:31 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #33
RE: Thread Descriptions
You apply it in this forum?
http://jobsnforums.com/Forum-All-Full-Time-Jobs
Does the threads there have a descriptions (or maybe you can try to create a test thread with a descriptions)?

03-19-2012 05:07 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #34
RE: Thread Descriptions
I said forumdisplay, not a screenshot of template code.  That, you can just copy/paste here.

My Blog
03-19-2012 09:35 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #35
RE: Thread Descriptions
(03-19-2012 05:07 AM)RateU Wrote:  Does the threads there have a descriptions
That was actually his problem.
See http://jobsnforums.com/Forum-All-Full-Time-Jobs

Obviously, if you want an actual description to show up, you need to enter it in...

My Blog
(This post was last modified: 03-19-2012 04:40 PM by ZiNgA BuRgA.)
03-19-2012 04:40 PM
Find all posts by this user Quote this message in a reply
Scois0n Offline
Junior Member
**
Posts: 5
Joined: Aug 2012
Post: #36
RE: Thread Descriptions
(04-22-2010 04:48 PM)ZiNgA BuRgA Wrote:  This is a simple thing to do, and this example should give you a general idea of the basics of XThreads.

Alrighty, after installing and activating XThreads, follow these steps on how to add thread description functionality for your threads:
  1. Go to your AdminCP -> Configuration -> Custom Thread Fields section
  2. Choose to Add Thread Field
  3. On this page, enter in the following:
    Title: Thread Description
    Key: desc
    Description: Further describe your thread here
    Display Format: <div>{VALUE}</div>
    (leave other fields on their defaults)
  4. Now scroll down to the bottom of the page and Add Thread Field
  5. If you go to your forum and try to make a new thread, you should notice that there's a "Thread Description" text box below the "Thread Subject" text box, however this doesn't actually do anything right now.  We'll need to add the description into MyBB's templates for it to be of any use.
  6. Go to your AdminCP -> Templates & Style -> Templates
  7. Select the template set you're using (if you have multiple template sets, you need to repeat the following steps with all template sets; alternatively, if you know how, you can also use the Global Templateset)
  8. Now, expand "Forum Display Templates"
  9. Click on the forumdisplay_thread template to edit it
  10. Find the following line of code:

    HTML Code
    <div class="author smalltext">{$thread['profilelink']}</div>

    and add the following before it:

    HTML Code
    {$threadfields['desc']}

  11. Save the template
  12. Back at the templates list page, expand "Search Templates", and select the search_results_threads_thread template to edit
  13. Perform the same edit as you did for the forumdisplay_thread template, and save this edited template
  14. Now, go make a new thread and confirm that thread descriptions appear properly on the forumdisplay and search pages.


If you got to the end without troubles, congratulations! you have managed to use XThreads to create a thread description.
This may seem like a bit of a convoluted method of doing such, but it does give you a lot of flexibility with various things.

As alluded to earlier, this is a very basic example and shows the basics of XThreads.
Hopefully this wasn't too difficult.  Maybe you can go on and try one of the more complicated examples. Tongue

Very simple, but i understand XThreads functionality a little better now.
09-12-2012 06:00 AM
Find all posts by this user Quote this message in a reply
mylife Offline
Junior Member
**
Posts: 3
Joined: Dec 2013
Post: #37
RE: Thread Descriptions
hai i  just want to ask

i had follow your discription in 1st post and all be fine for me

than i want to add to showthread... so i just add in templete in code {$threadfields['vac']}

but nothing appears ??

can u advice me thanks ??
12-07-2013 01:08 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #38
RE: Thread Descriptions
Yes, if the name is called 'vac', and this template isn't a postbit related one.

My Blog
12-07-2013 01:54 PM
Find all posts by this user Quote this message in a reply
mylife Offline
Junior Member
**
Posts: 3
Joined: Dec 2013
Post: #39
RE: Thread Descriptions
so how to add to show in showthread ?

i missing something ?
12-07-2013 04:27 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #40
RE: Thread Descriptions
It is better if you post your modified showthread template here.

12-07-2013 11:10 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: