Advertisement:

Author Topic: Multiple codes to represent a single smiley  (Read 4671 times)

Offline Biology Forums

  • SMF Hero
  • ******
  • Posts: 3,747
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Multiple codes to represent a single smiley
« on: February 29, 2016, 12:41:52 PM »
Is it possible to have multiple codes to represent a single smiley without uploading the same smiley twice?

Look at where it says "code"... perhaps add a comma and then another code. How can this be done?

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,448
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: Multiple codes to represent a single smiley
« Reply #1 on: February 29, 2016, 03:44:50 PM »
Is it possible to have multiple codes to represent a single smiley without uploading the same smiley twice?

Look at where it says "code"... perhaps add a comma and then another code. How can this be done?

Probably not ideal, but it worked for me in the past. ;)

Waits to be bombarded for such a ludicrous suggestion,
« Last Edit: February 29, 2016, 04:03:05 PM by lurkalot »

Offline Biology Forums

  • SMF Hero
  • ******
  • Posts: 3,747
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: Multiple codes to represent a single smiley
« Reply #2 on: February 29, 2016, 04:04:26 PM »
Not a good idea since that reflects everywhere on the forum (i.e. titles, usernames, etc.), not just in post content.

Offline margarett

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,761
  • Gender: Male
Re: Multiple codes to represent a single smiley
« Reply #3 on: February 29, 2016, 04:47:14 PM »
But yes, you can define multiple codes for the same smiley. Although it's not that easy as comma-separating the codes, you can add multiple codes which relate to the same image
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline Biology Forums

  • SMF Hero
  • ******
  • Posts: 3,747
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: Multiple codes to represent a single smiley
« Reply #4 on: February 29, 2016, 04:52:07 PM »
But yes, you can define multiple codes for the same smiley. Although it's not that easy as comma-separating the codes, you can add multiple codes which relate to the same image

Right, but there's an issue with that... I think a clever coder should create some sort of array where many codes can be separated via a comma only.

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,448
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: Multiple codes to represent a single smiley
« Reply #5 on: February 29, 2016, 05:10:12 PM »
But yes, you can define multiple codes for the same smiley. Although it's not that easy as comma-separating the codes, you can add multiple codes which relate to the same image

Aha, you can indeed.


Right, but there's an issue with that... I think a clever coder should create some sort of array where many codes can be separated via a comma only.

Agreed, tis a little long winded doing it this way.  ;)

Admin > Forum > Smileys and message icons >  Add smiley.

1: Make sure "Use Existing File " is selected.
2: Choose smiley from the dropdown.
3: Add new Code.
4: Add Tooltip or description.
5: Location, set to hidden for one or the other, otherwise both versions will show.

Save changes.

Offline Biology Forums

  • SMF Hero
  • ******
  • Posts: 3,747
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: Multiple codes to represent a single smiley
« Reply #6 on: February 29, 2016, 05:59:34 PM »
Right, that works.. I just don't think it's a permanent method, more like a backdoor method that you'll end up regretting...

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Multiple codes to represent a single smiley
« Reply #7 on: March 18, 2016, 06:18:15 PM »
@Shuban: I've been working on a mod for this, and have gotten the admin UI changes mostly written.....  How does this look so far?

Offline Biology Forums

  • SMF Hero
  • ******
  • Posts: 3,747
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: Multiple codes to represent a single smiley
« Reply #8 on: March 18, 2016, 06:20:04 PM »
That's incredible. I'm assuming multiple aliases can be added?

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Multiple codes to represent a single smiley
« Reply #9 on: March 18, 2016, 06:21:31 PM »
That's the plan.  Just click "Add Code" to add another.  In order to clear it, just erase the contents of that line....

Offline Biology Forums

  • SMF Hero
  • ******
  • Posts: 3,747
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: Multiple codes to represent a single smiley
« Reply #10 on: March 18, 2016, 06:22:20 PM »
That's the plan.  Just click "Add Code" to add another.  In order to clear it, just erase the contents of that line....

In terms of the donation, I've asked my brother who has Paypal to send it to you. If there is any other way to send you money, please let me know.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Multiple codes to represent a single smiley
« Reply #11 on: March 18, 2016, 06:25:54 PM »
I don't have any other method to accept payment and/or donations at this time....

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,448
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: Multiple codes to represent a single smiley
« Reply #12 on: March 19, 2016, 02:47:40 PM »
That's the plan.  Just click "Add Code" to add another.  In order to clear it, just erase the contents of that line....

In terms of the donation, I've asked my brother who has Paypal to send it to you. If there is any other way to send you money, please let me know.

You could always send it to me, and I'll spend it for him. :)

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Multiple codes to represent a single smiley
« Reply #13 on: March 19, 2016, 07:41:10 PM »
You could always send it to me, and I'll spend it for him. :)
ROFL!!   You funny....

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Multiple codes to represent a single smiley
« Reply #14 on: March 20, 2016, 06:54:13 PM »
Multiple Smiley Aliases mod has been released on my website.....

Offline Biology Forums

  • SMF Hero
  • ******
  • Posts: 3,747
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: Multiple codes to represent a single smiley
« Reply #15 on: March 20, 2016, 11:44:52 PM »
Congratulations on the releases. A few errors, it should be SMF 1.1.21. That was the latest version for SMF. Also, you're missing an O in bilogy ;)

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Multiple codes to represent a single smiley
« Reply #16 on: March 21, 2016, 07:50:12 PM »
It's been fixed.  Thank you!

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Multiple codes to represent a single smiley
« Reply #17 on: March 29, 2016, 05:35:20 PM »
The Multiple Smiley Aliases mod has been approved!

Offline Biology Forums

  • SMF Hero
  • ******
  • Posts: 3,747
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: Multiple codes to represent a single smiley
« Reply #18 on: March 30, 2016, 12:16:56 AM »