TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 446
  • Total: 446

[Block] SMF Media Gallery Random Picture

Started by Petee, December 14, 2008, 06:02:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vulcan59

Hi IchBin,

Perhaps Marquee tag was not the right choice of words. More like a slide show with a time delay.

I found the code here but how do I put it in the code above to make it work?

bool HaruPage::setSlideShow  ( int $type  , float $disp_time  , float $trans_time  )

Thanks.

IchBin

There is a ton more code than that for a slideshow. I do believe that Dragoon was working on a slideshow code for it not to long ago. You should probably check with him on his site to see if he has anything he can share.

vulcan59

Thanks IchBin. Dragooon does have a Add on SlideShow but I have to pay for that addon. I might just purchase it.

Thanks once again.

Regards.


Lorazz

thank you very much for this. this is exactly what i've been looking for, awesome work :)

MinasC

great block, congrats.
could some stuff be added so that it doesn't look so poor? i mean it could also show the date and time of the item's posting, the number of views and comments, dimensions and description etc.there could be a choice of whether all these things will appear or not. wouldn't that be a good idea?

G6Cad

Offcourse :)  Just go ahead and add in what you think would be great for this snippet to suit your needs  ;)

MinasC

lol i wish i could. that was just a thought, didn't mean anything bad or offensive (if that's what it came out like).

Dark-Wolf

Thank is perfect!  :)
Only a small error with a double alt attribute:
From:
<img alt="" src="',$galurl,'sa=media;id=',$item['id'],';thumb" alt="" />
To:
<img src="',$galurl,'sa=media;id=',$item['id'],';thumb" alt="" /> ;)

juanporro

What can I do with this message?

I put the code on a PHP block and selected the upper block for it and this is what I got.


Fatal error: require_once() [function.require]: Failed opening required '/home7/armyride/public_html/mmp/Sources/Subs-MGallery.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home7/armyride/public_html/mmp/Sources/Load.php(1745) : eval()'d code(48) : eval()'d code on line 3

IchBin

Do you have the media gallery installed?

This website is proudly hosted on Crocweb Cloud Website Hosting.