vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Adding information to "header" (https://vborg.vbsupport.ru/showthread.php?t=299741)

ViciousGnome 07-02-2013 08:03 PM

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.

nerbert 07-03-2013 01:36 AM

1 Attachment(s)
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.

nerbert 07-03-2013 06:49 PM

1 Attachment(s)
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.


All times are GMT. The time now is 12:01 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.01028 seconds
  • Memory Usage 1,712KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete