Go Back   EA Forums > Hideaway Forums > amykhar's Hideaway

amykhar's Hideaway A premium support forum for my vbulletin modifications. Members of this forum receive extra help, bug fixes, etc. for my code. To join, Subscribe to the Vbulletin Plan Minor feature requests will be considered, but major mod alterations will require a special contract.

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 07-31-2005, 02:34 PM
amykhar's Avatar
Forum Code Administrator
 
Join Date: Jun 2000
Location: PA
Posts: 19,953
amykhar has a spectacular aura aboutamykhar has a spectacular aura about
Smilie Category Dropdown

This one is a beta mod that will help divide up the more smilies page.

Unfortuately, it's a code mod because the query has to change.

It's a pretty easy one to install though. Hope you like it.

This is mod may NOT be released on any other vbulletin-related site. If you would like to download it, register here and then send a PM to me asking to join my hideaway group.

Amy
 
Attached Images
File Type: gif smiliecats.gif (25.1 KB, 22 views)
Attached Files
File Type: txt install.txt (2.3 KB, 49 views)
__________________
Salt makes mistakes taste great.

Last edited by amykhar; 07-31-2005 at 03:00 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 08-27-2005, 06:34 AM
Uno's Avatar
Uno Uno is offline
Registered Member
 
Join Date: Aug 2005
Location: Italy
Posts: 375
Uno is on a distinguished road
Re Smilie Category Dropdown

I thought to modify it little , I would want to directly put the selection before opening the additional window.
I hope that it does not give you annoyance.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 08-27-2005, 10:25 AM
amykhar's Avatar
Forum Code Administrator
 
Join Date: Jun 2000
Location: PA
Posts: 19,953
amykhar has a spectacular aura aboutamykhar has a spectacular aura about
Re Smilie Category Dropdown

No, it doesn't
 
__________________
Salt makes mistakes taste great.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 09-15-2005, 12:49 PM
New Member
 
Join Date: Aug 2005
Posts: 2
Cyricx is on a distinguished road
Re Smilie Category Dropdown

Bug with table prefixes

Got an sql error, fixed it by changing this

Code:
 // First, I need a list of smilie categories to fill the dropdown box.
 $smiliecats = $db->query_read("SELECT imagecategory.title as category, imagecategory.imagecategoryid FROM ".TABLE_PREFIX."imagecategory where imagetype=3 ORDER BY title");
to this

Code:
 // First, I need a list of smilie categories to fill the dropdown box.
 $smiliecats = $db->query_read("SELECT imagecategory.title as category, imagecategory.imagecategoryid FROM ".TABLE_PREFIX."imagecategory AS imagecategory where imagetype=3 ORDER BY title");
Had to add the "AS imagecategory"
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 09-15-2005, 12:55 PM
amykhar's Avatar
Forum Code Administrator
 
Join Date: Jun 2000
Location: PA
Posts: 19,953
amykhar has a spectacular aura aboutamykhar has a spectacular aura about
Re Smilie Category Dropdown

Hmm. I wonder if that's a difference in mysql versions? It's running fine with no errors here. But, it should probably be there for form anyway.

Amy
 
__________________
Salt makes mistakes taste great.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 09-15-2005, 04:56 PM
Uno's Avatar
Uno Uno is offline
Registered Member
 
Join Date: Aug 2005
Location: Italy
Posts: 375
Uno is on a distinguished road
Re Smilie Category Dropdown

For me work (in forum test )

I have only write 1 ".TABLE_PREFIX." after SELECT

Tank Amy is nice.... the next week i install it on the main frum

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 09-15-2005, 05:58 PM
New Member
 
Join Date: Aug 2005
Posts: 2
Cyricx is on a distinguished road
Re Smilie Category Dropdown

It tries to look for "imagecategory.title" rather then "vb3_imagecategory.title" without the AS statement
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 09-15-2005, 09:24 PM
amykhar's Avatar
Forum Code Administrator
 
Join Date: Jun 2000
Location: PA
Posts: 19,953
amykhar has a spectacular aura aboutamykhar has a spectacular aura about
Re Smilie Category Dropdown

Ah. I keep forgetting about table prefixes.
 
__________________
Salt makes mistakes taste great.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 10-03-2005, 09:53 PM
Registered Member
 
Join Date: Sep 2005
Posts: 29
AngelArs is on a distinguished road
question Re Smilie Category Dropdown

A lot of people who will be using this will have a lot of smilies. Just wondering, wouldn't it make more sense to first open up to a page of category links, and then the user can just open the one that they need? That way you wouldn't have to load every single smilie each time that its used.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 10-16-2005, 04:51 PM
foreverdarkness's Avatar
New Member
 
Join Date: Oct 2005
Posts: 1
foreverdarkness is on a distinguished road
Re Smilie Category Dropdown

I tried to install this and everytime the smile popup window opens it keeps loading the full list of smilies. When you select a category it just basically refreshes the whole smilie list and stays at the top. Any idea's to help fix this?
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11  
Old 10-16-2005, 05:53 PM
amykhar's Avatar
Forum Code Administrator
 
Join Date: Jun 2000
Location: PA
Posts: 19,953
amykhar has a spectacular aura aboutamykhar has a spectacular aura about
Re Smilie Category Dropdown

Did you change the query? It doesn't sound like you did.
 
__________________
Salt makes mistakes taste great.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12  
Old 10-16-2005, 05:54 PM
amykhar's Avatar
Forum Code Administrator
 
Join Date: Jun 2000
Location: PA
Posts: 19,953
amykhar has a spectacular aura aboutamykhar has a spectacular aura about
Re Smilie Category Dropdown

Quote:
AngelArs said
A lot of people who will be using this will have a lot of smilies. Just wondering, wouldn't it make more sense to first open up to a page of category links, and then the user can just open the one that they need? That way you wouldn't have to load every single smilie each time that its used.
Not necessarily. Most people use the same few smilies over and over again. The way this is set up, it will pull up the default category first. Then, users can change categories as needed. If the smilies are orgainized right, it will save most users a click.

Amy
 
__________________
Salt makes mistakes taste great.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13  
Old 10-18-2005, 09:57 AM
New Member
 
Join Date: Oct 2005
Posts: 2
eure-mudder is on a distinguished road
question Re Smilie Category Dropdown

Quote:
amykhar said
Not necessarily. Most people use the same few smilies over and over again. The way this is set up, it will pull up the default category first. Then, users can change categories as needed. If the smilies are orgainized right, it will save most users a click.

Amy
Here on this Site, default smilie categories shows up by default.
On my test board where I installes the Hack, no categories ist picked by default.I always have to chose one category first.
Is there any chance to change this?
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14  
Old 10-18-2005, 09:59 AM
amykhar's Avatar
Forum Code Administrator
 
Join Date: Jun 2000
Location: PA
Posts: 19,953
amykhar has a spectacular aura aboutamykhar has a spectacular aura about
Re Smilie Category Dropdown

Yes. Change the number for the default id that I have. Here, the default category is 19. Check to see what yours is and change the 19 to the new number.
 
__________________
Salt makes mistakes taste great.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15  
Old 10-19-2005, 02:12 AM
New Member
 
Join Date: Oct 2005
Posts: 2
eure-mudder is on a distinguished road
Re Smilie Category Dropdown

Thanks amy, could have seen that myself.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16  
Old 10-21-2005, 05:52 PM
New Member
 
Join Date: Oct 2005
Posts: 4
TosaInu is on a distinguished road
Re Smilie Category Dropdown

Nice hack amykhar,

Can it be made to work for the smiliepage in postingrules too?
misc.php?do=showsmilies
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17  
Old 10-21-2005, 06:29 PM
amykhar's Avatar
Forum Code Administrator
 
Join Date: Jun 2000
Location: PA
Posts: 19,953
amykhar has a spectacular aura aboutamykhar has a spectacular aura about
Re Smilie Category Dropdown

I'm sure you could. It's just a matter of looking at the code and patching it in.

Amy
 
__________________
Salt makes mistakes taste great.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18  
Old 10-22-2005, 10:45 AM
New Member
 
Join Date: Oct 2005
Posts: 4
TosaInu is on a distinguished road
Re Smilie Category Dropdown

Yes, thanks amykhar. I also extended this for the avatar page: the 1000's didn't load at first.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19  
Old 11-02-2005, 07:20 PM
New Member
 
Join Date: Nov 2005
Posts: 1
Lyricsmama is on a distinguished road
Re Smilie Category Dropdown

Thanks so much Works like a charm, my members are HAPPY again lol
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20  
Old 11-02-2005, 09:16 PM
amykhar's Avatar
Forum Code Administrator
 
Join Date: Jun 2000
Location: PA
Posts: 19,953
amykhar has a spectacular aura aboutamykhar has a spectacular aura about
Re Smilie Category Dropdown

Happy to be of service.
 
__________________
Salt makes mistakes taste great.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #21  
Old 11-12-2005, 11:05 PM
New Member
 
Join Date: Nov 2005
Location: Oberlin, OH
Posts: 1
Freebird is on a distinguished road
Re Smilie Category Dropdown

Amy,
Thank you for allowing me to download this. It is installed and working perfectly at my site.

Don Nelson
VentureRider.org
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #22  
Old 11-17-2005, 12:26 PM
New Member
 
Join Date: Nov 2005
Posts: 1
SpanishHarlem is on a distinguished road
Re Smilie Category Dropdown

Thank you. Installed and working perfectly on my forum.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #23  
Old 01-15-2006, 01:40 PM
New Member
 
Join Date: Oct 2005
Posts: 4
TosaInu is on a distinguished road
Re Smilie Category Dropdown

Can you make an extension to this amykhar? User favourite smileys in newreply?

All-the-vb made some hack for that for the 3.0.x boards. This works to some extent in 3.5, but creating the fav list is pretty different now.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #24  
Old 01-15-2006, 02:40 PM
amykhar's Avatar
Forum Code Administrator
 
Join Date: Jun 2000
Location: PA
Posts: 19,953
amykhar has a spectacular aura aboutamykhar has a spectacular aura about
Re Smilie Category Dropdown

No, sorry. I am not currently doing mods because of time constraints.
 
__________________
Salt makes mistakes taste great.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #25  
Old 01-16-2006, 05:37 AM
New Member
 
Join Date: Oct 2005
Posts: 4
TosaInu is on a distinguished road
Re Smilie Category Dropdown

Good luck with the other projects amykhar.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Refbacks are On

Similar Threads