Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
  #46  
Old 24 Jul 2011, 02:08
Juggernaut's Avatar
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
Originally Posted by Tasking Mickey View Post
I was just about to mention that, if your forum has lets say, 100 members, and you import the likes system, something like here, it would show

Likes (12): Tasking Mickey, Bird0Prey5, Lynne, Princetoon and 15 others

The 15 others, would show the other people who liked that post, it'd be much better, since it won't take up the whole post with like 20 usernames in the like box.
This would be nice, if posible. Only thing is, I don't think the vbulletin 4 version of the thanks system keeps track of the likes given and received, like the likes system here on vbulletin.org. Still way better than the original layout, in my opinion.
Reply With Quote
  #47  
Old 29 Jul 2011, 23:02
NTMID8 NTMID8 is offline
 
Join Date: Feb 2004
Question

Originally Posted by michal72 View Post
I have modified a little bit Joe's proposal to work with vb4
The Likes box is centered under the post. How can I make it aligned left with the post and signature?

Also, I can clearly see where to change the width of the box, colors, etc, but where do I change the font and size of the text within the box?
Reply With Quote
  #48  
Old 30 Jul 2011, 02:31
Juggernaut's Avatar
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
Originally Posted by michal72 View Post
I have modified a little bit Joe's proposal to work with vb4

Change post_thanks_box template to:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In posbit_legacy template find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and add before:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In Admin CP -> Plugin Manager, edit the plugin: Post Thank You Hack on hook: postbit_display_complete

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You can also modify window's content:

In post_thanks_postbit template replace:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

BR
This tutorial is exellent, but I've found that I can't change the background color or size of the post thanks box, no matter where I change the code. Has anybody else been able to make changes to the post thanks display?
Reply With Quote
  #49  
Old 30 Jul 2011, 06:34
michal72 michal72 is offline
 
Join Date: Nov 2010
Originally Posted by Juggernaut View Post
This tutorial is exellent, but I've found that I can't change the background color or size of the post thanks box, no matter where I change the code. Has anybody else been able to make changes to the post thanks display?
To be able to do it, first you have to modify post_thanks_postbit template.
Please try change it to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

regards

PS. An appendix to post: http://www.vbulletin.org/forum/showp...7&postcount=35

Last edited by michal72; 30 Jul 2011 at 07:49.
Reply With Quote
  #50  
Old 30 Jul 2011, 08:00
Juggernaut's Avatar
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
Originally Posted by michal72 View Post
To be able to do it, first you have to modify post_thanks_postbit template.
Please try change it to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

regards

PS. An appendix to post: http://www.vbulletin.org/forum/showp...7&postcount=35
Thank you Michal, but the plugin edit you provided seems to have stopped working with vbulletin 4.1.5, I can't get the edit to funcion.

Edit: it still works great, I had overlooked one of the template edits.

Last edited by Juggernaut; 30 Jul 2011 at 17:27.
Reply With Quote
  #51  
Old 01 Aug 2011, 14:21
Eryeal Eryeal is offline
 
Join Date: May 2006
Hello,

First, thanks for the instructions to change this mod! I think it's great.

However, I am having a small problem in regards to the postbit_display_start change which brings the like into the post.

When I make this change, it "pushes" the rest of the bottom of the post (the buttons, quote, reply, etc) OFF of the post itself. So the green like line is at the bottom of the post, but for some reason it is screwing up the buttons that are supposed to be below it by pushing them completely outside of the post.

For reference - vb 3.8, postbit legacy being used.
Reply With Quote
  #52  
Old 01 Aug 2011, 14:27
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by Eryeal View Post
Hello,

First, thanks for the instructions to change this mod! I think it's great.

However, I am having a small problem in regards to the postbit_display_start change which brings the like into the post.

When I make this change, it "pushes" the rest of the bottom of the post (the buttons, quote, reply, etc) OFF of the post itself. So the green like line is at the bottom of the post, but for some reason it is screwing up the buttons that are supposed to be below it by pushing them completely outside of the post.

For reference - vb 3.8, postbit legacy being used.
Either the postbit_legacy edits were made wrong or perhaps you have a custom style? Custom styles may require different edits- these instructions are only for the default vbulletin style- you may need to make adjustments for custom styles.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #53  
Old 01 Aug 2011, 14:35
Eryeal Eryeal is offline
 
Join Date: May 2006
Originally Posted by BirdOPrey5 View Post
Either the postbit_legacy edits were made wrong or perhaps you have a custom style? Custom styles may require different edits- these instructions are only for the default vbulletin style- you may need to make adjustments for custom styles.
Thanks for the quick response! I went through things about 5 times trying to figure it out, and then decided to once again look at legacy after your post and the error was right smack there in front. Unbelievable. Thanks again for the quick response.
Reply With Quote
  #54  
Old 05 Aug 2011, 10:26
goxy63 goxy63 is offline
 
Join Date: Oct 2008
How about that dislike on ur forums, will you share that with us?
__________________
VB5-- WHO HAS VISITED TODAY(last 24h) PLEASE VOTE HERE
VB5--FIRST POST ON EVERY PAGE PLEASE VOTE HERE
Reply With Quote
  #55  
Old 05 Aug 2011, 13:15
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by goxy63 View Post
How about that dislike on ur forums, will you share that with us?
The "dislike" was the "Post Groan Hack" with the "Groan" changed to "dislike" pretty much exactly the same thing as changing "thanks" to "like."
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #56  
Old 05 Aug 2011, 17:10
VBIran VBIran is offline
 
Join Date: Nov 2010
Dear michal72 ,

How can i remove the small space at the bottom of the likebox ?

Like this image :

http://www.vbulletin.org/forum/attac...1&d=1309952895

This image haven't any bottom margin .

Edit : I solve the problem . i just change .postrow in postbit.css and remove paddings

Last edited by VBIran; 05 Aug 2011 at 18:53.
Reply With Quote
  #57  
Old 24 Aug 2011, 19:45
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Originally Posted by BirdOPrey5 View Post
The last steps are only if you want to integrate the Like box INTO the posts like on my forum.

If you do the next step is pretty easy-

In Admin CP -> Plugin Manager, edit the plugin: Post Thank You Hack on hook: postbit_display_start

Find the line:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and change it to:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

OK This will move the "Like" box into the actual post table instead of below it.
Hi Joe, small problem, everything works 100% but as soon as I do the above edit, I get a blank page on any link except for my vbadvanced home page. If I undo the edit it makes no difference until I re-upload the xml file (which I assume then replaces the small plugin), then the forum works again. Any idea's? I'm desperate to have this display within the posts.
__________________
Marine Aquariums
Reply With Quote
  #58  
Old 24 Aug 2011, 21:12
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
This code by definition is only run when viewing threads/posts... If something was causing all your pages to be blank (including forumhome, forumdisplay, etc...) then it wasn't this code. You might have other issues.

What version of vBulletin are you using?
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #59  
Old 25 Aug 2011, 06:07
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
My apologies, I should have said when trying to view any thread then I get a blank page. I'm on 3.8.5

--------------- Added 25 Aug 2011 at 09:06 ---------------

Is there a way to manually edit the postbit legacy template and add the code for the thanks box, instead of using a plugin?
__________________
Marine Aquariums
Reply With Quote
  #60  
Old 25 Aug 2011, 17:21
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Probably but it's not something I've spent time attempting.

Which postbit style do you use? Have you checked for the existence of the template hook in that template?

Can you try it on the default style and see if you have the same problem?
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
Reply

Similar Article
Article Author Type Replies Last Post
Miscellaneous Hacks "Click to view latest posts in this category" -- Similar to vBulletin.org. DataHero vBulletin 3.8 Template Modifications 5 25 Nov 2012 19:01



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

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


New To Site? Need Help?

All times are GMT. The time now is 12:33.

Layout Options | Width: Wide Color: