MyBB Community Forums

Full Version: How to move eztrader vouch
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Trying to move it on the postbit but cant find the variable in postbit.

[Image: zv7ZIht.png]

I need to move it down.
Can you post your postbit_author_user template?
{$lang->postbit_posts} {$post['postnum']}<br />
{$lang->postbit_joined} {$post['userregdate']}
{$post['replink']}{$post['warninglevel']}
the plugin does not use direct template edit - the variable is added directly through the php file
./inc/plugins/eztrader.php (around lines 710 - 713)
	// Show the trader info
		$post['user_details'] = '
					<b>' . $lang->eztrader_profile . ' </b>
					(<a href="' . $mybb->settings['bburl'] . '/eztrader.php?id=' . $post['uid'] . '">' . ($traderSettings['trader_use_pos_neg'] ? ($tradecount > 0 ? '+' . $tradecount : $tradecount)  : $tradecount)   . '</a>)<br />' . $post['user_details'];

where exactly you want to place that eztrader info ?
Would like it under Reputation.
^ in the plugin file, you can change above referred code like this
// Show the trader info
     /*   $post['user_details'] = '
                    <b>' . $lang->eztrader_profile . ' </b>
                    (<a href="' . $mybb->settings['bburl'] . '/eztrader.php?id=' . $post['uid'] . '">' . ($traderSettings['trader_use_pos_neg'] ? ($tradecount > 0 ? '+' . $tradecount : $tradecount)  : $tradecount)   . '</a>)<br />' . $post['user_details']; 
*/

$post['user_details'] = $post['user_details']  .'
					<br /><b>' . $lang->eztrader_profile . ' </b>
					(<a href="' . $mybb->settings['bburl'] . '/eztrader.php?id=' . $post['uid'] . '">' . ($traderSettings['trader_use_pos_neg'] ? ($tradecount > 0 ? '+' . $tradecount : $tradecount)  : $tradecount)   . '</a>)<br />' ;
Ok I will give that a try in couple hours. Thanks.