Log in

View Full Version : show not on "Forumhome"


Ghostt
06-04-2010, 08:40 PM
I want to show the " login Box" not on "Forumhome"
but on all other sites.

is there an IF code or so for it?

Ghostt
06-06-2010, 09:23 PM
i need still help.
no experts here`?

Marco van Herwaarden
06-10-2010, 09:18 AM
I don't really understand this request. You want to not show a login option on the forum home, but do want to show it on for example showthread? I can not really imagine a use for that. Why would someone not be able to login from the forumhome?

Ghostt
06-10-2010, 12:40 PM
its simple: The Forumhome Template has its own login box at the sidebar.

that login box what i mean is in the header template, so 2 loginboxes wouldn't have any sense.

so the header loginbox should be blended out at the forumome template.

ChopSuey
06-10-2010, 12:53 PM
Wait, vB3 has a sidebar? :rolleyes:

Ghostt
06-10-2010, 01:01 PM
Wait, vB3 has a sidebar? :rolleyes:

no it dosent have one, i have an custom style.

Marco van Herwaarden
06-10-2010, 01:13 PM
You can place a condition around the login for the THIS_SCRIPT constant having the value of "index".

Ghostt
06-10-2010, 01:24 PM
You can place a condition around the login for the THIS_SCRIPT constant having the value of "index".

sry im not expert in script.
an IF command i would understand , but how would the code look you mean?

Ghostt
06-28-2010, 03:46 PM
so you can help me with a codesnipet?

ChopSuey
06-28-2010, 09:37 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=215032" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=215032</a>

Should help you.

Ghostt
06-28-2010, 09:56 PM
yeah perfect!
thank you ChopSuey
thats what i was looking for and easy :)

<if condition="THIS_SCRIPT != 'index'"></if>