Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
News/Announcements In Your Header Above The Forums Details »»
News/Announcements In Your Header Above The Forums
Version: 1.0.1, by WildSharky WildSharky is offline
Developer Last Online: Sep 2022 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 02-11-2006 Last Update: 02-13-2006 Installs: 22
DB Changes Uses Plugins Template Edits
Is in Beta Stage  
No support by the author.

News/Announcements On Your Forums Home Page All Skins


This is my first hack made for my self it should work all forums but if not i will try to help out in getting it to.. This is why its in beta still..

Credit goes out to all i have learned off of here and other places..
Thanks...

(For vB3.5.3)

Description....
This hack will let you put News/Announcements on your site from the admincp so you dont have to edit all the skin header temp it will show on all skins with there colors.

Hack Features::.
1. Easy Install
2. Can be turned on and off in admincp
3. Change code or text from adminco

Hack Languages
English Only For Now

Admin Controllable
From vBulletin Options ==> vBulletin Options ==> Header News Settings

Installation
Import the product through your admincp by going "Manage Products" ==> "[Add/Import Product]".


[See Screen Shots For Looks]

Updates
------------
v1.0.1
I fixed the on/off its working now.. And i added underlind and Italic to the
admincp..

How To Upgrade

Upgrading forums v1.0.0 to v1.0.1
------------
To upgrade copy all the code/text you have in the code box in your admincp to a text doc
then uninstall v1.0.0 and install v1.0.1... Remember to save what text /code you have there now... As uninstalling will delete it..

Supporters / CoAuthors

Show Your Support

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

Comments
  #22  
Old 02-21-2006, 09:51 AM
WildSharky's Avatar
WildSharky WildSharky is offline
 
Join Date: Jun 2004
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that code would not being cause it this show up on the forums home page cuase of the $spacer_open in the header temp. maybe you can remove this and add it somewhere else on your forumshome temp but im not sure test it and see backup temps befor doing so..
Reply With Quote
  #23  
Old 02-21-2006, 10:06 AM
ZombieAndy's Avatar
ZombieAndy ZombieAndy is offline
 
Join Date: Oct 2004
Location: UK
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

fixed it! i had it on the wrong side of the main tag lol

if you wanna add this underneath your navbar but above your forums, find in 'FORUMHOME'

Code:
<!-- main -->
and above it, add

Code:
<if condition="$vboptions[news_text]">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="{$vboptions['global_border']}" width="100%" align="center">
<tbody>
<tr>
<td class="tcat" colspan="2">
<div align="center">Current Announcement</div>
</td>
</tr>
</thead>
<tr>
<td class="alt1" colspan="2">
<if condition="$vboptions[news_italic]"><i></if>
<if condition="$vboptions[news_underline]"><u></if>
<if condition="$vboptions[news_bold]"><b></if>
$vboptions[news_code]
<if condition="$vboptions[news_bold]"></b></if>
<if condition="$vboptions[news_underline]"></u></if>
<if condition="$vboptions[news_italic]"></i></if>
</td>
</tr>
</tbody>
</table>
</if>
<br>
you can then delete the newstext template.

thanks alot man, its a nice little modification hope you dont mind my alteration
Reply With Quote
  #24  
Old 02-21-2006, 10:08 AM
WildSharky's Avatar
WildSharky WildSharky is offline
 
Join Date: Jun 2004
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NP feel free to change it as you want to..
Reply With Quote
  #25  
Old 02-24-2006, 11:45 AM
Sidewindr Sidewindr is offline
 
Join Date: Oct 2002
Location: Australia
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I keep getting an uncached template according to microstats ... Even with the banner not displaying from vBulletin Options setting.

Uncached templates: newstext (1)

How can I cache this template ??
Reply With Quote
  #26  
Old 04-18-2006, 11:06 AM
Partybuster Partybuster is offline
 
Join Date: Dec 2002
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sidewindr
I keep getting an uncached template according to microstats ... Even with the banner not displaying from vBulletin Options setting.

Uncached templates: newstext (1)

How can I cache this template ??
having the same problem here.
Reply With Quote
  #27  
Old 04-19-2006, 04:54 AM
WildSharky's Avatar
WildSharky WildSharky is offline
 
Join Date: Jun 2004
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the Uncached templates: newstext is ok its not hahurting anything that i know how and i use this all the time on my site im not sure how to fix it and dont have time to right now guys sorry..
Reply With Quote
  #28  
Old 04-29-2006, 08:09 AM
H@K@N H@K@N is offline
 
Join Date: Dec 2004
Location: Dortmund
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any possibility to show a different Text for Guests as for logged in Members ?

Tried to use a If condition, but seems not working ...

th@nks
Reply With Quote
  #29  
Old 06-06-2006, 06:00 PM
RFViet RFViet is offline
 
Join Date: Jan 2006
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can it be seen from every page ???
Reply With Quote
  #30  
Old 06-06-2006, 06:03 PM
WildSharky's Avatar
WildSharky WildSharky is offline
 
Join Date: Jun 2004
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yep sure can that the forums uses anyways if you have a portal it wont show on it..
Reply With Quote
  #31  
Old 06-06-2006, 06:20 PM
RFViet RFViet is offline
 
Join Date: Jan 2006
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WildSharky
yep sure can that the forums uses anyways if you have a portal it wont show on it..
_As the description, I can use html code on it right ???
_ Other question is, my forum using multi-language. Is there anyway to change Header to vb phrase , so I can use many languages on it(News and Announcement)
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:24 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.05777 seconds
  • Memory Usage 2,307KB
  • Queries Executed 26 (?)
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_code
  • (2)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
  • (3)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