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

0 Members and 1 Guest are viewing this topic.

Offline AntiNSA2

  • Hero Member
  • *****
  • Posts: 774
  • As long as I can finish my site before I die.
    • View Profile
    • http://www.thelifephotography.com
Re: [MOD] SMF integration
« Reply #60 on: May 04, 2009, 04:56:31 PM »
Thanks for your help.  I appreciate you trouble shooting this. Unfortunately that mod was one from kurt who is now gone and he took all his mods with him. I can attach my sessions.php amd functions if it helps---


Thanks again-
As long as I can finish my site before I die.

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] SMF integration
« Reply #61 on: May 05, 2009, 01:48:38 AM »
Thanks for your help.  I appreciate you trouble shooting this. Unfortunately that mod was one from kurt who is now gone and he took all his mods with him. I can attach my sessions.php amd functions if it helps---


Thanks again-


looked over your files but did not see anything unusual about them. The variables do not seem to overlap...
Can not tell for sure without actually installing the starrating mod  :(
If anyone can get me any info on that mod for me to place on my test site to see what is conflicting, that would be great!
I know that the star ratings seem very important for almost every 4images site. Not sure if Kurt was behind all of them or if there are any left. The one I used was the hover line thing in the details page. Not sure who created it. It has been installed for awhile now. Have not touched that part of the code and it works fine with the SMF mod at my site.
I do not have the ratings for thumbnails, kinda wish I did but not high on my list of things to do....

AntiNSA2,
Sorry I could not help
Buddy Duke
www.budduke.com

Offline AntiNSA2

  • Hero Member
  • *****
  • Posts: 774
  • As long as I can finish my site before I die.
    • View Profile
    • http://www.thelifephotography.com
Re: [MOD] SMF integration
« Reply #62 on: May 05, 2009, 04:24:35 AM »
no problem... It looks as though I am going with the vbulletin forum... Thanks for you help and effort-
Robert
As long as I can finish my site before I die.

Offline honda2000

  • 4images Guru
  • *******
  • Posts: 3.263
    • View Profile
    • Wir machen Internet!
Re: [MOD] SMF integration
« Reply #63 on: May 14, 2009, 09:01:47 PM »
Jetzt hab ich 5 Seiten gelesen, SMF find ich ja eh klasse, sieht man ja an diesem Forum, darum meine Frage:
Öffnet sich SMF immer als externe Seite, oder wird das so eingebunden, wie das Dreamboard??

Gibt es mal paar Links zu Seiten, wo SMF als Brindge von 4images aus, eingebunden ist??

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] SMF integration
« Reply #64 on: May 14, 2009, 09:07:23 PM »
Jetzt hab ich 5 Seiten gelesen, SMF find ich ja eh klasse, sieht man ja an diesem Forum, darum meine Frage:
Öffnet sich SMF immer als externe Seite, oder wird das so eingebunden, wie das Dreamboard??

Gibt es mal paar Links zu Seiten, wo SMF als Brindge von 4images aus, eingebunden ist??

google translated to this...
Quote
Now I've read 5 pages, SMF find ich ja klasse anyway, so you can see on this forum, so my question:
SMF always open an external site, or is so involved, such as the Dream Board?

Are there times some links to pages where SMF Brindge by 4images than that is involved?
Still not sure what you are actually asking?
Buddy Duke
www.budduke.com

Offline honda2000

  • 4images Guru
  • *******
  • Posts: 3.263
    • View Profile
    • Wir machen Internet!
Re: [MOD] SMF integration
« Reply #65 on: May 25, 2009, 02:30:27 PM »
hi,
in http://vgb.org.ru/download downloadfolder
are:
smf_api_2.php
smf_api_2_examples.php
smf_api_subs.php


but here > http://www.4homepages.de/forum/index.php?topic=22672.0
Code: [Select]
//MOD SMF integration
require(ROOT_PATH.'../../forums/smf_api_2.php'); //change paths to your forums directory
require(ROOT_PATH.'../../forums/smf_api.php');     //change paths to your forums directory
global $smf_settings, $smf_user_info;
//END MOD SMF


load
smf_api_2.php
 and
smf_api.php

in Root-Folder from the Gallery-Folder
But, where is the smf_api.php??

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] SMF integration
« Reply #66 on: May 25, 2009, 03:56:31 PM »
in Root-Folder from the Gallery-Folder
But, where is the smf_api.php??

near top of my post it is listed... (not very clear... will modify it better for future)

http://www.simplemachines.org/download/?tools
download the smf api file and place it in the root of your smf forum (mine is root\forums)
It is called SMF 1.1.x API on their site...


Buddy Duke
www.budduke.com

Offline honda2000

  • 4images Guru
  • *******
  • Posts: 3.263
    • View Profile
    • Wir machen Internet!
Re: [MOD] SMF integration
« Reply #67 on: May 25, 2009, 04:02:40 PM »
Thanks a lot, i will test it!
Test why i have:
4images Version 1.7.7
and SMF version 1.1.9

In the first installtion, the first login wars perfect. But when in logged out, an logged in, is wars not successfully and possible
We will see... :wink:

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] SMF integration
« Reply #68 on: May 25, 2009, 04:38:12 PM »
Thanks a lot, i will test it!
Test why i have:
4images Version 1.7.7
and SMF version 1.1.9

In the first installtion, the first login wars perfect. But when in logged out, an logged in, is wars not successfully and possible
We will see... :wink:

I just updated my gallery to 1.7.7 and SMF to 1.1.9 this morning and running a bunch of tests to make sure everything is still working. I logged in/out a few times without any issues...

I do know of one bug with my mod that is you log out of the admin panel it does not log you out of the forum.
I just know not to logout of admin and logout at the main user login/out screen instead....
Buddy Duke
www.budduke.com

Offline honda2000

  • 4images Guru
  • *******
  • Posts: 3.263
    • View Profile
    • Wir machen Internet!
Re: [MOD] SMF integration
« Reply #69 on: May 26, 2009, 10:10:13 AM »
 :lol: :lol:
lets see, when you will be finished and it functions!

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] SMF integration
« Reply #70 on: May 26, 2009, 03:19:23 PM »
:lol: :lol:
lets see, when you will be finished and it functions!

Have not heard of anyone saying it does not work...
I did not create the API's that are doing all the work. It has been working fine on my site since my first post in this topic. I only showed everyone how to integrate the API's so they will login-out the forums when you login-out of 4images. The admin panel was an oversight. I seldom logout at that panel anyway so have not seen a reason to find it logout routine but may look into it.
I wish 4images made some kind of API inteface to talk with the rest of the world of products that are out there. I feel 4images is the best and for my taste SMF is the best forum so they should be together in some way.

My big projects are starting to wind down so I may have some extra time this summer to work on it again, My only fear is that 4images would come out with a whole new and better system before I get done and all the work goes down the drain. SMF is still in beta on thier version 2 so will have to look at things deaper.

Sorry for the rant,
Question for everyone, are they wanting the gallery to be inside of SMF or the other way around or is everyone wanting them to be thier own pages just usernames to be the same?
Buddy Duke
www.budduke.com

Offline honda2000

  • 4images Guru
  • *******
  • Posts: 3.263
    • View Profile
    • Wir machen Internet!
Re: [MOD] SMF integration
« Reply #71 on: May 26, 2009, 04:44:49 PM »
In Version 1.7.7 it is dosn´t wort!
i hav a problen in:
4images:
includes/session.php near line 170 an line 156
SMF:
in Sources/Profile.php or in Themes/default/Profile.template.php

A new user in 4images on CP > Adminstrator is a User (Level 0) in SMF not Level 1 = Administrator

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] SMF integration
« Reply #72 on: May 27, 2009, 01:22:10 AM »
In Version 1.7.7 it is dosn´t wort!
i hav a problen in:
4images:
includes/session.php near line 170 an line 156
SMF:
in Sources/Profile.php or in Themes/default/Profile.template.php

A new user in 4images on CP > Adminstrator is a User (Level 0) in SMF not Level 1 = Administrator

What is the error in the session.php and profile.php or the profile.template.php files?

The permissions question...
Yes, you are correct. I believe it is in the api that way by design. The permissions are handled independently of just actually creating an account. I liked it that way because I would not necessarally want the admin of the gallery to be an admin on the message boards. I preferred making my own decisions in that area. So yes, you still have to handle permissions on each database.
All it does is make them a normal user in the API using the username/password they created on the 4images side so you do not have to recreate the account on the SMF side. I did not design it that way. All I do is go into the smf admin area and upgrade people that I wish to but I can see where if you have allot of people it would become a bother.

I do not know how the other bridges/connectors handle this information and I have no desire to buy vbulletin to find out.
For being free, I am happy how this mod turned out. Will think about your ideas when I get more time to look into the code more.

Buddy Duke
www.budduke.com

Offline honda2000

  • 4images Guru
  • *******
  • Posts: 3.263
    • View Profile
    • Wir machen Internet!
Re: [MOD] SMF integration
« Reply #73 on: May 27, 2009, 11:37:16 AM »
I work and get it probably also!
Result become I naturally post.
I do not give up!

worldce

  • Guest
Re: [MOD] SMF integration
« Reply #74 on: July 13, 2009, 11:14:09 AM »
Thanks budduke. it's very good mod. it works. i have problem only login and logout. So i will do iframe like you. But i hope there will be no problem next. Thanks again.