|
Joined: Jun 2006
Posts: 215
enthusiast
|
enthusiast
Joined: Jun 2006
Posts: 215 |
I want my PM HTML enabled , is it possible ? What scripts should I modified ?
Is it function doPreview() of ubb_jslib.js ? How should I modify it ?
English is not my native language. I try my best to express my thought precisely. I hope you understand what I mean. If any misunderstanding results from culture gaps, I apologize first.
|
|
|
|
Joined: Aug 2006
Posts: 1,359
Veteran
|
Veteran
Joined: Aug 2006
Posts: 1,359 |
You should edit somewhere in /scripts/sendmessage.inc.php
$Message = $html -> do_markup($Message,"post","markup");
At first 5 second look, somewhere over there look should be the point to change something. And have a look in /scripts/addpost.inc.php to see how it normally would handle a html markup.
Last edited by blaaskaak; 09/28/2007 10:06 AM.
|
|
|
|
Joined: Jun 2006
Posts: 215
enthusiast
|
enthusiast
Joined: Jun 2006
Posts: 215 |
well , I think PM is not related to addpost.inc.php. I think it is related with doPreview() in ubb_jslib.js .
English is not my native language. I try my best to express my thought precisely. I hope you understand what I mean. If any misunderstanding results from culture gaps, I apologize first.
|
|
|
|
Joined: Aug 2006
Posts: 1,359
Veteran
|
Veteran
Joined: Aug 2006
Posts: 1,359 |
No, addpost.inc.php is not related. But you can take a sneak peak in there to see how it handles forum posts with html markup.
You have to change it somewhere in /scripts/sendmessage.inc.php (I think, didn't have a really good look) since that is the script that will actually put your PM in the database.
As for more details, I suggest opening up a topic over at ubbdev, which covers this kind of changing the ubb core code in more depth.
Last edited by blaaskaak; 09/28/2007 10:28 AM.
|
|
|
|
Joined: Jun 2006
Posts: 215
enthusiast
|
enthusiast
Joined: Jun 2006
Posts: 215 |
Hi , this is the most important function my site required. If not solved , I have to stay with UBB6.5. Can anybody help me , very thanks....
English is not my native language. I try my best to express my thought precisely. I hope you understand what I mean. If any misunderstanding results from culture gaps, I apologize first.
|
|
|
|
Joined: Jun 2006
Posts: 16,367 Likes: 126
|
Joined: Jun 2006
Posts: 16,367 Likes: 126 |
Generally UBBCentral isn't for assisting you in modifying your forums; that's what UBBDev was created for (as making modifications to your forums can cause problems that are not in the base code)
|
|
|
|
Joined: Jun 2006
Posts: 215
enthusiast
|
enthusiast
Joined: Jun 2006
Posts: 215 |
Hello , sorry to bother... But ... is there any progress ? This issue is very important to my site... (If not solved , I cannot upgrade to UBB7 ) I tried to hack into ubb_js , but I am totally unfamiliar with javascript , I don't know what to do.
English is not my native language. I try my best to express my thought precisely. I hope you understand what I mean. If any misunderstanding results from culture gaps, I apologize first.
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Your best bet for extended help on this is to check over at ubbdev.com. That's the official modification site for code/template customizations. You'll find a modification forum that you can post in.
|
|
|
2 members (Ruben, SenecaFlyer),
929
guests, and
67
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|