Current time: 08-01-2014, 11:51 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[How To?] Rep system + Eztrader.
05-09-2012, 09:58 PM (This post was last modified: 05-09-2012 09:59 PM by Philly.)
Post: #1
Not Solved Toungue Rep system + Eztrader.
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]
Find all posts by this user
Quote this message in a reply
05-10-2012, 09:58 AM
Post: #2
Not Solved RE: Rep system + Eztrader.
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.

Z5T - Dynamic URL Shortener
My Plugins & Themes
Find all posts by this user
Quote this message in a reply
05-10-2012, 10:15 AM
Post: #3
Not Solved RE: Rep system + Eztrader.
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]
Find all posts by this user
Quote this message in a reply
05-12-2012, 09:52 AM
Post: #4
Not Solved RE: Rep system + Eztrader.
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]
Find all posts by this user
Quote this message in a reply
05-12-2012, 01:17 PM
Post: #5
Not Solved RE: Rep system + Eztrader.
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

Z5T - Dynamic URL Shortener
My Plugins & Themes
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication