Page 1 of 1

(SOLVED)Question about the links Block

PostPosted: Fri Jul 06, 2007 2:14 am
Author: Watcher
I need to find out if theres a way to use a center block and have the link buttons scroll side ways. i have seen it on other sites but i dont know if intraga mod block can do it?

Re: Question about the links Block

PostPosted: Sun Jul 08, 2007 1:23 pm
Author: Watcher
guess no one has any idea about how to do this??

Re: Question about the links Block

PostPosted: Sun Jul 08, 2007 2:01 pm
Author: Karl-D
I would also like that one, very useful

Re: Question about the links Block

PostPosted: Tue Jul 10, 2007 3:09 pm
Author: .QUACK.Major.Pain
I am not that good at this but Helter helped me with creating a scrolling photo album.
You can see my scrolling photo album at http://www.aaquacks.com

Backup your files before you change them.

This is should give you the proper scrolling.
You can see the results of the change on my site here: http://www.myfriendsareyourfriends.com/forum/portal.php

OPEN: root/templates/integra2/blocks/links_block.tpl

REPLACE EVERYTHING WITH THE FOLLOWING:

<table>
<tr>
<td><span>
<BEGIN>
<br>
<marquee>
<div>
<BEGIN>
<a><img></a>
<END>
</div>
</marquee>
<END>
<BEGIN>
<BEGIN>
<br><a><img></a><br>
<END>
<END>
</span></td>
</tr>
<BEGIN>
<tr>
<td><br><a><img></a></td>
</tr>
<END>
<tr>
<td><br></td>
</tr>
</table>


Make sure to edit all the templates you are using.

You can change the spacing between links by changing [ hspace="20" ]
You can change the scroll speed by changing [ scrolldelay="0" ] I couldn't get it to match the users online speed. Someone else maybe can figure that out.

When done, save and upload.

Then you will have to goto ACP>IM Portal>Delete Cache Files (This will make it take affect right away)

Hope this helps - Surprising what a novice can do when he plays around LOL.

Re: Question about the links Block

PostPosted: Tue Jul 10, 2007 4:11 pm
Author: tmotley
That looks exactly like what watcher requested. Good work.

NOTE: Fixed...

Re: Question about the links Block

PostPosted: Tue Jul 10, 2007 4:16 pm
Author: .QUACK.Major.Pain
Thanks tmotley for the correction on the extension. Sometimes the fingers are going faster than the brain can keep up. LOL

I edited my post with the correction.

PostPosted: Tue Jul 10, 2007 6:12 pm
Author: viragotech
instead of editing an original file couldn't ya just make a new center block n dump that code into it?

Re: Question about the links Block

PostPosted: Tue Jul 10, 2007 7:26 pm
Author: .QUACK.Major.Pain
If you don't want to change the existing file, then open that file, make the change, and save it as links_block2.tpl
This will create a second option.

Then create a new block and select links block2 instead of link block.
Or you can open the original block and just change it to link block2.

Now your have 2 choices.

I hope I'm correct on that.

Re: Question about the links Block

PostPosted: Tue Jul 10, 2007 7:33 pm
Author: Watcher
I would like to thank you .=QUACK=.Major.Pain, this worked perfect heres a link
http://worldofarkania.net/Watchers_Art/portal.php?

by the way what block tpl did you use on the portal page, where you have 2 right hand block colums. very differant. I like it!
would look better if the center block would not strech the right hand blocks off the screen. i think the ticker thing you have in the header bar is causeing it to strech the page out, just a thought.
By the way thanks.............. <img>

PostPosted: Tue Jul 10, 2007 9:31 pm
Author: Michalis
That links scroller side to side is much better
even on a small block on left or right of forum instead of center block.
I must say thanx very much for this tip, it has come in useful.

Tho I would like to ask how did u manage to get the photo album to scroll as this is something I would like
to try out. As I have my album on center block.
I would like to see that scroll from side to side.
Can u offer help on this too. thanx

Re: (SOLVED)Question about the links Block

PostPosted: Wed Jul 11, 2007 4:39 am
Author: .QUACK.Major.Pain
To get 2 right side columns, your page needs to be setup as a portal page config. You get header, footer, right, center placement.

For the photo album, same idea.
Add the following line at the top of the album.tpl
<marquee>

In your ACP>IM Portal>configuration
You can change the # of pics displayed and change any other settings you want.

NOTE: I have found the more pics you display, the longer the page load causing severe lag issues.

I set mine to 5 pictures and set it to display random pictures.
So every refresh gives 5 new pictures.
No more loading issues.