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

Reply
 
Thread Tools
Custom User Smileys Details »»
Custom User Smileys
Version: 1.02, by Jafo232 Jafo232 is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 05-17-2006 Last Update: 05-21-2006 Installs: 64
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

-----------------
- Brought To You By:
-
- MediaFlavor.com
-
- Custom VB Mods, Extensions, and Plugins

-----------------

As an administrator of a pretty busy forum, I get tired of users asking to add this smiley, or that smiley, so I wrote up this extension that allows users to upload their own smileys. Each user has a custom smiley set that they can choose from.

Users smilies are private, meaning everyone can see their smilies, but that smiley is only displayed in that users smiley set when they post/reply to an article.

The administrator can limit what groups can use custom smileys, and can define how many smilies users can have, their file size, and W X H restrictions.

ChangeLog:

May 18th, 2006 - Patched popup smilie hook for standard editor (advanced was fine)
May 21st, 2006 - Patched popup smilie hook to include phrases instead of static names. Modified readme slightly for smiliebits.

Installation

Installation is simple and there are NO source code edits.

Set it up, enjoy and

CLICK INSTALL!


This modification is FREE of charge, but if you wish to reward me for my work, and encourage future modifications by me, please donate below:

Supporters / CoAuthors

Show Your Support

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

Comments
  #52  
Old 05-29-2006, 08:24 AM
Cybertims Cybertims is offline
 
Join Date: Nov 2005
Location: Bedfordshire
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sinaluna
OK, I think I have it figured. In the User Smilies Popup Hook replace the code with this:

That sorted it......well done !!

Cheers.
Reply With Quote
  #53  
Old 05-30-2006, 03:08 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Silver_Seagull
I have a question about the file permissions and security.

Would CHMOD 766 [Owner: r/w/e, Group: r/w, Public: r/w] be good enough to use? I don't want an exploit-area open on the server [execute a malicious script, for example]
If it works for you, sure, no problem. My server requires it to be 777 due to an ownership setting.
Reply With Quote
  #54  
Old 06-01-2006, 06:27 PM
squishi squishi is offline
 
Join Date: May 2006
Location: Frankfurt
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Finally I found this thread again.

Installing this mod didn't work out for me, and after uninstalling I now have the following problem in the user group permissions:

There is an extra row without description that only allows to choose yes/no. The user permissions can no longer be saved. When I try to do this I get

Code:
Database error in vBulletin 3.5.4:

Invalid SQL:
UPDATE vb_usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
	`title` = 'Administrators',
	`description` = '',
	`usertitle` = 'Administrator',
	`opentag` = '',
	`closetag` = '',
	`passwordexpires` = '180',
	`passwordhistory` = '360',
	`forumpermissions` = '1048575',
	`attachlimit` = '0',
	`pmquota` = '50',
	`pmpermissions` = '3',
	`pmsendmax` = '5',
	`calendarpermissions` = '63',
	`wolpermissions` = '31',
	`adminpermissions` = '3',
	`genericpermissions` = '205520831',
	`genericoptions` = '31',
	`profilepicmaxwidth` = '900',
	`profilepicmaxheight` = '900',
	`profilepicmaxsize` = '265535',
	`avatarmaxwidth` = '150',
	`avatarmaxheight` = '150',
	`avatarmaxsize` = '50000',
	`usmilie_permissions` = '0',
	`allowhtmlpermissions` = '0',
	`toplistpermissions` = '31'
WHERE usergroupid=6;

MySQL Error  : Unknown column 'usmilie_permissions' in 'field list'
Error Number : 1054
Date         : Thursday, June 1st 2006 @ 12:25:23 PM
Script       : http://mydomain/forum/cpadmin/usergroup.php
Please help me to properly uninstall this mod. :surprised:
Reply With Quote
  #55  
Old 06-01-2006, 07:10 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to remove the bitfield_user_smiley.xml file from the /includes/xml directory as you would with most mods that modify user groups.
Reply With Quote
  #56  
Old 06-02-2006, 11:11 AM
squishi squishi is offline
 
Join Date: May 2006
Location: Frankfurt
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh? Now that was solved easily. Thank you very much Jafo! :up:
Reply With Quote
  #57  
Old 06-14-2006, 03:29 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by squishi
Oh? Now that was solved easily. Thank you very much Jafo! :up:
I live to serve. :bunny:
Reply With Quote
  #58  
Old 06-21-2006, 05:31 PM
basskiller basskiller is offline
 
Join Date: Jan 2003
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Install the product file. where?
thanks
Reply With Quote
  #59  
Old 06-21-2006, 05:33 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by basskiller
Install the product file. where?
thanks
Sigh....

Admin CP -> Plugin System -> Manage Products -> Add/Import Product
Reply With Quote
  #60  
Old 06-21-2006, 06:05 PM
basskiller basskiller is offline
 
Join Date: Jan 2003
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jafo232
Sigh....

Admin CP -> Plugin System -> Manage Products -> Add/Import Product
sorry to have disturbed you. I wonder if your teachers used this same attitude with you when you didn't fully understand something... Yes I found this, but nothing is showing up in the usergroups to click yes or modify to allow any specific usergroup access to this hack.


I do think this is a pretty cool hack. But the snide sarcasism is really not needed. Most of these hacks are put into simplified laymens terms to where it's not assumed that we know everything that you do or where. again.. sorry to bug you with what seems to be such trivial matters.
Yea.. I know just uninstall right?

Like the other guy VaaKo, when all that had to be said if others like a particular smilie that someone else posted. They could just download it and then upload to their group. Problem solved
Reply With Quote
  #61  
Old 06-21-2006, 06:21 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by basskiller
sorry to have disturbed you. I wonder if your teachers used this same attitude with you when you didn't fully understand something... Yes I found this, but nothing is showing up in the usergroups to click yes or modify to allow any specific usergroup access to this hack.


I do think this is a pretty cool hack. But the snide sarcasism is really not needed. Most of these hacks are put into simplified laymens terms to where it's not assumed that we know everything that you do or where. again.. sorry to bug you with what seems to be such trivial matters.
Yea.. I know just uninstall right?

Like the other guy VaaKo, when all that had to be said if others like a particular smilie that someone else posted. They could just download it and then upload to their group. Problem solved

First of all, why would you install any modification if you do not even understand what or where the plugin/product system is? That is just baffling.

Second, did you UPLOAD the files as per the readme?

Quote:
Upload all the files and folders in the upload folder.
Or must I spell this out too? OK:

Unzip the zip file I gave you with a program called winzip. This program can be found at: http://www.winzip.com/. Just use your mouse with your favorite hand and click the underlined characters to the left.

(If you are unfamiliar on how to use a mouse, TYPE this in your browse address bar: http://www.lawrencegoetz.com/programs/mousepractice/ )

From there, click the download link and follow their directions to download and install winzip.

Once you find the folder where you unzipped the zip file, go to the upload folder, in otherwords OPEN THE upload folder. ALL OF THESE contents you must upload to the same folder where your Vbulletins index.php file is. That INCLUDES the folders, AND the files. This does NOT include the folder upload. You upload FROM the upload folder.

Magically, when you go to edit usergroups, it will rebuild the bitfields! Yay :banana: !!!

Now if you need any further assistance, please, contact me, I enjoy explaining the trivial.

TTFN, I must get back to this pile of code I write for free to further benefit the Vbulletin community who in general are at least thankful for it.....
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 04:55 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.04850 seconds
  • Memory Usage 2,315KB
  • Queries Executed 26 (?)
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
  • (7)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