How do I make IM Album Block Scroll?

Support for IntegraMOD 140

Moderator: Integra Moderator

How do I make IM Album Block Scroll?

PostAuthor: jolin » Thu Jun 22, 2006 3:20 am

Hey Guys,

I saw on a couple of sites that your can make IM Album block scroll the

recent photos and was wondering how to do it as I haven't seen an option

to do make it scroll like there is for the Links block and the Recent topics

Block.

Have I missed something? :xo:

Jane
Last edited by jolin on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

jolin
Newbie
Newbie
 
Posts: 17
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 8:24 am
Cash on hand: 0.00

PostAuthor: Adrian Rea » Thu Jun 22, 2006 4:17 am

http://www.integrmod.com/home/viewtopic.php?p=41231#41231
I would search through the thread before installing.

A
Last edited by Adrian Rea on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 12, 2006 12:59 am
Cash on hand: 0.00

PostAuthor: Adrian Rea » Thu Jun 22, 2006 4:21 am

Just got there first Treat :) Image


A
Last edited by Adrian Rea on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 12, 2006 12:59 am
Cash on hand: 0.00

PostAuthor: Threat009 » Thu Jun 22, 2006 8:30 am

"Adrian Rea";p="9972" wrote:Just got there first Treat :) Image


A

Thanks -A, both 17 after. Looks like you got me by a few seconds :)
Last edited by Threat009 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://i63.photobucket.com/albums/h129/Threat009/donate.gif[/img][/url]
User avatar
Threat009
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 12:48 am
Cash on hand: 0.00

PostAuthor: jolin » Thu Jun 22, 2006 9:35 am

"Threat009";p="9993" wrote:@ jolin, have you tried to clear cache under ACP > IM Portal and Extreme Styles?


Yes I did clear the cache under ACP > IM Portal and I don't use the cache option in extreme styles.

Anyway I cleared all temporary internet files cache and deleted all the cookies as well. But still BLANK album block <img>

Does it work for you just replacing the code in album_block.tpl with the one I posted and putting the .js in the root? I would guess it wont as the code does not refer to look for the .js file in the root but rather in the same directory as the album_block.tpl thus the blocks directory.

(I use album2_block.tpl but I did not see any reference in the code to the album_block.tpl so I guess that's not the problem)

Again does this work for you the way I described?

Is there any other settings I have to do or look for in the ACP?
Last edited by jolin on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

jolin
Newbie
Newbie
 
Posts: 17
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 8:24 am
Cash on hand: 0.00

Re: How do I make IM Album Block Scroll?

PostAuthor: SLY LS1 » Fri Jun 23, 2006 7:23 am

I have this working "sometimes" it seems to have a mind of its own, also the posters details dont show up.

It will work, then I look at the forum or some posts, come back to the portal page and its blank again, tried refreshing and deleting cache etc etc,

Would be good to get this up and running, also make it so the images could scroll horizontal aswell for the centre blocks.

This is the code I used, as you can see I got rid of the posteds details because they didnt work.

<script></script>
<script>
</declare>
</script>
<body>


<table>
<BEGIN>
<tr>
<td><span>{L_NO_PICS}</span></td>
</tr>
<END>
<tr>
<td><span>
<script>
html = '';
<BEGIN>
<BEGIN>
html += '<table>'+
'<tr>'+
'<td>'+
'<a>'+
'<img>'+
'</a>'+
'</td>'+
'</tr>'+
'</table>';
<END>
<END>
// define the horizontal marquee
// 200 pixels high, 160 pixels wide,
//scrolls 1 pixels up each 50 ms
marquee = new xbMarquee('marquee', 100, 125, 1, 50, 'up', 'scroll', html);
marquee.onmouseover = function () { this.stop(); };
marquee.onmouseout = function () { this.start(); };
</script>
</span>
</td>
</tr>
<tr>
<td><span>[ <a>{L_ALBUM}</a> ]</span></td>
</tr>
</table>
Last edited by SLY LS1 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

SLY LS1
Members
Members
 
Posts: 70
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 12:49 am
Cash on hand: 0.00

Re: How do I make IM Album Block Scroll?

PostAuthor: Teelk » Fri Jun 23, 2006 12:22 pm

A much easier way to do this is to just use the marquee tag like the recent articles and links blocks.

Download the attached templates/yourtheme/blocks/album_block.tpl file and overwrite yours, in all templates that you use.
You do not have the required permissions to view the files attached to this post.
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

Re: How do I make IM Album Block Scroll?

PostAuthor: jolin » Fri Jun 23, 2006 4:10 pm

Yes Finally the pretty little images scroll. :wink:

I've tried adding the details but because of the switches they come out after all the images <img>

I wish also it could stop after each image for a moment like here:

http://web.dhjh.tcc.edu.tw/~gzqbyr/Hestia/index.php

Can you add the details to the code? (At least Title)
Last edited by jolin on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

jolin
Newbie
Newbie
 
Posts: 17
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 8:24 am
Cash on hand: 0.00

Re: How do I make IM Album Block Scroll?

PostAuthor: SLY LS1 » Sat Jun 24, 2006 2:26 am

"Teelk";p="10054" wrote:A much easier way to do this is to just use the marquee tag like the recent articles and links blocks.

Download the attached templates/yourtheme/blocks/album_block.tpl file and overwrite yours, in all templates that you use.


Ahh thats much better....
Last edited by SLY LS1 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

SLY LS1
Members
Members
 
Posts: 70
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 12:49 am
Cash on hand: 0.00

Re: How do I make IM Album Block Scroll?

PostAuthor: SLY LS1 » Sat Jun 24, 2006 2:38 am

"jolin";p="10063" wrote:Yes Finally the pretty little images scroll. :wink:

I've tried adding the details but because of the switches they come out after all the images <img>

I wish also it could stop after each image for a moment like here:

http://web.dhjh.tcc.edu.tw/~gzqbyr/Hestia/index.php

Can you add the details to the code? (At least Title)


Ok jolin, heres the code to add the details under each thumbnail, thanks to teelk's download.

Just replace all the code in your album_block.tpl or album2_block.tpl which ever one you use, with the code below.

You can also take bit of the details out buy deleting certin bits of the code.

Code: Select all
<table><BEGIN><tr>     <td><span>{L_NO_PICS}</span></td></tr><END><marquee><BEGIN><BEGIN>     <div><a><img></a></div>  <span>{L_PIC_TITLE}]</span></td></tr></table>
Last edited by SLY LS1 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

