Author Topic: [MOD] SMF integration  (Read 137562 times)

0 Members and 2 Guests are viewing this topic.

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] SMF integration
« Reply #90 on: October 09, 2009, 10:38:31 PM »
OUCH!
I have a major problem!

Spam was posted on the smf forum by someone NOT registered on the Gallery site.

I believe every visitor to smf is open to posting
Did you fix this problem?
I believe that setting is also on the smf side. I believe when you did the repair it may have reset who was allowed to post.
Buddy Duke
www.budduke.com

Offline www.salamoz.com

  • spam suspect
  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: [MOD] SMF integration
« Reply #91 on: November 20, 2009, 07:41:20 AM »
thank u  :roll:

Offline metal_13

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: [MOD] SMF integration
« Reply #92 on: July 12, 2010, 01:23:56 AM »
i wanna know...whats the main user database? from smf or 4images?  :o

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] SMF integration
« Reply #93 on: July 12, 2010, 11:51:28 AM »
i wanna know...whats the main user database? from smf or 4images?  :o
Actually both...
The databases remain seperate and the only link between the two are the username/password accounts
But if you do all the modifications you will see that all login/logouts are removed from the SMF side so I guess
you can say that 4images database is in control because that is the one you login/out in first.
Buddy Duke
www.budduke.com

Offline Loda

  • Sr. Member
  • ****
  • Posts: 353
    • View Profile
    • Fotosucht Schweiz
Re: [MOD] SMF integration
« Reply #94 on: September 26, 2010, 06:51:55 PM »
hy,
i found in error:
if i add a new user via acp, a get an error message:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.smf_settings' at line 2

any help for me?

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] SMF integration
« Reply #95 on: September 26, 2010, 09:27:47 PM »
hy,
i found in error:
if i add a new user via acp, a get an error message:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.smf_settings' at line 2

any help for me?

I never have added users in the ACP and you are right, I never added anything in that area...
give me a few days to look over the code and see what I can do.

I am planning on sitting down a rewriting this MOD to be a little more friendly and less trouble on the SMF side, and interacting without the IFRAME being needed but that will take allot of time to think about that one.
Buddy Duke
www.budduke.com

Offline juewei

  • Full Member
  • ***
  • Posts: 162
    • View Profile
Re: [MOD] SMF integration
« Reply #96 on: February 09, 2011, 09:50:21 PM »
Problem

Hallo ich habe das Froum in www.xxxx.de/forum

also im selben Verzeichniss wie  4images
www.xxxx.de

jetzt schaffe ich es nicht dieses hier anzupassen

//MOD SMF integration
require(ROOT_PATH.'/forum/smf_api_2.php'); //change paths to your forums directory
require(ROOT_PATH.'/forum/smf_api.php');     //change paths to your forums directory
global $smf_settings, $smf_user_info;
//END MOD SMF

wie muss es sein, damit es geht?

Danke



Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] SMF integration
« Reply #97 on: February 11, 2011, 12:00:05 AM »
@ juewei,
If I google translated correctly, You gallery is in the root of your domain and your forum is in a subfolder on that domain?

If that is correct then this should work...
//MOD SMF integration
require(ROOT_PATH.'../forum/smf_api_2.php'); //change paths to your forums directory
require(ROOT_PATH.'../forum/smf_api.php');     //change paths to your forums directory
global $smf_settings, $smf_user_info;
//END MOD SMF

You needed the ../ at the beginning to get back to the root from the "includes" folder...

Hope that helps!
Buddy Duke
www.budduke.com

Offline haider512

  • Full Member
  • ***
  • Posts: 153
    • View Profile
Re: [MOD] SMF integration
« Reply #98 on: February 17, 2011, 01:21:44 PM »
so will it work if i do like this..

www.cusitlibrary.com is my library. and i want to have forum on
www.cusitlibrary.com/forum

it can work like this..and is it working with smf latest version??

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] SMF integration
« Reply #99 on: February 18, 2011, 12:32:18 AM »
so will it work if i do like this..

www.cusitlibrary.com is my library. and i want to have forum on
www.cusitlibrary.com/forum

it can work like this..and is it working with smf latest version??

Yes, it should.

The version of SMF on my site is 1.1.9
I did not see any reason why it would not work for 1.1.13 but have not tested it myself...
the 2.0 is still in beta but must be getting close. I do not think it will work on that version. I have not researched it as of yet.
I may have to dive back into it again and see if I can make it easier to connect. No ETA on that though
Buddy Duke
www.budduke.com

Offline haider512

  • Full Member
  • ***
  • Posts: 153
    • View Profile
Re: [MOD] SMF integration
« Reply #100 on: February 20, 2011, 08:44:42 PM »
Hello sir i just recently checked your website..
i think its on iframe.. is it possible to integrate without iframe..

actually if i click anytopic the link on top dosent change..

http://www.budduke.com/forums.php

is it possibe to integrate 4images with smf..but without iframe thing..

actually like this we have dynamic link thing..like
http://www.budduke.com/forums/index.php?board=2.0

we can point some one to board or anything..

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] SMF integration
« Reply #101 on: February 20, 2011, 11:49:22 PM »
@ haider512,
I wish I could give you an answer one way or the other, I saw how you links worked on your site.
The iframe worked for my layout.
I did not know how to add the button/tab to my forum layout to get back to the 4images gallery so that is why I decided to go with the iframe.

I would think as long as you are in the same browser window and session, you should be able to bounce back and forth between the two but I have never tried it.

That is why I am planning on looking into this deeper in the future to make it more compatible. When I made this mod, it was to fill the need of my site. I am understanding how the mods work on the smf side better and how to make them so I hope the next version you can have a forum site and a gallery site with links between the two, but that will not be happening very soon,  :(
Buddy Duke
www.budduke.com

Offline haider512

  • Full Member
  • ***
  • Posts: 153
    • View Profile
Re: [MOD] SMF integration
« Reply #102 on: February 21, 2011, 07:29:30 PM »
I would think as long as you are in the same browser window and session, you should be able to bounce back and forth between the two but I have never tried it.

That is why I am planning on looking into this deeper in the future to make it more compatible. When I made this mod, it was to fill the need of my site. I am understanding how the mods work on the smf side better and how to make them so I hope the next version you can have a forum site and a gallery site with links between the two, but that will not be happening very soon,  :(

its ok..no problem..its really good to see some one trying and working on integration..and many many thanks for this integration..i guess i will have to work on the template of smf later.. i have been in smf before for year or something like this.. SMF is very good and very user friendly..Its just im stuck in university life so not getting much time.. But sir superb superb thanks for integration you have brought to us.. Will be looking forward to more features soon to your integration MOD..you are doing awesome JOB..