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

-Sidekick- 05-21-2003 04:45 AM

Quote:

Yesterday at 04:04 PM Boofo said this in Post #9
Wrong. Mist did the one for the edit button in the postbit. This is for the polls. Completely different.
He wasn't talking about this hack. He was talking about the request in the quote of his post.

Boofo 05-21-2003 04:49 AM

Quote:

Today at 12:45 AM -Sidekick- said this in Post #11
He wasn't talking about this hack. He was talking about the request in the quote of his post.
Ahh, ok. I guess I didn't see the quote. My bad.

Chris M 05-21-2003 09:02 AM

Yes you are bad:p

Nice steve;)

Chris

Dean C 05-21-2003 01:01 PM

I did this via dynamic templates too :)

Should be stock in vb3 i think :)

- miSt

assassingod 05-21-2003 01:51 PM

Thanks for the feedback.

@Boofo: Sorry:p


All times are GMT. The time now is 07:22 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.02405 seconds
  • Memory Usage 1,742KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete