Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
6 - 4 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: Coppermine Photo Gallery Version 1.4.2 Stable
by bigzaphod on 2006/1/20 16:38:10

Another question for PHATBLOKE....when people log into your website, does that login carry over to coppermine when they follow the link (I assume the 2 are bridged)? The reason I ask is the prety much leave xoops, right?
Re: Coppermine Photo Gallery Version 1.4.2 Stable
by bigzaphod on 2006/1/17 22:41:03

OK - I see where you are going, I would still like to get the custom block working, but that's a good start. I was kind of hoping for more integration than the built in bridging offers. Anyone know what bridging does other than 'merge' user databases?
Re: Coppermine Photo Gallery Version 1.4.2 Stable
by Phatbloke on 2006/1/17 21:20:05

Ok a quick start for the theme providing you know basic html.
Basically how i did it and refined it from this.

Open your main page or a page that is rather empty and go view source. Copy all this data to a text file. Now edit all the paths for images so they resolve. ie in your situation something like title.gif would be themes/themename/images/title.gif but since the dirs are dif you need ../themes/themename/images/title.gif

Now once you think thats sussed get rid of everything from your main table so you get a blank table left. In that blank table put in something like the following. I just copied this out of the default template.

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr> <td> </td> <td width="100%" align="center">
<br /> <br />
{SYS_MENU}
<br />
{SUB_MENU}
</td> </tr> </table>
<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td align="center" valign="top"> {LANGUAGE_SELECT_FLAGS}
</td></tr>
<tr> <td align="center" valign="top">
{THEME_SELECT_LIST} {LANGUAGE_SELECT_LIST}
</td> </tr> </table>
<img src="images/spacer.gif" width="1" height="15" alt="" /> <br />
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr> <td align="left" valign="top"> {ADMIN_MENU} {GALLERY} </td> </tr> </table>
</td> </tr> </table>

Then save it as template.html and make a new folder in coppermine themes dir with your theme name. Change the theme in coppermine config to use the one just made. Give it a go, this is very crude and a bit of tweaking will be required unfortunatly. Eventually you will get it sussed provided you know a little html and use of tables.

I'm thinking a default theme could be made that automatically uses XOOPS one although would take a bit of coding. Might have a wee look see how hard otherwise let me know how you go. I you get stuck flick me what you have.

As for the cpmfetch im not sure if it needs to be in the coppermine dir. Try putting it in where i have it /cpg142/plugins/cpmfetch see if it helps
Re: Coppermine Photo Gallery Version 1.4.2 Stable
by bigzaphod on 2006/1/17 20:24:59

OK Phatbloke, I'll start by saying thainks,

I got the main menu link working...that wasn't a biggie and it h elped me learn about using the templates better. My next question is, I have visited your site and your gallery seems to be almost completely integrated, or skinned, how the hell did you do that? That's what I'm really looking for. I understand it may be a lot to ask but what you have done is exactly what I'm trying to accomplish, but I haven't found instructions or forums on how to do that yet....thanks!

I also tried your custom block, but with no success. Coppermine is installed in root, folder name cpg142. cpmfetch is installed under xoops/cpmfetch...and here are the error messages I get

Fatal error: Cannot instantiate non-existent class: cpm in /home/content/*/*/*/*****/html/xoops/html/modules/system/blocks/system_blocks.php(40) : eval()'d code on line 2
Warning [PHP]: Unknown(/cpmfetch/cpmfetch.php): failed to open stream: No such file or directory in file /home/content/*/*/*/*****/html/xoops/html/modules/system/blocks/system_blocks.php(40) : eval()'d code line 1
Warning [PHP]: Unknown(/cpmfetch/cpmfetch.php): failed to open stream: No such file or directory in file /home/content/*/*/*/*****/html/xoops/html/modules/system/blocks/system_blocks.php(40) : eval()'d code line 1
Warning [PHP]: (null)(): Failed opening '/cpmfetch/cpmfetch.php' for inclusion (include_path='.:/usr/local/lib/php') in file /home/content/*/*/*/*****/html/xoops/html/modules/system/blocks/system_blocks.php(40) : eval()'d code line 1

So, anyone that can help, it would be appreciated. I am learning and promise to pass it on when I get it down :)

Thanks guys!
Re: Coppermine Photo Gallery Version 1.4.2 Stable
by Phatbloke on 2006/1/17 15:30:21

Hi

I think off hand it can be anywhere as long as the domain is the same. For example you cant have it as http://photogallery.mysite.com and http://xoops.mysite.com but http://mysite.com/photogallery/ and http://mysite.com/xoops/ are fine.
So using relaitve paths will make it work fine. Good luck with the themes if you need more help let me know. I have had some luck making the menus 'semi' dynamic but its still not 100%

Who's Online

122 user(s) are online (67 user(s) are browsing Support Forums)


Members: 0


Guests: 122


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits