vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   VB 2.0 plus newspro? (https://vborg.vbsupport.ru/showthread.php?t=10395)

03-08-2001 04:01 AM

/me wants to see an interactive demo

03-08-2001 10:07 AM

Unfortunately I don't have the latest version running on the website yet. However it isn't that different in looks. The other day I added the headline code. It puts the titles of the first x stories in a little table that will be displayed on each page. It also limits the text as to not widen the table beyond a given limit. Then I went ahead and added a column for "(replycount/views)". Yesterday I worked out a hack that allowed individual users to select how they wanted to view posts instead of the site wide variable, http://www.vbulletin.com/forum/showt...threadid=10758. Today I hope to add a "Yesterday's Top Posters" table. The first time someone views the newspage on a day a file will be generated that contains the top x posters from the day before. This will only happen once a day though since it won't change in a 24 hour period, all other views after it will just include the file.

03-08-2001 12:02 PM

You add news like if you were making a new Thread in the forums, and only allow a certain group to post that... correct? This would be neat cause it save you the trouble from making extra cookies. :)

03-08-2001 03:15 PM

Yes. Thats why I wrote it like that. You don't add news, you add threads to the forum the news generator reads from. It queries the latest x threads from the forum and shows the first post in each thread. Then the newer version I have also adds the first y to the list of headlines. Also, the newest version takes the newest poll in the news forum and places the poll on the news page. They can vote for the poll on the page or if they have voted it shows the results.

On our site only our staff group has permission to add threads to the forum but everyone has the ability to reply.

03-08-2001 04:51 PM

[high]* sends TW staff here again. :)[/high]

03-08-2001 07:30 PM

<a href="http://www.ravingaming.com/images/rgv3b3.gif" target="_blank">http://www.ravingaming.com/images/rgv3b3.gif</a>

Here is a screenshot showing the headlines and the poll. I am going to move the headlines onto the sidebar though and have it display on every page.

03-09-2001 10:35 AM

I can't wait to use that!!! Once I do add, I will be sure to give you credit. Add you to my affiliates list. hehe. :)

03-09-2001 09:47 PM

Pay no attnetion to that code I posted before. I made the mistake of posting it too early and before I could write some clear instructions. I really meant it as a preview and only for people to run it if they knew a little about PHP and vB; then they could figure out what would need changed.

I've added a lot since then and changed all the template names. However, I might release my latest work on it at the conclusion of the weekend. It just depends on whether I can get it how I like it or not.

GimmeTech 04-21-2001 11:50 PM

Hey Lead,

Php script. Any updates?

Dark_Wizard 04-22-2001 10:32 AM

leadZERO >>> What version of NewsPro are you using? There is a version 4.0 called "Coranto" and can be downloaded as well, I can send you the info as I am a Alpha/Beta tester. There is a MySQL version being worked on as well and would really be nice to add to this.


All times are GMT. The time now is 05:49 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.01103 seconds
  • Memory Usage 1,735KB
  • 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
  • (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
  • (10)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