vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   QuickClip - A Clipboard for Users (https://vborg.vbsupport.ru/showthread.php?t=103027)

Alan @ CIT 12-14-2005 10:00 PM

QuickClip - A Clipboard for Users
 
Introduction

QuickClip allows your members to store frequently used snippets of text that they can then quickly and easily use as replies to threads and private messages.

QuickClip is based on the familier Private Messaging interface, so will be instantly familier to your users and will help cut down support queries such as "Where is the such-and-such button?".

As the forum administrator, you can keep full control over your members QuickClips usage by limiting the number of clips and folders they can create, or even banning them from using it completly.

All of this is controlled by Usergroup access, with default settings in vBulletin Options.

Features
  • Fully template driven so it will blend into the look and feel of your site
  • Fully phrased, making translation to other languages a breeze
  • Fully integrated with the vBulletin User CP
  • New: QuickClip Reply boxes for posting your QuickClips in Threads and Private Messages
  • New: An option to include your signautre when posting replies using QuickClips
  • Fully controllable limits on Clips and Folders, including the option to have No Limit
  • New: The ability to Preview your QuickClip before saving
  • ...Plus so much more! Take a look at the screenshots below!
Installation / Upgrading

Please see the install.html and upgrade.html files in the zip


New in Version 1.1
  • You can now reply to Private Messages using QuickClips
  • You can now Preview new QuickClips when creating or editing them
  • You can now select the folder to save to when creating a new clip
  • The QuickClip Reply box no longer displays if the user has no clips
  • You now have the option of adding your signature when replying using a QuickClip
  • When viewing your list of QuickClips, BBCode tags are removed to make viewing easier
  • Fixed a missing error message
  • Removed some hard-coded text and replaced it with a phrase
  • Fixed a bug which occasionally caused an SQL error
Credits
Thanks go to Danny.vbt for testing, to SomeName for proof-reading the Installation Guide, and for everyone who has made suggestions or helped to find bugs :)

My thanks goes to everyone of you who has installed QuickClip, and to those who have posted in this thread :)


Important: Unfortunately, my leased vBulletin licence has now expired, and I won't be renewing it until September which means I will be unable to reply to this thread, or update this mod until then. I'm hopeful that the great vBulletin.org community will step in to answer any questions in my absence though :) See you all in early September! :D


Further Screenshots can be found in the second post

Alan @ CIT 12-15-2005 05:46 PM

More Screenshots:

Mastar 12-15-2005 06:08 PM

Installed

How do I add it to my Quicklinks like you did?

Alan @ CIT 12-15-2005 06:14 PM

Sorry, I don't understand what you mean - Quicklinks?

nexialys 12-15-2005 07:04 PM

this is an amazing tool i think...
/me click "THANKS!"

derekivey 12-15-2005 07:16 PM

Looks very good. I'm gonna use it on my new hosting site :).

[high]* derekivey clicks install.[/high]

michaelbenson 12-15-2005 07:20 PM

Is this similar to the IPB topic multimoderation feature?
Where with the click of one button you can post a redefined message and "possibly" apply a specific moderation action, such as close or move at the same time too? Looks interesting.

Alan @ CIT 12-15-2005 07:21 PM

This hack doesn't allow for modeation actions, as it's designed for all users :)

But it does allow quick replies of pre-set text (that you can edit from your User CP) with a couple of clicks :)

Snake 12-15-2005 07:26 PM

Wow lovely!

michaelbenson 12-15-2005 07:32 PM

Quote:

Originally Posted by Alan @ CIT
This hack doesn't allow for modeation actions, as it's designed for all users :)

But it does allow quick replies of pre-set text (that you can edit from your User CP) with a couple of clicks :)

Could it be possible to make this feature accessible to certain groups only?

Alan @ CIT 12-15-2005 07:38 PM

It has that feature by default. It's controlled by Usergroup permissions. Once installed, you will need to go into each of the usergroups you want to be able to use QuickClip, and set "Can Use QuickClip" to "Yes" :)

See the last section of install.html for more details :)

Edit: Sorry, did you mean add the moderation thing? If so, then I've no plans to add something like that to this hack at this time :)

gael11 12-15-2005 07:47 PM

Excellent mod !!!
Thanks very much.

TTG 12-15-2005 08:32 PM

Installed and working fine .. very useful hack, thanks Alan @ CIT.

Clicked install

rb290 12-15-2005 08:34 PM

Installed, Thanks, Nice Hack !

silurius 12-15-2005 08:49 PM

Awesome hack!

Lionel 12-15-2005 09:01 PM

When I try to post, it tells me
Quote:

You did not specify a username for your post.
Permissions are set properly

Mastar 12-15-2005 11:21 PM

Quote:

Originally Posted by Alan @ CIT
Sorry, I don't understand what you mean - Quicklinks?

Is this Quick links? THIS

Mastar 12-15-2005 11:22 PM

Quote:

Originally Posted by michaelbenson
Could it be possible to make this feature accessible to certain groups only?

Look in your usergroup at the bottom.

Antivirus 12-15-2005 11:27 PM

cool idea. does this just post in threads? what about PM, usernotes, reputation, etc...?

Mr Chad 12-15-2005 11:31 PM

this is pretty damn tight.

when you edit your clip does it change all others?

Daniel 12-15-2005 11:57 PM

Very very useful! Most appreciated!

icemann 12-15-2005 11:58 PM

You've outdone yourself Alan, thanks.

*install*

BoYagoob 12-16-2005 04:59 AM

Great!
:)

Alan @ CIT 12-16-2005 05:59 AM

Quote:

Originally Posted by lionel
When I try to post, it tells me "You did not specifiy a username for your post

Sorry, I can't seem to reproduce this. Would it be possible to set me up a user account on your forum that has permission to use QuickClip so that I might test it? Thanks.

Master: That is the User Control Panel navigation menu (down the left side). The first template edit mentinoed in install.txt will add that.

Antivirus: At the moment, it only has an automated way to post replies to threads. I didn't think about the other items you mentioned, so I'll add them to a future version's todo list :)

Chatbum: No, once posted, it isn't edited if you change the clip in QuickClip later.

Everyone else: Thanks for installing and using QuickClip and the kind words :) :) :)

jluerken 12-16-2005 06:52 AM

I get the following error message when I try to open a private Message now:

PHP Code:

Database error in vBulletin 3.5.2:

Invalid SQL:
SELECT `id`, `owner`, `name`
            
FROM `vb3_quickclip_folders`WHERE `owner` = 3ORDER BY `idASC


Alan @ CIT 12-16-2005 06:57 AM

jluerken: At what point exactly do you recieve that error? ie, when you enter the User CP? when you click the List Messages link? When you click on a private message to view it? etc.

Thanks,
Alan.

Lionel 12-16-2005 07:04 AM

I get the same too, when I click on the message link in usercp

Alan @ CIT 12-16-2005 07:10 AM

I can't reproduce this at all, but...

In the attached zip file, there is a file called class_folder.php. Please put this file in /forum/includes/quickclip/ making sure you overwrite the one that is already there.

This should fix the error. Please let me know if it does :)

Thanks,
Alan.

Lionel 12-16-2005 07:15 AM

that did not fix it for me, and I still have the other error. I am investigating that it is not conflicting with another hack.

Lionel 12-16-2005 07:18 AM

I think it must be in product Look at the id next to order.

FROM `vb3_quickclip_folders`WHERE `owner` = 3ORDER BY `id` ASC;

Alan @ CIT 12-16-2005 07:23 AM

Indeed, and in the new class_folder.php, there is a space before order:

PHP Code:

$fetch_many_q .= " ORDER BY `id` ASC"

Which should fix the problem.

Are you certain that you overwrote the existing class_folder.php when you copied over the new one?

Thanks,
Alan.

jluerken 12-16-2005 07:27 AM

Quote:

Originally Posted by Alan @ CIT
Indeed, and in the new class_folder.php, there is a space before order:

PHP Code:

$fetch_many_q .= " ORDER BY `id` ASC"

Which should fix the problem.

Are you certain that you overwrote the existing class_folder.php when you copied over the new one?

Thanks,
Alan.

This fixes the problem. THX!

Alan @ CIT 12-16-2005 07:31 AM

Excellent news :) I'll update the main zip file shortly.

TheMusicMan 12-16-2005 07:42 AM

Fantastic hack. Must soon be a contender for HoM.

Alan @ CIT 12-16-2005 08:00 AM

Thanks all for the kind words, and for installing this mod :)

(Note: As of this post, the main zip file has been updated with the fixed class_folder.php file)

BoYagoob 12-16-2005 08:19 AM

I have questions:

1- When I use the quickclips, it does not show me my signature in the post. So how can I make it to preview it?

2- When a user didn't creat any new clips, it still show the quickclip table in the show thread. So, can I remove the table till a user creat a new clip?

Kind regards ..

Alan @ CIT 12-16-2005 08:21 AM

BoYagoob: I'll add both of those options in the next version which should be released in the next day or so.

The Geek 12-16-2005 08:26 AM

Superb - definite HOTM material.

Alan @ CIT 12-16-2005 08:30 AM

BoYagoob,

In the mean time, here are the changes you need to make to add a "Use Signature" tickbox:

Edit the quickclip_replybox template (in the "QuickClip Templates" group) and find:

Code:

$quickclip_dropdown
Directly after that, add:

Code:

<label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />$vbphrase[show_your_signature]</label>

Alan @ CIT 12-16-2005 08:31 AM

Quote:

Originally Posted by The Geek
Superb - definite HOTM material.

Motion seconded! Motion carried!

Horray! I win HOTM! :D


All times are GMT. The time now is 06:06 AM.

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.01348 seconds
  • Memory Usage 1,819KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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