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)
-   -   [v1.2] Edit / Report Button Hack (https://vborg.vbsupport.ru/showthread.php?t=45344)

Boofo 12-09-2002 08:32 AM

Great hack, Mist. :) Just a question or two, though.

What if you don't allow your Mods to edit posts in certain forums? And what if I want to report a post to my moderators if I come across one that I think they should know about? The only thing is that you don't want to have the report button show up on your own post, Admin or not. But I think you need it there, otherwise.

Dean C 12-09-2002 04:04 PM

I thought this is why most sites have a forum for their staff.

To be honest i can't see a way around this...

Feel free to post any ideas :D

- miSt

Boofo 12-09-2002 09:52 PM

It's simple, just do 2 pieces of code instead of combining them into one. Sometimes a Mod or Admin can run across a message that they want the other Mods to know about and it would be easier to report it in the post than to go to a separate area and report it, you know what I mean? :)

Edit: That's ok, Mist, I went ahead and installed Firefly's code for this. It handles it like I explained. Good hack, though. Congrats! ;)

Dean C 12-10-2002 03:42 PM

Are you sure firefly's code shows this for admins?

I dont think it does..

- miSt

Boofo 12-10-2002 03:59 PM

Quote:

Originally posted by Mist
Are you sure firefly's code shows this for admins?

I dont think it does..

- miSt

Yes, ma'am, it does. That's what I was using before I tried your hack. It shows the edit button AND the report button for Admins and Moderators, like it really should be. :) Just the regular users will only see one or the other.

N9ne 12-10-2002 05:06 PM

Quote:

Originally posted by Boofo


Yes, ma'am, it does. That's what I was using before I tried your hack. It shows the edit button AND the report button for Admins and Moderators, like it really should be. :) Just the regular users will only see one or the other.

LOL!

" ma'am "

Classic, Mist won't be happy :D

Dean C 12-10-2002 05:30 PM

Ahhhh i see... so it shows both...

I'll intigrate this into the hack then... brb

- miSt

Bison 12-11-2002 12:41 PM

Nice hack!

Dean C 12-11-2002 06:17 PM

Thanks ^ :D

- miSt

Boofo 12-11-2002 06:23 PM

Quote:

Originally posted by Mist
Ahhhh i see... so it shows both...

I'll integrate this into the hack then... brb

- miSt

Let me know when you do this and I will take another look at it. :)


All times are GMT. The time now is 06:14 PM.

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.01155 seconds
  • Memory Usage 1,733KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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