vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   smiley category hack (https://vborg.vbsupport.ru/showthread.php?t=54441)

Arabs Emperor 07-24-2003 03:22 AM

hey we wana help here any body know

Sun Boy 08-09-2003 04:58 PM

that what i was search for

thank you

MaDCaT75 09-03-2003 07:04 AM

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!

MaDCaT75 09-05-2003 03:03 AM

Someone help..... please?

X-Fan 09-12-2003 08:11 AM

With 200+ smilies on my forums, this is an excellent hack which works great on v2.3.0, thank you! :D

X-Fan 09-12-2003 08:57 AM

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?

X-Fan 09-14-2003 03:42 AM

No takers on fixing the bug with adding multiple smilies? :(

EzX5U 09-15-2003 05:04 PM

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..

X-Fan 11-09-2003 11:53 AM

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?

Nebby 12-11-2003 09:00 PM

Great hack - but i don't get a drop down box in the smilie window.


All times are GMT. The time now is 04:29 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.01096 seconds
  • Memory Usage 1,729KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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