The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Hybrid postbit Details »» | |||||||||||||||||||||||||
Hybrid postbit
Function Both the legacy and the classic postbit have their advantages. So why not combine them. The legacy itself sometimes seems to big with smaller posts. This is how the hybrid postbit might look like. [See screenshot] Creativity is key. Live demo: http://www.xboxusersgroup.com/forums/ Requested by / Prereq Activate the legacy postbit. You can activate this in the admincp / Style & Language Settings (bottom) Installation 1. open postbitlegacy template in the style manager (postbit templates) 2. look for Code:
<div id="postmenu_$post[postid]"> <if condition="$show['profile']"> <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script> <else /> $post[musername] </if> </div> <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if> <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if> 3. look for Code:
<if condition="$show['moderated']"> <td class="alt2" id="td_post_$post[postid]"> <else /> <td class="alt1" id="td_post_$post[postid]"> </if> Code:
<!-- start top info post --> <table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" widht="100%"> <tr> <td class="alt2" style="font-weight:normal;font-size:10px;width:100%" align="left"> <div id="postmenu_$post[postid]"> <if condition="$show['profile']"> <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script> <else /> $post[musername] </if> <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if> </div> </td> <td class="alt2" style="font-weight:normal;font-size:10px;width:200px" align="right"> <if condition="$post['rank']"><center><div class="smallfont">$post[rank]</div></center></if> </td> </tr> </table> <BR> <!-- End top info post --> Variants - You can add a different functions/phrases/info to different locations. Live demo Live demo: http://www.xboxusersgroup.com/forums...ad.php?t=47578 StonyArc Show Your Support
|
Comments |
#42
|
||||
|
||||
Quote:
|
#43
|
|||
|
|||
Interesting idea, I'll click on install and may come back with results - after installing it.
|
#44
|
|||
|
|||
So who has a screenshot of his/her hybrid postbit.
|
#45
|
|||
|
|||
Installed, work nice, thank you
|
#46
|
|||
|
|||
Code:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/mysite/public_html/forums/includes/adminfunctions_template.php(3537) : eval()'d code on line 274 After making the edits in the postbit legacy template, the system stopped me during the save with this. Seeing the eval code in there, I'm assuming it's because I'm using php5. Any thoughts? |
#47
|
|||
|
|||
Quote:
|
#48
|
|||
|
|||
I'm thinking now it's got to be another hack interfering with it. I upgraded to 3.5.4 and went back to php4 and still I have the same issue. I can't see where in the code or why though??
Damned confusing... |
#49
|
|||
|
|||
I love this site. It's so educational for the coding challenged. Of course I feel like an idiot but I'll get over that soon enough..
I found my issue. I read in another thread somewhere on here where one person was telling another they needed to make their hack xhtml complaint and since they had <br> instead of <br /> it wasn't compliant and that meant you couldn't have open ended <tr> and such. Knowing that I have put some <br> in my sig section to space the sig away from the text a bit I went and changed those to <br /> and it worked like a charm. By the way in the instructions above in the last section you have: widht="100%" I'm assuming that should be width and it's a typo but for people copying and pasting without looking at it, it might make a difference. I could use a little help if you don't mind. I was moving the vbplaza gifts icons to the right table and they are showing fine but they are showing vertical instead of horizontal. It's kind of freaky looking. Any thoughts on how I can get to those to show in a nice straight line? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|