vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=262)
-   -   New vbulletin can someone help me with a few things.... (https://vborg.vbsupport.ru/showthread.php?t=298753)

deanjhamer 06-05-2013 01:47 PM

New vbulletin can someone help me with a few things....
 
Hi everyone,

I am relatively new to vBulletin and I was wondering if someone could help me? I would like to remove the image as a header and have plain text if possible and I was unsure how to do this.

The next thing is a little bigger job than I though, I would like to have live twitter feed in to my site on the right of the home page where the latest pists are and things, is there anyway I can do this?

Regards,

Dean

Lynne 06-05-2013 04:24 PM

To make it all text, you will need to edit the header template and replace it there. I would guess to just replace this text:
HTML Code:

<img src="{vb:stylevar titleimage}" data-orig-src="{vb:stylevar titleimage}" alt="{vb:phrase logo}" title="{vb:phrase powered_by_vbulletin_title}" />
I've never tried that, so I have no idea what it will do to the Site Builder when you go to edit the header.

Sure you can do it if you can code it or if you find a modification for it. Try the search box in the upper right.

deanjhamer 06-05-2013 04:50 PM

1 Attachment(s)
Thanks for the quick reply! However, this did not work, it didn't come up with anything for some reason. I have uploaded a picture of what i would like if possible.

Lynne 06-05-2013 10:00 PM

1 Attachment(s)
I just did it on mine and it works just fine -
https://vborg.vbsupport.ru/attachmen...1&d=1370473162

If something doesn't work, it is import to post *exactly* what you did so we can point out what you did wrong.

deanjhamer 06-06-2013 05:59 AM

I appreciate your help Lynne. I have attached the code below, I got this from:

Admin CP > Style Manager > Edit Templates > header


Code:

                        <div class="site-logo header-edit-box">
                                <a href="{vb:raw baseurl}/"><title="{vb:phrase powered_by_vbulletin_title}" /></a>
                        </div>


Lynne 06-06-2013 04:58 PM

Please do not post the whole template code. It is against our rules and it makes it very difficult to see what you did. We only need to see the code you changed.

<title="anything here" /> is not valid html to spit out some text (it is valid in the <head> tags to define the page title). Just put the {vb:phase whatever} in there.

deanjhamer 06-07-2013 06:48 AM

Sorry to be a pain Lynne but I have changed what you have asked for and have a completely new result :) I have a attached a new screen shot and the code I have inputted.

Code:

<div class="site-logo header-edit-box">
                <a href="{vb:raw baseurl}/"><"{vb:phrase Up the shakers!}" /></a>
            </div>

https://vborg.vbsupport.ru/external/2013/06/21.jpg

Is it possible to get the title in a different colour and size + get rid of the title below the alert box? Once this has been done I can go live with the forum.

Regards,

Dean

Shadow 06-07-2013 01:48 PM

Code:

"{vb:phrase Up the shakers!}"
The above isn't calling a valid phrase hence the reason it looks odd. Replace everything in the quotation marks with the following:

Code:

<div class="site-logo header-edit-box">
                <a href="{vb:raw baseurl}/">Up the Shakers</a>
            </div>


Lynne 06-07-2013 04:46 PM

And if you want colors and size, use CSS:

HTML Code:

<div class="site-logo header-edit-box">
                <a href="{vb:raw baseurl}/" style="color: white; font-size: 16px;" >Up the Shakers</a>
            </div>


deanjhamer 06-07-2013 05:08 PM

1 Attachment(s)
Thank you so much for the help you have given me so far! It has really helped. I have managed to get the header right, just one more thing left.

How do I get rid of this?

Attachment 145303


All times are GMT. The time now is 07:27 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.03279 seconds
  • Memory Usage 1,737KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete