vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - Random Smilies by BOP5 (for VB 3.x & 4.x) (https://vborg.vbsupport.ru/showthread.php?t=299030)

BirdOPrey5 06-11-2013 10:00 PM

Random Smilies by BOP5 (for VB 3.x & 4.x)
 
1 Attachment(s)
Brought to you by BirdoPrey5 / Qapla.com

This was a mod I made on a whim of a suggestion at my Off-topic forum. Wouldn't it be cool if :random: inserted a random smilie? So I made it- and it is fun to us, especially for sites with hundreds of smilies.

Live Demo: http://www.qapla.com/mods/showthread...om-Smilie-Demo

This mod will replace :random: (or any string you specify) in the post with a random smilie from your smilie collection. It makes this change before the post is saved so it never changes again after the initial insertion.

The mod by default will pick from ALL your smilies but if you prefer there is an option to only pick out of specific smilie categories if you have your smilies organized.

Works in Threads/Posts and PMs.

=========== COMPATIBILITY ===========

Should work on all VB 3.8 (and 3.7, and maybe 3.6) and all 4.x versions.

------------------------------------------------------

Please "Mark as Installed" if you use this. :)
Donations always appreciated. :up:
Nominate MOTM if you LOVE it! ;)

BirdOPrey5 06-12-2013 01:42 PM

Reserved.

Thangvip9x 06-12-2013 04:10 PM

Thanks, Mark as Installed

Thangvip9x 06-12-2013 04:12 PM

I used vbulletin 4.2.1

faisaly.com 06-13-2013 02:46 PM

Too bad it didn't post the smilie automatically without having to type the word, members will have no idea how to use this mod...

BirdOPrey5 06-13-2013 05:28 PM

Quote:

Originally Posted by faisaly.com (Post 2427893)
Too bad it didn't post the smilie automatically without having to type the word, members will have no idea how to use this mod...

You could create a smilie called :random: with a ? or something as the image if your users need to click on something. Wold still work.

faisaly.com 06-13-2013 06:30 PM

I don't think you follow me correctly, how would a member know what to type in a post to make the random smiley show. The only one who knows what to type in the new post is the admin because they set it up in the admincp settings...

Maybe an editor button using a bbcode to place the :random: code (or whatever they use) would be better...

BirdOPrey5 06-14-2013 10:05 PM

I just made a post telling users about the new feature.

faisaly.com 06-15-2013 02:04 PM

Actually I have this working using thread stencil mod together with your random smiley mod. It places the word :random: or whatever I choose to use for random smiley mod. Then I add the word :random: using the thread stencil mod settings per forum. It will place the word :random: in any post I have set and will display the random smiley code automatically in the new thread...


All times are GMT. The time now is 01:17 AM.

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.00968 seconds
  • Memory Usage 1,727KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete