Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
  #1  
Old 08-07-2011, 04:13 PM
rajamahender rajamahender is offline
 
Join Date: Jul 2011
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default need Little help in vb4.1.5

i want to display the points,levels,rep power as a join date and posts in below image.help me
Attached Images
File Type: png untitled.PNG (19.3 KB, 0 views)
Reply With Quote
  #2  
Old 08-07-2011, 04:18 PM
EquinoxWorld EquinoxWorld is offline
 
Join Date: Nov 2009
Location: Naples
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rajamahender View Post
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.
Reply With Quote
  #3  
Old 08-07-2011, 05:00 PM
rajamahender rajamahender is offline
 
Join Date: Jul 2011
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there is no surrounding class?can u explain me more?
Reply With Quote
  #4  
Old 08-07-2011, 05:05 PM
EquinoxWorld EquinoxWorld is offline
 
Join Date: Nov 2009
Location: Naples
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rajamahender View Post
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.
Reply With Quote
  #5  
Old 08-07-2011, 05:12 PM
mrdiger mrdiger is offline
 
Join Date: Sep 2010
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Attachment 131774
Reply With Quote
  #6  
Old 08-07-2011, 05:47 PM
EquinoxWorld EquinoxWorld is offline
 
Join Date: Nov 2009
Location: Naples
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mrdiger View Post
same for me but with blog entries, can you please post code when you have it ty

Attachment 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.
Reply With Quote
Благодарность от:
mrdiger
  #7  
Old 08-07-2011, 06:31 PM
mrdiger mrdiger is offline
 
Join Date: Sep 2010
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EquinoxWorld View Post
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
Reply With Quote
  #8  
Old 08-07-2011, 07:39 PM
EquinoxWorld EquinoxWorld is offline
 
Join Date: Nov 2009
Location: Naples
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mrdiger View Post
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.
Reply With Quote
  #9  
Old 01-07-2013, 10:29 AM
mrdiger mrdiger is offline
 
Join Date: Sep 2010
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to get same post count for cms articles?
Thanks!
Reply With Quote
  #10  
Old 01-08-2013, 09:07 AM
gamaken gamaken is offline
 
Join Date: Aug 2010
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rajamahender View Post
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.

Quote:
Originally Posted by mrdiger View Post
same for me but with blog entries, can you please post code when you have it ty

Attachment 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">.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:58 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04422 seconds
  • Memory Usage 2,269KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete