SMF Trader System

Started by SMFHacks.com Team, July 12, 2006, 12:35:09 AM

Previous topic - Next topic

Coon_Dog

Quote from: zepfms on January 21, 2008, 12:14:54 PM

It would be very useful if:
1. the two persons (buyer and seller) were visible at the admin approval page (SMF Trader System Settings).

Thanks a lot!

Thanx for the Awsome MOD.  Has anyone figured this out.  I am still messin with.

Thanx Todd

vbgamer45

Quote from: Coon_Dog on February 25, 2008, 05:27:39 AM
Quote from: zepfms on January 21, 2008, 12:14:54 PM

It would be very useful if:
1. the two persons (buyer and seller) were visible at the admin approval page (SMF Trader System Settings).

Thanks a lot!

Thanx for the Awsome MOD.  Has anyone figured this out.  I am still messin with.

Thanx Todd
Good idea
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

syzable

#182
EDIT - No worries, fixed it.

Thanks for a great mod. :)

Shean

Mod beautiful  I do turkish wonderfully does the permission reach :P

MelogKnaj

Quote from: vbgamer45 on February 25, 2008, 08:22:13 AM
Quote from: Coon_Dog on February 25, 2008, 05:27:39 AM
Quote from: zepfms on January 21, 2008, 12:14:54 PM

It would be very useful if:
1. the two persons (buyer and seller) were visible at the admin approval page (SMF Trader System Settings).

Thanks a lot!

Thanx for the Awsome MOD.  Has anyone figured this out.  I am still messin with.

Thanx Todd
Good idea

Seconded, anyone know how to change the code to make this work?

Jessikard

hello, my problem still continous..

it is possible to give another rating for the same topic url...
so members can add rating as much as they want

how can i fix this problem ?

it should only be possible to give 1 rating for one url

could anyone help me please

(i hope my english is good enough to understand what the problem is)

Thx Jessi

syzable

Quote from: Jessikard on March 06, 2008, 04:31:14 AM
hello, my problem still continous..

it is possible to give another rating for the same topic url...
so members can add rating as much as they want

how can i fix this problem ?

it should only be possible to give 1 rating for one url

could anyone help me please

(i hope my english is good enough to understand what the problem is)

Thx Jessi

You can set it so you have to approve all feedback and then you can monitor if anyone is trying to cheat the system and delete their feedback

Coon_Dog

#187
Quote from: zepfms on January 21, 2008, 12:14:54 PM

It would be very useful if:
1. the two persons (buyer and seller) were visible at the admin approval page (SMF Trader System Settings).

Thanks a lot!

I played with a little more and made some headway.  Admin page shows to and from, but to is in the form of a clickable number to profile.  Not sure on pullin that number from database.  It is working perfect no errors in log.

All 4 changes are at the end of the file if you dont have file numbers.  File located in \Themes\default\

All changes done in Trader.template.php

Find around line 436
SELECT f.saletype, f.feedbackid, f.FeedBackMEMBER_ID,  f.topicurl, f.comment_short,
f.salevalue, f.saledate, m.realName

Add after
, f.ID_MEMBER
            
            
Find around line 407
<td class="catbg2" width="55%">',$txt['smftrader_comment'],'</td>
Replace with
<td class="catbg2" width="50%">',$txt['smftrader_comment'],'</td>
<td class="catbg2" width="5%">To</td>

            
            
Find around line 490
echo '<td>'. $mtype . '&nbsp;<a href="' . $scripturl . '?action=profile;u=' . $row['FeedBackMEMBER_ID'] . '">' . $row['realName'] . '</a></td>';
Add before
echo '<td><a href="' . $scripturl . '?action=profile;u=', $row['ID_MEMBER'], '">', $row['ID_MEMBER'], '</a></td>';
            
            
Find around line 507
<td align="left" colspan="6">
Replace with
<td align="left" colspan="7">

These changes were done to version 1.1 of Trader.  I have attached moded file and backup of original with bak in file name.    Use as examples if you like.  Also a screen shot.

