• Welcome to Simple Machines Community Forum. Please login or sign up.

SMF Trader System

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

Previous topic - Next topic

ragingazn628

anyone here got this mod working? if so is there an example so I can see because I can't get it to work somehow... if you know how to get it to work please contact me at email ragingazn628@gmail.com or aim bl33ditout628 or msn jaggermister@hotmail.com

ragingazn628

everytime I try to install this mod I get stuck at this page...

http://img148.imageshack.us/img148/1984/errorvt7.png

I press proceed with the correct info and it keeps reloading that page...

TrueSatan

The probability is that your path to SMF is wrong...try entering it in the form:

/home/.hostservername/youraccount/yoursite.com/smfdirectory

clanny

Ok will do so, i have another problem.
Is there a problem with the trader feedback system mod too? because i install it, it did show a half of a screenshot shown at the mod inside a members profile area, but nothing in the configuration area.

I feel like every mod i install there  is a problem, i think its my fourm probem is it?, can check it out i can give u admin access

vbgamer45

Usally occurs if you are using a custom theme or a different language other than english
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

clanny

Hello,
Is there anyway to fix it then?
Custom theme as a theme other then the default theme or the themes already installed in smf right?

This mod only works for default theme? , can it work for the other themes?

vbgamer45

default theme is the only theme that mods are installed to

You can apply the changes manually to other themes using
http://www.smfhacks.com/smf-package-parser.html
This tells you what files need to be edited.
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

clanny

When i go to show:
Which option do I choose  All Edits (default)   ?     or
Only Theme edits (editing a theme to support a mod)  ?

Do I have to do this to every single mod every time on this link so the mod can work for that theme?

Thanks

vbgamer45

 Only Theme edits.
Would need to be done to any mod that modifies a theme.
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

clanny

It says :
Note: If a file does not exist in your theme, it doesn't matter (as the file from the Default theme will be used).

In file Themes/[your theme]/Profile.template.php

I dont have the file profile.template.php so my default theme file will be used for it , does that means that it wont work for this theme or it will work i just skip this step and continue to next step

vbgamer45

It will work just continue next step.
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

clanny

Oh yeah
When i go to  In file Themes/[your theme]/Display.template.php
It says

Find: global $context, $settings, $options, $txt, $scripturl, $modSettings;

Add after:

      global $db_prefix;









My editing is this for the one above, tell me if its correct or correct me if im wrong

global $context, $settings, $options, $txt, $scripturl, $modSettings;global $db_prefix;


Find: // Show the member's primary group (like 'Administrator') if they have one.
      if (isset($message['member']['group']) && $message['member']['group'] != '')
         echo '
                        ', $message['member']['group'], '<br />';

Add after:

      //Start SMF Trader System
      //First do the query for the number of ratings
      db_query("SELECT feedbackid FROM {$db_prefix}feedback WHERE ID_MEMBER ="  . $message['member']['id'], __FILE__, __LINE__);
      $tradecount = db_affected_rows();

      //Show the trader info
            echo '
               <b>' . $txt['smftrader_profile'] . ' </b>
               (<a href="' . $scripturl .  '?action=trader&id=' . $message['member']['id'] . '">', $tradecount, '</a>)<br />';









My editing is this for the one above, tell me if its correct or correct me if im wrong


// Show the member's primary group (like 'Administrator') if they have one.
      if (isset($message['member']['group']) && $message['member']['group'] != '')
         echo '
                        ', $message['member']['group'], '<br />';//Start SMF Trader System
      //First do the query for the number of ratings
      db_query("SELECT feedbackid FROM {$db_prefix}feedback WHERE ID_MEMBER ="  . $message['member']['id'], __FILE__, __LINE__);
      $tradecount = db_affected_rows();

      //Show the trader info
            echo '
               <b>' . $txt['smftrader_profile'] . ' </b>
               (<a href="' . $scripturl .  '?action=trader&id=' . $message['member']['id'] . '">', $tradecount, '</a>)<br />';


clanny

Hey when i  open the displey.template.php file it says:

"You are not using a utf-8 language file. You should not save utf-8 data or you will get corrupted results. Click here to change your language file. "

Do I click there to change it to utf-8 or just leave it.

vbgamer45

That looks good leave it how the file format how it is.
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

clanny

Ok I have done the changes to the display.template.php and saved it, and now i install the trader system mod thru the smf admin center and was installed sucusfully!

But and again, its not showing the trader system mod in the configuration or anywhere in the admin area , and it only show half of the feedback image in the profile listed here http://easyfreezone.com/forum/index.php?action=profile

Hmm???

clanny

Oh yeah btw i just tried switching my template to default and the smf trader system mod still occurs.

I just notice that its the words thats not showing, not the image, example what i mean is at the bottom of this profile http://easyfreezone.com/forum/index.php?action=profile;u=1

So it looks like its more a serious trouble

zepfms

Hello. Very good mod!!

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

Is this mod still under development?

Thanks a lot!

zepfms

Quote from: zepfms on January 21, 2008, 12:14:54 PM
It would be very useful if:
2. and the url field was mandatory

I did it my self :)

1. Add the following line at Trader.english.php (/Themes/default/languages)

$txt['smftrader_errnourl'] = 'You did not enter the URL address.';




2. After the following line
$topicurl = $_POST['topicurl'];
Add the following code at Trader.php (/Sources)

if ($topicurl== '')
{
fatal_error($txt['smftrader_errnourl'],false);
}


zetjee

I need this mod in dutch, what do i have to translate?
couldnt find it.

Please PM me!

zepfms

/Themes/default/languages/Trader.english.php
/Themes/default/languages/Modifications.english.php

Advertisement: