The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
questions!
Hi
I have a lot of questions: I want to change some things in the tab menu: I want to change the title of the first tab 'forum' and I want to get rid of the 'what's new' tab. Then I want to get rid of the navigation part under the tabs and add some of it's links to top right where it says Welcome, username Notifications.. etc. I also want to have a section above every category where I can place Some content in a html format (just like the admanager but then the content should only appear above the specific category) I want to get rid of the the text and links that show in what part of the forum you are (has a little home on the left). On the home page it currently says: Forum. Under the'post new thread button it says : Forum: and the the category name. I want to get rid of this also. Help me please Little rant: I honoustly don't understand how some of you make sense out of the cp. When you want to change this you need to go here and here and then do that and the next time you have forgotten how you did it again. This whole template system and phrase system..... man o man what a pain. |
#2
|
||||
|
||||
You are going to want to edit at least the navbar template for a lot of that (anything to do with the tabs).
As for adding more text and removing other text, that is probably also going to require editing a template. To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Sometimes the template is the one mentioned at the very top of the page source. |
#3
|
|||
|
|||
Well the last one hour and a half I have been able to do two things:
Now I realy don't know how to get rid of the 'what's new tab'. I think I've found the code in the source: <li><a class="navtab" href="search.php?do=getnew&contenttype=vBForum _Post">What's New?</a></li> But I've tried deleting this piece of code and other pieces that resembled it but it doesn't seem to do anything (navbar template): <li><a href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBFor um_Post">{vb:rawphrase new_posts_nav}</a></li> In the source code it all seems so simple but when I get to the templates it has all this stuff that I can't realy make sense of. Another thing that I still don't know how to acomplish exaxtly is putting static content on top of a specific category. The only option I see is doing it with a announcement but I'm not sure if I can put html in that. And to remove the part with the litle house with 'forum' next to it, I haven't found a way to do that either. |
#4
|
||||
|
||||
To remove the whole What's New tab:
Find and remove from the navbar template all the stuff between this line " {vb:raw template_hook.navtab_middle}" and this line "{vb:raw template_hook.navtab_end}". I think that should do it (I haven't tried it). |
#5
|
|||
|
|||
That did the trick except it also removed my other added tabs. But I found the piece of code that did only remove the whats new tab withing that area of the code. So thanks!
Do you have any suggestions for placing content above a specific section? |
#6
|
||||
|
||||
I would guess you would edit the template. I really don't know where you are talking about adding something, so I can't be more specific. An image would help.
|
#7
|
|||
|
|||
Lets take the the page your on right now for example. I want to be able have a section of content above the posts. And be able to have this specific content only above this topic.
If you still dont know what I mean I will put a picture up. |
#8
|
||||
|
||||
Then you probably want something in the SHOWTHREAD template and you'll want to put a condition about it:
HTML Code:
<if condition="$thread[threadid] == xx"> stuff </if> |
#9
|
|||
|
|||
What is an example of an thread id? And instead of above a thread I want the content above all threads of a certain category/forum. So instead of $thread[threadid] I use ?
Can I use that code also in the AD template? I think that might be simpler for me. |
#10
|
||||
|
||||
If you want a condition in the SHOWTHREAD template based on the forumid, then either $thread[forumid] or $forum[forumid]:
HTML Code:
<if condition="$forum[forumid] == xx"> stuff </if> You can try it in an ad template (I don't use those, so don't know for sure). |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|