Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
MySmilies VB Details »»
MySmilies VB
Version: 1.00, by Kentaurus Kentaurus is offline
Developer Last Online: Jul 2014 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.8 Rating:
Released: 01-01-2007 Last Update: 01-04-2007 Installs: 141
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

Tested with vb 3.6.8

This hack puts the control of the smilies on the users. It lets any user (that you give permission to) upload or modify the smilies that he can use.

These are not the smilies that vb uses, these are user-customized smilies. The smilies that you already have in place are preserved and are still used. But users may upload their own smilies for their use, and they are kept separate from the forum smilies.

For users:
  • Users can keep a library of smilies (they can upload them from their computer or web)
  • Users enter their replacement text, for example, :iamhappy: would be changed for his user-happy smilie
  • The custom smilies are parsed in any post, signature, or pm
  • If they have enabled the WYSIWYG editor, smilies are shown there
For administrators:
  • Usergroup control of who may upload custom smilies
  • Usergroup control of the size (width, height, size in bytes) of the smilie
  • Smilie quota, both for max number of smilies and max number of bytes or hard disk space
  • The administrator can choose where to save the smilies (the directory, default: mysmiliesvb)

Installation instructions

See the included readme.txt

Info for hackers:
You may modify, improve, upgrade, redistribute this hack, include it
in another hack or yours or translate it provided you do it free of
charge and you distribute it in www.vbulletin.org at least, there is no
need to pm me asking for permission
Some portions of the code are (c) Jelsoft Enterprises Ltd.

Show Your Support

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

Comments
  #72  
Old 01-06-2007, 11:40 AM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trana View Post
I receive the following error/code when I click on Upload a Smilie:



And etc, etc.
That looks like a corrupted upload of class_dm_mysmiliesvb.php in the includes directory, please try reuploading it.
Reply With Quote
  #73  
Old 01-06-2007, 12:32 PM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nimrod. View Post
I have the exact same problem and I have the latest version1.03. Refreshing it seems to clear it, but I dont want my member seeing that code and getting freaked out by thinking that they did something wrong.

Also, what about using our own smilies in PMs? The other person dosent recive the smilies, just the code for it. Will thisbe fixed when the quotes are fixed?
Both the pm support and the html code appearing when using quickreply was fixed in version 1.03... I am unable to reproduce the problem.

In you admin control panel => Plugin Manager, does the plugin "Let the WYSIWYG editor know about the custom smilies" looks identical to this one?

Code:
// ############################### MySmilies VB Hack ###########################    
    if ($vbulletin->options['mysmiliesvb_option_masterswitch'] && is_array($vbulletin->smiliecache))
    {
        $smilies = $vbulletin->db->query("SELECT * FROM ".TABLE_PREFIX."mysmiliesvb WHERE userid=".$vbulletin->userinfo['userid']."");
        while ($smilie = $vbulletin->db->fetch_array($smilies))
        {
            $smiliedata = array();
            $smiliedata['smilieid'] = "9999".$smilie['mysmiliesvbid'];
            $smiliedata['title'] = '';
            $smiliedata['smilietext'] = $smilie['smilietext'];;
            $smiliedata['smiliepath'] = $vbulletin->options['mysmiliesvb_option_smiliesurl']."/mysmilie_".$smilie['mysmiliesvbid'].".gif";
            $smiliedata['showid'] = 0;
            $smiliedata['imagecategoryid'] = 0;
            $smiliedata['displayorder'] = 1;
            $smiliedata['smilielen'] = strlen($smilie['smilietext']);
            $vbulletin->smiliecache["9999".$smilie['mysmiliesvbid']] = $smiliedata;
        }
    }    
    
    // ############################### /MySmilies VB Hack ###########################
Reply With Quote
  #74  
Old 01-06-2007, 08:20 PM
Trana Trana is offline
 
Join Date: Apr 2005
Posts: 604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kentaurus View Post
That looks like a corrupted upload of class_dm_mysmiliesvb.php in the includes directory, please try reuploading it.
Its not corrupted, I just verified.
Reply With Quote
  #75  
Old 01-06-2007, 09:46 PM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bollie View Post
Can someone help me with these ?
I Post New Thread but Smilies and work no longer.
Sadly, I'm still unable to reproduce this problem. Did you try with the latest 1.03 version? A javascript error that might have been the problem was fixed.
Reply With Quote
  #76  
Old 01-06-2007, 09:48 PM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trana View Post
Its not corrupted, I just verified.
Since you are getting php code instead of the parsed code... seems like the file somehow got mixed up. If you open in your browser http://YOUR_SITE/includes/class_dm_myvbstats.php, do you get php code? In that scenario the file is not being parsed.

Reuploading the php files might work in this case.
Reply With Quote
  #77  
Old 01-07-2007, 03:05 AM
bollie's Avatar
bollie bollie is offline
 
Join Date: Jun 2006
Location: Zele (Belgium)
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes i try with the latest 1.03 version.
Now error to showthread & newreply
I if not upload smilie
Reply With Quote
  #78  
Old 01-07-2007, 10:23 AM
nebu nebu is offline
 
Join Date: Sep 2006
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HI!
I have installed this nice little hack and i works well.
only users who upload the smilie can use them?

if i code my new smilies :homer: and i type :homer: , i can see the smilie
and all other users can see it.
but if the other type :homer: , you can only see the code.

in quotes the same problem.
someone posts a new smilie, and you want to quote it and say "nice smilie"

than you see onle the code:

Quote:
Quote:
you look like brian adams :sweetheart:
nice smilie
Reply With Quote
  #79  
Old 01-07-2007, 11:56 AM
Martin-TMGRS Martin-TMGRS is offline
 
Join Date: May 2005
Location: Coventry
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed the hack and works fine but when I try to delete a smilie it dont delete.
Reply With Quote
  #80  
Old 01-07-2007, 06:52 PM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nebu View Post
HI!
I have installed this nice little hack and i works well.
only users who upload the smilie can use them?

if i code my new smilies :homer: and i type :homer: , i can see the smilie
and all other users can see it.
but if the other type :homer: , you can only see the code.

in quotes the same problem.
someone posts a new smilie, and you want to quote it and say "nice smilie"

than you see onle the code:
Only users that upload the smilie can use it, that's the intended behavior The smilies are personal for the user, and completely apart from the forum smilies.

The support for smilies inside quotes is not yet in the hack.
Reply With Quote
  #81  
Old 01-07-2007, 06:52 PM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Martin-TMGRS View Post
Installed the hack and works fine but when I try to delete a smilie it dont delete.
Do you get any error message? Does the page only reload without deleting the smilie?
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 08:16 AM.


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.06203 seconds
  • Memory Usage 2,305KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_code
  • (9)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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