Quote:
Originally Posted by bnn121
In the above instructions I'm able to find that one line of code in my postbit and postbit_legacy templates for my first board style...now I have three more styles...and when I go to look for that first line of code...it does not find that exact line of code...what is finds is this.
PHP Code:
<if condition="$show['postcount']">? #<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new"><strong>$post[postcount]</strong></a></if>
I noticed that right after this part of the code
there is a period or dot or whatever that is.
Now all three of my other styles have this code in it...just like I qouted...but my first style is just like the instructions line of code.
Is there any reason to have that period or dot or whatever it is in that line of code for the other three styles?
In the original instructions of this hack it is said to find
In refence to the first set of code i posted above ...once this original code is changed...where does this new code come in? Is the original modified code getting overwritten or is it getting put in between the origianl modded code?
|
Put my code right before that thing about postcount. As for where my code goes in comparison with the original code, the original code does not make any checks, so my code just replaces
HTML Code:
<a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'>Warn $post[musername]</a> ? <a href='Warn.php?do=ViewWarnings&id=$post[userid]'>View $post[musername]'s Warnings</a>
Finally, that period is there, to separate the links. Have a look at the forum and you will see "Warn Xyz ? View Xyz's Warnings ? #1", the dot is going in between the links, to separate them.
Rgds