vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - MySmilies VB (https://vborg.vbsupport.ru/showthread.php?t=135336)

yonglvnv 01-03-2007 12:54 AM

Quote:

Originally Posted by FleaBag (Post 1149519)
It's mad, you think you have everything your vB needs and you log on and see a sweet ass hack such as this! Thanking you. :)

I second that.

Great mod. installed and voted MOTM!

Kentaurus 01-03-2007 01:18 AM

Quote:

Can you add permissions for a per-user basis?
No, but you can always create a usergroup and add that only user to it :)

Quote:

When the user inputs a new keyword will all posts with that keyword use their smilie? or does the new smilie only show in the users posts? Is the new smilie parsed so it will not interfere with current keywords? (if not might I suggest AJAX to make this check on-the-fly?
Depends on how you configure the hack. The default behavior is that if the user enters a new smilie, the smilie is only used in the new posts for that user.

You can configure the hack in such way that every time a user adds a new smilie then the cache is cleared (and, all his posts are updated the next time someone views them), but this is somehow server intensive and is disabled by default.

Please keep in mind that the smilie is only available for the user that uploaded it. Anyone else using that keyword will not get the smilie. When a user adds a smilie it is checked against his smilies (no duplicated keywords allowed) and against the forum smilies (cannot override forum smilies).

Quote:

Are there restrictions on type of images? Can you add an option to limit file types?
You can restrict size and dimensions. Any image type is allowed (gif, jpg, png)

Quote:

Are there instructions for adding the MySmilies dropdown for the Quick Reply box too?
I don't think that's default in vbulletin? Quick reply doesn't have a smilie dropdown. Since the hack extends the current smilies behavior I suppose if standard smilies were added to the quickreply custom smilies would appear, too.

Quote:

edit...I would like to recommend adding a blank index.html to the zip for the mysmiliesvb directory for security :)
Thanks, will do.

Brew 01-03-2007 01:33 AM

One little thing I've found:

In the usercp the background of the text in the left panel is black. The main user control panel page that is...

With a white skin it's hard to see.

Looks like it's missing some css code or something :)

Exitilus 01-03-2007 01:40 AM

Hmm..... I've just installed this and I'm trying to upload a smiley to test .. getting the error Imageinfo Failed:

Kentaurus 01-03-2007 01:48 AM

Quote:

Originally Posted by Exitilus (Post 1149584)
Hmm..... I've just installed this and I'm trying to upload a smiley to test .. getting the error Imageinfo Failed:

That seems to be an imagemagick error (vbulletin can use either gd or imagemagick), are you uploading an smilie inside the allowed dimensions (60X60 is the default), otherwise vbulletin will try to resize the image to fit.

This problem is not specific to this mod, but to imagemagick, I found the following thread that might help:
http://www.vbulletin.com/forum/showthread.php?t=177800

Exitilus 01-03-2007 02:02 AM

I found the issue. VBulletin didn't like the image so I just resaved it. Thanks for the suggestion as it allowed me to find out what was going on :)

Kentaurus 01-03-2007 02:13 AM

Quote:

Originally Posted by Brew (Post 1149581)
One little thing I've found:

In the usercp the background of the text in the left panel is black. The main user control panel page that is...

With a white skin it's hard to see.

Looks like it's missing some css code or something :)

Fixed and updated zip, thank you :) The background css class was not being created. A plugin was added.

Exitilus 01-03-2007 02:25 AM

BTW will it error out if someone else has already used the same replacement variable or image ?

Brew 01-03-2007 02:34 AM

Excellent work, Kentaurus!

Ver1.02 fixed the css problem.

Great mod man

Bounce 01-03-2007 02:41 AM

Installed and working great, superb hack Kentaurus

Nominated also and clicked install, many thanks , my users will love this :cool:


All times are GMT. The time now is 12:47 PM.

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.02602 seconds
  • Memory Usage 1,739KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete