Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Disable Smilies from the User Control Panel Details »»
Disable Smilies from the User Control Panel
Version: 1.00, by Gary King Gary King is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-30-2003 Last Update: Never Installs: 7
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-31-2003, 02:34 AM
monstergamer's Avatar
monstergamer monstergamer is offline
 
Join Date: Feb 2003
Location: around the corner
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool hack
but i love my smilies lol
Reply With Quote
  #3  
Old 05-31-2003, 02:41 AM
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Posts: 2,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, a user requested this hack, so here it is
Reply With Quote
  #4  
Old 05-31-2003, 04:36 AM
PhoenixBB PhoenixBB is offline
 
Join Date: May 2002
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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]
Reply With Quote
  #5  
Old 05-31-2003, 09:30 AM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice

Satan
Reply With Quote
  #6  
Old 05-31-2003, 09:20 PM
PhoenixBB PhoenixBB is offline
 
Join Date: May 2002
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I bow before your magnificence!

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

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>
Reply With Quote
  #7  
Old 05-31-2003, 09:53 PM
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Posts: 2,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

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.
Reply With Quote
  #8  
Old 05-31-2003, 09:55 PM
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Posts: 2,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #9  
Old 06-01-2003, 12:34 AM
PhoenixBB PhoenixBB is offline
 
Join Date: May 2002
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 06-01-2003, 12:53 AM
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Posts: 2,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:03 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04485 seconds
  • Memory Usage 2,290KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete