Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 06 Feb 2006, 14:16
Lizard306's Avatar
Lizard306 Lizard306 is offline
 
Join Date: May 2005
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
Reply With Quote
  #2  
Old 06 Feb 2006, 14:27
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Real name: Joe Velez
if a link is displayed it does not necessarily mean that the group can download attachment

downloading attachment is controlled via USERGROUP MANAGER (Permissions)
__________________
Former vBulletin.org Staff Member

Latest Articles:
Liquid Layout = Less Ad Revenue?
How to Monetize Your Site
Improve Web Page Performance
How To Write For The Web


If it needs instructions, there's room for improvement.
Give users what they actually want, not what they say they want. And whatever you do, don't give them new features just because your competitors have them!
Reply With Quote
  #3  
Old 06 Feb 2006, 14:36
Lizard306's Avatar
Lizard306 Lizard306 is offline
 
Join Date: May 2005
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
Reply With Quote
  #4  
Old 06 Feb 2006, 17:38
bairy bairy is offline
 
Join Date: Oct 2005
Real name: Chris
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
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and replace with
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That will only show the attachments to logged in users
Reply With Quote
  #5  
Old 06 Feb 2006, 20:13
Lizard306's Avatar
Lizard306 Lizard306 is offline
 
Join Date: May 2005
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.
Reply With Quote
  #6  
Old 06 Feb 2006, 20:40
bairy bairy is offline
 
Join Date: Oct 2005
Real name: Chris
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
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

there. You can add on other bits of code using AND after the ] but before the " as I have done.

$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,

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

will only show the attachments if the user has over 50 posts. (This method is slightly easier to understand and change than the usergroup method)


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

will only show attachments to administrators (group 6).


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

will only show attachments to those who aren't administrators. Not a practical example I know but useful if you want to exclude just one group.

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.)
Reply With Quote
  #7  
Old 07 Feb 2006, 00:39
hiiped's Avatar
hiiped hiiped is offline
 
Join Date: Jan 2006
Arrow

Originally Posted by Lizard306
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
::::: Hide links from guest / unregistered :::::

for attachments, you can disable guest view in group permission



/
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 17:03.

Layout Options | Width: Wide Color: