Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Change the display order of smilies Details »
Change the display order of smilies
Mod Version: 1.00, by Chen (Member) Chen is offline
Developer Last Online: Mar 2009 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 75
Released: 20 Aug 2001 Last Update: Never Downloads: 2
Not Supported  

Description:
This hack will allow you to set the display order of clickable smilies (if you use them).
It's good if you have a lot of smilies, and want the more commonly used to be shown in the box.

Demo:


Installation:
1. Run the following queries either in phpMyAdmin or thru Telnet: (one query at a time)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

2. In functions.php (in your admin folder) replace

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And also replace

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

3. In smilie.php (in your admin folder) replace

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Below

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

add

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Above

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

add

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Requested by:
JJR512

That's it! Feedback, requests and anything else is more than welcome.
Good luck!

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Change the display order of message icons Chen vBulletin 2.x Full Releases 14 11 Dec 2002 16:42

Comments
  #2  
Old 20 Aug 2001, 09:47
dxb's Avatar
dxb dxb is offline
 
Join Date: Oct 2001
nice simple and effective .... I'll try it now
Reply With Quote
  #3  
Old 20 Aug 2001, 09:55
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Real name: Justin J. Rebbert
Alright, it's done, and it's great!

You know in the other thread I was about to say that the one line replacement you had originally (which added the ORDER BY bit) didn't work. I guess there was a lot more to it, though! Hope it wasn't too much trouble...but I love it! Thank you!
__________________
-Justin J. "JJR512" Rebbert
www.JJR512.com: Chat about anything!
Reply With Quote
  #4  
Old 20 Aug 2001, 09:57
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
Thanks!

Yeah I know JJR, I forgot to replace another line.
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

[email protected]
Reply With Quote
  #5  
Old 20 Aug 2001, 11:13
Hoffi's Avatar
Hoffi Hoffi is offline
 
Join Date: Nov 2001
Real name: Christian
Cool Hack and it works directly.
Good work.
Reply With Quote
  #6  
Old 20 Aug 2001, 11:40
weezle
Guest
 
kool hack m8 ur on fire with these hacks @ the mo
Reply With Quote
  #7  
Old 21 Aug 2001, 01:27
Zecherieh
Guest
 
I was actually doing something similiar at the same time, but wanted random


2. In functions.php (in your admin folder) replace

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And also replace

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #8  
Old 21 Aug 2001, 10:38
dost dost is offline
 
Join Date: Oct 2001
Thanks FireFly, it works great!
Reply With Quote
  #9  
Old 21 Aug 2001, 22:39
snyx's Avatar
snyx snyx is offline
 
Join Date: Oct 2001
omg, do I ever want this!
but I never thought of it as a hack?
THANKS MAN!

*snyx runs off to install*
Reply With Quote
  #10  
Old 21 Aug 2001, 22:41
snyx's Avatar
snyx snyx is offline
 
Join Date: Oct 2001
I tired to copy paste the queries into phpmyadmin and I get errors?
Reply With Quote
  #11  
Old 21 Aug 2001, 23:40
dost dost is offline
 
Join Date: Oct 2001
Originally posted by snyx
I tired to copy paste the queries into phpmyadmin and I get errors?
the instructions say (one query at a time)
so you have to run the first line of the query, then the second, then the third ...
Reply With Quote
  #12  
Old 21 Aug 2001, 23:49
snyx's Avatar
snyx snyx is offline
 
Join Date: Oct 2001
I obviously tried that genius!
Reply With Quote
  #13  
Old 21 Aug 2001, 23:54
dost dost is offline
 
Join Date: Oct 2001
How do you expect anyone to help you when you don't even tell what error you get?!? And do you always respond like that when people try to help you?
Reply With Quote
  #14  
Old 22 Aug 2001, 00:09
snyx's Avatar
snyx snyx is offline
 
Join Date: Oct 2001
whatvere, I got it myself
but now Im getting this when I try to modify my smilies

Database error in vBulletin Control Panel: Invalid SQL: SELECT smilietext,smilieid,title,smiliepath,showid FROM smilie ORDER BY showid LIMIT 0,15
mysql error: Unknown column 'showid' in 'field list'
mysql error number: 1054
Date: Tuesday 21st of August 2001 07:06:03 PM
Script: /forums/admin/smilie.php?action=modify
Referer: http://www.xxxx-xxxx.com/forums/admi...php?action=nav


Ideas?
Reply With Quote
  #15  
Old 22 Aug 2001, 07:28
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
You didn't create the new field, showid.
Hold on a bit, I'll come up with a file to do everything itself.
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

[email protected]
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 02:40.

Layout Options | Width: Wide Color: