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)

MrNase 12-16-2005 09:01 AM

One suggestion: Could you make it so that the content of the QuickClip automatically gets pasted into the textarea so that it is some kind of template which can be edited before posting? :)

Alan @ CIT 12-16-2005 09:12 AM

MrNase,

That was my original plan, but has been pushed back to a future version :)

Thanks,
Alan.

BoYagoob 12-16-2005 09:14 AM

Thanks Alan @ CIT,

but I have a new problem.
When you update the new file, and I changed it only for my forum, in the private messeages, the style becomes Left to right, beacuse the defualt is from right to left. can you fix that in the next version?

Alan @ CIT 12-16-2005 09:38 AM

Sorry, I don't fully understand what you mean. Could you show me a screenshot of what it's supposed to look like, and a screenshot of what it looks like when it's broken?

Thanks.

BoYagoob 12-16-2005 10:27 AM

Quote:

Originally Posted by Alan @ CIT
Sorry, I don't fully understand what you mean. Could you show me a screenshot of what it's supposed to look like, and a screenshot of what it looks like when it's broken?

Thanks.

Actually, I have just uninstall it, beacuse I wait for the new version.

My problem is that, if you didn't understant I will install it again:

- My site is R-L,
like this: http://www.vbulletin.com/forum/?langid=3

- after I put the fixed file for your hack, the style or the langauge become L-R in the private message area.

If this is not clear to you, I will try again and attach screenshots.

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

ok, I understand what you mean now.

I've never used R-L text before, so I'll run some tests on my development board and see what I come up with.

Thanks,
Alan.

TheMusicMan 12-16-2005 10:52 AM

Trying to fix the no sig issue, I don't see

Code:

$replybox
In the quickclip_replybox template?

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

Ooops, sorry - I meant find:

Code:

$quickclip_dropdown
I will edit my original post :)

TheMusicMan 12-16-2005 11:14 AM

That sorted it thanks Alan.

Do I need to amend the new class_folder.php file too? I see in another post here that you advised someone to reupload theirs... not sure if that applies to everyone?

Alan @ CIT 12-16-2005 11:18 AM

It's only really needed if you get an SQL error when you enter the User CP.

But, I've updated the main zip with the fixed file, and it certainly won't break anything if you upload it :)

derekivey 12-16-2005 11:23 AM

Hey Alan,

I just thought of a suggestion,

maybe allow the variable $username to be in quick clips, and add a field by the drop down that allows you to input a username so that it posts their username in the message too like this:

Hello $username,

other text.

Just a suggestion.
Derek

BoYagoob 12-16-2005 11:35 AM

Hi Alan @ CIT,
I tested it now, and the problem is seen when I enther the UserCP.

See these pics:

ForumHome:
http://www.qatarp.com/files/12/1111.JPG


UserCP:
http://www.qatarp.com/files/12/1111111111.JPG


==================

But in the old file which is in the /includes dirctory, works fine witrhout any problem.

BoYagoob 12-16-2005 11:48 AM

Can you tell me please, what is the difference between rhe new and old one of this file:
class_folder.php

for the old one, it works fine.

Alan @ CIT 12-16-2005 12:01 PM

There is almost no difference.

The old one had:

... = "ORDER BY `id` ASC";

The new one has:

... = " ORDER BY `id` ASC";

That's the only change.

Cyricx 12-16-2005 12:03 PM

This is awesome! Sweet addition bro! I never thought of this, but now that I see the screenies, this will work great!

Alan @ CIT 12-16-2005 12:06 PM

Derek: Good idea mate, I'll see if I can work that into the next version :)

BoYagoob 12-16-2005 12:13 PM

Alan,
I noticed there is another diffrence.

In the first line in the new file, this appear:

Quote:

