News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Site Integration Mod

Started by live627, April 29, 2008, 07:45:20 PM

Previous topic - Next topic

Sakae

Quote from: SunKing on May 16, 2008, 12:09:01 AM
Did you make sure to also install the other required mod (found here)?
It's required to run the Site Integration Mod on SMF 1.1.5.

Sorry, I passed by this explanation. Now it's working fine. Ty.
http://www.tigrelog.com.br
l: simple p: machines

[unplugged]

No problem at all.  ;D

Glad I could help.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Nathaniel

Unfortunately the SMF team do not want me to use the ExtraSettings Mod which has code effectively copied straight from SMF 2 beta. This means that you have to use v1.2 of the Mod if you have SMF 1.1.5 until I work out another way of fixing this problem.

This is likely to wait until about the time I start the CustomMenu Mod, in about 4 to 5 weeks time.

Sorry,  :'(
SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

[unplugged]

I was signed in as a regular member earlier and noticed that all of the links that point to integration mod pages just took me back to the homepage. The problem is, I rarely sign in as a regular member, so I only noticed it just now...lol. I have checked to make sure the links were correct, and they were. I have checked to make sure I didn't have anything set up for admins only. I checked through the permissions, but I didn't see anything that would offer clues as to why this is happening. Knowing me, I have probably looked over something really simple (I've done worse).
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Nathaniel

Quote from: SunKing on May 26, 2008, 12:54:49 PM
I was signed in as a regular member earlier and noticed that all of the links that point to integration mod pages just took me back to the homepage. The problem is, I rarely sign in as a regular member, so I only noticed it just now...lol. I have checked to make sure the links were correct, and they were. I have checked to make sure I didn't have anything set up for admins only. I checked through the permissions, but I didn't see anything that would offer clues as to why this is happening. Knowing me, I have probably looked over something really simple (I've done worse).

You have probably not set the permissions for the groups that you want to view the page, for version 1.3 you have to set the permissions for every page, otherwise only the admin can view them. I will make a note of this on the Mod page to make it clearer.
SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

[unplugged]

Setting the permissions has indeed done the trick. I could have sworn I had already set those.  :P

Thanks.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



scvoyager

I can't seem to get this to work. I run a nightlife forum and have seperate web pages for bar and hotel reviews. I copied the barreviews folder to the root with the smf files and folders, changed the html files to php and set the action to the folder barreviews and all it does when you click the action=barreviews is go to the smf home page. Am I missing something?

[unplugged]

"action=" has to point to the files inside the barreviews folder (also make sure you have added the barreviews folder to this list of folders searched by the mod).

Let's say you have two files inside the barreviews folder named thisaction.php and thataction.php. Your action would then be written out as http://www.yoursite.com/yourforum/index.php?action=thisaction and http://www.yoursite.com/yourforum/index.php?action=thataction.

The action name is simply the file name without the ending ".php".
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



scvoyager

Quote from: SunKing on May 29, 2008, 08:00:14 PM
"action=" has to point to the files inside the barreviews folder (also make sure you have added the barreviews folder to this list of folders searched by the mod).

Let's say you have two files inside the barreviews folder named thisaction.php and thataction.php. Your action would then be written out as http://www.yoursite.com/yourforum/index.php [nofollow]?action=thisaction and http://www.yoursite.com/yourforum/index.php [nofollow]?action=thataction.

The action name is simply the file name without the ending ".php".
Thank you for your help. I figured out the problem, my home pages for bar reviews and hotel reviews were named index.html and when I changed them to index.php they would run home to mama (smf home site). I have renamed these files and now everything is working great.

This is a real cool mod...

Nathaniel

#69
Quote from: scvoyager on May 30, 2008, 08:51:51 PM
Thank you for your help. I figured out the problem, my home pages for bar reviews and hotel reviews were named index.html and when I changed them to index.php they would run home to mama (smf home site). I have renamed these files and now everything is working great.

This is a real cool mod...

Thank you, Its actually a really simple mod as well, which makes it a win win situation for everyone. :)

If you have any suggestions for features that you think could be added to it then please feel free to have some input. I will probably do another version of this mod in a few weeks, with an attempt at making version 1.3 work with SMF 1.1.5 as well as any other new features that I think that it could need.

I will also do the Custom Menu Mod then to.
SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

openinteractive

Ive loaded and installed the Site Integration Mod (v.1.2) in my forum SMF v.1.1.5, but cannot find the Site Integration Tab under "Features and settings" section-> "Site Integration" tab.

there simply is no Site Integration Tab. is there something im missing?

Nathaniel

Hmm, it should be there. Are you sure that the mod installed correctly?

It should really be "Features and Options" for smf 1.1.5 if that helps.

The only error that I can think of, would be an error with the installation of the language files. Try visiting the pages direct url ('index.php?action=featuresettings;sa=siteintegration;') for your website, to see if the page is actually there.

I can only recommend that if you can't find it using the direct url and or the tab, then you uninstall the mod and then reinstall it, because some of the language strings may not have installed correctly.

There could also be a problem if you are trying to use this with a language other than English or English-utf8, because these are the only languages with translation strings for this mod. Which language are you trying to view the page in?


SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

Nathaniel

#72
I am happy to announce that I have updated this Mod so the version 1.3 works with SMF 1.1.5 and 1.1.4.

Full changes, v1.3.1:
A minor bug fix, two of the settings had similar names and this created an annoying bug.
Updated version 1.3 so the it supports SMF 1.1.5 and 1.1.4.

Unless there are any more bugs, that will probably the last version of this Mod until I need to update it for the newer versions of SMF 2 Beta. I could also make an update if anyone can think of any other features that it could have, but at this stage I am just happy that the good features are now working for both versions of SMF.

I will however be updating the mod page explanation and putting a few more demo sites up, within the next few days.

Edit: Naturally I have just thought of some more features that this mod could have, they include:
Defining an action/title for the whos online page and etc., so that the user will not be shown as 'viewing unknown', as well as settings for the admin to control this feature.

I will do another update to version 1.4, in a few weeks at the latest, after I can completed some other mods. Any suggestions for new or more advanced features would be most welcome.

Thanks to all,
~LHVWB
SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

jglonek

I'm sorry if this has been mentioned somewhere, but I had a question about how this mod works. It seems like you have to be logged in to pull up any pages with it. I wanted to use it to give a default news page when a user visits the site that is called with this mod, without requiring them to log in to view it. is that possible?

Nathaniel

#74
Yep, you can change the permissions of the included action/file that you want them to view, so that guests can view the page.

You can change permissions for particular included actions/files, by clicking on the 'manage' link which is next to them in the list of included actions/files. This list should be in the Site Integration Settings tab, if you are using SMF 1.1.5 with v1.2 of this mod then please upgrade to version 1.3.1.


Settings are found in the admin panel.
For SMF 1.1.5: "Features and Options" section-> "Site Integration" tab.
For SMF 2.1 Beta: "Configuration" dropdown menu -> 'Modifications' -> 'Site Integration' Tab.

Remember that by default, only admin have the permissions to see the pages, you need to specifiy permissions if you want anyone else to view the pages.
SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

fangweile

hello there,

I installed this mod and works fine.

I want to create an action linked to my coppermine index but I can't find the file in the site integration menu. Is the "index.php" is not included in site integration.

Nathaniel

The index.php file is specifically ignored so that you can have a file called index.php which protects your directory and the files in it. If the name of the file doesn't matter then try renaming it to coppermine.php or something similar, otherwise you can edit the code that the mod changed in SMF's index.php page, you can remove the restriction on line ~357 of that file, I can show you exactly how if necessary.

I would personally recommend trying to find an alternate method of integrating coppermine with SMF however, because its unlikely that you will get the results that you want with this Mod. This mod is not designed to integrate entire software packages into SMF, so it may have some odd results, depending on how coppermine works, although I have never used coppermine so I can't be sure.

There is a tutorial on integrating coppermine with SMF below:
http://www.siteground.com/tutorials/coppermine/coppermine_smf.htm
SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

fangweile

thanks a lot for your reply.

I already integrated my coppermine and smf . I have tried your suggestion but it doesn't work either.
I just want to  make an action for my gallery without redirection.

Nathaniel

If you have tried my suggestions, then the only other solution that I can think of, is the use of an iframe or something similar to load your coppermine site, this might work the best, however you would have to strip the coppermines template so that it can fit into the iframe in the smf template, but its probably possible.  ???

If you did that then you would create a separate file/action called something like coppermine, and then put an iframe on it that shows the coppermines part of your site.

Its nasty but it might just work!  :-\
SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

fangweile

Alright, I already used iframe before but I don't like it's output.
If you look at my gallery here www.allkoreans.net/gallery
You will notice that the active menue is pointed to [home] that is supposed to in the [gallery] button.
I just think that your mod will fix this problem.

Thanks a lot anyway for your suggestions. Really appreciated it. ^_^

Advertisement: