Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #42  
Old 01-03-2007, 05:12 PM
Robru Robru is offline
 
Join Date: Aug 2005
Location: Netherlands
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Marvelous hack, thank you
Reply With Quote
  #43  
Old 01-03-2007, 05:23 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.
That seems like a javascript/wysiwyg issue, what is the replacement text of the smilies that you added?
Reply With Quote
  #44  
Old 01-03-2007, 05:29 PM
bollie's Avatar
bollie bollie is offline
 
Join Date: Jun 2006
Location: Zele (Belgium)
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

:bier:
:nee:
Reply With Quote
  #45  
Old 01-04-2007, 01:13 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well done, this will save me lots of time now, and ill just let users upload their own smilies.
Reply With Quote
  #46  
Old 01-04-2007, 01:24 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kentaurus View Post
Do you have a page in which I could check the error? That error doesn't seem to come from this hack... since it doesn't use any javascript at all.... no javascript code is added or modified. A javascript error in showthread is unlikely since it only translates from text to an <img> tag

But I see that a javascript could happen in quickreply (if you have smilies enabled there) or in newthread in the special scenario that your smilie has a ' in it....
I re-enabled the hack to show you. This is happening for all except non registered. So I am PM you a link with a username and password so you could see it.
Reply With Quote
  #47  
Old 01-04-2007, 06:14 AM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lionel View Post
I re-enabled the hack to show you. This is happening for all except non registered. So I am PM you a link with a username and password so you could see it.
I checked your site. The javascript error that I get is:

Code:
vbPage is not defined
And tracing it a little... it goes back to:
Code:
<!-- [START HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.3' CHANGEID= 5 ] -->
That's another hack that you might have installed (vb Pager?), and it has nothing to do with this hack I think this javascript error would ocurr even without the MySmilies hack installed, MySmilies doesn't use any kind of javascript.
Reply With Quote
  #48  
Old 01-04-2007, 06:23 AM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bollie View Post
:bier:
:nee:
I registered at your site (http://www.pctuts.be/forum/) and tried to start a new thread, I was able to use all the smilies without any problem. The mysmilies hack was, however, disabled, so I wasn't able to test wheter they were the problem.

Could you send me either by email, pm, or attach to a post the source code of the page that gives you the javascript error (with edit - view source code in most browsers) so I could further check it out?
Reply With Quote
  #49  
Old 01-04-2007, 07:04 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kentaurus View Post
I checked your site. The javascript error that I get is:

Code:
vbPage is not defined
And tracing it a little... it goes back to:
Code:
<!-- [START HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.3' CHANGEID= 5 ] -->
That's another hack that you might have installed (vb Pager?), and it has nothing to do with this hack I think this javascript error would ocurr even without the MySmilies hack installed, MySmilies doesn't use any kind of javascript.
hummm, I disabled the pager and the error is still there. I disabled your hack and it's gone. I have been using vbpager for a while now with no problems. Maybe some conflicts?

Thanks for compliment in PM
Reply With Quote
  #50  
Old 01-04-2007, 08:12 AM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kentaurus View Post
Um... should they work in quotes?

A quote is more generic, is not always a quote of a post from other user. A special parsing would be needed to consider the scenario.


Since the smilies are user-based, two users can have the same keyword for different smilies, or they could have a completely different set of smilies, meaning that when I parse the quote... I'd need to parse it not with the smilies from the user that published the post, but with the smilies of the user that was quoted. This, at the very least, duplicates the work that needs to be done.
Forum ones would usually,but not a problem, what about working in PM's thou as they don't either, will custom ones only work on the forums then?

Great hack thou, loving it

Quote:
Originally Posted by Kentaurus View Post

The quotes, I'll leave it for a version 2 until I figure out an optimized way to do it.
Thank you

Quote:
Originally Posted by Kentaurus View Post

The error with the preview not showing the smilies will be fixed.
Any time limit on this, apologises if your busy and no major hurry ,again thanks
Reply With Quote
  #51  
Old 01-04-2007, 03:19 PM
Terminatoronly's Avatar
Terminatoronly Terminatoronly is offline
 
Join Date: Mar 2006
Posts: 313
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice
Reply With Quote
Reply


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 01:08 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.04699 seconds
  • Memory Usage 2,317KB
  • 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
  • (4)bbcode_code
  • (8)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
  • (1)pagenav_pagelinkrel
  • (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