Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Simple Forumhome/standalone news hack. Details »»
Simple Forumhome/standalone news hack.
Version: 1.00, by d3f d3f is offline
Developer Last Online: May 2013 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 10-15-2004 Last Update: Never Installs: 5
Is in Beta Stage  
No support by the author.

Here is my really simple/rough news hack, there is no caching no acp administration, just a really simple news hack, there is probally some error as I have only tested this on my live board and it was writen within a period of serveral minutes.

An exsample can be found here under the welcome box.

Anyways all try and improve it in the future Anyone and everyone is free to modify this hack to his hearts content, no props are needed (or wanted).

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 10-16-2004, 12:26 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice and simple. However you might want to fix the templates, the two tables below are not aligned. I think that is currently determined by news length. At your site it is the first 2 tables.
Reply With Quote
  #3  
Old 10-16-2004, 03:32 PM
GamerJunk.net's Avatar
GamerJunk.net GamerJunk.net is offline
 
Join Date: Jan 2004
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So how would it look like on a normal board?
Reply With Quote
  #4  
Old 10-16-2004, 08:56 PM
d3f d3f is offline
 
Join Date: Feb 2002
Location: The Underground
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes the length of the box is detirmined by the character post, all put of a screenshot in a few minutes, using the default skin.
Reply With Quote
  #5  
Old 10-17-2004, 11:24 AM
dfmafia dfmafia is offline
 
Join Date: Jul 2002
Location: Wherever Uncle Sam Needs
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

need BB code active...its showing my bb code

(ie. [b],[list], [i]...)

works good though


http://dfmafia.net/forums/news1.php what im talking about



also im going to edit this script just a bit to fit my needs...im going to make it in 1 collum instead of the 2 you have currently...if any1 wants me to ill post it when i finish it
Reply With Quote
  #6  
Old 10-17-2004, 11:57 AM
dfmafia dfmafia is offline
 
Join Date: Jul 2002
Location: Wherever Uncle Sam Needs
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

edited to make 1 collum

edited for longer preview text

BB Code works but some of the html ive added in my news whacks out


other than that it works great

to make a collum just edit the "news" template and put
PHP Code:
</tr><tr
before each
PHP Code:
<!-- item * --> 
* being the number of the arcticle

mine is set up for 10 arcticles

to set that up its in the directions provided in the "simplenews.txt"

also i set up my collums to be 30% width and not 100%
Reply With Quote
  #7  
Old 10-18-2004, 02:44 PM
dfmafia dfmafia is offline
 
Join Date: Jul 2002
Location: Wherever Uncle Sam Needs
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

also im trying to get this to work on a non-vB page but running into problems

when i insert the code i loose the content on my site on the right side and footer...basically everything after the script...

looks like i have an open table script but i cant find it...
Reply With Quote
  #8  
Old 10-19-2004, 01:21 AM
draculanowaday draculanowaday is offline
 
Join Date: Feb 2004
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hix. I want to take news from many forum (not only one). And each forum only take the newest thread. Can you help me? :-S
Reply With Quote
  #9  
Old 10-19-2004, 10:03 PM
d3f d3f is offline
 
Join Date: Feb 2002
Location: The Underground
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

change thread.forumid=4 to

thread.forumid IN (1,2,3,4)

to draw from more then one forum.

Not as easy to do newest thread from each forum.
Reply With Quote
  #10  
Old 11-04-2004, 10:17 PM
tilight tilight is offline
 
Join Date: Dec 2003
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ive dnoe everything correctly (atleast I think) but my page shows up blank. Im doing the FORUMHOME version.
Reply With Quote
Reply


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 09:54 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.07206 seconds
  • Memory Usage 2,289KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)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_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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete