Quote:
Originally posted by Davey
I didn't understand the postbit instructions whatsoever.
I installed it on a fresh install 2.2.9.
Could you make the instructions a little clearer please, Bitsys?
Thanks.
Dave.
|
Go to the admin CP. Go to modify templates at the bottom. Click on the link that says "show all" next to the global or default template set. Scroll down until you find a template called "postbit". Click on the "edit" link next to it. It should bring up the html that is used in the postbit tamplate. Copy the code from the file "sample postbit.txt" that came included in the .zip file and paste it after "Posts: $post[posts]" in the edit template field. Click "Save changes" at the bottom to save what you just entered. This will give you the default variables in your posts.
There are additional variables located in Install.txt at the bottom. You add these the same way by copying and pasting whatever comes after the ":" in Install.txt. Example:
In Install.txt:
Code:
~Display the user's battle status: $inbattle
Copy:
And paste it into the postbit template as you did before. The "$" in front of the word means that it is a variable. When a post is displayed, "$inbattle" is changed to whatever the value the variable contains. In most instances, "$inbattle" will appear as "Not in Battle" when you view the post on your forums.
Does that help?