Go Back   vBulletin Setup > vBulletinSetup Information > vBulletin Skins, Styles and Templates

Why not Register and remove some of the ads from vBulletin Setup
Post New Thread  Reply



#1   02-23-2008, 08:25 AM
LinkBliss will become famous soon enough Join Date: Jan 2007 Posts: 98 Location: LinkBliss
Smilies - How to do Underneath and Random


How can I do smilies underneath and random like on this board? Is there a mod or hack?

I started to add some to one of my boards and this is what it looks like right now

MapPoint Forums

A little off I think.

Quote   |  



#2   02-23-2008, 08:31 AM
LinkBliss will become famous soon enough Join Date: Jan 2007 Posts: 98 Location: LinkBliss
Re: Smilies - How to do Underneath and Random


I found this:
GTSmiliebox - Move Below Editing Area - Page 4 - vBulletin.org Forum

Any updates to this hack? It is two years old. I saw someone say it works with 3.6.8 so I guess it's OK.

Also, how can I show them randomly from a specific category or categories?

Thanks,
Eric
Quote   |  



#3   02-23-2008, 09:34 AM
LinkBliss will become famous soon enough Join Date: Jan 2007 Posts: 98 Location: LinkBliss
Re: Smilies - How to do Underneath and Random


Well, I'm getting there.. I found this.
Random - vBulletin.org Forum

Now to try it all out!

Eric
Quote   |  



#4   02-23-2008, 01:46 PM
Send a message via AIM to Brandon Send a message via MSN to Brandon Send a message via Yahoo to Brandon Brandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of light Join Date: Jul 2006 Posts: 9,246 Location: Topeka, KS
Re: Smilies - How to do Underneath and Random


we use the gtsmiliebox linked above

vb does random smilies already ;) why add another hack ?
--------------------
Brandon Sheley / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Reply to the Welcome PM for Full Access to the Forums.. Thanks

Please do not PM me for support, that's what the forums are for.
Have you heard about Crowdgather?
Find it on Forums
Check out this cool page - Bar Code Signatures
Quote   |  



#5   02-23-2008, 03:35 PM
LinkBliss will become famous soon enough Join Date: Jan 2007 Posts: 98 Location: LinkBliss
Re: Smilies - How to do Underneath and Random


I would agree, but how do you set that up? I thought I had tested it and that wasn't happening by default.

Anyway, it is done now, I will revisit this when I upgrade to 3.7.

Anyway, I got them all set up now.
Windy City Chat

I used some sets from
Vbulletin Smiley Packs but deleted a lot of smiley on smiley gore from the weapons set and also the odd ass or fuck reference and fingers that I thought might offend some people.
Quote   |  



#6   02-23-2008, 06:30 PM
Jacqueline will become famous soon enough Join Date: Feb 2008 Posts: 33
Re: Smilies - How to do Underneath and Random


Did you give all your smilies the same number? I believe that's the trick you need to make them random.
--------------------
~ Jacqueline
Quote   |  



#7   02-23-2008, 08:57 PM
Michael Biddle is just really niceMichael Biddle is just really nice Join Date: Aug 2006 Posts: 1,514 Location: Anaheim, CA
Re: Smilies - How to do Underneath and Random


Yes. All smilies must have the same display order to show randomly.
--------------------
Do NOT PM me for Support!
Michael Biddle / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Quote   |  



#8   05-12-2008, 12:24 PM
glennybee has a spectacular aura about Join Date: Mar 2008 Posts: 145 Location: Scotland
Re: Smilies - How to do Underneath and Random


Was going to start a thread on this but found this one.

I wanted to randomize the smilies and found the same info that Michael has supplied but I couldn't get it to work that way. All my smilies are display no.1 and the same smilies always came up when replying to or starting a thread.

The way I got round it is...

Edit the functions_editor.php file in /includes.

Find this code:

Code:
// query smilies
 = ->query_read_slave("
	SELECT smilieid, smilietext, smiliepath, smilie.title,
		imagecategory.title AS category
	FROM " . TABLE_PREFIX . "smilie AS smilie
	LEFT JOIN " . TABLE_PREFIX . "imagecategory AS imagecategory USING(imagecategoryid)
	ORDER BY imagecategory.displayorder, imagecategory.title, smilie.displayorder
");
Change it to:

Code:
// query smilies
 = ->query_read_slave("
	SELECT smilieid, smilietext, smiliepath, smilie.title,
		imagecategory.title AS category
	FROM " . TABLE_PREFIX . "smilie AS smilie
	LEFT JOIN " . TABLE_PREFIX . "imagecategory AS imagecategory USING(imagecategoryid)
	ORDER BY rand()
");
This works for me. Hope it helps others.
--------------------
Digital Kaos | Dreambox Guides
Quote   |  



#9   05-12-2008, 02:00 PM
Send a message via AIM to Brandon Send a message via MSN to Brandon Send a message via Yahoo to Brandon Brandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of light Join Date: Jul 2006 Posts: 9,246 Location: Topeka, KS
Re: Smilies - How to do Underneath and Random


hmm, I have a ton of the smaller smiles in one group and that group is set to 1
all the rest go up expidentially 2,3,4,5
The smaller smiley show up randomly in the quick reply and the new thread/new reply area for me on vbsetup, do they now for you without editing the php files?
--------------------
Brandon Sheley / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Reply to the Welcome PM for Full Access to the Forums.. Thanks

Please do not PM me for support, that's what the forums are for.
Have you heard about Crowdgather?
Find it on Forums
Check out this cool page - Bar Code Signatures
Quote   |  



#10   05-12-2008, 02:05 PM
glennybee has a spectacular aura about Join Date: Mar 2008 Posts: 145 Location: Scotland
Re: Smilies - How to do Underneath and Random


Without editing the php file, I can't get them to randomize.

Maybe I'm doing it wrong but it's not exactly rocket science lol.
--------------------
Digital Kaos | Dreambox Guides
Quote   |  
Post New Thread  Reply
vBulletin Setup > vBulletinSetup Information > vBulletin Skins, Styles and Templates


Tags
emotions, smilies

Thread Tools
Display Modes

 
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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Random Picture thread game Brandon General Discussion 47 Today 04:23 AM
Display Content in a Random Order - XHTML Valid Method Brandon vBulletin Programming & Coding 6 02-15-2008 06:45 AM
Smilies bin_asc vBulletin Buttons - Icons 6 01-30-2008 10:38 AM
Help with smilies anama vBulletin Questions 5 09-17-2007 02:46 AM
google leaderboard underneath my photogallery mototips vBulletin Questions 9 08-20-2006 04:24 PM


All times are GMT -6. The time now is 09:46 AM.

vBulletin Setup, vBulletin Setup Forums, vBulletin Services, vBulletin Blogs, vBulletin SEO, vBulletin Questions, vBulletin Skins, Styles, Templates
vBulletin Hacks / Modifications, vBulletin Monetization, Blogs, vBulletin Link Directory,Quality Link Directory