Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] Rep system + Eztrader.
#1
Not Solved Toungue 
This user has been denied support. This user has been denied support.
I would like the rep system to appear everywhere but the marketplace, and have the eztrader to appear in the marketplace, and nowhere else. Help with this is greatly appreciated. Thank you.

My site is in my sig if its needed. I am getting ddosed so it might not load at times. I have my host working on it though.
[Image: mpf.png]
Reply
#2
Not Solved
This user has been denied support. This user has been denied support.
Use PHP in template conditionals plugin by Yumi (Zinga Burga) and in postbit_author_user templates, replace:

PHP Code:
{$post['replink']} 

with:

PHP Code:
<if !in_array($GLOBALS['forum']['fid'], array(6)) then>
{
$post['replink']}</if> 

So for example, the above would show reputation for a user in all forums except forum 6. So edit 6 with your marketplace forum id.

Same way for eztrader, you find eztrader variable and enter code like;

PHP Code:
<if in_array($GLOBALS['forum']['fid'], array(6)) then>
//eztrader_variable_here
</if> 

Edit 6 in above code with whatever your marketplace forum id is.
Reply
#3
Not Solved
This user has been denied support. This user has been denied support.
(05-10-2012, 09:58 AM)crazy4cs Wrote:  Use PHP in template conditionals plugin by Yumi (Zinga Burga) and in postbit_author_user templates, replace:

PHP Code:
{$post['replink']} 

with:

PHP Code:
<if !in_array($GLOBALS['forum']['fid'], array(6)) then>
{
$post['replink']}</if> 

So for example, the above would show reputation for a user in all forums except forum 6. So edit 6 with your marketplace forum id.

Same way for eztrader, you find eztrader variable and enter code like;

PHP Code:
<if in_array($GLOBALS['forum']['fid'], array(6)) then>
//eztrader_variable_here
</if> 

Edit 6 in above code with whatever your marketplace forum id is.

I will give this a shot come morning because I am headed to bed right now. Thanks man.
[Image: mpf.png]
Reply
#4
Not Solved
This user has been denied support. This user has been denied support.
(05-10-2012, 09:58 AM)crazy4cs Wrote:  Use PHP in template conditionals plugin by Yumi (Zinga Burga) and in postbit_author_user templates, replace:

PHP Code:
{$post['replink']} 

with:

PHP Code:
<if !in_array($GLOBALS['forum']['fid'], array(6)) then>
{
$post['replink']}</if> 

So for example, the above would show reputation for a user in all forums except forum 6. So edit 6 with your marketplace forum id.

Same way for eztrader, you find eztrader variable and enter code like;

PHP Code:
<if in_array($GLOBALS['forum']['fid'], array(6)) then>
//eztrader_variable_here
</if> 

Edit 6 in above code with whatever your marketplace forum id is.

The second I installed the plugin I got hit with an error.

Code:
Parse error: syntax error, unexpected ')' in /home/philly/public_html/index.php(383) : eval()'d code on line 45
[Image: mpf.png]
Reply
#5
Not Solved
This user has been denied support. This user has been denied support.
Make sure that plugin is functional with MyBB 1.6.5 and 1.6.5+ (If you're talking about PHP conditionals). You can also try asking Zinga over his site; http://www.mybbhacks.zingaburga.com
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)