Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
smiley category hack Details »»
smiley category hack
Version: 1.00, by tkeil69575 tkeil69575 is offline
Developer Last Online: Sep 2007 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 06-16-2003 Last Update: Never Installs: 25
 
No support by the author.

This hack will allow you to sort your smilies into categories. especially usefull if you have many smilies.

features are:
----------------

in admin cp:

add categories
sort categories
delete and edit categories
asign category on upload
show category in smilie overview
--> see admincp1-3.gif

in pop-up window of link [get more]:
shows a selectbox with categories
--> see screenshot popup.gif

tested with vb 2.2.9 and vb 2.3.0

hack requires database alterations
and editing of smilie.php and admin/index.php

have fun

Show Your Support

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

Comments
  #22  
Old 06-19-2003, 02:11 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 04:51 PM -Sidekick- said this in Post #20
Last question. Does your hack "play along well" with FireFly's smilie hack?

https://vborg.vbsupport.ru/showthrea...threadid=25888
same question here too.
Reply With Quote
  #23  
Old 06-19-2003, 07:40 AM
tkeil69575 tkeil69575 is offline
 
Join Date: Nov 2001
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the hack works fine together with firefly's hack. the order of smilies still works for the smilies shown directly in the post form, but is not adhered to in the pop-up window.

greets
tina
Reply With Quote
  #24  
Old 06-19-2003, 08:44 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, damn, nice!

Code:
Is there ady idea, how to make relative the smilie paths store in the db? I mean, not "images/smilies/red" but just adding variable $redsmile, if the path maches predefined values? So if I have to later the site structure, I can only change the variable values?
Reply With Quote
  #25  
Old 06-20-2003, 03:32 AM
Sam FT's Avatar
Sam FT Sam FT is offline
 
Join Date: Apr 2003
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 03:40 AM tkeil69575 said this in Post #22
the hack works fine together with firefly's hack. the order of smilies still works for the smilies shown directly in the post form, but is not adhered to in the pop-up window.

greets
tina
tina great hack, but there is one line that makes firefly's hack not work and it is in the smilie.php file (step 16 from your instructions)

original code:
Quote:
$smilies=$DB_site->query("SELECT smilietext,smilieid,title,smiliepath FROM smilie LIMIT ORDER by title LIMIT ".($limitlower-1).",$perpage");
firefly version of the code:
Quote:
$smilies=$DB_site->query("SELECT smilietext,smilieid,title,smiliepath,showid FROM smilie ORDER BY showid LIMIT ".($limitlower-1).",$perpage");
and your version of the code:
Quote:
$smilies=$DB_site->query("SELECT smilietext,smilieid,smilie.title,smiliegroup.title AS catname,smiliepath,smiliecat FROM smilie LEFT JOIN smiliegroup ON smiliecat=smiliegroup.smiliegroupid ORDER by smilie.title LIMIT ".($limitlower-1).",$perpage");
Reply With Quote
  #26  
Old 06-20-2003, 06:32 AM
tkeil69575 tkeil69575 is offline
 
Join Date: Nov 2001
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

like i said pirate
the order of smilies according to fireflys hack works only in the smilies shown in the reply form and not in the pop up windows of the smiley category hack. smilies there are sorted acording to the smiley title. you could change that if you wanted by editing "ORDER BY smilie.title" to "ORDER BY smilie.showid" if you wanted. when I say it works with fireflys hack, I mean it doesnt conflict with it.

tina
Reply With Quote
  #27  
Old 06-24-2003, 07:38 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We need moreeeeeeeeee female hackers on this community !!
Reply With Quote
  #28  
Old 06-24-2003, 10:58 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tina,

Great to see, what you have done. If there could only be one person (or the vb.com team) that could unite the good features of your and the other (Avatars Category and Permission) hack. Because I would love to categorize not only smilies, but the images I upload as well.

An idea I had about this matter looks like this: we need to have just one "category" and one "metacategory" (last added, time and all other meta info about the other table) where, for example, all smilie groups have one cid incommon, all the avatar categorys have another and another feature would be good - to create subcategorys as we have subforums here. I understand that it's very hard, but you're not the only one arround, we could help. You're just on the right way )
Reply With Quote
  #29  
Old 06-24-2003, 06:29 PM
-Sidekick- -Sidekick- is offline
 
Join Date: May 2002
Location: Cudahy, Wi
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be cool if users had their own category that they could modify for themselves, like a favorites category. =]
Reply With Quote
  #30  
Old 06-24-2003, 06:36 PM
-Sidekick- -Sidekick- is offline
 
Join Date: May 2002
Location: Cudahy, Wi
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I installed this, the order boxes from the FireFly hack became blank. Though when I uninstalled the hack, the boxes were no longer blank.
Reply With Quote
  #31  
Old 06-27-2003, 04:00 PM
tkeil69575 tkeil69575 is offline
 
Join Date: Nov 2001
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi sidekick,
i have fireflys hack installed on my board too. there should be no problem and it should not interfeer with his hack. recheck the instructions.

yes i was thinking about an integration with the favourite smilies hack, but am too busy right now for that. maybe someone else will come up with that.

greetings
tina
Reply With Quote
Reply

Thread Tools

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 06:15 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.06350 seconds
  • Memory Usage 2,306KB
  • Queries Executed 27 (?)
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
  • (5)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_postinfo_query
  • fetch_postinfo
  • 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