Page 1 of 14

[BETA] - The Blog Mod

PostPosted: Wed Apr 12, 2006 9:30 am
Author: Dragonsys

PostPosted: Wed Apr 12, 2006 9:34 am
Author: Eon
I think this is already in the download section here..

Yeah it is. Is this the same one?

PostPosted: Wed Apr 12, 2006 10:09 am
Author: ayasha
a quick question, did anyone ever figure out how to get the recent blog block to scroll?

PostPosted: Wed Apr 12, 2006 10:18 am
Author: Jason Sanborn
I had it scrolling on my site. I'll look for the code later, and post it here. (Unless someone beats me to it) <img>

PostPosted: Wed Apr 12, 2006 10:24 am
Author: Dragonsys
"Eon";p="1179" wrote:I think this is already in the download section here..

Yeah it is. Is this the same one?


Same MOD, but this is the latest version, which I just released for IM today.

"cleo";p="1183" wrote:a quick question, did anyone ever figure out how to get the recent blog block to scroll?


I never got any answers to my questions about the block, and I have been unable to get it to work properly

[quote=""Jason Sanborn";p="1184""]I had it scrolling on my site. I'll look for the code later, and post it here. (Unless someone beats me to it) ;)

PostPosted: Wed Apr 12, 2006 10:36 am
Author: Jason Sanborn
All I did was to change the block TPL file. I didn't make it so that it could be changed dynamically in the IM Portal section (like you could with topics). I tried to do that, but failed.

I'd have to redownload the Mod to see exactly what was changed, but in the meantime, you can replace all code in the template/fisubice/blocks/blogs_block.tpl with the following code:

Code: Select all
<table>  <tr>      <td><span>       <marquee>       {RECENT_BLOGS}</marquee>     </span></td> </tr> <tr>    <td>    <a>All Blogs</a> | <a>Your Blog</a>    </td> </tr> </table>

Make a backup of the old file before making the change, as usual.

Dragonsys: You might want to offer this as a separate TPL file that can be renamed if someone wants the scrolling box.

PostPosted: Wed Apr 12, 2006 10:51 am
Author: ayasha
wow, thanks Jason, that did it for me, thank you for sharing that so much <img>

and Dragonsys what is updated about it? anything i should need or want to update mine to?

PostPosted: Wed Apr 12, 2006 10:57 am
Author: Dragonsys
[quote=""Jason Sanborn";p="1188""]All I did was to change the block TPL file. I didn't make it so that it could be changed dynamically in the IM Portal section (like you could with topics). I tried to do that, but failed.

I'd have to redownload the Mod to see exactly what was changed, but in the meantime, you can replace all code in the template/fisubice/blocks/blogs_block.tpl with the following code:

Code: Select all
<table>  <tr>      <td><span>       <marquee>       {RECENT_BLOGS}</marquee>     </span></td> </tr> <tr>    <td>    <a>All Blogs</a> | <a>Your Blog</a>    </td> </tr> </table>

Make a backup of the old file before making the change, as usual.

Dragonsys]

Thank you and will do.

PostPosted: Wed Apr 12, 2006 1:22 pm
Author: Eon
Why not on your block variables add scroll,static? Or is that just on tpl files that have that option?

That is how I got my recent topics to scroll, just added the scroll,static line on the block variable, and the 0,1 for the radio buttons and turned it on in the IM Portal Config.

However I am a noob at all this and I was playing around to get my recent topics to scroll and copying the way the links was set up worked..

PostPosted: Wed Apr 12, 2006 1:29 pm
Author: Jason Sanborn
I tried to get that functionality added to the file, but couldn't get it to work. If someone else knows how, that would be great. As it was, that was the only way I could get it to work, due to my own limited knowledge.

PostPosted: Wed Apr 12, 2006 1:31 pm
Author: Eon
ahh. So there is something in the file that triggers that then when you use those variables. I got ya. Could you not maybe compare the block_links.tpl file and see if there was someway to migrate it's method?

PostPosted: Wed Apr 12, 2006 1:34 pm
Author: Jason Sanborn
I suppose it would be possible, but then it would be controlled by the exact same variable, and both would be scrolling or both would be static. The best solution would be to have both blocks be independantly controlled by their own variables within the IM Portal Config page.

Re: [BETA] - The Blog Mod

PostPosted: Wed Apr 12, 2006 1:37 pm
Author: Dragonsys
I tried setting up the block to do that, and I got it all set, but for some reason it does not show in the ACP for that block. I asked questions about it at IM.com, but never got a response. I will post the same question on here as well, see if I get anything now...

PostPosted: Thu Apr 13, 2006 5:41 am
Author: Eon
Where did you set the block up at to do that? In the tpl file? Or in the blocks variables in the IM Portal ACP?

I was saying that if there is some sort of trigger in the links.tpl file that looks for scroll,static, in a certain place to put that in the blog one as well. Not saying that it would be controlled by the links config.

Maybe I should d/l this and play with it. LOL

PostPosted: Thu Apr 13, 2006 5:42 am
Author: Eon
From what I see with me playing with the blcoks on my site, any block can be made to scroll if you add those variables in.