It works perfect far as I can tell.  LOL I am be no means a php mysql champ. 


Thanx Todd      

samurai-lupin

There seems to be a bug in the trader system. When I try to access it through the Admin area, I get the following error:

Parse error: parse error, unexpected T_CLASS, expecting ',' or ';' in .../Themes/default/Trader.template.php on line 195

<?php
/*
SMF Trader System
Version 1.1
by:vbgamer45
http://www.smfhacks.com
*/
function template_main()
{
global $txt$db_prefix$context$scripturl$modSettings;

db_query("SELECT feedbackid FROM {$db_prefix}feedback 
WHERE approved = 1 AND ID_MEMBER =" 
$context['traderid'], __FILE____LINE__);
$tradecount db_affected_rows();
db_query("SELECT feedbackid FROM {$db_prefix}feedback 
WHERE approved = 1 AND  salevalue = 1 AND ID_MEMBER =" 
$context['traderid'] , __FILE____LINE__);
$neturalcount db_affected_rows();
db_query("SELECT feedbackid FROM {$db_prefix}feedback 
WHERE approved = 1 AND  salevalue = 0 AND ID_MEMBER =" 
$context['traderid'] , __FILE____LINE__);
$pcount db_affected_rows();
db_query("SELECT feedbackid FROM {$db_prefix}feedback 
WHERE approved = 1 AND  salevalue = 2 AND ID_MEMBER =" 
$context['traderid'] , __FILE____LINE__);
$ncount db_affected_rows();

if($tradecount != 0)
$feedpos =  round(($pcount $tradecount) * 1002);
else
$feedpos 0;

echo 
'
<div class="tborder">
<table border="0" cellpadding="4" cellspacing="1" align="center" class="bordercolor" width="100%">
<tr class="titlebg">
<td height="26">' 
$txt['smftrader_feedbacktitle'] . ' - ' $context['tradername']  . '</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">

<tr>
<td><b>' 
$txt['smftrader_title'] . '</b></td>
<td><b>' 
$txt['smftrader_contact'] . '</b></td>
</tr>
<tr>
<td><b>' 
$txt['smftrader_profile'] . '(' $tradecount ')</b></td>
<td><a href="' 
$scripturl '?action=profile;u=' $context['traderid'] . '">' $txt['smftrader_viewprofile'] . '</a></td>

</tr>
<tr>
<td><b>' 
$txt['smftrader_positivefeedbackpercent']  .   $feedpos '%</b></td>
<td><a href="' 
$scripturl '?action=pm;sa=send;u=' $context['traderid'] . '">' $txt['smftrader_sendpm'] . '</a></td>
</tr>
<tr><td>' 
$txt['smftrader_positivefeedback']  . $pcount '&nbsp;<img src="Smileys/default/smiley.gif" alt="positive" /></td></tr>
<tr><td>' 
$txt['smftrader_neutralfeedback']   .  $neturalcount '&nbsp;<img src="Smileys/default/undecided.gif" alt="netural" /></td></tr>
<tr><td>' 
$txt['smftrader_negativefeedback']   .  $ncount '&nbsp;<img src="Smileys/default/angry.gif" alt="negative" /></td></tr>
<tr><td>' 
$txt['smftrader_totalfeedback']   .  ($pcount $ncount) . '</td></tr>
<tr><td colspan="2"><br /><a href="' 
$scripturl .  '?action=trader;sa=submit;id=' $context['traderid']  . '">' $txt['smftrader_submitfeedback'] . $context['tradername']  . '</a></td>
</tr>
</table>
<hr />
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td>
<a href="' 
$scripturl .  '?action=trader;id=' $context['traderid']  . '">' $txt['smftrader_allfeedback'] . '</a>&nbsp;|&nbsp;<a href="' $scripturl .  '?action=trader;id=' $context['traderid']  . ';view=1">' $txt['smftrader_sellerfeedback'] . '</a>&nbsp;|&nbsp;<a href="' $scripturl .  '?action=trader;id=' $context['traderid']  . ';view=2">' .  $txt['smftrader_buyerfeedback'] . '</a>&nbsp;|&nbsp;<a href="' $scripturl .  '?action=trader;id=' $context['traderid']  . ';view=3">' $txt['smftrader_tradefeedback'] . '</a>
</td>
</tr>
</table>
<hr />
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td class="catbg2" width="5%">'
,$txt['smftrader_rating'],'</td>
<td class="catbg2" width="55%">'
,$txt['smftrader_comment'],'</td>
<td class="catbg2" width="10%">'
,$txt['smftrader_from'],'</td>
<td class="catbg2" width="10%">'
,$txt['smftrader_detail'],'</td>
<td class="catbg2" width="10%">'
,$txt['smftrader_date'],'</td>
<td class="catbg2" width="10%">'
,$txt['smftrader_report'],'</td>
</tr>
'
;

// Check if allowed to delete comment
$deletefeedback allowedTo('smftrader_deletefeed');

// Get the view type
@$view = (int) $_GET['view'];

if(empty($view))
{
$view 0;
}

$result '';
switch($view)
{
case 0:
$result "SELECT f.saletype, f.feedbackid, f.FeedBackMEMBER_ID,  f.topicurl, f.comment_short,
 f.salevalue, f.saledate, m.realName 
 FROM 
{$db_prefix}feedback AS f,{$db_prefix}members AS m 
 WHERE f.ID_MEMBER = " 
$context['traderid'] . " AND f.FeedBackMEMBER_ID = m.ID_MEMBER AND f.approved = 1";
break;
case 1:
$result "SELECT f.saletype, f.feedbackid, f.FeedBackMEMBER_ID,  f.topicurl, 
f.comment_short, f.salevalue, f.saledate, m.realName 
FROM 
{$db_prefix}feedback AS f,{$db_prefix}members AS m 
WHERE f.ID_MEMBER = " 
$context['traderid'] . " AND f.FeedBackMEMBER_ID = m.ID_MEMBER AND f.saletype = 1 AND f.approved = 1";

break;
case 2:
$result "SELECT f.saletype, f.feedbackid, f.FeedBackMEMBER_ID,  f.topicurl, 
f.comment_short, f.salevalue, f.saledate, m.realName 
FROM 
{$db_prefix}feedback AS f,{$db_prefix}members AS m 
WHERE f.ID_MEMBER = " 
$context['traderid'] . " AND f.FeedBackMEMBER_ID = m.ID_MEMBER AND f.saletype = 0  AND f.approved = 1";

break;
case 3:
$result "SELECT f.saletype, f.feedbackid, f.FeedBackMEMBER_ID, f.topicurl, f.comment_short, f.salevalue, f.saledate, m.realName FROM {$db_prefix}feedback AS f,{$db_prefix}members AS m WHERE f.ID_MEMBER = " $context['traderid'] . " AND f.FeedBackMEMBER_ID = m.ID_MEMBER AND f.saletype = 2 AND f.approved = 1";

break;
default:
fatal_error($txt['smftrader_invalidview'], false);
break;
}

$dbresult db_query($result__FILE____LINE__);
while($row mysql_fetch_assoc($dbresult))
{
echo '<tr>';

switch($row['salevalue'])
{

case 0:
echo '<td align="center"><img src="'$modSettings['smileys_url'], '/'$context['user']['smiley_set'], '/smiley.gif" alt="positive" /></td>';

break;
case 1:
echo '<td align="center"><img src="'$modSettings['smileys_url'], '/'$context['user']['smiley_set'], '/undecided.gif" alt="netural" /></td>';
break;
case 2:
echo '<td align="center"><img src="'$modSettings['smileys_url'], '/'$context['user']['smiley_set'], '/angry.gif" alt="negative" /></td>';
break;
default:
echo '<td align="center">'$row['salevalue'], '</td>';
break;
}




if($row['topicurl'] == '')
echo '<td>'$row['comment_short'], '</td>';
else
echo '<td><a href="' $row['topicurl'] . '">' $row['comment_short'] . '</a></td>';

$mtype ' ';
switch($row['saletype'])
{
case 0:
$mtype $txt['smftrader_buyer'];
break;
case 1:
$mtype $txt['smftrader_seller'];
break;
case 2:
$mtype $txt['smftrader_trade'];
break;
default:
$mtype '';
break;
}

echo '<td>'$mtype '&nbsp;<a href="' $scripturl '?action=profile;u=' $row['FeedBackMEMBER_ID'] . '">' $row['realName'] . '</a></td>' echo '<td><a href="' $scripturl '?action=trader;sa=detail;feedid=' $row['feedbackid'] . '">',$txt['smftrader_viewdetail'],'</a></td>';
echo '<td>'timeformat($row['saledate']), '</td>';
echo '<td><a href="' $scripturl '?action=trader;sa=report;feedid=' $row['feedbackid'] .  '">',$txt['smftrader_report'],'</a>';
if($deletefeedback)
{
echo '<br /><br /><a href="' $scripturl '?action=trader;sa=delete;feedid=' $row['feedbackid'] .  '">',$txt['smftrader_delete'],'</a>';
}

echo '</td>';
echo '</tr>';
}
mysql_free_result($dbresult);

echo 
' </table>
</td>
</tr>
</table>
</div>
}

function template_submit()
{
global $txt, $db_prefix, $context, $scripturl;
echo '
<div class=tborder>
<
table border="0" cellpadding="4" cellspacing="1" align="center" class="bordercolor" width="100%">
<tr class="titlebg">
<td height="26" align="center">' . $txt['smftrader_submittitle'] . ' ' . $context['tradername']  . '</td>
</tr>
<tr>
<td class="windowbg">
<form action="' . $scripturl . '?action=trader;sa=submit2" method="post">
<table border="0" cellspacing="0" cellpadding="4" width="100%">

<tr>
<td width="20%"><b>' . $txt['smftrader_whoareu'] . '</b></td>
<td align="left">
  <select size="1" name="saletype">
  <option value="0" selected="selected">' . $txt['smftrader_buyer'] . '</option>
  <option value="1">' . $txt['smftrader_seller'] . '</option>
  <option value="2">' . $txt['smftrader_trade'] . '</option>
  </select>
</td>
</tr>
<tr>
<td width="25%">' . $txt['smftrader_transaction'] . '</td>
<td align="left">
  <select size="1" name="salevalue">
  <option value="0" selected="selected">' . $txt['smftrader_positive'] . '</option>
  <option value="1">' . $txt['smftrader_neutral'] . '</option>
  <option value="2">' . $txt['smftrader_negative'] . '</option>
  </select>
</td>
</tr>
<tr>
<td width="25%">' . $txt['smftrader_shortcomment'] . '</td>
<td align="left"><input type="text" max="100" name="shortcomment" size="75" />
<br />' . $txt['smftrader_shortcommentnote'] . '
</td>
</tr>
<tr>
<td width="25%">' . $txt['smftrader_topicurl'] . '</td>
<td align="left"><input type="text" name="topicurl"  size="75" /></td>
</tr>
<tr>
<td width="25%" valign="top">' . $txt['smftrader_longcomment'] . '</td>
<td align="left"><textarea rows="10" name="longcomment" cols="64"></textarea></td>

</tr>
<tr>
<td colspan="2" align="center"><br />
<input type="submit" value="',$txt['smftrader_submitfeedback2'],'" name="cmdsubmit" />
</td>
</tr>
</table>
<input type="hidden" name="id" value="' . $context['traderid'] . '" />
</form>
</td>
</tr>
</
table>
</
div>
}

function 
template_report()
{
global $txt$db_prefix$context$scripturl;

echo 
'
<div class="tborder">
<table border="0" cellpadding="4" cellspacing="1" align="center" class="bordercolor" width="100%">
<tr class="titlebg">
<td height="26" align="center">' 
$txt['smftrader_reporttitle'] . '</td>
</tr>
<tr>
<td class="windowbg">
<form action="' 
$scripturl '?action=trader;sa=report2" method="post">
<table border="0" cellspacing="0" cellpadding="4" width="100%">
<tr>
<td width="25%" valign="top">'
$txt['smftrader_comment'],'</td>
<td align="left"><textarea rows="10" name="comment" cols="64"></textarea></td>

</tr>
<tr>
<td colspan="2" align="center"><br />
<input type="submit" value="'
$txt['smftrader_reportfeedback'],'" name="cmdsubmit" />
</td>
</tr>
</table>
<input type="hidden" name="feedid" value="' 
$context['feedid'] . '" />
</form>
</td>
</tr>
</table>
</div>
}
function template_detail()
{
global $txt, $db_prefix, $context, $scripturl;


$result = "SELECT f.saletype, f.feedbackid, f.ID_MEMBER, f.FeedBackMEMBER_ID, f.topicurl, 
f.comment_long, f.salevalue, f.saledate, m.realName 
FROM {$db_prefix}feedback AS f,{$db_prefix}members AS m 
WHERE f.feedbackid = " . $context['
feedid'] . " AND f.FeedBackMEMBER_ID = m.ID_MEMBER";

$dbresult = db_query($result, __FILE__, __LINE__);
$row = mysql_fetch_assoc($dbresult);
mysql_free_result($dbresult);


echo '
<div class="tborder">
<
table border="0" cellpadding="4" cellspacing="1" align="center" class="bordercolor" width="100%">
<tr class="titlebg">
<td height="26" align="center">',$txt['smftrader_title'],' ',$txt['smftrader_detailedfeedback'],'</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="4" width="100%">
<tr>
<td width="25%" valign="top">',$txt['smftrader_detailedcomment'],'</td>
<td align="left">' . nl2br($row['comment_long']) . '<br />',$txt['smftrader_commentby'],'<a href="' . $scripturl . '?action=profile;u=' . $row['FeedBackMEMBER_ID'] . '">' . $row['realName'] .  '</a><br /></td>

</tr>
<tr>
<td colspan="2" align="center"><a href="' . $scripturl . '?action=trader;id=' . $row['ID_MEMBER'] . '">',$txt['smftrader_returntoratings'],'</a></td>
</tr>
</table>
</td>
</tr>
</
table>
</
div>
}
function 
template_delete()
{
global $scripturl$db_prefix$context$txt;

$result "SELECT f.saletype, f.feedbackid, f.ID_MEMBER, f.FeedBackMEMBER_ID, 
f.comment_short,  f.topicurl, f.comment_long, f.salevalue, f.saledate, m.realName 
FROM 
{$db_prefix}feedback AS f,{$db_prefix}members AS m 
WHERE f.feedbackid = " 
$context['feedid'] . " AND f.FeedBackMEMBER_ID = m.ID_MEMBER";

$dbresult db_query($result__FILE____LINE__);
$row mysql_fetch_assoc($dbresult);
mysql_free_result($dbresult);

echo 
'
<div class="tborder">
<form action="'
$scripturl'?action=trader;sa=delete2" method="post">
<table border="0" cellpadding="4" cellspacing="1" align="center" class="bordercolor" width="100%">
<tr class="titlebg">
<td height="26" align="center">'
,$txt['smftrader_title'],' - ',$txt['smftrader_deletefeedback'],'</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="4" width="100%">
<tr>
<td width="25%" valign="top">Short Comment</td>
<td align="left">' 
nl2br($row['comment_short']) . '</td>

</tr>
<tr>
<td width="25%" valign="top">'
,$txt['smftrader_detailedcomment'],'</td>
<td align="left">' 
nl2br($row['comment_long']) . '<br />',$txt['smftrader_commentby'],'<a href="' $scripturl '?action=profile;u=' $row['FeedBackMEMBER_ID'] . '">' $row['realName'] .  '</a><br /></td>

</tr>
<tr>
<td colspan="2" align="center"><input type="submit" value="'
,$txt['smftrader_deletefeedback'],'" name="cmdsubmit" /></td>
</tr>
</table>
<input type="hidden" name="feedid" value="' 
$context['feedid'] . '" />
<input type="hidden" name="redirect" value="' 
$row['ID_MEMBER'] . '" />

</td>
</tr>
</table>
</form>
</div>

}

function template_settings() {
global $scripturl, $modSettings, $txt, $db_prefix, $context;


echo '

<table border="0" width="80%" cellspacing="0" align="center" cellpadding="4" class="tborder">
<tr class="titlebg">
<td>' . $txt['smftrader_title']  . ' ' . $txt['smftrader_text_settings'] . '</td>
</tr>
<tr class="windowbg">
<td>
<b>' . $txt['smftrader_text_settings'] . '</b><br />
<form method="POST" action="' . $scripturl . '?action=trader;sa=admin2">
<input type="checkbox" name="trader_approval" ' . ($modSettings['trader_approval'] ? ' checked="checked" ' : '') . ' />' . $txt['smftrader_trader_approval'] . '<br />

<br />

<input type="submit" name="savesettings" value="',$txt['smftrader_save_settings'],'" />
</form><br />';

// Trader Approval listings

echo '
<br />
<table cellspacing="0" cellpadding="10" border="0" align="center" width="90%" class="tborder">
<tr class="catbg">
<td class="catbg2" width="5%">',$txt['smftrader_rating'],'</td>
<td class="catbg2" width="55%">',$txt['smftrader_comment'],'</td>
<td class="catbg2" width="10%">',$txt['smftrader_from'],'</td>
<td class="catbg2" width="10%">',$txt['smftrader_detail'],'</td>
<td class="catbg2" width="10%">',$txt['smftrader_date'],'</td>
<td class="catbg2" width="10%">' . $txt['smftrader_options'] . '</td>
</tr>';
if(!isset($_REQUEST['
pg']))
$page = 1;
else
$page = (int) $_REQUEST['
pg'];




// Get Total Pages
$dbresult = db_query("SELECT COUNT(*) AS total FROM {$db_prefix}feedback WHERE approved = 0", __FILE__, __LINE__);
$row = mysql_fetch_assoc($dbresult);
$total = ceil($row['
total'] / 10);
mysql_free_result($dbresult);


$page--;
if($page < 0)
$page = 0;

$curpage = $page * 10;
//List all ratings waiting for approval
   $dbresult = db_query("
  
   SELECT f.saletype, f.feedbackid, f.FeedBackMEMBER_ID,  f.topicurl, f.comment_short,
 f.salevalue, f.saledate, m.realName 
 FROM {$db_prefix}feedback AS f,{$db_prefix}members AS m 
 WHERE f.FeedBackMEMBER_ID = m.ID_MEMBER AND f.approved = 0 
 
 LIMIT $curpage,10", __FILE__, __LINE__);
while($row = mysql_fetch_assoc($dbresult))
{
echo '
<tr>';

switch($row['
salevalue'])
{

case 0:
echo '
<td align="center"><img src="', $modSettings['smileys_url'], '/', $context['user']['smiley_set'], '/smiley.gif" alt="positive" /></td>';

break;
case 1:
echo '
<td align="center"><img src="', $modSettings['smileys_url'], '/', $context['user']['smiley_set'], '/undecided.gif" alt="netural" /></td>';
break;
case 2:
echo '
<td align="center"><img src="', $modSettings['smileys_url'], '/', $context['user']['smiley_set'], '/angry.gif" alt="negative" /></td>';
break;
default:
echo '
<td align="center">', $row['salevalue'], '</td>';
break;
}




if($row['
topicurl'] == '')
echo '
<td>', $row['comment_short'], '</td>';
else
echo '
<td><a href="' . $row['topicurl'] . '">' . $row['comment_short'] . '</a></td>';

$mtype = ' ';
switch($row['
saletype'])
{
case 0:
$mtype = $txt['
smftrader_buyer'];
break;
case 1:
$mtype = $txt['
smftrader_seller'];
break;
case 2:
$mtype = $txt['
smftrader_trade'];
break;
default:
$mtype = '';
break;
}

echo '
<td>'. $mtype . '&nbsp;<a href="' . $scripturl . '?action=profile;u=' . $row['FeedBackMEMBER_ID'] . '">' . $row['realName'] . '</a></td>';
echo '
<td><a href="' . $scripturl . '?action=trader;sa=detail;feedid=' . $row['feedbackid'] . '">',$txt['smftrader_viewdetail'],'</a></td>';
echo '
<td>', timeformat($row['saledate']), '</td>';
echo '
<td><a href="' . $scripturl . '?action=trader;sa=approve;id=' . $row['feedbackid'] .  '">',$txt['smftrader_approve'],'</a>';


echo '
<br /><br /><a href="' . $scripturl . '?action=trader;sa=delete;feedid=' . $row['feedbackid'] .  '">',$txt['smftrader_delete'],'</a>';


echo '
</td>';
echo '
</tr>';

}
mysql_free_result($dbresult);
if($total > 0)
{
echo '
<tr class="titlebg">
<td align="left" colspan="6">
' . $txt['smftrader_text_pages'];

for($i = 1; $i <= $total; $i++)
{
if($i == ($page+1))
echo '
&nbsp;[<a href="' . $scripturl . '?action=trader;sa=admin;pg=' . $i . '">' . $i . '</a>]';
else
echo '
&nbsp;<a href="' . $scripturl . '?action=trader;sa=admin;pg=' . $i . '">' . $i . '</a>';
}

echo '
</td>
</tr>';
}

echo '
</table><br />
<br />
<b>' . $txt['smftrader_text_permissions'] . '</b><br/><span class="smalltext">' . $txt['smftrader_set_permissionnotice'] . '</span>
<br /><a href="' . $scripturl . '?action=permissions">' . $txt['smftrader_set_editpermissions']  . '</a>

</td>
</tr>
<
tr class="windowbg"><td><b>Has SMF Trader System helped you?</bThen support the developers:<br />
    <
form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="item_name" value="SMF Trader System">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="hidden" name="bn" value="PP-DonationsBF">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" border="0" name="submit" alt="Make payments with PayPal - it is fast, free and secure!" />
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</
form>

</
td>
</
tr>
</
table>';


}
?>

vbgamer45

Issue you removed my copyright link with making payment.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

yuva

Will it Work for SMF 2.0.............??

samurai-lupin

Where I can purchase the copyright removal and how much is it? Thank you

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

TheDisturbedOne

OK I added the MOD, even with the Falied test on the Display.template.php, so how do I add it so that people can see and read feedback on my forum?
Thanks

TheDisturbedOne

Bump
I'm sure this is probably just an easy change to the code, but can somebody help me with it?
I am using the PSP theme.

cme1st2302

Did anyone figure out how to change the wording when feedback, An error has occured

Chris
SMF Version: 1.1.11
SimplePortal Version: 2.3.2

Admin

He who waits for perfect conditions sees nothing!!
If you need help adding a button or tab PM me!!

vbgamer45

Quote from: cme1st2302 on April 16, 2008, 01:08:03 PM
Did anyone figure out how to change the wording when feedback, An error has occured

Chris
Would require a custom template function to do that. Add it to my mod tracker for ideas for the next version.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

PrizeLive.com

Just installed this one, thanks.

Where would I approve a rating? I just submitted one for a member but not sure where to approve it at.

Is there anyway to have them automatically approved if you wanted them to, instead of having to approve them all?
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

vbgamer45

Under Admin -> Trader Configuration

There might be a permission under Admin -> Permissions look for SMF Trader
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

PrizeLive.com

#199
Seems cool but just uninstalled it. Just wanted to check it out. Not for me though.
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

Advertisement: