vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Show Thread Enhancements - VBSEO like system in posbit and profile member (https://vborg.vbsupport.ru/showthread.php?t=279780)

Popa Andrei 03-08-2012 11:00 PM

VBSEO like system in posbit and profile member
 
1 Attachment(s)
This is a very simple way to display the likes recived and given with the vbseo Like system.
All you need to do is add to postbit or postbit_legacy this code:
Code:

<dt>Likes Received</dt><dd>{vb:raw post.vbseo_likes_in}</dd>
<dt>Likes Given</dt><dd>{vb:raw post.vbseo_likes_out}</dd>

Quote:

Originally Posted by hoangserip (Post 2315667)
Link in profile member ^^!

Code:

<dt>Likes received</dt><dd><a href="{vb:link member, {vb:raw post}}&tab=likes_received">{vb:raw post.vbseo_likes_in}</a></dd>
<dt>Likes given</dt><dd><a href="{vb:link member, {vb:raw post}}&tab=likes_given">{vb:raw post.vbseo_likes_out}</a></dd>



ATTENTION: The tags (dt and dd) must be modified to suit your template.


Enjoy and dont forget to mark as installed. :D

faisaly.com 03-09-2012 10:21 PM

Great works awesome... I used this like system that came with vbseo and then used your postbit template edit above to show on postbit_legacy... Only because I chose to use hidden links to see with reply only and not a post thanks hack... thanks for the great share...

http://i633.photobucket.com/albums/u...n/untitled.jpg

thecore762 03-09-2012 10:40 PM

thank you for sharing. :)

Filgga 03-10-2012 07:08 AM

Well,

On postbit, WHERE do we place these codes + how to wrap them?

Thanks, was looking for this ;)

Filgga 03-10-2012 07:35 AM

Quote:

Originally Posted by Filgga (Post 2308197)
Well,

On postbit, WHERE do we place these codes + how to wrap them?

Thanks, was looking for this ;)

Oh yeah,

Made it ;)

This' the code for postbit:

Code:

<dl class="vbseo_like">
<dt>Likes Received</dt><dd>{vb:raw post.vbseo_likes_in}</dd>
<dt>Likes Given</dt><dd>{vb:raw post.vbseo_likes_out}</dd>
</dl>

Should be above:
Code:

{vb:raw template_hook.postbit_userinfo_right}
One thing left, how do I wrap them?

Popa Andrei 03-10-2012 11:13 AM

Take a look at another element that is wraped because not al templates are the same.

abdobasha2004 03-24-2012 07:50 PM

plz add a similer explanation for vb 3.8
i liked this so much

Popa Andrei 03-24-2012 08:16 PM

i stoped ussing vb3 since vb4 got out on the market.

But it should be the same thing.Just insert the raws in your postib or postbit_legacy template where you want them to be shown.

karkey 04-01-2012 08:28 AM

I dont think 3.8 uses

vb:raw post.vbseo_likes_in

as it had no affect on my installation

Popa Andrei 04-01-2012 08:40 AM

Then you have to find the var for your selfe or simply ask the vbseo team.
Like i sed i am not ussing old version of vbulletin.


All times are GMT. The time now is 03:26 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01055 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete