vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Edit Poll Link only viewable by staff (https://vborg.vbsupport.ru/showthread.php?t=53167)

assassingod 05-19-2003 10:00 PM

Edit Poll Link only viewable by staff
 
Edit Poll Link only viewable by staff

Author: assassingod

Description: This simple hack will only show the 'Edit Poll' link for Admins, Super Mods and Mods

Screenshots:
Staff Logged In
Others Logged in

Download:
https://vborg.vbsupport.ru/attachmen...&postid=397753

Tested on vB version:
2.3.0


If you use this hack please click the INSTALL button - thank you!

assassingod 05-20-2003 05:57 PM

A member of Staff Logged in:

assassingod 05-20-2003 05:57 PM

Guest/Member or whatever logged in:

Sebastian 05-20-2003 07:13 PM

great. I'd like to see this done for the edit, ip, etc options too ;)
like here at vbulletin.org.

assassingod 05-20-2003 07:18 PM

Not hard. I'll do it tomorrow:)

Dan 05-20-2003 07:25 PM

Interesting hack..... might install this later after i watch the FINAL episode of Buffy

/me clicks install

Chris M 05-20-2003 07:47 PM

Quote:

Today at 09:13 PM Sebastian said this in Post #4
great. I'd like to see this done for the edit, ip, etc options too ;)
like here at vbulletin.org.

Already exists - Hack by Mist;)

Satan

Boofo 05-20-2003 08:02 PM

Nice hack. Where were you about 3 months ago when I needed this instead of having to do it through the template? ;)

I edited the template and used the following with Logician's Dynamic Templates Hack:

$permissions[ismoderator]

That way, only someone who is allowed to moderate that forum (plus Admins and Supermoderators) can see it.

Boofo 05-20-2003 08:04 PM

Quote:

Today at 03:47 PM hellsatan said this in Post #7
Already exists - Hack by Mist;)

Satan

Wrong. Mist did the one for the edit button in the postbit. This is for the polls. Completely different.

Alien 05-20-2003 10:11 PM

Just a note that this adds 1 query to threads that include a poll.

Just a heads up folks. :D


All times are GMT. The time now is 08:14 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01049 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete