The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to remove breadcrumbs from CMS home page
Hello,
This is mi first post here since i couldn't get any help from the .com forum I have a few questions regarding how to modify my vbulletin5 forum: 1) I would like to remove those annoying breadcrumbs ONLY from the main articles CMS page, any ideas on how to do it? 2) The login bar seems really difficoult to see from the average user, i would like to modify it to make it ALWAS visible, any ways to make this possible? 3) In my main articles CMS page image thumbnails are easily visible but not over the "latest articles sidebar", this is very annoying, do you know any way to fix this? Hoping someone can help me in this cause i'm really getting mad at all this, thank you for the eventual support |
#2
|
|||
|
|||
Extremely difficoult question i guess?
|
#3
|
||||
|
||||
Edit: Nevermind, apparently this moderator was in the vB5 forum area and NOT paying attention . I do not know of a way to do this in vB5 although I found something here that may lead you in the right direction.
IF you had vB4, for reference it would be this; Create a new plugin: Product: vBulletin Hook Location: parse_templates Title: Hide breadcrumbs on CMS Execution Order: 5 PHP Code: PHP Code:
PHP Code:
Where did I find this info? How do I know to do these things? Can you learn? ... SURE! Check this out |
#4
|
||||
|
||||
1, hide breadcrumbs on articles page. Use javascript to check if the page is articles page. You'll need to change the number 14 to the actual channelid of your articles if it is different. 14 is what it is on my system.
Code:
<script> if (pageData.channelid == 14){ $("#breadcrumbs").css("display","none"); } </script> Code:
#main-navbar, #main-navbar-wrapper { position: fixed; z-index: 1500; } |
Благодарность от: | ||
TheLastSuperman |
#5
|
|||
|
|||
Hello and thanks for the replies, i have a few questions:
1) I don't know where i can find this script to hide the breadcrumbs i have a "js" folder in my root/js but there is nothing inside. 2) I probably expressed bad, what i meant about the login bar is that i would like the login form to be always showing up and not hidden 3) The site is this one : www.fantasysportitalia.it, as you can see there are no thumbnails on the "latest articles" section on the sidebar. Thanks in advance for the replies |
#6
|
||||
|
||||
You're talking about images in the post showing as thumbnails in the Latest Posts? I've not seen that behavior from a search widget. I thought you were talking about the avatars. As far as I know, the search widget isn't designed to show thumbs.
As far as where to add the javascript, you should create a new product and add it there. Here is a tutorial on the subject. http://www.vbulletin.com/forum/blogs/joe-d/3932614- Also, I should have asked, if you are on the VB Cloud, you can't create and install mods or edit templates. |
#7
|
|||
|
|||
Alright man, i got how to enter in debug mode and create a new product and where to hook it, but i don't really get where i should put this
Code:
<script> if (pageData.channelid == 14){ $("#breadcrumbs").css("display","none"); } </script> |
#8
|
||||
|
||||
When you created your new hook, there was a form for a template name.
The template you created on the create new hook page can be edited in the admincp >> style manger. Select the Master style while in debug mode to apply the code to all styles. Scroll down to the template name and double click it. Paste the code in the template editor and save. Sometimes you will need to clear the system cache in Admincp >> Maintenance for the changes to take effect immediately. |
Благодарность от: | ||
TheLastSuperman |
#9
|
|||
|
|||
I did it man but the script ain't working
[IMG]www.parliamodipoker.it/file_condivisi/remove.jpg[/IMG] |
#10
|
||||
|
||||
If you right click on the page and view source, is the script there? Is you channelid for Articles 14?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|