Coppermine Button and other wrapping fixes!

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

Previous topic - Next topic

NoRad

This type of page sounds really cool. I was actually searching for something similar to this right now.

I'm sure some of you have heard of MySpace.com ... I'd like to give some members the ability to create their own "band" pages like myspace does, completely with mp3s and all that jazz. I already developed a custom flash player for the frontend that pulls the tracklist from an xml file. It would take a little tweaking, but I think I can make it happen. I was thinking about trying to use a hack on coppermine to handle the files though.

Aravot

#21
Something similar like MySpace, Homepage(s) for members, if you are using Mambo 4.5 you could use lmtg.myhomepages does not work with 4.5.2, if your are using Mambo 4.5.X (1 or 2) User HomePages

Kindred

I dunno about you, but I have the lmtg home pages working with mambo 4.5.2...   I also have the User Home Pages (uhp) working with 4.5.2...

Overall, I think I like UHP better, anyhow.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Aravot

Quote from: Kindred on May 09, 2005, 11:34:11 AM
I dunno about you, but I have the lmtg home pages working with mambo 4.5.2...   I also have the User Home Pages (uhp) working with 4.5.2...

Overall, I think I like UHP better, anyhow.

Than I must be doing something wrong cause I can't get lmtg to work with 4.5.2.1

NoRad


NoRad

Hey, I'm getting a lot of errors in my SMF error log from this hack.

Apply Filter: Only show the errors with the same message
8: Undefined variable: mosConfig_live_site
File: I:\louipimps\forum\Themes\louipimps_v4\Profile.template.php
Line: 399

and line 399:

<a href="' . $mosConfig_live_site . 'index.php?option=com_wrapper&Itemid=43&cat=', $context['member']['id']+10000, '"/><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/gallery.gif" alt="Personal Gallery" border="0"></a><br /><br />


NoRad


Goosemoose

That I know of , it seems that mosConfig_live_site causes problems when people try to access you site directly (not through mambo), this problem has been noted in the general mambo threads and is not really due to the script itself.

NoRad

Hmm... But I have my site setup so that it doesn't let them access the page if that is not defined.

brother7

Quote from: Goosemoose on February 19, 2005, 01:49:41 AM
First, insert the following code into line 46 of wrapper.php in your wrapper components folder.

// pass all except Mambo specific parameters to the wrapper
    $allparams = '?';
             
    if (isset( $_GET['option'] ))
      $workarray = $_GET;
    if (isset( $_POST['option'] ))
      $workarray = $_POST;
             
    reset($workarray);

    while (list($key, $val) = each($workarray)) {
    if (($key != 'option') && ($key != 'Itemid'))
        $allparams = $allparams . $key . '=' . $val . '&';
    }
    $row->url = $row->url . $allparams;
Can someone tell me between which lines should I place this code?  I'm using the latest Joomla 1.0.3 and the wrapper.php file is dated 2005-09-15.  I just want to make sure I'm pasting the code in the right place.  Thanks in advance.

Aravot


perplexed

can we still use this since it hasnt been posted in for a while I just wanted to check?

I am using the new bridge 1.1.3?


perplexed

thanks, should I do this before or after doing the coppermine fetch fix (to stop the admins album showing up)

also fiddling with the wrapper.php does that affect anything else?

Goosemoose

Fiddling with wrapper.php is not neccesary for the other things to work. It will affect anything using the wrapper by not forcing the page to return to the top of the screen after each click.


Goosemoose

Yup, the wrapper part was extra, and not neccessary since you are using coppeminevis

perplexed

#38
Hi

Problem 1:
I got around to trying this today, just by inserting the code in the display template ( my previous posts were checking that I didnt have to touch the wrapper) I changed the wrapper to copperminevis and it seems to work for everyone except me :(

I am the admin and I have that problem where the admin's album shows up in the gallery on no one elses does lol but for this, it takes me to an empty page, so I guess my album is elsewhere?


Problem 2:
I am getting pages and pages of this error in my forum error log:

8: Undefined variable: mosConfig_live_site
File: /home/mysite/public_html/forum/Themes/default/Display.template.php (main sub template - eval?)
Line: 418

Goosemoose

The mosConfig_live_site fix is discussed on the first page of this thread, you will basically need to hard code your url in.

Can you give me the link to one of the 'empty pages' ?

Advertisement: