vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   MySmilies VB for v3.5.x (https://vborg.vbsupport.ru/showthread.php?t=138895)

Mosh 02-08-2007 10:00 PM

MySmilies VB for v3.5.x
 
Hack Support

This hack is now discontinued - this means that while it will remain available for download and use, there will be no further updates, nor will support be provided as the thread is no longer monitored.

Please click Mark as Installed if you are using this hack.


vBulletin Version Compatibility

This hack has be tested with v3.5.8. This has not been tested with earlier versions, but should work.


What Does This Hack Do?

This is a back-port of Kentaurus's MySmilies VB for v3.6.x (version 1.03).

Permission for me to port his hack is granted at the bottom of the 1st post in his thread. Consequently I also grant the same permission to other coders.


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


Update instructions

See post #3


Screenshots

Please see Kentaurus's MySmilies VB for v3.6.x thread for screenshots, they are virtually the same as this is a port of his hack.


Version History

v1.02 - Sunday 11th February 2007
-- Final Release
-- Fixed: Cached a template

v1.01 - Saturday 10th February 2007
-- Added: 3 new plugins
-- Added: 2 new phrases

v1.00 - Friday 9th February 2007
-- Initial Release
-- Backported v3.6 version of hack by Kentaurus
-- Changed: Templates
-- Added: Image file


Information For Other 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 Appreciation

Although not required, if you have enjoyed the benefits of this hack, and would like show your appreciation for my efforts, then please feel free to click on the Support Developer link and donate any amount you feel is appropriate.

Mosh 02-09-2007 08:37 PM

Updated the hack - see first post for version history.

Mosh 02-11-2007 05:54 AM

Upgrade instructions from v1.01 to v1.02

1. In the AdminCP select Plugin System --> Plugin Manager

2. Edit the Cache a UserCP template plugin

3. Delete the contents and replace with the code below:
Code:

$globaltemplates[] = 'usercp_nav_folderbit';
$globaltemplates[] = 'mysmilies_imagebit';

4. Click Save.

That is it, all done :)

AcidX 02-11-2007 05:39 PM

Great hack. Installed ;)

egyptsons 05-08-2007 07:33 PM

Thanks :) I'll try it


All times are GMT. The time now is 05:26 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.01161 seconds
  • Memory Usage 1,725KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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