Hi,
Two questions here:
1. Cookies:
Some of my users have been complaining about difficulties with my forum. When login in through Drupal, it happens sometimes that they are not considered as logged in into phpbb, which means that they are not able to post. I have noticed that it was solved by clearing all cookies, but is there a way to prevent that to happen and is there a clearly identified situation when this happens so that I can perhaps prevent it to happen?
2. Signatures
My second question is about dealing with signatures. Some of my users have been trying to use formatting for their signature. The problem is that I use HTML formatting on the Drupal website (through TinyMCE by the way) and that Drupal is only handling bbcode. Is there a way to convert?
Thanks in advance for your help!
Comments
Comment #1
arkepp commented1. Not in general, I have seen issues, but honestly it's been quite a few months since I tweaked the 2.x module for anyone. phpBB and Drupal set their cookies in diffferent ways, on some setups one is more reliable than the other. You can try tweaking the session lifetime in phpBB. For example set it relatively small. Also have a look at paths and domains on the cookies right after login and those after you go to the forum. If the SID cookie has a different domain or path than any of the other cookies, that's your hint.
2. There are modules for supporting bbcode in Drupal but I have not tested them and I am pretty sure it won't work with TinyMCE. You could create your own filter and apply it after
if(array_key_exists('signature',$edit)), roughly line 128. Basically you need to do a bunch for search and replaces, replace<a href="with[url=etc...