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-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 07:59 AM.

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.01216 seconds
  • Memory Usage 1,758KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete