Hello everyone,
Can anyone please tell me how can i integrate SMF smiley set to my custom project? Thank you!
You will have to be a lot more specific about what you want to do and how if you want any useful help....
I am creating a facebook style wall system for smf and i want to integrate SMF smileys in it so like if i post a code like : D this on wall it should convert to smiley.
ah... see... much clearer now.
I think you would want to use the parse_bbc() and parseSmileys() functions from Subs.php....
http://support.simplemachines.org/function_db/index.php?action=main
Thank you so much :) but why parse bbc ?
well, I assume that you want to allow other BBC type styling as well as smilies...
I am not good at coding as i am new to it could you please put tell me any example or code for smiley parse. :)
Not being funny but if you can't look up the parsesmileys function, you're going to run into a great many more problems with this...
Kindred linked you to the function library. If you look under Subs.php you will see the parseSmileys() function documentation. Have you had a look at that? Was there some question you had in terms of using the function?
Lainaus käyttäjältä: Colin - joulukuu 29, 2013, 02:10:49 AP
Kindred linked you to the function library. If you look under Subs.php you will see the parseSmileys() function documentation. Have you had a look at that? Was there some question you had in terms of using the function?
Yes as being new to website developing and code writing, i dont how this function would work? Also Do i have to make any changes to db as well?
I'm not sure exactly what you aren't sure about.
The parameters of the function are given at: http://support.simplemachines.org/function_db/index.php?action=view_function;id=220
No, you don't need to make changes to the DB. If your question is about how exactly functions work and that sort, you will have to have basic PHP knowledge in order to use them. If you are looking for help with that: http://www.codecademy.com/tracks/php