The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I am using this hook as follows:
Code:
<plugin active="1" executionorder="5">
<title>Ranking Ladder Postbit Crowns</title>
<hookname>postbit_display_start</hookname>
<phpcode><![CDATA[if ($vbulletin->options['rankingladder_postbit'] && $post['rank_ladder'])
{
$filename = $vbulletin->options['rankingladder_filename'];
$thumbdir = $vbulletin->options['rankingladder_thumbdir'];
eval('$template_hook[postbit_userinfo_right_after_posts] = "' . fetch_template('rankings_postbit') . '";');
}]]></phpcode>
</plugin>
|
|
#2
|
||||
|
||||
|
i haven't messed around with hacking the PM system, but try hook: private_messagelist_messagebit
|
|
#3
|
|||
|
|||
|
Naw... sadly, that didn't do it.
I think the problem is that I am using $post and that array doesnt exist in a PM. What should I be using instead of $post? |
|
#4
|
||||
|
||||
|
Maybe $userinfo?
To find out, locate where the hook "postbit_display_start" is in the code and see what is being used right above there. |
|
#5
|
|||
|
|||
|
well $post works in forum posts, but it doesnt seem to work in the private message posts.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|