Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
  #61  
Old 26 Aug 2011, 07:58
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Well that's really strange, I tested it on the default style and it worked, so went back to my modified style and it was still working, I made no other changes whatsoever, really odd, oh well, it's working now, I don't know how or why, lol. Thanks for the help and for this mod.

Joe, pretty please Joe , I noticed on your site that you give your users the option to switch off this hack in their usercp. Would you mind sharing how to do that? Thanks.
__________________
Marine Aquariums
Reply With Quote
  #62  
Old 26 Aug 2011, 10:49
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by viper357 View Post
Well that's really strange, I tested it on the default style and it worked, so went back to my modified style and it was still working, I made no other changes whatsoever, really odd, oh well, it's working now, I don't know how or why, lol. Thanks for the help and for this mod.

Joe, pretty please Joe , I noticed on your site that you give your users the option to switch off this hack in their usercp. Would you mind sharing how to do that? Thanks.
Glad it's working.

Step 1- Make new user profile field, single selection radio box, options:
No
Yes

Step 2- Edit the postbit_display_complete plugin. Change the 2nd Conditional to:

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

Step 3- Edit the postbit_display_start plugin. Change the 1st Conditional to:

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

Change "field29" in each to whatever field number is assigned to your custom profile filed... maybe field5 or field6, depends how many others you already have.

Note: Putting the "No" before the "Yes" and checking for "No" in the code is important so that it's active for everyone EXCEPT those who specifically opt-out of it.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #63  
Old 28 Aug 2011, 07:05
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Thanks Joe, much appreciated.
__________________
Marine Aquariums
Reply With Quote
  #64  
Old 05 Sep 2011, 23:08
EddyMaxx's Avatar
EddyMaxx EddyMaxx is offline
 
Join Date: Jan 2010
Great tutorial. I was able to follow it all the way through for both the LIKE and DISLIKE buttons.

Nice job Joe!
Reply With Quote
  #65  
Old 06 Sep 2011, 03:43
NTMID8 NTMID8 is offline
 
Join Date: Feb 2004
Originally Posted by MagicThemeParks View Post
"Sorry, you are not allowed to 'Like' this post."

Wasn't the standard, "you've liked this guy's posts too much" message
Originally Posted by BirdOPrey5 View Post
FYI to all- Paul has reported the bug preventing the "Liking" of articles here on vb.org is fixed.
Any idea what Paul did to fix this error? I have a few users randomly reporting the same on my forum. (using v4.1.5)

Originally Posted by Post Reader View Post
looks there is a problem when somone thanx the post the page needs to refresh again and AJAX feature is not working...
Has anyone figured out how to get AJAX working again? (using v4.1.5)

Originally Posted by MagicThemeParks View Post
If you select the option to work with reputation points you can.
Probably right in front of me but I am not seeing it. Where do you set this up to work with reputation points?

--------------- Added 06 Sep 2011 at 04:03 ---------------

Originally Posted by BirdOPrey5 View Post
Glad it's working.

Step 1- Make new user profile field, single selection radio box, options:
No
Yes

Step 2- Edit the postbit_display_complete plugin. Change the 2nd Conditional to:

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

Step 3- Edit the postbit_display_start plugin. Change the 1st Conditional to:

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

Change "field29" in each to whatever field number is assigned to your custom profile filed... maybe field5 or field6, depends how many others you already have.

Note: Putting the "No" before the "Yes" and checking for "No" in the code is important so that it's active for everyone EXCEPT those who specifically opt-out of it.
Anyone know how to get this working under v4.1.5? I made the change to postbit_display_complete as shown above. There is no postbit_display_start in v4 but that line exists in postbit_display_complete so I made that edit there as well. Tested out and regardless of whether my option is set to No or Yes, I can still see the Like system.
Reply With Quote
  #66  
Old 06 Sep 2011, 04:48
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
Post #35 and Post #36 help you with the 4.x install instructions and alternate placement.
Reply With Quote
  #67  
Old 06 Sep 2011, 05:13
NTMID8 NTMID8 is offline
 
Join Date: Feb 2004
Originally Posted by MagicThemeParks View Post
Post #35 and Post #36 help you with the 4.x install instructions and alternate placement.
I skimmed those but since I had it working other than AJAX I did not pay too much attention. Plus, they do not help with the user option to disable the whole system that BoP posted more recently.

However, I did fix my AJAX problem by going back and having a second look. For my site, the design of the Like box is all contained within the template post_thanks_postbit. Therefore the contents of my template post_thanks_box was simply:


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

Upon taking another look, I changed it to the following which fixed the AJAX issue:


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

So thanks for making take a second look!
Reply With Quote
  #68  
Old 06 Sep 2011, 12:04
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by NTMID8 View Post
Anyone know how to get this working under v4.1.5? I made the change to postbit_display_complete as shown above. There is no postbit_display_start in v4 but that line exists in postbit_display_complete so I made that edit there as well. Tested out and regardless of whether my option is set to No or Yes, I can still see the Like system.
You can just edit the postbit_display_start and postbit_display_complete plugins... put the code that mentions the template hook inside this conditional:


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

again change "29" to whatever field number yours is.

As for your earlier question about what Paul did- it doesn't matter, the vb.org like system is completely custom and has nothing to do with the mod this article is based on- so nothing Paul did here is relevant.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #69  
Old 21 Sep 2011, 17:18
kevin.kool's Avatar
kevin.kool kevin.kool is offline
 
Join Date: Nov 2009
Hope you will release this article for vB4 soon
Reply With Quote
  #70  
Old 21 Sep 2011, 17:19
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Real name: Brooks
Originally Posted by kevin.kool View Post
Hope you will release this article for vB4 soon
Read the previous posts to use this with vB 4
Reply With Quote
  #71  
Old 21 Sep 2011, 23:40
Pirat3 Pirat3 is offline
 
Join Date: Dec 2007
So I installed this, the Thanks template edits work great, however for Post Groan, the groan templates are still default (dont show in bar)

I have them integrated/connected with Post Thanks in settings

Running VB 3.8 any ideas? Do I have to do any other template edits? I saw the <IF> condition I assumed this was already built in.
Reply With Quote
  #72  
Old 22 Sep 2011, 11:53
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Yo have to do basically the same edits you did for Thanks on the Groan's hack now.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #73  
Old 25 Sep 2011, 13:23
christon26 christon26 is offline
 
Join Date: Dec 2008
Real name: Lissa
Awesome! Thanx
__________________
-- I have just enough php knowledge to make me dangerous :P --
Reply With Quote
  #74  
Old 16 Oct 2011, 21:07
GavoTrav's Avatar
GavoTrav GavoTrav is offline
 
Join Date: Jun 2011
Real name: Gav
Originally Posted by BirdOPrey5 View Post

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
You missed a Div tag on one of the boxes I Highlighted it!
Reply With Quote
  #75  
Old 17 Oct 2011, 00:16
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Thanks. I edited it into the first post.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
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 20: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 19:35.

Layout Options | Width: Wide Color: