Jump to content
DevFuse Forums

devCU Ajax Thanks [IPB 3.3x]


Gary Cornell

Recommended Posts

File Name: devCU Ajax Thanks [iPB 3.3x]

File Submitter: Gary Cornell

File Submitted: 15 Jul 2012

File Category: IP.Board Modifications

 

This modification adds the ability for members to thank posters via Ajax. It keeps track of the number of times each member has been thanked and displays it in each post.

 

It is very light-weight and adds no additional queries to the Topic View. It can automatically collapse the thankers if the list is too long.

 

Additional features:

Options thank count auto collapse

cutom thanks images

(TB) Hide Content functionality

Shows members thanks given in profile

Based on the work of Elad Nava for IPB 3.2x, devCU has taken over the development with permission.

 

This modification is in full active development, new functions/features are planned and being added so please check back for updates. Feature requests are welcomed at devCU.

 

IMPORTANT NOTICE:

For Guaranteed clean and proper versions please download from devCU Website Directly

 

This version adds new features and skin button fixes (2.1 >> 2.2):

- Adds 1 new template, 1 new hook, 1 new database row

 

New Features

- Can now be installed over previous version without uninstall

- Group Color/Formatting in Thankers List

- Custom Thanks/Unthanks Image Option in Settings

- Adds Times User Thanked in Public Profile

 

Bug Fixes

- Fixed attachment error upon thanks with Hide Content enabled

- Fixed smilies/image issue with thanks

 

Support Updates

- Further (TB) Hide Content Hack 3.x Compatibility (See Step 4 of documentation)

- Added IPBforumskins Spectrum Skin Button Fix (See Step 5 of documentation)

- Minor Code Cleanups/Optimizing.

 

Licensed

- Licensed under DevCU Public License (DCUPL) Rev 21

 

Support, Feature Requests, and Open Source Code

devCU Home http://www.devcu.com

Projects Code Repository http://www.devcu.net

DO NOT post issues at the site you are downloading this from cause I wont get them. Post bugs, feature requests, and issues at the devCU Dev Home

 

 

thanks%20given.png

 

groupthanks.png

 

 

Currently in development for next release 2.2.1

- Update script to pull serial array for thanks given table - This will be included in the next release and will not effect any thanks given totals up to that point. Sorry couldnt get this in to this release but its been a real pain in the ass if you know what I mean.

 

Features

- Mobile skin ajaxThanks inclusion

- Show thanks given in topic view

- Improved Group Formatting

- devCU Btracker integration

- devCU ForumsX integration

 

Proposed Feature (With Hide Content Only)

- IP. Downloads integration (thanks in order to download files)

 

Click here to download this file

Link to comment
Share on other sites

  • 3 weeks later...

Slight issue with hide content app was reported and will be corrected in next release but if you are using this in conjunction with that app heres a quick fix.

 

Issue: Hide Content not refreshing due to attachments fix we added. Seems to actually be an issue with hide content removing all tags upon refresh.

 

 

In Templates >> Topic View >> ajaxThanksJS

 

Find at the very bottom:

 

                                                                                // Update post content for hide hack


                                                                               if ( t.responseJSON['post'] != "" )

                                                                               new Effect.Pulsate( thankersBox, { pulses: 3, duration: 1.5 } );


                                                                       }
                                                               }
                                                       }
                                               );
}
</script>

 

 

And replace with this:

 

                                                                                // Update post content for hide hack

                                                                               if ( t.responseJSON['post'] != "" )
                                                                               {
                                                                                       // Editless attempt to reach the post content
                                                                                       var postDivider = $( 'post_id_' + pid ).children[1].children[2].children[1];
                                                                                       postDivider.innerHTML = t.responseJSON['post'];

                                                                                       new Effect.Pulsate( postDivider, { duration: 1.5,  pulses: 3 } );
                                                                               }
                                                                               new Effect.Pulsate( thankersBox, { pulses: 3, duration: 1.5 } );
                                                                       }
                                                               }
                                                       }
                                               );
}
</script>

 

 

Hope to correct the issue in follow up release 2.2.1

 

This mod is in active development

Report bugs or submit feature requests here:

http://www.devcu.com/forums/tracker/project-1-ipb-33x-devcu-ajax-thanks/

Link to comment
Share on other sites

  • 2 months later...
  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...