Coppermine Button and other wrapping fixes!

Started by Goosemoose, February 19, 2005, 01:49:41 AM

Previous topic - Next topic

perplexed

Quote from: Goosemoose on April 26, 2006, 08:49:44 PM
The mosConfig_live_site fix is discussed on the first page of this thread, you will basically need to hard code your url in.
I thought that what I was doing with the code added to display template.  How do I do this? ???

Quote from: Goosemoose on April 26, 2006, 08:49:44 PM
Can you give me the link to one of the 'empty pages' ?
the gallery isnt open to public, just registered members, I could send you a screenshot?

the url for a regular album is
http://www.mysite.com/index.php?option=com_copperminevis&Itemid=50&place=gallery&cat=10162

the greyed out anonymous albums have
http://www.mysite.com/index.php?option=com_copperminevis&Itemid=50&place=gallery&cat=10000

Goosemoose

It looks like the code wasn't copied in correctly as it's hard coding 10000 on there rather than adding 10000 to the original cat id.

perplexed

hmmm see, your code from the first page says

'<a href="' . $mosConfig_live_site . '/index.php?option=com_wrapper&Itemid=66&cat=',

but I dont have the coppermine set up in the wrapper, I have that copperminevis thing lol so I changed your code from com_wrapper to com_copperminevis and it does seem to work for the regular members apart from me and getting all the forum errors, so what should I have done instead?

I dont really know what I'm doing, its all guesswork lol

and those 'anonymous' albums dont belong to anyone so I dont know what to do to get rid of them, its very annoying.  It seems on CPG anonymous is for guests but because I have smf groups, I dont have 'anonymous' in my groups, I have smf guest group and they have no rights.  Am I going to be stuck with these grey albums forever *cries*


Goosemoose

For copperminevis change it to this and note that I hard coded my url (so make sure to change goosemoose.com to your url) to avoid the error log messages:


// Add for personal gallery
echo '
', '<a href="http://www.goosemoose.com/component/option,com_copperminevis/Itemid,210/place,gallery/cat,', $message['member']['id']+10000, '/"/><img border="0" src="' . $settings['images_url'] . '/gallery.gif" width="75" height="35" alt="" /></a><br />';

perplexed

:( I copied it exactly, changing my site address and itemid and I got this:

QuoteNot Found
The requested URL /component/option,com_copperminevis/Itemid,50/place,gallery/cat,10183/ was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

when I clicked on the member gallery link ???



perplexed

can someone tell me how to change this to go to a gallery not using joomla?

I would like a to smf gallery under posts using something like this for members


Goosemoose

If you are using coppermine you would use very similar code, but you'd need be running the SMF-Coppermine bridge.

perplexed

this is the link I want to use but I just dont know how to code it

http://www.mysite.com/testforum/index.php?action=gallery;sa=myimages;u=1

u=1 is the admin so I would need it to go to the correct member gallery

Sorry if this is off topic

NoRad

 $message['member']['id']+10000

That will give you their gallery id.



NoRad


perplexed

Quote from: perplexed on April 05, 2007, 11:24:30 AM
can someone tell me how to change this to go to a gallery not using joomla?

I would like a to smf gallery under posts using something like this for members


Its not for coppermine, I wanted to link to smf gallery.  I asked in another thread and was directed here.

NoRad

The concept of where to add the link is the same, but the link you're going to create is different.

perplexed

I understand that the link will be different but I dont know how to create it, which is why I am here in this thread :)

NoRad

Sorry. I would help but I've never used the SMF Gallery.



Advertisement: