The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
is there any mod which hides links / attactment from unregistered users?
Hi,
I am looking for a mod that will hide / not show links or attachments within a post to unregistered users. willing to pay if required. Thanks |
#2
|
||||
|
||||
if a link is displayed it does not necessarily mean that the group can download attachment
downloading attachment is controlled via USERGROUP MANAGER (Permissions) |
#3
|
||||
|
||||
1) users on my forum post hundreds of links to external sites. i dont want these to seen my unregistered users.
2) i dont want unregistered users to see attachments at all. leave alone downloading them. Thanks again |
#4
|
|||
|
|||
I don't know about the url parsing, it'll be in the bbcode functions somewhere.
The attachments is fairly easy if you know how to hack the templates. Assuming the site you mean is your url (i.e. vb 3.0) open the postbit template, find Code:
<if condition="$show['attachments']"> Code:
<if condition="$show['attachments'] AND $bbuserinfo[userid]"> |
#5
|
||||
|
||||
thanks for your reply. what is i want to block a whole usergroup ... i.e. say i have user group for people under 50 posts. whom i dont want to show the attachments to. then whats the code i need to attach.
|
#6
|
|||
|
|||
Oh ok well okay there is lots of info stored in various variables, so I'll list them and you can just pick and choose as you need.
Okay you need to have Code:
<if condition="$show['attachments']"> $bbuserinfo[userid] = the user's id. if $bbuserinfo[userid] exists, it means they are logged in $bbuserinfo[posts] stores the number of posts $bbuserinfo[usergroupid] stores the usergroup of the member. So for example, Code:
<if condition="$show['attachments'] AND $bbuserinfo['posts'] > '50'"> Code:
<if condition="$show['attachments'] AND $bbuserinfo['usergroupid'] == '6'"> Code:
<if condition="$show['attachments'] AND $bbuserinfo['usergroupid'] != '6'"> If you specify exactly who you want to see attachments, I can create exact code for you. (If you want to mix and match the rules dependant on forum then although possible, that's much messier and beyond my personal range.) |
#7
|
|||
|
|||
Quote:
for attachments, you can disable guest view in group permission / |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|