I noticed on the roadmap that it is undecided whether or not you will include a gallery. Is it possible to add an option to integrate Coppermine into Tinyportal?
You can bridge coppermine and SMF. You can then include the coppermine script into an article with PHP. It seems to work very well like that.
There are ways to do tis at SMF, and block code snippets here in the snippets thread.
Quote from: IchBinâââ,¬Å¾Ã,¢ on February 10, 2006, 07:38:59 AM
You can bridge coppermine and SMF. You can then include the coppermine script into an article with PHP. It seems to work very well like that.
I've just installed the bridge with Coppermine and SMF1.1RC2
Could you give me some basic instructions on how to do this.
Thanks
You just said you had done the bridge....?
Quote from: ÂÃ,»cripÂÃ,« on February 11, 2006, 12:02:01 PM
You just said you had done the bridge....?
Sorry, it's the bit about using a script inside an article that I'd like some help with.
Thanks
What is it you want added in an Article?
The gallery perhaps?
The whole Coppermine Gallery?
Quote from: IchBinâââ,¬Å¾Ã,¢ on February 10, 2006, 07:38:59 AM
You can bridge coppermine and SMF. You can then include the coppermine script into an article with PHP. It seems to work very well like that.
According to this post coppermine can be intergrated into an article. I'd like to do that.
A random image perhaps?
I can't advise you about that..sorry..but,
stay tuned in..expertise help is on it's way. :)
I think he mean something like this?
http://www.darkrevolution.org/portal/index.php?action=gallery
You could ask the one who made this site how you can apply the gallry in the portal.
I'm sure SMF has had this CMG discussion and resolved it in many ways, you may wanna check there on Bridging/Portals/et-ceteras..
Wow!
I wish I can do my gallery dat way. :)
Quote from: g6cad on February 11, 2006, 12:20:17 PM
I think he mean something like this?
http://www.darkrevolution.org/portal/index.php?action=gallery
You could ask the one who made this site how you can apply the gallry in the portal.
I'll give him a try.
Thanks
Quote from: ÂÃ,»cripÂÃ,« on February 11, 2006, 12:23:42 PM
Wow!
I wish I can do my gallery dat way. :)
Thats very easy to do on SMF only by creating a custom action. Not tried it for TP, but hey, I may just give it a go.
It would seem all thats done there is to add a SMF action which put the coppermine into a iframe.
This can easily be done in a article, either php or html-based.
I am going to try out Coppermine/SMF brigde, for some of my themes converted over to Coppermine, and will see if coppermine could be included another way in TP. I am sure it will be difficult, since they basically are 2 systems, and do many things double-up as a cause of it.
I think have a new solution:
Enter here http://tpvgames.co.uk/smfgallery/Ã, :)
Comments it now !
Quote from: Bloc on February 11, 2006, 06:28:19 PM
It would seem all thats done there is to add a SMF action which put the coppermine into a iframe.
This can easily be done in a article, either php or html-based.
I am going to try out Coppermine/SMF brigde, for some of my themes converted over to Coppermine, and will see if coppermine could be included another way in TP. I am sure it will be difficult, since they basically are 2 systems, and do many things double-up as a cause of it.
I already use SMF/TP/Coppermine, and itwas pretty easy to getthe 3 working together. I haven't looked at the doubling up of functions or anything, but the bridge works well.
I have had a go with mine in article, but its not brilliant at the moment.. Here (http://www.lesmonds.co.uk/smf/index.php?page=13) ???
Lesmond that might look better if you get rid of the scroll bars in the Iframe and increase the size of the frame.
Just add code like this after the src height="Npx" width="100%" scrolling="no" border="0" where N is the hight you need to fit your gallery in without needing to scroll the frame. This way it will look like it's just part of the site, rather than looking like a frame.
Thanks Wolfenrook
I have the height="1500" now but when you view other pages in the gallery it makes the pages very long!
this is what I have in the article...
<iframe src="http://www.lesmonds.co.uk/cpg/index.php" height="1500" width="100%" Scrolling="yes" border="0"></iframe>
I sorted it should be like this <iframe border="0" frameborder="0" src="http://www.lesmonds.co.uk/cpg/index.php" height="2400" width="100%" Scrolling="no" </iframe>
now what I would like is for it auto fit :)
Lesmond, do a search. There is an auto-resize iFrame code here somewhere. Code Block Snippets I think.
Also, if you reduce the number of rows of images/albums per page, it helps shorten it down.
I found this code on m$ here (http://support.microsoft.com/kb/278469/en-us)
<HTML>
<HEAD>
<SCRIPT LANGUAGE=javascript>
<!--
function reSize()
{
try{
var oBody = ifrm.document.body;
var oFrame = document.all("ifrm");
oFrame.style.height = oBody.scrollHeight + (oBody.offsetHeight - oBody.clientHeight);
oFrame.style.width = oBody.scrollWidth + (oBody.offsetWidth - oBody.clientWidth);
}
//An error is raised if the IFrame domain != its container's domain
catch(e)
{
window.status = 'Error: ' + e.number + '; ' + e.description;
}
}
//-->
</SCRIPT>
</HEAD>
<BODY onload=reSize()>
<iframe onresize=reSize() id=ifrm src=YOUR_PAGE_HERE></iframe>
</BODY>
</HTML>
but it dosent seem to work with FF and not very well with IE, I did take out BODY and head tags though :(
Quote from: gerrymo on April 02, 2006, 04:22:28 PM
Lesmond, do a search. There is an auto-resize iFrame code here somewhere. Code Block Snippets I think.
Also, if you reduce the number of rows of images/albums per page, it helps shorten it down.
Found it Thanks gerrymo, looks better now :) Just that the menu dosent show up right in IE :( oh well cant have everything can we ???