Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-02-2013, 08:03 PM
ViciousGnome's Avatar
ViciousGnome ViciousGnome is offline
 
Join Date: Jun 2013
Location: Long Island, NY
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Adding information to "header"

Hello, and thank you for trying to assist me.

I am new to vBulletin, so I am not sure exactly how to word my question. If you go to my website and view the header, you will see that we currently have our logo aligned to the left in, what I believe is called, the header. What I would like to do is add the following, in the black background, aligned to the right, of the header:

xDebate of the Week
"Title of the Latest Thread in the xDebate of the Week Forum"

More specifically, I would like to create a forum called "xDebate of the Week", and start a new thread each week with a new topic of debate. Whenever I post a new thread in this forum, I would like that new thread's title to be displayed in a prominent way (perhaps in a box similar to the search box currently on the top right side of the header) under the title "xDebate of the Week", on the right side of the forum header (currently a large black background).
  1. Is there a way to do this using the CP?
  2. What coding would accomplish this?
  3. What files would I be required to edit in order to add this coding?

I apologize in advance for not being able to ask specifically for what I require, and I hope I have accurately explained what I would like to do. Again, my thanks for any assistance that anyone may be able to provide.
Reply With Quote
  #2  
Old 07-03-2013, 01:36 AM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I use vb4.2.0, I don't know if vb4.2.1 has a completely different layout or your forum is just modified a lot. Anyway the attachement shows how to change the header html to insert a span for what you want. How you fill in the content is a plugin job.
Attached Images
File Type: jpg debate.jpg (137.0 KB, 0 views)
Reply With Quote
  #3  
Old 07-03-2013, 06:49 PM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I made a product for this. See what you think. To install upload the product file in Product Manager then go to Settings > Options > Hot Topics and there you'll find instructions for modifying the header template.

I see you added a Google Search feature. i don't think it's compatible with the new product, maybe you can put that in the footer.
Attached Files
File Type: xml product-hot_topic.xml (7.3 KB, 6 views)
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 03:43 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.03514 seconds
  • Memory Usage 2,194KB
  • Queries Executed 12 (?)
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
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (2)postbit_attachment
  • (3)postbit_onlinestatus
  • (3)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
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete