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

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
  #42  
Old 07-24-2003, 03:22 AM
Arabs Emperor's Avatar
Arabs Emperor Arabs Emperor is offline
 
Join Date: Mar 2002
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey we wana help here any body know
Reply With Quote
  #43  
Old 08-09-2003, 04:58 PM
Sun Boy Sun Boy is offline
 
Join Date: Feb 2003
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that what i was search for

thank you
Reply With Quote
  #44  
Old 09-03-2003, 07:04 AM
MaDCaT75 MaDCaT75 is offline
 
Join Date: Jul 2003
Location: Southern California
Posts: 718
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Help! My category list is blank when it first pops up then i have to select the other category and go back to the first one to make it show up!
Reply With Quote
  #45  
Old 09-05-2003, 03:03 AM
MaDCaT75 MaDCaT75 is offline
 
Join Date: Jul 2003
Location: Southern California
Posts: 718
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Someone help..... please?
Reply With Quote
  #46  
Old 09-12-2003, 08:11 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

With 200+ smilies on my forums, this is an excellent hack which works great on v2.3.0, thank you!
Reply With Quote
  #47  
Old 09-12-2003, 08:57 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Whoops, spoke too soon! Everything works fine until I went to add multiple smilies, then I got this error:

Database error in vBulletin Control Panel 2.3.0:

Invalid query id specified
mysql error:

mysql error number: 0

Date: Friday 12th of September 2003 04:49:15 AM
Script: http://www.comixfan.com/xfan/forums/...min/smilie.php
Referer: http://www.comixfan.com/xfan/forums/...?action=add&s=

Looking through the thread, I see I'm not the only one with this problem. Any idea when it'll be fixed?

Also, is there a way to have smilies listed by category on the FAQ page?
Reply With Quote
  #48  
Old 09-14-2003, 03:42 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No takers on fixing the bug with adding multiple smilies?
Reply With Quote
  #49  
Old 09-15-2003, 05:04 PM
EzX5U EzX5U is offline
 
Join Date: Mar 2003
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks man ... i was searching for a hack can do this job..

but i have a little Q..where did u got this cool collection of smiles?
i hope u or any one of the good members here to answer me


thanks
bye..
Reply With Quote
  #50  
Old 11-09-2003, 11:53 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was messing about with the code, and as luck would have it I've fixed the problem with the add multiple smilies bug!

In smilie.php, find:

Code:
 echo "<td align='center'><select name='smiliecat'>";
 while ($category = $DB_site->fetch_array($cats)) {
Replace that with:

Code:
         echo "<td align='center'><select name='smiliecat'>";
         $smiliecats=$DB_site->query("SELECT smiliegroupid AS catid, title AS catname, displayorder FROM smiliegroup GROUP by title ORDER by displayorder");
          while ($category = $DB_site->fetch_array($smiliecats)) {
That should at least get the add multiple option again, however it's not recording the category name for smilies added via the multiple option. It does add the smilies, you just need to go in and edit each one to set its category. I'm not sure how/where to fix that.

Any takers?
Reply With Quote
  #51  
Old 12-11-2003, 09:00 PM
Nebby Nebby is offline
 
Join Date: Mar 2003
Location: England
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack - but i don't get a drop down box in the smilie window.
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 09:59 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.04829 seconds
  • Memory Usage 2,297KB
  • 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
  • (2)bbcode_code
  • (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
  • (2)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