![]() |
Anyway to keep this from showing in certain forums? I have a staff forum and other forums where I do not want people to share to facebook from. I know it is a conditional of some sort but I am not a coder and don't know how to write it. By the way very nice hack and works well. :)
|
Quote:
i will have a mess around with this idea tomorrow for you. hope i can come up with a solution. |
Use the following conditional around Shawn's code and change 1,2,3,4,5,6,7,8,9,10 to the forum id's you wish to not show this in.
Code:
<if condition="$forum[forumid] != 1,2,3,4,5,6,7,8,9,10"> "Shawn's code" vbulletin conditionals: https://vborg.vbsupport.ru/showthread.php?t=215032 |
Thanks Blindeddie you rock man
|
Received this error The following error occurred when attempting to evaluate this template:
Parse error: syntax error, unexpected ',' in /hermes/waloraweb048/b2393/moo.gamelandcom/forums/includes/adminfunctions_template.php(3950) : eval()'d code on line 166 This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish. |
I am sorry, I did not add proper code. Again, change x,x,x,x,x to the forum id's you wish to hide this in.
<if condition="!in_array($forumid, array(x,x,x,x,x))"> Shawns Code </if> |
Thanks heaps guys. I have updated the first post to what i tested and worked for me, on how to hide in certain forums.
Let me know how you go for those that test it, thanks. Quote:
|
Worked like a bleddy charm. Shawney I love your forum can I join it? And do you have a forum Blind Eddie
|
I do, its a test site full of 3.8 addons and edits, link in sig. Its a hobby.
I have two other vb sites up, one is not quite finished yet. |
Works great, thanks.
|
All times are GMT. The time now is 03:02 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|