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

Reply
 
Thread Tools
News Box v5.1 Details »»
News Box v5.1
Version: 1.00, by VBDev VBDev is offline
Developer Last Online: Dec 2021 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-10-2004 Last Update: Never Installs: 46
 
No support by the author.

With this hack, you'll add on your board a news system that you control from the admin control panel. These news, you choose them, they appear on the forum in a box, with marquee text viewable for each member. They can be used, to display a general message to your members ...

you can insert VBCodes and smilies. You can choose to display or not the news box on the forum.

Improvment in comparison with VB2 version :
- Display of a special news if the user is unregistered. THe news is a link to the register form.
- Use of expand/collapse system to reduce the box. The position of the box is saved




Ce hack permet d'ajouter ou vous voulez sur votre forum un systeme de news que vous gerez via le CP, ces news c vous qui les choisissez, elles apparaissent sur le forum sous forme d'un texte deroulant visible par chaque membre. Elles servent en fait a faire passer un message a vos membres ...

Vous pouvez inserer du VBCode dans ces news et des smilies. Vous pouvez choisir via le CP admin d'afficher ou pas le systeme de news sur l'accueil du forum.

Amelioration par rapport aux precedentes versions VB2.xx :
- Affichage d'une news supplementaire si le visiteur n'est pas enregistr? lui disant qu'il n'est pas enregistr?, le texte est un lien qui lui permet d'acceder a la page d'enregistrement
- Utilisation du systeme expand/collapse pour reduite l'affichage de la boite de news avec enregistrement de la position de cette fenetre



Installation time : 15
Templates to modify : 1
Templates to add : 3
Files to upload : 1
Files to modify : 2
Phrases to add : 5
Query to run : 1


:devious:

[HIGH]This hack has been released by VBulletinDev's team : http://www.vbulletindev.net

Ce hack a ete realis? par la team de VBulletinDev et est telechargeable en FR sur http://www.vbulletindev.net[/HIGH]

Show Your Support

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

Comments
  #52  
Old 01-27-2004, 03:26 PM
wowiee wowiee is offline
 
Join Date: Jan 2004
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah i do but when i go to query sql what do I do? what do I sleect from a dropdown menu that lists all the directories in my vbulletin db?
Reply With Quote
  #53  
Old 01-27-2004, 06:22 PM
jaliam jaliam is offline
 
Join Date: Jan 2003
Location: California
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
$globaltemplates = array(
'calendar_smallmonth_day',
'calendar_smallmonth_day_other',
'calendar_smallmonth_header',
'calendar_smallmonth_week',
'forumhome_loggedinuser',
'forumhome_subforumseparator_post',
'forumhome_shoutbit',
'news',
'news_news',
'news_fin'
'index',
I was able to implement this change, vbDev, but the news isn't displaying at all. I already activated the display news box on forum but I do not see anything. How can I make it show? Thanks!
Reply With Quote
  #54  
Old 01-27-2004, 06:50 PM
wowiee wowiee is offline
 
Join Date: Jan 2004
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i put in debug whatever and there isnt anything there at all no developer thing nothing, now when i uploaded my RC3 vbulletin there was no cofig.php for some reason, in rc3 where am i supposed to put it?
Reply With Quote
  #55  
Old 01-27-2004, 07:19 PM
jaliam jaliam is offline
 
Join Date: Jan 2003
Location: California
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wowiee
i put in debug whatever and there isnt anything there at all no developer thing nothing, now when i uploaded my RC3 vbulletin there was no cofig.php for some reason, in rc3 where am i supposed to put it?
Wowie, config.php is found in the includes folder. Check in there first. Thanks!
Reply With Quote
  #56  
Old 01-27-2004, 07:48 PM
wowiee wowiee is offline
 
Join Date: Jan 2004
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i did everything fine but then when i go to my forums, i get this

Quote:
Parse error: parse error, expecting `')'' in /home/biohazar/public_html/forums/index.php on line 52
Reply With Quote
  #57  
Old 01-27-2004, 08:24 PM
jaliam jaliam is offline
 
Join Date: Jan 2003
Location: California
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wowie, just copy this replace what you have in your /forums/index file. It should work...

Quote:
$globaltemplates = array(
'FORUMHOME',
'forumhome_birthdaybit',
'forumhome_event',
'forumhome_forumbit_level1_nopost',
'forumhome_forumbit_level1_post',
'forumhome_forumbit_level2_nopost',
'forumhome_forumbit_level2_post',
'forumhome_lastpostby',
'forumhome_loggedinuser',
'forumhome_moderator',
'forumhome_pmloggedin',
'forumhome_subforumbit_nopost',
'forumhome_subforumbit_post',
'forumhome_subforumseparator_nopost',
'forumhome_subforumseparator_post',
'news',
'news_news',
'news_fin'
);
Reply With Quote
  #58  
Old 01-27-2004, 08:29 PM
wowiee wowiee is offline
 
Join Date: Jan 2004
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i did that then i got this after turning on the news marquee when trying to access the forums:

There seems to have been a slight problem with the BioHazard3D.com Forums database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Database error in vBulletin 3.0.0 Release Candidate 3:

Invalid SQL: SELECT * FROM news ORDER BY newsid
mysql error: Table 'biohazar_vbulletin.news' doesn't exist

mysql error number: 1146

Date: Tuesday 27th of January 2004 02:30:28 PM
Script: http://biohazard3d.com/forums/index.php
Referer: http://www.biohazard3d.com/
Username: RadioActive
IP Address: 67.71.120.32
Reply With Quote
  #59  
Old 01-27-2004, 10:14 PM
jaliam jaliam is offline
 
Join Date: Jan 2003
Location: California
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wowiee
i did that then i got this after turning on the news marquee when trying to access the forums:

There seems to have been a slight problem with the BioHazard3D.com Forums database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Database error in vBulletin 3.0.0 Release Candidate 3:

Invalid SQL: SELECT * FROM news ORDER BY newsid
mysql error: Table 'biohazar_vbulletin.news' doesn't exist

mysql error number: 1146

Date: Tuesday 27th of January 2004 02:30:28 PM
Script: http://biohazard3d.com/forums/index.php
Referer: http://www.biohazard3d.com/
Username: RadioActive
IP Address: 67.71.120.32
Wowie, you must first create that table you are running before it can be executed. Maybe others can help you out on this as I'm not very good with PHPMyAdmin and MySQL. Sorry.
Reply With Quote
  #60  
Old 01-28-2004, 02:45 PM
maverick1236 maverick1236 is offline
 
Join Date: Oct 2001
Location: NY
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyway you can get the news ticker to only show 4 guests?
Reply With Quote
  #61  
Old 01-31-2004, 12:54 PM
M@rkus M@rkus is offline
 
Join Date: Jul 2003
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@VBDev:

Nice Hack, installed!

But, I ve changed the some sets into phrases, for example the menu of news. Can I also change the other ones to phrases without any probs? Like the whole menu and the red sentence showing up to guests??
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 10:49 AM.


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.04473 seconds
  • Memory Usage 2,310KB
  • Queries Executed 25 (?)
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
  • (5)bbcode_quote
  • (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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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