``<?php
/**
* QuickClip
* A user clipboard system for vBulletin 3.5
when I removed the: ``

it works fine.

Maybe, is this a bug?

Alan @ CIT 12-16-2005 12:20 PM

Well spotted Boyagoob, that was indeed what was causing the problem. Not entirely sure how those 2 backticks got in there, must have been me pressing random keys again :)

I have updated the release zip and the class_folder.zip file with the `` removed.

Thanks,
Alan.

icemann 12-16-2005 12:25 PM

Works great but I have one minor problem..... there's a big blank area on top now.

The PM box or whatever box you're using at the time is way down below.

Screenshot attached and any help is appreciated. :)

BoYagoob 12-16-2005 12:26 PM

Best wishes Alen, and everything is works great now.

Also, I am waiting for the final version with the new features :)

Kind Regards ..

BoYagoob 12-16-2005 12:28 PM

Quote:

Originally Posted by icemann
Works great but I have one minor problem..... there's a big blank area on top now.

The PM box or whatever box you're using at the time is way down below.

Screenshot attached and any help is appreciated. :)

Please, see posts number: 57 and 58.
This should fix your problem.

icemann 12-16-2005 12:32 PM

Quote:

Originally Posted by BoYagoob
Please, see posts number: 57 and 58.
This should fix your problem.


Sorry, no change at all. :ermm:

Alan @ CIT 12-16-2005 12:34 PM

Iceman: Re-do the first template edit that is mentioned in the install.html file - something appears to have gone wrong with that edit.

icemann 12-16-2005 12:35 PM

When I disable QuickClips it looks like this, which is normal.


edit: I'm checking the template now ;)

icemann 12-16-2005 12:47 PM

My apologies Alan, it was on my end bud.

I put the new code "between"....... </table> and <!-- / usercp nav --> instead of right on top.

Working PERFECTLY now and thanks for a great hack. :)

Alan @ CIT 12-16-2005 12:49 PM

Glad to hear you've got it working, I hope you enjoy it :)

Thanks,
Alan.

BoYagoob 12-16-2005 12:51 PM

Alan, can you tell us when the new version will be released?
because, I am looking for the new features, it will be perfect. :)

Alan @ CIT 12-16-2005 12:55 PM

The new version will be released soon :)

It's got a some great new features, so I don't think you'll be disapointed :)

Alan @ CIT 12-16-2005 04:48 PM

Version 1.1 has been released!

Changes in this version:

* 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

As usual folks, any suggestiosn / comments / complaints / questions / etc are more than welcome :)

Enjoy! :)

Alan @ CIT 12-16-2005 04:54 PM

(Note to Derek: I haven't forgotten about your $username request, I'm building a template variable parser thing to handle that plus more) :)

jluerken 12-16-2005 05:37 PM

I have two ideas for version 1.2

1.
The admins should be able in the admincp to create default QuickClips for other groups.

For example:
The admin creates a default QuickClip for the Group Moderators.
Moderators should not be able to modify or delete this
and it should only be shown if the group is allowed to view QuickClips.

This means that disabling the group to use QuickClips should also deactivate the default ones which are set by the admin.

2.
Create QuickClip Pool.

There should be a new option called:
Allow user to send a QuickClip to the Pool

The Pool should be an area where all usergroups who are allowed to view it can see other users QuickClips.

Example:
I am admin and allowed to view the pool.
I send one of my private QuickClips to it.

A Moderator who is also allowed to see the pool marks all QuickClips he finds useful and adds them by marking a hitbox to his own private QuickClip list.

Only the creator or an admin should be able to remove a Item from the pool or modify it.

Regards
jluerken

BoYagoob 12-16-2005 05:46 PM

Alan @ CIT, I would like to tell you something :(























































In my opinion, it is the most perfect hack, and you are one of the most professional coder in the world. :)

Million million thanks Alan,
everything works smoothly and very fine.

But, I have only one question: :nervous:

How can I remove the content from displaying?

because, in my langauge, it cannot be displayed very well, it display strange char.:
see this pic:

http://www.qatarp.com/files/12/thanksAlan.jpg

My lanagauge uses: windows encoding.

So, I am just looking how to remove this in the red recangular from displaying.

Thanks again
Kind regards ..

Alan @ CIT 12-16-2005 06:13 PM

BoYagoob: To remove the preview text, edit the quickclip_listclips_listbit template, and remove:

Code:

<span class="smallfont">$clip_text_snipped</span>
I believe I know why the text is displaying incorrectly, I will investigate and get back to you :)

jluerken: Thanks for the feature suggestions, I will bear them in mind for future versions :)

Thanks,
Alan.

BoYagoob 12-16-2005 06:26 PM

Thanks a lot my friend.
I fixed and remove that, I think it will not be a problem for me if i remove it.
and now, I have just finished translating it to my lanaguage in my forum, and I will publish it for my members. I am sure they will like it, becase they will use it in certain sections especially the welcome section for the new members, and for me as an admin of course.

Thanks for this best hack. :)

~ Yousif.

dieselpowered 12-16-2005 06:53 PM

This looks great, will install when I get home!

RMS-Chef 12-16-2005 07:30 PM

Looks fantastic.
I have an issue with the PM feature.

The reply works great but if I try to delete a PM while viewing it using the:
Code:

Delete Message
To delete this message, check the appropriate option below and then click the 'Delete this Message' button.

I select the confirmation box and click Delete thi Message without touching anything on the QuickClip section below. It does not delete the message and sends the canned reply that is selected by default to the user who's message I am trying to delete. I can delete messages just fine using the check boxes and the Delete option when viewing the message list in a folder.

Lionel 12-16-2005 07:42 PM

Quote:

Originally Posted by Lionel
When I try to post, it tells me
You did not specify a username for your post

Alan I sent you a PM. This is being caused by the "Advanced editing options" hack at look location newpost_process or newpost_complete. It appears that this hack monopolizes newreply and allows only for quickreply to go thru.

I disabled those two hooks and all is well.

RMS-Chef 12-16-2005 07:42 PM

This also seems to conflit with Psionic Visions "Adv. Editing Options for Mods and Admins" located here: https://vborg.vbsupport.ru/showthread.php?t=98737. When I have it enabled with this hack and try to use a QuickClip reply to a post, I get an error message from what appears to be his hack that reads:
"The following errors occurred when this message was submitted:
You did not specify a username for your post."

When I disable his product the post QuickClip reply works fine but the delete PM issue is still there.

RMS-Chef 12-16-2005 07:46 PM

Quote:

Originally Posted by Lionel
Alan I sent you a PM. This is being caused by the "Advanced editing options" hack at look loation newpost_process or newpost_complete. It appears that this hack monopolizes newreply and allows only only for quickreply to go thru.

I disabled those two hooks and all is well.

Yes, I tried disabling those as well and it seems to work.
Are we losing anything from the Adv. Edit hack by disabling those that you know of?

Lionel 12-16-2005 07:57 PM

Quote:

Originally Posted by RMS-Chef
Yes, I tried disabling those as well and it seems to work.
Are we losing anything from the Adv. Edit hack by disabling those that you know of?

I would say that we loose everything. Adv Editing becomes useless, in my opinion. I posted in there, hopefully he will fix it. My opinion is that the problem is his, because he monopolizes that location which means no other hacks will work if they need to use same location or same process.

https://vborg.vbsupport.ru/showpost....&postcount=164


All times are GMT. The time now is 10:12 PM.

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.02022 seconds
  • Memory Usage 1,830KB
  • 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
  • (4)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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