Log in

View Full Version : How do i remove this?


Andy92
03-16-2008, 09:24 PM
Hey there,

I am launching a new tutorial section on my site using vBulletin. Here is the tutorials section so far...

http://www.kedoa.com/forum/forumdisplay.php?f=46

How would i go about deleting the bit that says forum, last post etc under Sub-Forums : Tutorials at the top? Just that bit?

And instead put a space in the that separates the 2. Like the other categories below.

Any ideas?

snakes1100
03-16-2008, 09:40 PM
Seeing as thats a custom template for putting forum, lastpost etc under all categories, i would say you need to remove the subforum one from the forumhome_forumbit_level1_post or level2_post template, not sure what one its in.

Andy92
03-17-2008, 03:53 PM
Ok, ive had a look around and i dont have a clue.

Please can someone help?

Lynne
03-17-2008, 04:15 PM
If you go to vboptions > General Settings, there is an option to put the Template name in the source code. Turn that on and then go to the page and view the source code. You should then see the template name in there.

Andy92
03-17-2008, 04:42 PM
Ok, well it says...

<!-- sub-forum list -->

Then it has the stuff i want to delete there, then underneath it says...

<!-- BEGIN TEMPLATE: forumhome_forumbit_level1_nopost -->

So basically, its under <!-- sub-forum list -->

Where do i find that?

Lynne
03-17-2008, 04:46 PM
Ok, well it says...

<!-- sub-forum list -->

Then it has the stuff i want to delete there, then underneath it says...

<!-- BEGIN TEMPLATE: forumhome_forumbit_level1_nopost -->

So basically, its under <!-- sub-forum list -->

Where do i find that?
Well, somewhere above <!-- sub-forum list --> it says <!-- BEGIN TEMPLATE: this_is_the_template_you_are_concerned_about --> and that is the template you want.

Andy92
03-17-2008, 05:09 PM
Lynne,

I really cant find it.

Can you have a look?

http://www.kedoa.com/forum/forumdisplay.php?f=46

View the source code and search for...

<!-- sub-forum list -->

And its just the stuff below there that i want to delete.

??

Lynne
03-17-2008, 05:19 PM
Lynne,

I really cant find it.

Can you have a look?

http://www.kedoa.com/forum/forumdisplay.php?f=46

View the source code and search for...

<!-- sub-forum list -->

And its just the stuff below there that i want to delete.

??
It looks like it may be just the main template FORUMDISPLAY

Andy92
03-17-2008, 05:33 PM
Ok, got it.

It was in FORUMDISPLAY.

But now what i need to do is put in there something like if sorumid = 46, show nothing, else show this.

How will i go about doing that?

Lynne
03-17-2008, 05:41 PM
Try:


<if condition="$foruminfo[forumid] != 46">
all the html code goes here
</if>

Andy92
03-17-2008, 05:48 PM
Ok thanks! That works great! I see exactly how it works.

So basically if the forum id doesnt equal 46 (the tutorials section), then it displays the code.

Also, 1 last thing. If you take a look at...

http://www.kedoa.com/forum/forumdisplay.php?f=46

It says Sub-Forums : Tutorials then it says Web Development straight underneath it with no gap.

All the other categories have a small gap in between them. How can i put this gap in between these 2?

Lynne
03-17-2008, 07:18 PM
Hmmm, I see a gap there. I'm on a Mac using firefox. I suppose you could try adding a <br /> there?

Andy92
03-17-2008, 07:45 PM
Ok everything is working great! Thanks!