Block for Invision IpDynamiclite

TheTransporter

Joined: 2004-06-06
Posts: 5
Posted: Sun, 2004-06-06 21:37

Hi there,

My first msg on this forum :)
I really love gallery .... there is nothing to say it's a great script.

I wanted to included it into a web portal (Invision ipdynamiclite) but the script from that webpage ( http://www.barcahall.com/gallery-block-random.html ) do not work .... erm it works but it doesn't display photos, it only display highlight of albums.

I wrote en email to the maker of that script but I didn't get any answer.

here is the mail explaining everything:


Hi Jeff,

I'm trying to integrate your piece of code into Invision power board.

I succeded to do it at 75% !!! it only display albums highlight. it
doesn't display any photos.
In standalone it works well, but as soon as I include it in the ipb
code, I only get the album highlight.

Look at the way it is included:

function tmpl_randomimages()
{
include("/home/pol/public_html/spf/random.php");//return $html
global $ibforums;
return <<<EOF
<div class='tableborder'>
~ <div class='maintitle'><{CAT_IMG}>Test</div>
~ <div class='tablepad'>
~  <span class='desc'>$html</span>
~ </div>
</div>
<br />
EOF;
}

Of course I have replace every 'echo' by '$html .=' in your code,
remove <style> code and added a 'return $html;' at the end of the code.

-> http://moi.homeip.net/~pol/ <-

you can see the live website there ... I didn't touch anything since I
wrote this mail. I hope you can help me to get it working.

Thanks alot

 -pol-

Maybe someone can help me ?

There was nobody before who tried to include it in Invision Ipdynamiclite ... that's why I registered to post :p

Ciao

-pol-

 
TheTransporter

Joined: 2004-06-06
Posts: 5
Posted: Sun, 2004-06-06 21:56

I finaly got it working using another script ( http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=10735 )
I tweaked it and I will tweak it more tomorow :p

Stay tuned ! I will post soon a small tutorial on how to do that :p

Ciaoo