Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Trading Forum
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #141
RE: Trading Forum
Did you force the postbit layout to horizontal for that forum?

08-05-2012 03:59 AM
Find all posts by this user Quote this message in a reply
nier3 Offline
Member
***
Posts: 125
Joined: Jul 2012
Post: #142
RE: Trading Forum
I don't found "5. Force Postbit Layout: Force horizontal postbit layout"

I go in: ACP - Forum and messages - Market Forum - Edit setting forum - XThreads Options (note that these settings do not cascade down into child forums) and here I don't have Force Postbit Layout.

I have: Template Prefix, Language File Prefix, Thread Grouping, Show first post on every showthread page, Enable XThreads' Inline Forum Search, Offset forumdisplay {$colspan}, Settings Overrides, Override Posts Per Page, Hide Forum, Hide Forum in Breadcrumb Trail, Allow Blank Post Message, Don't include this forum's threads/posts in global forum statistics, Default Thread Filter, Custom WOL Text
08-05-2012 04:24 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #143
RE: Trading Forum
Click the Settings Overrides setting:
  • Setting: Show Thread Options -> Post Layout
  • Value: horizontal

    Code:
    postlayout=horizontal


08-05-2012 04:50 AM
Find all posts by this user Quote this message in a reply
nier3 Offline
Member
***
Posts: 125
Joined: Jul 2012
Post: #144
RE: Trading Forum
thank you, now it is perfect! Biggrin
08-05-2012 05:54 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #145
RE: Trading Forum
I've updated the first post for using the Settings Overrides setting.
Thanks Smile

08-05-2012 06:07 AM
Find all posts by this user Quote this message in a reply
nier3 Offline
Member
***
Posts: 125
Joined: Jul 2012
Post: #146
RE: Trading Forum
Hi, Can I put a default image for a section (ex. default image only for Hardware)?
Thank you
08-05-2012 11:09 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #147
RE: Trading Forum
Do you mean when a user doesn't upload an image for their product?
You can try to edit the Blank Replacement Value setting for your trdfimg custom field. Use conditional there.
For example:

Code:
1
2
3
4
5
6
7
<if $GLOBALS['threadfields']['trdfcat'] == 'Hardware' then>
	<img src="path_to_default_hardware_image" alt="Hardware" />
<elseif $GLOBALS['threadfields']['trdfcat'] == 'Software' then>
	<img src="path_to_default_software_image" alt="Software" />
<else>
	<img src="path_to_default_other_image" alt="Other" />
</if>


08-06-2012 03:43 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #148
RE: Trading Forum
I had a similar thing and I did this:

I put this code in my blank replacement value and the user gets a different image based on the trdftnt value, I just put the images on my server, so if the trdftnt field value is buy it gets img buy.jpg.

Code:
<img src="images/{$GLOBALS['threadfields']['trdftnt']}.jpg" alt="" title="" />


Not better (probably worse) just a different approach.



[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 08-06-2012 10:25 AM by leefish.)
08-06-2012 10:22 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: #149
RE: Trading Forum
Thanks for sharing, Lee.

08-07-2012 03:55 AM
Find all posts by this user Quote this message in a reply
nier3 Offline
Member
***
Posts: 125
Joined: Jul 2012
Post: #150
RE: Trading Forum
Thank you lee and rateuSmile
(This post was last modified: 08-09-2012 09:44 PM by nier3.)
08-09-2012 09:43 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: