vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Random smilies in posts/reply (https://vborg.vbsupport.ru/showthread.php?t=99426)

Polo 07-03-2006 03:22 AM

quick and easy.

installed on vb 3.5.3

Roxie 08-15-2006 01:39 AM

Quote:

Originally Posted by yumyumcat
Where do I find this in the Admin CP? I can't seem to locate it. :(

In includes/functions_editor.php

This is not in the admin control panel. You would have uploaded it to your server. It is a PHP file.

This also works with 3.6 Gold.

hotwheels 08-24-2006 06:30 AM

yes, it works perfectly on 3.6

PoetJA-1975 10-12-2006 09:30 AM

GREAT - very nice thanx

Jacquii.

PoetJA-1975 01-21-2007 04:16 PM

Great! Works in 3.6.4 as well!
Thanx,

Jacquii.

vivamexico55 02-12-2007 05:26 PM

Any way to do this with a plugin ?

Roxie 03-07-2007 04:19 PM

Works on 3.6.5.

Just replace the last line of the code.

LisaD1 03-29-2008 05:09 AM

Works with 3.6.8

Replaced this part of the code

Code:


LEFT JOIN " . TABLE_PREFIX . "imagecategory AS imagecategory USING(imagecategoryid)
ORDER BY imagecategory.displayorder, smilie.displayorder
");


With this

Code:


LEFT JOIN " . TABLE_PREFIX . "imagecategory AS imagecategory USING(imagecategoryid)
ORDER BY rand()
");


Works like a charm :)

jilly 05-03-2008 05:18 PM

Quote:

Originally Posted by LisaD1 (Post 1477379)
Works with 3.6.8

Replaced this part of the code

Code:


LEFT JOIN " . TABLE_PREFIX . "imagecategory AS imagecategory USING(imagecategoryid)
ORDER BY imagecategory.displayorder, smilie.displayorder
");


With this

Code:


LEFT JOIN " . TABLE_PREFIX . "imagecategory AS imagecategory USING(imagecategoryid)
ORDER BY rand()
");


Works like a charm :)

this works in 3.7.0 too.. wish it could just be a plugin though :)

Roxie 05-30-2008 04:56 PM

Yea. Seems to work, you just have to reapply the change after upgrading, which sucks. lol


All times are GMT. The time now is 10:01 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.01596 seconds
  • Memory Usage 1,730KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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