PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old February 28th, 2007, 02:30 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 31
bugs on the SMF integration script [and some fixed]

Hi

You have a bug in your SMF integration script, when no db prefix is used.
Your code is:
Code:
Content visible to verified customers only.
So if the prefix is empty (no prefix at all) your script assume it's "smf_" which is not correct.

This appears a few times on the smf.php file.


I fixed it very easily by simple removing all the "smf_" from the file..


Code:
Content visible to verified customers only.
Please make that change built into future version.

Last edited by omriamos; February 28th, 2007 at 02:41 PM.
omriamos is offline   Reply With Quote
Old February 28th, 2007, 02:41 PM   #2 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 31
HOWEVER,

Now I'm able to login (actually remembered by the cookie) and I even see on he index that I have "30,582 Users 0 posted ads", but the Member List is empty, on when I go to adm-index.php it says: "You are not a valid administrator or moderator!"..
omriamos is offline   Reply With Quote
Old February 28th, 2007, 02:52 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 31
hmm...

I also doesn't have any "post ad" link, and when I go to "Profile" I see myself as a normal user (can contact and rate/feedback myself) and not as a "my profile" page (edit my info etc).

also for some reason the "Register" and "Forgot Password" links go to: "/community//index.php" (for example: http://www.MY-DOMAIN.com/community//...?action=logout) with 2 slashes, while I'm 1000000% confident that there is NO LEADING SLASH AT ALL on the config-intc.php file. nevermind, I looked into the "cp_settings" table on the database and saw it was with a leading slash in there (even though the config file was fine)..

Last edited by omriamos; February 28th, 2007 at 03:21 PM.
omriamos is offline   Reply With Quote
Old February 28th, 2007, 02:59 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
why is that a bug the default smf_ prefix is indeed smf_

Its no big deal to remove it but I dont think anyone has ever tried removing the smf precause cause if you install thats the default prefix

The members list is empty cause no one has uploaded ads yet and your not going to have post an ad links etc till the admin sets permissions in admin edit usergroups

Now as far as your admin login are you the true smf admin not some subgroup?

We on an install set admin access to the default admin account which is usergroup 1 so if you get no admin it is because your not in usergroup 1

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 28th, 2007, 03:13 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 31
Quote:
Originally Posted by Chuck S View Post
why is that a bug the default smf_ prefix is indeed smf_
it's a bug because with the current code it's IMPOSSIBLE to integrate with a "no prefix" installation, this is silly. And the default wasn't "smf_", unless not for people that made their first SMF installation on an older version..

anyway, it doesn't really matter now.


Quote:
Originally Posted by Chuck S View Post
Now as far as your admin login are you the true smf admin not some subgroup?

We on an install set admin access to the default admin account which is usergroup 1 so if you get no admin it is because your not in usergroup 1

Code:
Content visible to verified customers only.
of course I'm an admin (ID_GROUP=1).. :\
The code on adm-index.php is:
Code:
Content visible to verified customers only.
blah, this is annoying..
omriamos is offline   Reply With Quote
Old February 28th, 2007, 03:56 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
The code I posted is right in our smf.php INTEGRATION file

If you installed this correctly then the usergroups are imported.

You can try reinstalling with your modified file of course but I would suspect you do not have admin access here cause your usergroups table is empty cause your smf usergroups where not imported.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 28th, 2007, 04:21 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 31
You are right, my "cp_usergroups" table only have a "guests" group.

I will try to drop everything and do a full install all over again, thanks.
omriamos is offline   Reply With Quote
Old February 28th, 2007, 05:57 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 31
OK, it's working now. thanks!


One more thing though,
SMF's "members" table have a 'memberName' and a 'realName'.
'memberName' is used for the login, but 'realName' is the displayed name.

Can you please guide me on how to make PhotoPost Classifieds display the 'realName' as the member's name, instead of the 'memberName' ?


Thank you!
omriamos is offline   Reply With Quote
Old February 28th, 2007, 08:11 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
wow yeah nothing I can post on here about that since it requires more than just a one line edit.

You can email support@photopost.com and I can try and give you a file that might do that.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 1st, 2007, 09:30 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
I sent you a file
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
bug and fix in editimage Luciano Bugs - vBulletin 3.6x 1 March 5th, 2007 12:57 PM
SMF 1.1 final integration with PP 5.21 climber Photopost Pro How Do I...? 2 December 12th, 2006 11:35 AM
5.2 bug, can you still help me fix? Johnny Doomo Photopost Pro Bug Reports 0 September 4th, 2006 05:29 PM
Possible typo/bug in showphoto + fix(NOT A BUG) Sebbb Photopost Pro Bug Reports 1 July 12th, 2005 07:01 PM
SMF Integration conkhead Before You Buy 1 June 21st, 2005 06:11 PM


All times are GMT -5. The time now is 03:07 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0