Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Thread Descriptions
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #61
RE: Thread Descriptions
Looks like something is interfering, but I'd have no clue what unfortunately. :/
Perhaps play around with it, for example, change the template and see how the output changes.

My Blog
06-29-2015 12:15 PM
Find all posts by this user Quote this message in a reply
OldDuck Offline
Junior Member
**
Posts: 4
Joined: Jun 2015
Post: #62
RE: Thread Descriptions
I've done a merging with a new installation of mybb without importing the setting and I don't have this problem anymore.
I will see if it occurs again when I will add again the different plugins and modifications.
06-29-2015 02:47 PM
Find all posts by this user Quote this message in a reply
Amir Hossein Offline
Junior Member
**
Posts: 1
Joined: Feb 2016
Post: #63
RE: Thread Descriptions
I have created a thread description and added necessary codes to the forumdisplay_thread and search_results_threads_thread templates.

My problem is that the search function doesn't work for phrases that I enter in thread description. For example, I have created a topic and used "hello" as its thread description. But when I search for "hello", that topic does not show up.

How can I fix this?
02-28-2016 10:06 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #64
RE: Thread Descriptions
Searching thread descriptions isn't supported unfortunately.

My Blog
02-29-2016 09:47 AM
Find all posts by this user Quote this message in a reply
Starnova Offline
Junior Member
**
Posts: 8
Joined: Sep 2016
Post: #65
RE: Thread Descriptions
I am using this on my ebook site and I made three different ones to make posting easier for my users. I am so pleased with the resuts but I wuld like to know one thing. Is it possible to have the username ahead of the Xthread ? Please look here and see what I mean, I would like the username on top of the custom threads

https://www.ebook-mecca.com/Thread-The-Ice-Twins   thank you
(This post was last modified: 09-29-2016 08:00 AM by Starnova.)
09-29-2016 07:59 AM
Find all posts by this user Quote this message in a reply
MrBrechreiz Offline
Member
***
Posts: 69
Joined: May 2012
Post: #66
RE: Thread Descriptions
(09-29-2016 07:59 AM)Starnova Wrote:  I am using this on my ebook site and I made three different ones to make posting easier for my users. I am so pleased with the resuts but I wuld like to know one thing. Is it possible to have the username ahead of the Xthread ? Please look here and see what I mean, I would like the username on top of the custom threads

https://www.ebook-mecca.com/Thread-The-Ice-Twins   thank you


Copy the contents of the postbit template and create a new template in your templates with name

postbit_first

and paste the contents from postbit template. Now add the threadfield variables into this template at the right position.

Eg:

Find

Code:
div class="author_statistics">
		{$post['user_details']}<br />
	</div>
</div>


below

Code:
<div class="trow2" style="padding:5px;width:100%"><div style="float:left;width:15%"><strong>Author</strong></div><div style="width:30%">{$GLOBALS['threadfields']['author']}</div></div>
	<div class="trow1" style="padding:5px;width:100%"><div style="float:left;width:15%"><strong>Genre:</strong></div><div style="width:30%">{$GLOBALS['threadfields']['genre']}</div></div>
	<div class="trow2" style="padding:5px;width:100%"><div style="float:left;width:15%"><strong>ISBN / ASIN:</strong></div><div style="width:30%">{$GLOBALS['threadfields']['isbnasin']}</div></div>


Find

Code:
<div class="post_content">


change in

Code:
<div class="post_content clear_both">


this you must adapt to your thread fields keys
{$GLOBALS['threadfields']['author']}
{$GLOBALS['threadfields']['genre']}
{$GLOBALS['threadfields']['isbnasin']}


Is that what you are looking for?

See my snapshot



Attached File(s) Thumbnail(s)
   
09-30-2016 10:12 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Starnova Offline
Junior Member
**
Posts: 8
Joined: Sep 2016
Post: #67
RE: Thread Descriptions
Yes this is exactly what I am looking for. Thank you so much MrBrechreiz for your help! There is just one place I am not sure of..

this you must adapt to your thread fields keys
{$GLOBALS['threadfields']['author']}
{$GLOBALS['threadfields']['genre']}
{$GLOBALS['threadfields']['isbnasin']}

Because this is my first experience with Xthreads
(This post was last modified: 10-04-2016 05:57 AM by Starnova.)
10-04-2016 04:56 AM
Find all posts by this user Quote this message in a reply
MrBrechreiz Offline
Member
***
Posts: 69
Joined: May 2012
Post: #68
RE: Thread Descriptions
{$GLOBALS['threadfields']['author']}
{$GLOBALS['threadfields']['genre']}
{$GLOBALS['threadfields']['isbnasin']}

this is the keys from the threadfields. You must change to your key.
10-04-2016 06:06 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Starnova Offline
Junior Member
**
Posts: 8
Joined: Sep 2016
Post: #69
RE: Thread Descriptions
(10-04-2016 06:06 AM)MrBrechreiz Wrote:  {$GLOBALS['threadfields']['author']}
{$GLOBALS['threadfields']['genre']}
{$GLOBALS['threadfields']['isbnasin']}

this is the keys from the threadfields. You must change to your key.

Okay so if I understand this correctly make changes to the relevant templates Use {$GLOBALS['threadfields']['key']} in templates to reference this field..  Thank you

Now i know why it will not work tomorrow I will come back here and start over because I am using a combination of Xthreds I use this one too:

http://mybbhacks.zingaburga.com/showthread.php?tid=289

Duh .. Like I said its easy to start it again now that I have learned something LOL
(This post was last modified: 10-04-2016 07:56 AM by Starnova.)
10-04-2016 07:17 AM
Find all posts by this user Quote this message in a reply
MrBrechreiz Offline
Member
***
Posts: 69
Joined: May 2012
Post: #70
RE: Thread Descriptions
BiggrinYipiLol
10-04-2016 08:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: