Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Only Show IPs to Admins Details »»
Only Show IPs to Admins
Version: 1.0.0, by Chris M Chris M is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Version: 3.5.0 RC1 Rating:
Released: 07-14-2005 Last Update: Never Installs: 31
Uses Plugins Template Edits
 
No support by the author.

[high]Installation Instructions[/high]

Step 1: Upload the plugin
Step 2: Alter the template [high]postbit_ip[/high]
Find:
HTML Code:
<if condition="$show['ip']">
$vbphrase[ip]: $post[ip]
<else />
<a href="postings.php?$session[sessionurl]do=getip&p=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/ip.gif" alt="$vbphrase[ip]" title="$post[ip]" border="0" /></a>
</if>
Replace with:
HTML Code:
<if condition="is_member_of($bbuserinfo, 6)">
<if condition="$show['ip']">
$vbphrase[ip]: $post[ip]
<else />
<a href="postings.php?$session[sessionurl]do=getip&p=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/ip.gif" alt="$vbphrase[ip]" title="$post[ip]" border="0" /></a>
</if>
</if>
[high]Credits[/high]
Requested: here

Satan

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 07-15-2005, 03:30 PM
Corriewf's Avatar
Corriewf Corriewf is offline
 
Join Date: Dec 2004
Location: parse error
Posts: 799
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hellsatan
Taken directly from /modcp/thread.php:

PHP Code:
if (!can_moderate(0'canmassmove') AND !can_moderate(0'canmassprune'))
{
    
print_stop_message('no_permission');

There are some permissions already

If you are referring to Super Mods, there is nowhere to set their permissions, sadly

But I believe it was KirbyDE that released a Code Mod to control their permissions

Satan
Yes, supermod is what im referring too. When I am home I will shoot you a pm with the code I am using.
Reply With Quote
  #13  
Old 07-15-2005, 03:49 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by corriewf
Yes, supermod is what im referring too. When I am home I will shoot you a pm with the code I am using.
Ok cool

I said it when vB3.0.x came out, but nobody listened really - Supermod permissions is a must-have >_<

I'll request it again on vB.com - Maybe they'll realise how important it is and add it in to 3.5

Edit: http://www.vbulletin.com/forum/showthread.php?t=76502

Satan
Reply With Quote
  #14  
Old 07-15-2005, 03:54 PM
Corriewf's Avatar
Corriewf Corriewf is offline
 
Join Date: Dec 2004
Location: parse error
Posts: 799
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hellsatan
Ok cool

I said it when vB3.0.x came out, but nobody listened really - Supermod permissions is a must-have >_<

I'll request it again on vB.com - Maybe they'll realise how important it is and add it in to 3.5

Edit: http://www.vbulletin.com/forum/showthread.php?t=76502

Satan

It would be nice to itemize the features they could have. Like giving them access to certain admin functionalities without give them the whole thing. I mean this can be done currently but not without altering the code on the index pages.
Reply With Quote
  #15  
Old 07-15-2005, 04:11 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by corriewf
It would be nice to itemize the features they could have. Like giving them access to certain admin functionalities without give them the whole thing. I mean this can be done currently but not without altering the code on the index pages.
Well as we know the Mod CP will be dispanded and all Staff controls will be done through the one Control Panel

When this happens, more control over what Navigation Options and Links users with levels of permissions can see should be easier to implement and alter

Until then, Super Moderator permissions should mimic Moderator controls which you edit on the forums they moderate, with perhaps a few extra permissions added relating to what level of IP they can view etc for both groups

Satan
Reply With Quote
  #16  
Old 07-16-2005, 12:10 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Regarding Supermod Permissions:
As there seems to be a Feature Freeze for vB 3.5, I somewhat doubt that Supermod Permissions will make it into this release.
For those who need it, take a look at my Profile for a Hack to set Supermod Permissions like normal Mod Permissions.
Reply With Quote
  #17  
Old 07-16-2005, 01:28 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
Regarding Supermod Permissions:
As there seems to be a Feature Freeze for vB 3.5, I somewhat doubt that Supermod Permissions will make it into this release.
For those who need it, take a look at my Profile for a Hack to set Supermod Permissions like normal Mod Permissions.
I already have that installed

I was just hoping that the vB devs would add it as a default feature

Satan
Reply With Quote
  #18  
Old 07-16-2005, 03:34 PM
Brinnie's Avatar
Brinnie Brinnie is offline
 
Join Date: Jul 2005
Location: Louisiana
Posts: 360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello, Hellsatan,

First, thank you for writing this mod.
Could you please tell me the steps I need to do to ONLY hide the ADMINS IP from the moderators?

I do not want them other members IP's hidden.

Thanks.
Reply With Quote
  #19  
Old 07-17-2005, 11:37 AM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brinnie
Hello, Hellsatan,

First, thank you for writing this mod.
Could you please tell me the steps I need to do to ONLY hide the ADMINS IP from the moderators?

I do not want them other members IP's hidden.

Thanks.
I am currently altering this on my test board - I am having trouble getting it to recognise the usergroups, and as to show the IP i.e. in the postbit image or not

Satan
Reply With Quote
  #20  
Old 07-20-2005, 04:03 PM
Anette's Avatar
Anette Anette is offline
 
Join Date: Apr 2004
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice!
Reply With Quote
  #21  
Old 07-26-2005, 12:08 PM
karanlikdunya karanlikdunya is offline
 
Join Date: Apr 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when I install the plugin it gives db error & the site not working. How can
I solve this issue?
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 07:52 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04712 seconds
  • Memory Usage 2,324KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_html
  • (1)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete