Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #21  
Old 03-08-2001, 04:01 AM
Guest
 
Posts: n/a
Default

/me wants to see an interactive demo
Reply With Quote
  #22  
Old 03-08-2001, 10:07 AM
Guest
 
Posts: n/a
Default

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.
Reply With Quote
  #23  
Old 03-08-2001, 12:02 PM
Guest
 
Posts: n/a
Default

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.
Reply With Quote
  #24  
Old 03-08-2001, 03:15 PM
Guest
 
Posts: n/a
Default

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.
Reply With Quote
  #25  
Old 03-08-2001, 04:51 PM
Guest
 
Posts: n/a
Default

[high]* sends TW staff here again. [/high]
Reply With Quote
  #26  
Old 03-08-2001, 07:30 PM
Guest
 
Posts: n/a
Default

<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.
Reply With Quote
  #27  
Old 03-09-2001, 10:35 AM
Guest
 
Posts: n/a
Default

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.
Reply With Quote
  #28  
Old 03-09-2001, 09:47 PM
Guest
 
Posts: n/a
Default

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.
Reply With Quote
  #29  
Old 04-21-2001, 11:50 PM
GimmeTech
Guest
 
Posts: n/a
Default

Hey Lead,

Php script. Any updates?
Reply With Quote
  #30  
Old 04-22-2001, 10:32 AM
Dark_Wizard Dark_Wizard is offline
 
Join Date: Nov 2001
Location: North Carolina
Posts: 1,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:16 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04188 seconds
  • Memory Usage 2,242KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete