The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi all !
I don't want smilies in posts unless there is a space in front of the smiley code. I first tried to add the space in the ACP to every smiley but it seems like it's ignored so I guess it's removed by default. Then I had a look in functions_bbcodeparse.php under the PARSE SMILIES section and tried to add a space in the replace function but neither did that help. Can someone guide me where to change so only smilies with space in front will actually parse and shows up as icons in the posts. Thanks in advance for any input. |
#2
|
|||
|
|||
![]() Quote:
|
#3
|
|||
|
|||
![]()
By the way, if you are posting some sort of table or code data and you don't want smilies to appear you can deselect "show smilies" in your post and smilies will not show at all for that post.
|
#4
|
||||
|
||||
![]()
Adding a space from ACP won't help as the parse function will remove it.
Try this instead: In functions_bbcodeparse FIND PHP Code:
PHP Code:
|
#5
|
|||
|
|||
![]()
Karthick, I know I can disable smilies in posts but all users do not think of this and it looks funny when there's smilies in the middle of some words.
KirbyDE, that's simular to what I did in functions_bbcodeparse but never got it to work and it seems like it's not working with the above code either. I actually removed the entier *** PARSE SMILIES *** section out and it still parses smilies in posts so I'm not sure I'm at the right place. |
#6
|
||||
|
||||
![]()
Umm ... does work on my local testboard.
If you removed the whole section then there shouldn't be smilies at all, so I can only guess you did smth. wrong, maybe uploaded the file to a wrong directory? |
#7
|
|||
|
|||
![]()
I'll do a better check and see...
|
#8
|
|||
|
|||
![]()
Well, sometimes DWMX don't upload files if thinks there's no difference, so I tried another FTP client but the smilies are still there.
However, I went back to the ACP and removed my spaces in front of the smilies and now your code works fine KirbyDE. I should have checked that before I tried to customize the code. Many thanks for the help ![]() |
#9
|
||||
|
||||
![]()
In 3.5 we are facing the same problem now.
Can anybody tell me how I could add a space before a smiley? |
#10
|
||||
|
||||
![]()
Anyone pleaaaase
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|