View Full Version : what is this variable
khashabawy
08-15-2010, 09:14 AM
hello there;
I'm programming anew hack and need help to know
the variable == the thread content
iam using newthread_post_start hook
Lynne
08-15-2010, 02:44 PM
the thread content? You want a variable that contains the entire html for the page? There is none. The page is made up of multiple templates and each of those is made up of multiple variables.
khashabawy
08-15-2010, 03:18 PM
no, i want the variable == the thread content
i used $vbulletin->GPC['message'] but i can't modify it
the mod. iam programming is based on modifying the links in the thread before posting it in the DB
so i want to catch the thread in my hand as a variable so that i can proecess it
i think u can understand if u read this
$thread = Process($thread);
Lynne
08-15-2010, 08:08 PM
I don't think you want to "catch the thread", it sounds more like you want to "catch the post". If you want to modify the contents of the post, then you probably want to use $this->post['message'] in the postbit_display_complete (or postbit_display_start depending on what you are doing) hook location.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.