Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Smilie Hack Details »»
Smilie Hack
Version: 1.00, by Pseudomizer Pseudomizer is offline
Developer Last Online: Feb 2010 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 05-02-2004 Last Update: Never Installs: 16
 
No support by the author.

OR
How-To-manage many smilies in a nutshell

After getting more and more requests from administrators i decided to create one hack which should serve most of the requests. I got the request for a category hack for smilies and i got the request to manage many smilies very easy without creating multiple templates and html files.

Due to this i decided to create an extra page for smilies. This page reads out specific directories which you specify upfront. I also added category names which can be set up front for each specific folder.

So you edit the smilie_config.php just once and afterwards you just upload any smilie graphics into the appropriate folder. The rest is done via the script.

On top of this i added a single box at the top which is a small javascript. To make it very easy for your people to add the smilies into any thread or pm, they just have to click on any graphic and the appropriate link to this particular smilie will occur in the box. So they just have to cut and paste the link into any thread or pm.

Installation instructions are in the zip file. Install time estimated: 10 mins

And again: NO database changes are required and no modification of existing php files. If you wish i can post a code how to replace the link for more smilies in each thread or pm creation with a link to the new file but i added an additional link in my domain.

I will only give support if you click on the install button on the right upper corner or you click on this INSTALL link.

Known Bugs/Error Messages:
- if there are any other files then graphic files in the folder the script will not recognize this. This will be fixed in the next release.
- if you get the error message: Warning: Invalid argument supplied for foreach() in functions_smilies.php on line 40 then you specified a wrong path to your smilies in the smilie_config.php

Cheers,

Show Your Support

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

Comments
  #2  
Old 05-02-2004, 10:26 PM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi @LL,

here are 2 screenshot where you can see what this hack does.

The yellow arrow shows the box where the link to the smilie will occur and it will be already in an [IMG] tag for cut and paste.

The green arrow shows the categories which can be defined.

Cheers,
Reply With Quote
  #3  
Old 05-02-2004, 11:22 PM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm not quite what i was looking for
i would have prefered if it was intergrated with the existing smilie popup
ie catergory MSN , YAHOO , POSITIVE , NEGATIVE etc
and when u click on the catergory it would present the catergory in the same popup and the same smilie replacements as vbulletin

but this is completely different
Reply With Quote
  #4  
Old 05-03-2004, 12:05 AM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by msimplay
hmm not quite what i was looking for
i would have prefered if it was intergrated with the existing smilie popup
ie catergory MSN , YAHOO , POSITIVE , NEGATIVE etc
and when u click on the catergory it would present the catergory in the same popup and the same smilie replacements as vbulletin

but this is completely different
Sorry that this does not fit for you. Good luck in finding someone else for what you request.

Cheers,
Reply With Quote
  #5  
Old 05-03-2004, 12:13 AM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pseudomizer
Sorry that this does not fit for you. Good luck in finding someone else for what you request.

Cheers,
good hack none the less
Reply With Quote
  #6  
Old 05-03-2004, 12:15 AM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by msimplay
good hack none the less
Perhaps we can talk about the next version when i have finished my next hack. We could take your request as an enhancement request for the next version. Or i can offer a complete new version which solves your needs but he have to be very specific how you want it.

Cheers,
Reply With Quote
  #7  
Old 05-03-2004, 12:27 AM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pseudomizer
Perhaps we can talk about the next version when i have finished my next hack. We could take your request as an enhancement request for the next version. Or i can offer a complete new version which solves your needs but he have to be very specific how you want it.

Cheers,
your very kind obviosly i'd like this to be made
so i'll be as specific as i can

bare with me while i make a html demo of how i'd like it
Reply With Quote
  #8  
Old 05-03-2004, 01:16 AM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pseudomizer
Perhaps we can talk about the next version when i have finished my next hack. We could take your request as an enhancement request for the next version. Or i can offer a complete new version which solves your needs but he have to be very specific how you want it.

Cheers,
ok got the demo made all u gotta do is unzip the files and keep them in their directory state and then open up smilie link.html for the smilie pop up and u'll see how i invisioned smilie catergories

Smilie_demo removed because it is done

here
Reply With Quote
  #9  
Old 05-03-2004, 10:03 AM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack well done, but i agree with msimplay, his idea would be great
Reply With Quote
  #10  
Old 06-13-2004, 08:45 AM
egyptsons's Avatar
egyptsons egyptsons is offline
 
Join Date: Jan 2004
Location: Egypt
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MindTrix
Nice hack well done, but i agree with msimplay, his idea would be great
me too
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 02:29 PM.


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.05791 seconds
  • Memory Usage 2,296KB
  • Queries Executed 23 (?)
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
  • (6)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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