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)
-   -   Disable Smilies from the User Control Panel (https://vborg.vbsupport.ru/showthread.php?t=53594)

Gary King 05-30-2003 09:00 PM

Disable Smilies from the User Control Panel
 
Disable Smilies from the User Control Panel

What does this hack do?

It allows users to choose whether or not they would like to view smilies in posts on your board. This is especially useful if certain people do not like your smilies, and/or wish to browse your board without smilies. This hack will convert the smilies back to the code that created the smilie.

How do I install this?

Simply read the instructions in the attached file!

Bugs, Suggestions, Comments

Got something to say about this particular hack? Then don't hesitate to reply back to this thread, and once I've read your post, I'll post a reply to your particular bug, suggestion, or comment.

Quick Links

Upgrade from v1.0 to v1.1

monstergamer 05-31-2003 01:34 AM

cool hack
but i love my smilies lol

Gary King 05-31-2003 01:41 AM

Well, a user requested this hack, so here it is ;)

PhoenixBB 05-31-2003 03:36 AM

Yes me! <hops up and down in excitement>

You may love smilies monstergamer (me too!) but a lot of people can't stand 'em and it ruins their reading experience if the little blighters are all over the place. If they could turn them off like avatars and sigs they would be ecstatic. Trust me on this. ;)

God I always feel I have to apologise to some people when I install more smilies. But no more. They are gonna love me for this. Woo and hoo!

[high]* PhoenixBB clicks install[/high]

Chris M 05-31-2003 08:30 AM

Nice:)

Satan

PhoenixBB 05-31-2003 08:20 PM

I bow before your magnificence!

Worked like a charm on vb2.26 in both IE6 and NS6. :D

Has an unexpected side effect though: Guests now see the code only and not the smilies. Same thing happens with Invision board so it's obviously some quirk. It's not a problem.

My members are gonna be so happy with this, because they can use smilies now without the baleful glare of those who hate 'em making them feel guilty. This is so cool, thank you! <beams>

Gary King 05-31-2003 08:53 PM

Quote:

Today at 06:20 PM PhoenixBB said this in Post #6
I bow before your magnificence!

Worked like a charm on vb2.26 in both IE6 and NS6. :D

Has an unexpected side effect though: Guests now see the code only and not the smilies. Same thing happens with Invision board so it's obviously some quirk. It's not a problem.

My members are gonna be so happy with this, because they can use smilies now without the baleful glare of those who hate 'em making them feel guilty. This is so cool, thank you! <beams>

Fixed. Check the new attachment in the first post of this thread now.

Gary King 05-31-2003 08:55 PM

Upgrading from version 1.0 to 1.1

If you have this already installed, you can simply do the following modification:

Find the following in admin/functions.php:

PHP Code:

    if ($bbuserinfo['showsmilies']) 

Replace it with:

PHP Code:

        if ($bbuserinfo['showsmilies'] or ($bbuserinfo['userid']==0)) 

All done!

PhoenixBB 05-31-2003 11:34 PM

That didn't work Gary. It put the smilies back for guest but it still showed them when I logged in and deselected them. Hmmm.

Gary King 05-31-2003 11:53 PM

Quote:

Today at 09:34 PM PhoenixBB said this in Post #9
That didn't work Gary. It put the smilies back for guest but it still showed them when I logged in and deselected them. Hmmm.
Fixed.

PhoenixBB 06-01-2003 12:03 AM

Yesssssss! It worked!

You're a genius!!

Heh it's the little things, ya know ;)

Ta muchly. :D

Gary King 06-01-2003 12:15 AM

No problem :)

MooMan65 06-13-2003 04:13 AM

Would you be able to provide the details so admins can choose to make certain STYLE(S) to have smilies disabled? While the others are like normal? I say this because the board I admin has styles imitating past forums that we were on before we moved to vBulletin, and one of them didn't have smilies at all, and it looks ugly to see them there. Can you help with that? Thanks.


All times are GMT. The time now is 06:39 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.02192 seconds
  • Memory Usage 1,738KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)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