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)
-   -   Message Icons for Only Admins or Mods (https://vborg.vbsupport.ru/showthread.php?t=48661)

amykhar 02-06-2003 10:00 PM

Message Icons for Only Admins or Mods
 
This little hack will allow you to reserve a posting icon for only admins or mods to use. For example, I reserve a tiny flame for admins and mods to mark borderline threads.

It's a 5 second hack, but quite useful.

A screenshot won't do much good for this one. Neither will an example.

amykhar 02-07-2003 09:42 PM

If the mood strikes, I might create a control panel interface to set the icons to modonly. However, as I only have 1 icon reserved I have no real need for this interface.

Derek 02-07-2003 10:32 PM

How about a screenshot? Do you mean with the icons that users have when posting new threads?

amykhar 02-07-2003 10:55 PM

Not sure a screenshot will help much, but here ya go.

Yes, these are the posting or message icons. Not smilies.

empreur76 02-08-2003 10:44 AM

hello

but where i change modonly to 1 !??

thx

Roody 02-08-2003 12:42 PM

So let me see if I understand you correctly. This hack basically gives us icons that we can use as Admin/Mods that wouldnt be available to anyone else?

Chris M 02-08-2003 01:54 PM

@Roody - Yes - I believe that is so:)

Satan

Roody 02-08-2003 02:23 PM

Thanks Hellsatan, just wanted to be sure. :)

amykhar 02-08-2003 03:00 PM

Quote:

Originally posted by empreur76
hello

but where i change modonly to 1 !??

thx

The easiest way is to use phpMyadmin. The query would be UPDATE icon set modonly=1 where iconid=x;

x, of course is the icon that you want to reserve for admins and mods.

Amy

empreur76 02-08-2003 03:30 PM

scuse me but i don't understand !

i put this via phpmyadmin:
ALTER TABLE `vbulletin`.`icon` ADD `modonly` TINYINT NOT NULL

make the change in function.php !
but after when i'm going in my control panel ( modify icon ) i don't see modonly !?
help
thx


All times are GMT. The time now is 07:34 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.01099 seconds
  • Memory Usage 1,724KB
  • 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
  • (1)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