The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello all i want to disable showing find all posts by user search, Please help me thanku very much
![]() |
#2
|
||||
|
||||
![]()
I don't believe there is a way to disable just that section.....
You could add if conditionals to the find all post by user link in the postbit/postbit legacy (Which ever you use) and the MEMBERINFO templates to hide the link from all but admins. But, if someone knows the URL they will still be able to see post by user. Example: In your postbit_legacy template the code for the find more post by user link is... Code:
<if condition="$show['search']"> <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr> </if> Code:
<if condition="$post['usergroupid'] == 6"></if> After adding conditional: Code:
<if condition="$post['usergroupid'] == 6"> <if condition="$show['search']"> <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr> </if> </if> Happy editing. |
Благодарность от: | ||
Max Taxable |
#3
|
||||
|
||||
![]()
I'll knock you something up if you want?
|
#4
|
||||
|
||||
![]()
Errr!, it was a really simple thing to do, this has no settings (didnt think you'd want them) and will prevent all but staff from using the "Find All Users Posts" even if they know the url.
Enjoy! |
2 благодарности(ей) от: | ||
blind-eddie, ForceHSS |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|