MyBB Hacks

Full Version: Trading Forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
(01-19-2013 06:19 AM)bigvin Wrote: [ -> ]The default thread filter works with "open" as a value on the status field when the forum is initially displayed ( it also bypasses the forum rules and goes directly to displaying "open" trades) but then if you choose any other option in that side navigation , it still shows "closed" threads which is what I want to eliminate from all of the navigation unless the "closed" option button is chosen.
The side navigation is designed for a single filter. If you want the other filters appended to the side navigation, you can add {$filters_set['trdfstatus']['urlarga']} variable after the each of filter url on the side navigation (you can find the codes in your trdf_forumdisplay_threadlist template.

For example (for Hardware filter URL, you'll find this code):

HTML Code
<a href="{$forumurl_q}filtertf_trdfcat=Hardware"><span><strong>Hardware</strong></span></a>

Add {$filters_set['trdfstatus']['urlarga']} variable at the end of the URL, something like this:

HTML Code
<a href="{$forumurl_q}filtertf_trdfcat=Hardware{$filters_set['trdfstatus']['urlarga']}"><span><strong>Hardware</strong></span></a>


(01-19-2013 03:16 AM)bigvin Wrote: [ -> ]This is what I was referring too, the "Buy or Sell in our classified section, currently we have 3 transactions" that pops up ...now mind you, I am the one that probably made a mistake and that's why it's displaying this way....I assume it's suppose to be displaying above the list of trades am I correct?
It is suppose to be displaying like your screenshot. If you want to display the num of trades, you can use {$GLOBALS['threadcount']} variable in your trdf_forumdisplay_threadlist template.
What is your Thread Grouping in this Forum Config ?
Thread Grouping: 2
Did you create the trdf_forumdisplay_threads_sep template?
Yes, I created trdf_forumdisplay_threads_sep template but nothing.
I resolved reducing options in new thread
Hi there!
I got this trading forum on my page. Everything works fine this far: I can create a new article but it's not shown in the overview of all articles..non of them! Any idea what I did wrong?!

[attachment=943]
[attachment=944]
Did you change any of the templates?  Make sure the {$threadslist} variable is in the trdf_forumdisplay template somewhere.
My trdf_forumdisplay in Globale Templates

PHP Code:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$foruminfo['name']} </title>
{$headerinclude}
{$rssdiscovery}
<script type="text/javascript">
<!--
	lang.no_new_posts = "{$lang->no_new_posts}";
	lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
<style type="text/css">
.filtertf_active {
	background: #FFF6BF;
}
</style>
</head>
<body>
{$header}
{$moderatedby}
{$usersbrowsing}
{$subforums}
{$threadslist}
{$footer}
</body>
</html>

Have you changed/used any filters?

Do changes you make to the trdf_forumdisplay template get reflected on the forumdisplay page?
My mistake was that the underlined in the code was

PHP Code:
$ {filters_set ['__all'] ['visiblecss']} ">


I have removed the stressed and then it went away.

But now all the items in each group. Have an idea?

Thanks for the help and sorry for my english

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
Reference URL's