SLY LS1
Members
Members
 
Posts: 70
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 12:49 am
Cash on hand: 0.00

Re: How do I make IM Album Block Scroll?

PostAuthor: SLY LS1 » Sat Jun 24, 2006 3:23 am

I kinda like this code, it just has the picture and the pic title all centered.


Code: Select all
<table><BEGIN><tr>     <td><span>{L_NO_PICS}</span></td></tr><END><marquee><BEGIN><BEGIN>     <div><a><img></a></div><div>{L_PIC_TITLE}]</span></td></tr></table>
Last edited by SLY LS1 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

SLY LS1
Members
Members
 
Posts: 70
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 12:49 am
Cash on hand: 0.00

Re: How do I make IM Album Block Scroll?

PostAuthor: jolin » Sat Jun 24, 2006 12:36 pm

Thanks guys,

I told you Im a dumb broad. :wink:

I've tired to see if the code from the original post would work but - nada. nothing <img>
http://www.integrmod.com/home/viewtopic.php?p=58634#58634

Many kisses ..
Last edited by jolin on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

jolin
Newbie
Newbie
 
Posts: 17
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 8:24 am
Cash on hand: 0.00

Re: How do I make IM Album Block Scroll?

PostAuthor: SLY LS1 » Sun Jun 25, 2006 3:02 am

"jolin";p="10123" wrote:As a broad I have to bitch so I'll just say again I wish it would stop for a moment between each picture giving it a news ticker look wish is much nicer and that the loop wouldn't and with a blank like I saw on:

http://web.dhjh.tcc.edu.tw/~gzqbyr/Hestia/index.php

But you always have to leave room for improvements. :idea: how its done
Last edited by SLY LS1 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

SLY LS1
Members
Members
 
Posts: 70
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 12:49 am
Cash on hand: 0.00

Re: How do I make IM Album Block Scroll?

PostAuthor: jolin » Sun Jun 25, 2006 6:35 am

"SLY LS1";p="10173" wrote:Yeah that's crazy, i luv it, hes got them scrolling quick and then stopping, so cool, it must be something in the javascrip, have you asked him :wink:


The java.script used for the block can be downloaded from here:

[url=http]News Ticker Java.script Example code[/url]

If someone could put it in the album_block.tpl it would be great as it doesn't seem complicated at all but I just didn't know how to put the album block images array in the java.script format. <img>
Last edited by jolin on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

jolin
Newbie
Newbie
 
Posts: 17
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 8:24 am
Cash on hand: 0.00

Re: How do I make IM Album Block Scroll?

PostAuthor: SLY LS1 » Sun Jun 25, 2006 6:58 am

"jolin";p="10181" wrote:First of all you spell luv as LOVE. (I'm a romantic girl) :wink:


Lets hope one of these skilled people on here can come up with a soloution, because I have no idea.

Luv SLY
Last edited by SLY LS1 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

SLY LS1
Members
Members
 
Posts: 70
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 12:49 am
Cash on hand: 0.00


Return to IntegraMOD 140

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]