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
Could you explain it more, please?
I can't test it in your forum because it seems guest doesn't have permission to view it Biggrin
Oops...fixed permissions...go ahead and try now
Could you post the value list of your Product Category (settings #8: Listbox for product category).
Sure here you go:

Code:
Pistols
Rifles
Shotguns
Accessories
Equipment
Miscellaneous

Are you sure it is Pistols? Not Pistol (without "s")?
Because there is only two thread there, I only know two value list:
Pistol - http://ohioguns.net/thread-26.html
Equipment - http://ohioguns.net/thread-19.html

Could you re-check it again, please.
Because the fix is very related to the value list.

And could you post the value list for the Payment Method too?

Edit:
This is templates part that have a relation to that value list:
trdf_forumdisplay_threadlist
For Product Category:

HTML Code
<tr>
	<td class="trow1" colspan="2">
		<a href="{$forumurl_q}filtertf_trdfcat=Hardware"><span><strong>Hardware</strong></span></a>
	</td>
</tr>
<tr>
	<td class="trow1" colspan="2">
		<a href="{$forumurl_q}filtertf_trdfcat=Software"><span><strong>Software</strong></span></a>
	</td>
</tr>
<tr>
	<td class="trow1" colspan="2">
		<a href="{$forumurl_q}filtertf_trdfcat=Other"><span><strong>Other</strong></span></a>
	</td>
</tr>


For Payment Method:

HTML Code
<tr>
	<td class="trow1" colspan="2">
		<a href="{$forumurl_q}filtertf_trdfpayment=PayPal"><span><strong>PayPal</strong></span></a>
	</td>
</tr>
<tr>
	<td class="trow1" colspan="2">
		<a href="{$forumurl_q}filtertf_trdfpayment=AlertPay"><span><strong>AlertPay</strong></span></a>
	</td>
</tr>
<tr>
	<td class="trow1" colspan="2">
		<a href="{$forumurl_q}filtertf_trdfpayment=Wire Transfer"><span><strong>Wire Transfer</strong></span></a>
	</td>
</tr>


trdf_forumdisplay_searchforum_inline
For Product Category:

HTML Code
<option value="Hardware">Hardware</option>
<option value="Software">Software</option>
<option value="Other">Other</option>


For Payment Method:

HTML Code
<option value="PayPal">PayPal</option>
<option value="AlertPay">AlertPay</option>
<option value="Wire Transfer">Wire Transfer</option>

Code:
PayPal
AlertPay
Wire Transfer
Check
Cash
Trade

Edit your trdf_forumdisplay_threadlist template.
Find:

HTML Code
<tr>
	<td class="trow1" colspan="2">
		<a href="{$forumurl_q}filtertf_trdfpayment=PayPal"><span><strong>PayPal</strong></span></a>
	</td>
</tr>
<tr>
	<td class="trow1" colspan="2">
		<a href="{$forumurl_q}filtertf_trdfpayment=AlertPay"><span><strong>AlertPay</strong></span></a>
	</td>
</tr>
<tr>
	<td class="trow1" colspan="2">
		<a href="{$forumurl_q}filtertf_trdfpayment=Wire Transfer"><span><strong>Wire Transfer</strong></span></a>
	</td>
</tr>


Change to:

HTML Code
<tr>
	<td class="trow1" colspan="2">
		<a href="{$forumurl_q}filtertf_trdfpayment=PayPal"><span><strong>PayPal</strong></span></a>
	</td>
</tr>
<tr>
	<td class="trow1" colspan="2">
		<a href="{$forumurl_q}filtertf_trdfpayment=AlertPay"><span><strong>AlertPay</strong></span></a>
	</td>
</tr>
<tr>
	<td class="trow1" colspan="2">
		<a href="{$forumurl_q}filtertf_trdfpayment=Wire Transfer"><span><strong>Wire Transfer</strong></span></a>
	</td>
</tr>
<tr>
	<td class="trow1" colspan="2">
		<a href="{$forumurl_q}filtertf_trdfpayment=Check"><span><strong>Check</strong></span></a>
	</td>
</tr>
<tr>
	<td class="trow1" colspan="2">
		<a href="{$forumurl_q}filtertf_trdfpayment=Cash"><span><strong>Cash</strong></span></a>
	</td>
</tr>
<tr>
	<td class="trow1" colspan="2">
		<a href="{$forumurl_q}filtertf_trdfpayment=Trade"><span><strong>Trade</strong></span></a>
	</td>
</tr>


Edit your trdf_forumdisplay_searchforum_inline template.
Find:

HTML Code
<option value="PayPal">PayPal</option>
<option value="AlertPay">AlertPay</option>
<option value="Wire Transfer">Wire Transfer</option>


Change to:

HTML Code
<option value="PayPal">PayPal</option>
<option value="AlertPay">AlertPay</option>
<option value="Wire Transfer">Wire Transfer</option>
<option value="Check">Check</option>
<option value="Cash">Cash</option>
<option value="Trade">Trade</option>


For Product Category, the edit should be "similar" like the edit above.
Very depends on what our Product Category Value List.

Example:
If we put Pistol in the value list, we need this kinds of URL in our trdf_forumdisplay_threadlist template:

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


If we put Pistols in the value list, we need this kinds of URL:

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


Look at the difference after the filtertf_trdfcat=

And we need to edit our trdf_forumdisplay_searchforum_inline template too.

I have edited all those, but I still do not get any results....Frown
We still need to fix the product category.
Post here whatever the selection available for Product Category when you create a new thread in your trading forum.
Pistols
Rifles
Shotguns
Accessories
Equipment
Miscellaneous
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