Quote:
Originally Posted by bnn121
Okay...I was told that we are not using the postbit templates on the forum...only the posbit_legacy templates. I have been sucsessful in getting the thread to display the warning hack but again when I click on view users warnings I get a blank page. This is only in the last three styles...in the main style this hack works just fine.
I'm uploading the main postbit template and the main postbit_legacy template
Also uploading postbit and postbit_legacy template of one of the other styles.
The other two styles are all the same except for where they get there images from.
I did notice in the warn.php file that there is alot of calls for fetch_template. I'm not a php programmer...but would I need to add/change anything in the warn.php file in order for it to call the correct style?
I also uploaded a screen shot of the warning hack on the brown style...the brown style is the one I'm working with...If I click on the
View BNN121's Warnings
button. it takes me to a blank page.
I hope this helps.
|
As I said, I am no expert in multi-style environments, my site has just one, so I am not able to help much. I have to assume a few things here, so correct me if I am wrong. First of all, have you added all the templates to all your styles?
From what I understand about the styles-templates things, you shouldn't alter anything in your php files in order to call the template of the particular style. The style is just a variable the user selects and then all his "views" of vB are rendered using that style. I have to assume that the template names do not change, from one style to the other, or else nothing would work in vB.
I would expect that in the last template, the links should be entered somewhere within the following code:
HTML Code:
<td class="thead" style="font-weight:normal" align="$stylevar[right]">
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new"><strong>$post[postcount]</strong></a></if>
</td>
somewhere after  .
I am sorry I can't be of more help.
Rgds