vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   scrolling news block addon for vbAdvanced (https://vborg.vbsupport.ru/showthread.php?t=60135)

tomshawk 01-12-2004 10:00 PM

scrolling news block addon for vbAdvanced
 
[Edit]
Updated Instruction file: The block now looks like the rest of the homepage and not just a box.

Updated Instruction file for changing newsfeed from rss to JavaScript

Thank you SnowBot for helping me figure out I forgot to do that ;)[/Edit]

This is an addon for vbAdvanced, I dont see a board for portal add-ons, so I hope this will do.

This is a scrolling moreover newsfeed center block for your homepage

This hack was Originally conceived by cadalist for vbPortal
http://www.vbportal.com/forums/showt...&threadid=7954, (sorry only premium members of vbPortal can visit it)

I've tryed to contact cadalist, but it appears he does not visit vbPortal anymore At least according to managment there, also his site does not exist anymore globaltronix.com At least it did not at the time of posting this.

It has been adapted to work with vbAdvanced by me, Tomshawk
First thing you need to do, if you want to use this

Go here and sign up for an account, otherwise you will be breaking moreover copyright, (It's worth it to give your users the content though)

Instructions in the zip file

screenshot: Sorry kind of hard to screenshot something scrolling http://www.vbulletin.nl/community/im...ies/tongue.gif

Demo: See it in action here http://www.tomshawk.com

I hope you like

Xenon 01-12-2004 11:18 PM

*moved into addon section*

tomshawk 01-12-2004 11:31 PM

Quote:

Originally Posted by Xenon
*moved into addon section*

Thank you Xenon, I was not sure ;)

SnowBot 01-13-2004 12:35 AM

Great adition to a great portal :) top work Tony, THANKS

[high]* SnowBot installs[/high]

tomshawk 01-13-2004 12:37 AM

Quote:

Originally Posted by SnowBot
Great adition to a great portal :) top work Tony, THANKS

[high]* SnowBot installs[/high]

It's Tom, and Your quite Welcome :D I'm glad you like it

SnowBot 01-13-2004 01:19 AM

Quote:

Originally Posted by tomshawk
It's Tom, and Your quite Welcome :D I'm glad you like it

hehehe :) yer i knew that, its 3.20am and i guess the old brain isnt working to good.

BTW can this be put on another vb page like forumhome ?

tomshawk 01-13-2004 01:29 AM

Quote:

Originally Posted by SnowBot
hehehe :) yer i knew that, its 3.20am and i guess the old brain isnt working to good.

BTW can this be put on another vb page like forumhome ?

I wouldn't want to say for sure without testing it first, but at first glance, I'd say yes.

I'd recommend putting the

PHP Code:

 $moreover 

from step 5

above

<! --main-->

in the forumhome template

SnowBot 01-13-2004 04:49 AM

I tried changing the URL for another feen but cant seemto solve it.

this is the feed id like but when i put that in the template nothing happens
http://p.moreover.com/cgi-local/page?c=Jokes&o=rss

The one you have works fine, i noticed that your url / rss does not have the =rss

tomshawk 01-13-2004 06:03 AM

Quote:

Originally Posted by SnowBot
I tried changing the URL for another feen but cant seemto solve it.

this is the feed id like but when i put that in the template nothing happens
http://p.moreover.com/cgi-local/page?c=Jokes&o=rss

The one you have works fine, i noticed that your url / rss does not have the =rss

Good catch SnowBot

Take your link

http://p.moreover.com/cgi-local/page?c=Jokes&o=rss

remove the "rss" at the end and replace it with "js"

The first time you place the link it needs to end with "&n=20" 20 being the number of headlines you want it to scroll through

the second time you place it, it should just end in "js"

So, the first time it should look like this

http://p.moreover.com/cgi-local/page?c=Jokes&o=js&n=20

The second time, it should look like this

http://p.moreover.com/cgi-local/page?c=Jokes&o=js

Thank you, It's kind of late, I'll update the instruction file tomorrow

Thank you

SnowBot 01-13-2004 06:36 AM

Thats great :0 all working, nice addition to a great portal

TOP Work

SnowBot 01-13-2004 11:31 AM

Is there a way to add another to the Custom Block 1 template ?

tomshawk 01-13-2004 12:50 PM

Quote:

Originally Posted by SnowBot
Is there a way to add another to the Custom Block 1 template ?

Snowbot, If there is, I dont know, I'll play with it, though getting the alignment right is going to be difficult

Updated instruction file from rss to JS feeds mistake, Thank you SnowBot

tomshawk 01-13-2004 01:24 PM

Question, why is it on this forum, it does not state the times installed, and it does not show the (install / uninstall) button?

wolfman 01-13-2004 08:45 PM

Is this ment to work only with http://w.moreover.com/ or is there another source that can be used?

tomshawk 01-14-2004 01:28 AM

Quote:

Originally Posted by wolfman
Is this ment to work only with http://w.moreover.com/ or is there another source that can be used?

Sorry, I tryed another source, and it did not work

jluerken 01-14-2004 05:59 AM

I have an general news forum where my admins can post information for all users. It would be nice if this hack can be changed the way that its scrolling the posts from this forum instead of news from an .rss file.

Is this possible for you tomshawk?

tomshawk 01-14-2004 06:20 AM

Quote:

Originally Posted by jluerken
I have an general news forum where my admins can post information for all users. It would be nice if this hack can be changed the way that its scrolling the posts from this forum instead of news from an .rss file.

Is this possible for you tomshawk?

Sorry, No, I've tryed it, It does not work! :(

The Quibbler 01-14-2004 11:12 PM

What about .rdf files?

tomshawk 01-14-2004 11:36 PM

Quote:

Originally Posted by The Quibbler
What about .rdf files?

I'm pretty sure it will only work with JS files from moreover.com

but I'll look into it ;)

Princeton 01-17-2004 02:44 PM

the javascript news feed from moreover is a bit slow ... it makes your site download "slow". If something goes wrong with the connection to moreover ... your site will take ages to load. If this happens you will loose readers/members.

I recommend you use rss/xml feeds. Unlike, js feeds the "news info" can be serialized/parsed and saved within your server. Thus, retrieving information will be much faster.

A few suggestions regarding your site...
I take it from it's placement you hold "Silicon Valley News" news of high priority as it is the first thing people see. If you want more emphasis on your own content than I suggest moving the block to the side or get rid of it.

tomshawk 01-17-2004 03:03 PM

Quote:

Originally Posted by princeton
the javascript news feed from moreover is a bit slow ... it makes your site download "slow". If something goes wrong with the connection to moreover ... your site will take ages to load. If this happens you will loose readers/members.

I recommend you use rss/xml feeds. Unlike, js feeds the "news info" can be serialized/parsed and saved within your server. Thus, retrieving information will be much faster.

A few suggestions regarding your site...
I take it from it's placement you hold "Silicon Valley News" news of high priority as it is the first thing people see. If you want more emphasis on your own content than I suggest moving the block to the side or get rid of it.

Thank you for your comments.

1) I have tryed the rss feeds with no luck in this script

2) Nobody has released a hack for either rss or XML of these yet. People have released Output hacks, Actually the External.php will do it, but none to import from said file.

3) I dont know how to change the format to a side block, as it would look really bad with the text wrapping down the page over and over 3 or 4 times, so the placement is needed, though I was thinking of moving it below the newsbits taking it to the bottom of the page.

If you know how to adjust this file or make a rss import feed, please post it, as I want it for a few things ;)

Take care and have a good day

tomshawk 01-19-2004 04:31 AM

Updated Instruction file: The block now looks like the rest of the homepage and not just a box. ;)

rinkrat 01-19-2004 04:52 AM

Works great as a side block!
http://www.letsgokings.com

tomshawk 01-19-2004 04:56 AM

Quote:

Originally Posted by rinkrat
Works great as a side block!
http://www.letsgokings.com

kewl, did you have to change anything?

I could have sworn I tryed it, and it didn't look right all wrapped around ;)

eitherway, nice mod :p

Nevermind

I figured it out

for new installations or updating old installations, do the install as shown in the first post, then follow these instructions below if you'd rather have it as a side block

Open index_moreover

Find this:
Code:


<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center"><tr><td>
<!-- Moreover  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"><tr><td>
<tbody>
        <tr>
                <td class="tcat">
                        <center><b>Moreover News</b></center></a>
 </td></tr>
        <td>
        <table cellspacing="1" cellpadding="4" width="100%" border="0">
        <tr>
          <td>

replace with:
Code:


<table cellpadding="0" cellspacing="0" border="0" class="tborder" width="100%">
<tr>
<td>
<table cellpadding="4" cellspacing="1" border="0"  width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>Moreover Newsfeed</b></span></td>
</tr>
<tr>
<td class="alt1"><span class="smallfont">

still in index_moreover

Find this:
Code:


</td></tr></table>
<!-- End Of Moreover.com News Javascript Code -->
<br>
</td>
<br>
        </tr>
        </table>
        </td>
  </tr>
  </table></td>
 </tr>
</table>
<br>

Replace with this:
Code:

<br>
</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
</br>
</td>
</tr>
</table>

In the index template

Find the "$moreover" call

cut it from above the "$newsbits" call and paste it in the side tables where ever you feel comfortable I pasted it under custom2 for example

Symbian.info 03-13-2004 07:22 PM

Quote:

Originally Posted by tomshawk

for new installations or updating old installations, do the install as shown in the first post, then follow these instructions below if you'd rather have it as a side block

cut it from above the "$newsbits" call and paste it in the side tables where ever you feel comfortable I pasted it under custom2 for example

De side blok is not ok (way to big, same size as middel blocks. any updates on this becasue Tomshawk use something else on his site!

tomshawk 03-13-2004 08:42 PM

Quote:

Originally Posted by Symbian.info
De side blok is not ok (way to big, same size as middel blocks. any updates on this becasue Tomshawk use something else on his site!

Yes, I removed the block because it was slowing down my homepage to much.

but it still works.

Do you have a link to your forums so I can possibly help you out with it. ;)

Symbian.info 03-13-2004 08:49 PM

Quote:

Originally Posted by tomshawk
Yes, I removed the block because it was slowing down my homepage to much.

but it still works.

Do you have a link to your forums so I can possibly help you out with it. ;)

www.pdatotaal.info
Code:

But there is standing some stuff I don't get:
<table cellpadding=4 cellspacing=0 border=0 width='446' height="59"><tr bgcolor=''>
<td width="438" height="51">
        <p align="left">

That are fixed width. so thats no good..
Also why this link?:
Code:

        <a href='http://p.moreover.com/cgi-local/page?c=Silicon%20Valley%20news&o=js&n=10' target='_blank' class='morehlt'>Silicon Valley News</a><br> <br>
You can't open that..

I del that line and put it put in de midde

But what system do you use now?? That side block looks nice!

tomshawk 03-14-2004 06:15 AM

Quote:

Originally Posted by Symbian.info
www.pdatotaal.info
Code:

But there is standing some stuff I don't get:
<table cellpadding=4 cellspacing=0 border=0 width='446' height="59"><tr bgcolor=''>
<td width="438" height="51">
        <p align="left">


that is actually part of the code snippet direct from the gentlemen at vbportal where I got the original hack. I'd put that part back in if you removed it.

Quote:

Originally Posted by Symbian.info
Code:

        <a href='http://p.moreover.com/cgi-local/page?c=Silicon%20Valley%20news&o=js&n=10' target='_blank' class='morehlt'>Silicon Valley News</a><br> <br>
You can't open that..

I del that line and put it put in de midde

But what system do you use now?? That side block looks nice!

That line is the one pulling the info from moreover, you can change it with a link from here http://w.moreover.com/categories/category_list_rss.html which is in the instructions file, but you need something there otherwise it will be blank ;) Like it is now

I changed over to carp http://www.mouken.com/rss/ for speed and this system doesn't have a problem with rss or XML. which most people use more frequently.

Good luck

PennylessZ28 11-25-2004 06:07 AM

I got it installed as a module in vbAdvanced CMPS

However, how can I make it scroll continously up instead of it poping up one item at a time?

Oh, mine is here www.hr3rdgen.org


All times are GMT. The time now is 04:46 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01247 seconds
  • Memory Usage 1,826KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (1)bbcode_php_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (29)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete