Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

Reply
 
Thread Tools
VBSEO like system in posbit and profile member Details »»
VBSEO like system in posbit and profile member
Version: 1.00, by Popa Andrei Popa Andrei is offline
Developer Last Online: Feb 2015 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.1.x Rating:
Released: 03-08-2012 Last Update: Never Installs: 31
Template Edits
Re-useable Code Translations  
No support by the author.

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 View Post
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.

Screenshots

File Type: png Untitled.png (23.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
5 благодарности(ей) от:
Filgga, forexforum, paulket, Robru, sodasusu

Comments
  #2  
Old 03-09-2012, 10:21 PM
faisaly.com faisaly.com is offline
 
Join Date: Mar 2007
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...

Reply With Quote
  #3  
Old 03-09-2012, 10:40 PM
thecore762 thecore762 is offline
 
Join Date: Jul 2008
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you for sharing.
Reply With Quote
  #4  
Old 03-10-2012, 07:08 AM
Filgga's Avatar
Filgga Filgga is offline
 
Join Date: Jul 2007
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well,

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

Thanks, was looking for this
Reply With Quote
  #5  
Old 03-10-2012, 07:35 AM
Filgga's Avatar
Filgga Filgga is offline
 
Join Date: Jul 2007
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Filgga View Post
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?
Reply With Quote
  #6  
Old 03-10-2012, 11:13 AM
Popa Andrei's Avatar
Popa Andrei Popa Andrei is offline
 
Join Date: May 2008
Location: Romania/Petrosani
Posts: 367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Take a look at another element that is wraped because not al templates are the same.
Reply With Quote
  #7  
Old 03-24-2012, 07:50 PM
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
 
Join Date: Aug 2008
Posts: 541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

plz add a similer explanation for vb 3.8
i liked this so much
Reply With Quote
  #8  
Old 03-24-2012, 08:16 PM
Popa Andrei's Avatar
Popa Andrei Popa Andrei is offline
 
Join Date: May 2008
Location: Romania/Petrosani
Posts: 367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 04-01-2012, 08:28 AM
karkey karkey is offline
 
Join Date: Feb 2010
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont think 3.8 uses

vb:raw post.vbseo_likes_in

as it had no affect on my installation
Reply With Quote
  #10  
Old 04-01-2012, 08:40 AM
Popa Andrei's Avatar
Popa Andrei Popa Andrei is offline
 
Join Date: May 2008
Location: Romania/Petrosani
Posts: 367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thread Tools

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 08:57 PM.


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.04681 seconds
  • Memory Usage 2,320KB
  • Queries Executed 24 (?)
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
  • (4)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (5)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
  • (9)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
  • 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
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete