PDA

View Full Version : How to add post title into the post directly


OQP
02-27-2013, 07:44 PM
Hi Friends, I just want that I can post my thread title into the post directly through creating / modifying new thread and not through editing postbit template for example:
https://vborg.vbsupport.ru/showthread.php?t=123337
After installing this mode you can able to add users info anywhere in the form.. like if you post Hi {usename} it will show me Hi OQP
So i just need like this that when i will post {title} is good post it should show I need to get title of the post into the post is a good post

Edit: I have just put this line in my index.php but it is still not working...
1st Try- Not worked
echo $vbulletin->$thread['preview'] = str_replace("{title}", $thread['threadtitle'], $vbulletin->$thread['preview']);
2nd Try- Not worked
if ($vbulletin->$thread['preview'])
{
echo $vbulletin->$thread['preview'] = str_replace("{title}", $thread['threadtitle'], $vbulletin->$thread['preview']);
}
3rd Try- Not worked
echo $vbulletin->$thread['preview'] = str_replace("{title}", $post['title'], $vbulletin->$thread['preview']);

Please help me to get it work....

Thanks in advance... for helping me.

Regards,

OQP
03-03-2013, 11:11 AM
Please any one can help me in this regards,

fxdigi-cash
03-06-2013, 01:03 PM
I believe you mean adding the thread title at the beginning of the thread, right?

Update: now I understood what you want. I'm sure if your request is possible.... sorry

OQP
03-20-2013, 10:30 PM
Any one can help????