Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Some trouble with smileys options
Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
Oct 16, 2013 - 4:05 pm

I've just spent a good three hours creating some custom icons and smileys for our forum. I first went and uploaded my custom icons via Forum > Custom Icons. That all worked without a hitch. However, when I then went under Components > Smileys I ran into some trouble - I now had all my custom icons show up in there but the original S:P smileys where gone. Thus I could no longer figure out the codes to use since I wanted to replace the original ones. After finding a rather outdated documentation with an old screenshot in S:P Wiki I decided to go ahead with the upload as I could make out the original codes.

So I uploaded the first smiley, but the page didn't refresh. I had to click on Smileys to actually see my new upload. Suddenly the original smileys showed up again as well (the list now expanded) - but the Name and Code columns were empty. Oh well, I continued on uploading the rest of my smileys, assigned the original names and codes, clicked Update Smileys Component - and now the old smileys suddenly had names as well - and codes, e.g. sf-cool - :sf-cool:. I am attaching a screenshot to illustrate.

Capture.PNGImage Enlarger

So, everything seems to be sort of well after all, but it has me wondering if things won't go awry down the road. Also, I see no option to enable/disable WP smileys (see old Wiki entry). Thus when users type e.g. 'colon bracket' they get the WP smiley etc., not our new custom smiley. I am guessing I am missing something or am I misunderstanding how this works? Appreciate some light in the dark.

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 16, 2013 - 5:33 pm

There is an enabling of new, custom smileys... its the In Use column...  that must be checked for smileys to show in the front end...

custom icons and custom smileys are totally unrelated and have no bearing on each other...  I see no way they could cross from one to the other...   unless you mistakenly set the storage for each to be the same....  can you please check that on forum - integration - storage locations...  clearly, they cannot be the same...

Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
Oct 16, 2013 - 5:46 pm

Did the Usage option so they are showing up under Smileys in the editor. But in previous versions it seems there were additional options. I would like to avoid S:P pulling standard WP emoticons when users type e.g. ':' and ')' but rather use our custom icons for that as well. But I have a feeling that's not possible.

Well, I checked the storage options, which I've never touched to this day. Smileys Folder and Custom Icons Folder both point to /forum-smileys. That'll explain it then. No clue how this happened, I never even as much as looked at this option before. Which would be the custom icons folder? I don't see anything matching under wp-content.

Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
Oct 16, 2013 - 6:00 pm

I searched and found http://codex.simple-press.com/.....locations/. Folder forum-custom-icons listed there did not exist on my server. I created the folder manually and moved all my custom icons in there.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 16, 2013 - 6:42 pm

sorting them into separate folders should fix your situation...

the smileys logic will use sp smileys first...  if not found, it will check wp... but if you replace wp with sp, it wont use the wp ones...  this is in the forum only, of course.

Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
Oct 17, 2013 - 4:04 am

Then it appears smileys aren't working as intended, at least for us. I've set up all my custom smileys and they appear in the Smileys box under the editor but here's what's happening when a user types an emoticon:

Capture-1.PNGImage Enlarger

 

 

So it's still using the WP emoticons. Here's how I configured my custom emoticons:

 

 

custom_smileys.PNGImage Enlarger

 

 

 

Or am I still misunderstanding? Would typing : and ) always lead to a WP smiley and only using : and 'smile' and : to using the SP custom smiley? The latter would mean I have to explain this to students or point them to the Smileys box and we ultimately end up with a mix of smileys.

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 17, 2013 - 10:27 am

correct.  if you want an sp smiley to "replace" the wp smiley, it has to have the same code as the wp smiley...

if you want an sp smiley for : and ) then make that the code, not : and smile and :

and dont forget, you can turn off wp smileys on wp - settings - writing..

Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
Oct 17, 2013 - 11:37 am

Got it. Tried it and it's working now. Thanks so much for the clarification.

One final note though, the issue mentioned earlier. Something I just observed again:

- Went under Components > Smileys > Custom Smiley Upload > Browse

- Selected a smiley to upload >Uploading... > Smiley uploaded! However, the page does not refresh

- I uploaded another smiley

- I clicked on Components > Smileys to refresh the page (probably not supposed to do that)

- The first smiley uploaded appears, the second didn't. In addition two of my pre-existing smileys disappeared

- Thus I click Update Smiley Component. Now all smileys appear again, including the second one and the two 'lost' ones'

- The two 'lost' ones now have no entry under Name or Code, though they were populated before.

That is the same behavior I experienced yesterday. I am assuming the system expects a smiley to be uploaded and that the user then clicks Update Smiley Component after each upload. And because I am not doing this I am seeing the order of events as outlined above. Correct or bogus?

Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
Oct 17, 2013 - 12:58 pm

I'm giving up, S:P keeps resetting my smileys after a random number of edits. See screenshot below. I've just wasted another hour making some changes and redoing this over and over, again and again, and it keeps blanking out:

 

Capture-2.PNGImage Enlarger

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 17, 2013 - 5:17 pm

I am not sure I understand the issue - appreciate you are losing data occasionally...  it is best, but not sure its required (frankly, dont touch smileys after getting them set up once), to do one smiley at a time...

the only way it would blank out like that is for invalid data...  its a really tough one to perform error checking on and since the data gets serialized before stored in the db, often dont know there is a problem before its too late...  that said, normally that would result in losing all the smiley data, not just the name or code...  just ran a couple of tests and I could lose everything with bad data, but I couldnt get it to drop just the name and code...  odd..

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625