Previous Thread
Next Thread
Print Thread
Hop To
#235988 04/01/2010 3:04 AM
Joined: Jan 2010
Posts: 16
T
stranger
stranger
T Offline
Joined: Jan 2010
Posts: 16
Any Code option avaible to hide attachments for selected groups into selected forums ?

TBolley #235996 04/01/2010 10:46 AM
Joined: Jan 2005
Posts: 186
member
member
Joined: Jan 2005
Posts: 186
You can make it so that groups can't download attachments in the forum permissions, but I don't think you can hide them. That would be a good option to add to the permissions list.

Chosen #236030 04/02/2010 8:34 AM
Joined: Jan 2010
Posts: 16
T
stranger
stranger
T Offline
Joined: Jan 2010
Posts: 16
Originally Posted by Chosen
You can make it so that groups can't download attachments in the forum permissions, but I don't think you can hide them. That would be a good option to add to the permissions list.

hmm on vbulletin some template code avaible for it,

PHP Code
	 
<if condition="$show['attachments']">
		<!-- attachments -->


<if condition="in_array($forum['forumid'], array(8)) AND !is_member_of($bbuserinfo, 5, 6, 9)">

<br>
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<font color="red">You cannot see attachments here.</font>
</table>
</fieldset>
<else /> 

i dont know much the ubb template codes but be sure some code for it avaible todo, hope some developer can answer me this question.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
Who's Online Now
1 members (Ruben), 1,277 guests, and 207 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)