Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 21, 2013, 11:39:38 pm

Login with username, password and session length
Members
Total Members: 10764
Latest: ozzie4x4
Stats
Total Posts: 32371
Total Topics: 5478
Online Today: 70
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 42
Total: 42
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 Go Down Print
Author Topic: SMF Trader - missing permission / help  (Read 8021 times)
drhamad
Inline PM Customer
*****
Offline Offline

Posts: 49


View Profile
« on: August 13, 2008, 02:06:45 pm »

I just updated SMF Trader on my boards.  I notice that the major difference between what I had and what I upgraded to is the approval / autoapproval of feedback...

I'm looking in the Membergroup Permissions, and there's still only 2 permissions there:
SMF Trader
   Allow submit feedback         
   Allow delete feedback.


The autocomplete permission is missing.

Also, even without the autocomplete permission... how do I approve feedback?

I'm running SMF 1.1.5, and I have as far as I can tell completed all edits to the board required for the Trader system.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10995


View Profile
« Reply #1 on: August 13, 2008, 07:40:27 pm »

The trader approval area is located under Admin -> Trader Settings
There you can enable or disable it.

Under Permissions for SMF Trader there is auto approve for ratings. If it is not probably the old version or an older remain of the old SMF Trader mod is in sources/ManagePermsissions.php
Logged
drhamad
Inline PM Customer
*****
Offline Offline

Posts: 49


View Profile
« Reply #2 on: August 15, 2008, 01:19:04 pm »

Thanks, wow I'm blind.  Found the Trader settings.  That permission is still missing, but I can't see why... all the arrays and such are in the code tha tshould be.  I'll have to go through the code line by line again.  Thanks much.  At least I can manually approve now without going to the database.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10995


View Profile
« Reply #3 on: August 15, 2008, 07:24:23 pm »

Attach your sources/ManagePermsissions.php and I can take a look.
Logged
drhamad
Inline PM Customer
*****
Offline Offline

Posts: 49


View Profile
« Reply #4 on: October 08, 2008, 08:40:25 pm »

Where is this supposed to be?
Code:
<file name="$sourcedir/Subs.php">
<operation>
<search position="before"><![CDATA['edit_settings' => '<a href="' . $scripturl . '?action=serversettings;sesc=' . $sc . '">' . $txt[222] . '</a>',]]></search>
<add><![CDATA[
'trader_settings' => '<a href="' . $scripturl . '?action=trader;sa=admin;sesc=' . $sc . '">' . $txt['smftrader_admin'] . '</a>',
]]></add>
</operation>

</file>

That search position isn't in my Subs.php.  What else is normally around it?

Thanks.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10995


View Profile
« Reply #5 on: October 08, 2008, 11:07:35 pm »

'edit_settings' should be there search for that code since that is the main settings for SMF
Logged
drhamad
Inline PM Customer
*****
Offline Offline

Posts: 49


View Profile
« Reply #6 on: October 09, 2008, 01:36:22 pm »

Well here's a good reason that edit_settings didn't exist: I didn't have a Subs.php.  It had been replaced by an Admin.php file renamed Subs.php.

How the forum could run without Subs.php, don't ask me...
Logged
drhamad
Inline PM Customer
*****
Offline Offline

Posts: 49


View Profile
« Reply #7 on: October 09, 2008, 02:00:32 pm »

Alright, fixing that didn't solve the problem.

Here's my ManagePermissions.php.  I'm not sure what could be wrong here... pretty simple edit.  If you want to see any other files, let me know.

Thanks again.
« Last Edit: October 09, 2008, 02:04:02 pm by drhamad » Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10995


View Profile
« Reply #8 on: October 09, 2008, 07:47:15 pm »

Fixed file permissions attached.
The old smftrader permissions were still in the file.
Logged
drhamad
Inline PM Customer
*****
Offline Offline

Posts: 49


View Profile
« Reply #9 on: October 09, 2008, 11:10:24 pm »

Quite correct sir.  You are the best.
Logged
drhamad
Inline PM Customer
*****
Offline Offline

Posts: 49


View Profile
« Reply #10 on: October 25, 2008, 06:44:47 pm »

Sigh, I'm going to have to bother you again.  Our servers got I love SMF a few days ago, and I'm still trying to resurrect everything.   Trader is currently doing this: 

Quote
An Error Has Occurred!
Unable to load the 'main' template.

Quote
An Error Has Occurred!
Unable to load the 'settings' template.

Etc
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10995


View Profile
« Reply #11 on: October 25, 2008, 07:00:18 pm »

Check that the Trader.template.php is in the Themes/default folder
Logged
drhamad
Inline PM Customer
*****
Offline Offline

Posts: 49


View Profile
« Reply #12 on: October 25, 2008, 11:34:26 pm »

It is Sad
And it's also in Themes/ourtemplate

Could it be some kind of permissioning conflict?  Some of the files on our server are owned by root, some by theuser... I'm not sure why that would matter though.
« Last Edit: October 26, 2008, 11:19:26 am by drhamad » Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10995


View Profile
« Reply #13 on: October 26, 2008, 03:28:29 pm »

Hmm. I would check that both Trader.template.php are the same version of the Trader system.
Logged
drhamad
Inline PM Customer
*****
Offline Offline

Posts: 49


View Profile
« Reply #14 on: November 24, 2008, 05:09:39 pm »

Sigh, still down.  I found some old code that I updated, but the Trader.php and Trader.template.php files are direct uploads from this website.  Everything else seems to directly check out against the v1.2 installer.

Hmm ok I just enabled forum error logging for a minute, and it does actually seem to be a permissions issue:

 MZ6ZoomZoom    Today at 06:13:27 PM
 64.252.164.231      d1d3412ec04f89b7d145a23f9d82bdf7
 http://www.fordfusionclub.com/index.php?action=trader&amp;id=3
2: file_get_contents(/home/ffc/public_html/Themes/default/languages/Trader.english.php) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: Permission denied
File: /home/ffc/public_html/Sources/Load.php
Line: 1772
« Last Edit: November 24, 2008, 05:14:40 pm by drhamad » Logged
Pages: [1] 2 Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 03:27:16 pm]

[Today at 02:20:35 pm]

[Today at 02:11:10 pm]

[Today at 01:18:58 pm]

[Today at 12:22:02 am]

[Today at 12:20:41 am]

[May 19, 2013, 11:13:02 pm]

[May 19, 2013, 08:18:27 pm]

[May 19, 2013, 07:03:27 am]

[May 16, 2013, 10:13:46 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 1.364 seconds with 21 queries.