Support Forum
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.
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.
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...
Visit Cruise Talk Central and Mr Papa's World
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.
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.
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.
Visit Cruise Talk Central and Mr Papa's World
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:
So it's still using the WP emoticons. Here's how I configured my custom emoticons:
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.
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..
Visit Cruise Talk Central and Mr Papa's World
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?
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..
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)