PDA

View Full Version : need Little help in vb4.1.5


rajamahender
08-07-2011, 04:13 PM
i want to display the points,levels,rep power as a join date and posts in below image.help me

EquinoxWorld
08-07-2011, 04:18 PM
i want to display the points,levels,rep power as a join date and posts in below image.help me

There should be a div class surrounding Join Date and Posts, just wrap Points, Level and Rep Power with the same and it should be good. Look in postbit_legacy template.

rajamahender
08-07-2011, 05:00 PM
there is no surrounding class?can u explain me more?

EquinoxWorld
08-07-2011, 05:05 PM
there is no surrounding class?can u explain me more?

Link me to where this post-bit is so I can explain further. Looks like the custom style you have did wrap these divs around the default vb post-bit items but not around custom ones. It should be easy to add this class to those once you find them in their templates.

mrdiger
08-07-2011, 05:12 PM
same for me but with blog entries, can you please post code when you have it:) ty

131774

EquinoxWorld
08-07-2011, 05:47 PM
same for me but with blog entries, can you please post code when you have it:) ty

131774

It may not be exactly the same as the above but it is the same concept. Just changing the name to your div class would be the extra step for you.

mrdiger
08-07-2011, 06:31 PM
It may not be exactly the same as the above but it is the same concept. Just changing the name to your div class would be the extra step for you.

but it doesnt say anything abut blog entries in postbit_legacy. Should i copy same code that is around "posts" and "join date" ty:)

EquinoxWorld
08-07-2011, 07:39 PM
but it doesnt say anything abut blog entries in postbit_legacy. Should i copy same code that is around "posts" and "join date" ty:)

Blog entries I believe are linked to one of the hooks in your template. Wrap the div class around the right hook in that case the same way you would the other.

Wrap the div class to the nearest template hook you have after posts and join date.That should do the trick.

mrdiger
01-07-2013, 10:29 AM
Is it possible to get same post count for cms articles?
Thanks!

gamaken
01-08-2013, 09:07 AM
i want to display the points,levels,rep power as a join date and posts in below image.help me

You need to find where that particular plugin is hooking to the postbit.

same for me but with blog entries, can you please post code when you have it:) ty

131774
I don't use the blogs, but I believe it hooks with ":Postbit: Add links to blog"
$template_hook['postbit_userinfo_right_after_posts'] .= $templater->render();

You could change it or disable it and manually add it to your postbit_legacy

In your postbit legacy, after {vb:raw template_hook.postbit_userinfo_left}, you'll want to find <dl class="userinfo_extra">.