|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Here it is folks, the newest implementation of the annoying QuickReply hack with QuickQuote™ technology! In this version i've wordletized some things, and fixed QuickQuote™. This version works for 6.3.0 - 6.3.1 as tested, though there may be bugs. This hack requires modification wordlets now quote:
Its adds a little box after each post for quick and easy replying. Works with 6.3.
Download
Thanks LK for his work on 3.0.
Logs:
1.0: Initial Testing 1.1: Fixed some HTML (Alpha Init) 1.2: Fixed some more HTML (Beta Init, RC1 Init) 1.3: Fixed more HTML (RC2 Init) 1.4: Public Release (RC2 used) 1.5: Fixed Doc Errors 1.6: Updated Doc to work with JCTemplates 1.7: Fixed some HTML 1.8: Fixed a bug with variables sending incorrect information 1.9: Added support for ALT+S thanks to Bookie and xpert! 2.0: Cookie Support to NOT show the box (hopefully) 3.0: Adds some other options, fixes a bug, adds profile option. This has been tested but not much. Report bugs/probs here and give me time to fix issues. 3.1: Fixed a bug. Redo topic_page. 3.2: Bugs Fixed, Carrot Cakes eaten. 3.3: Bugs 3.3: Bugs 3.3: Bugs 3.4: Bugs 3.5: QuickReply w/Quote 3.6: Fixed QuickReply w/Quote (Do topic_page, the bottom) 3.7: More Wordletization Upgrading requires topic_page main code replacement only. 4.0: Wordlets, Fixed QuickQuote
You can use the image next to the quote button on UBBDev made by bookie. Download and upload to your noncgi directory. Thanks, Bookie!
NOTE: If you can't find [34] or [35], replace with [35] and [34] respecively.
Download
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Great work LK and Greg, With all these new features I'll upgrade from my very old version. 
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Text file updated with a fix to QuickQuote.
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
File updated, new wordlets and html fixes.
|
|
|
|
Joined: Jul 2001
Posts: 99
Member
|
Member
Joined: Jul 2001
Posts: 99 |
Is there a MH file for this? I have sooo many hacks to implement after the upgrade... 
|
|
|
|
Joined: Jan 2001
Posts: 56
Member
|
Member
Joined: Jan 2001
Posts: 56 |
Other than that, TIGHT HACK! 
|
|
|
|
Joined: Apr 2001
Posts: 86
Member
|
Member
Joined: Apr 2001
Posts: 86 |
After installing, (but not doing the quickquote bit cuz it only allows one picture to be used) it brings up this error when a member trys to Register.
An error has occured:
CGIPath/ubb_registration.cgi: syntax error at CGIPath/ubb_registration.cgi line 739, near "$quickreply;"
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
If someone confirms that I'll look into it.
|
|
|
|
Joined: Oct 2001
Posts: 572
Member
|
Member
Joined: Oct 2001
Posts: 572 |
Nice hack you guys. Very nice. I will install this one latter tonight. 
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Alright i'll look into it.
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
Odd, I just installed it on a fresh 6.3.1 with no issues... Click here .
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
#Find:
$avline, #38 );
# Add below:
$thismemarray[61] = $quickreply; Are you sure you put it BELOW and not ABOVE?
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
|
|
|
|
Joined: Mar 2001
Posts: 326
Member
|
Member
Joined: Mar 2001
Posts: 326 |
In the new_topic (not reply) .pl file you missed out $email_notify in the options, probably because you did the reply file code first and it doesn't appear there.
I simply added $email_notify in front and it worked.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I'm very confused @ mark This hack is for replying, not new topics  Well, unless Greg added it to forum page?
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
No, i didn't. 
|
|
|
|
Joined: Mar 2001
Posts: 326
Member
|
Member
Joined: Mar 2001
Posts: 326 |
Sorry, got confused between CompactReply and QuickReply =).
|
|
|
|
Joined: Sep 2000
Posts: 18
Junior Member
|
Junior Member
Joined: Sep 2000
Posts: 18 |
I received that same error. I fixed it by placing the "$quote_body" after "$report_icon, $linkname," instead of "$Avatar."
Now, is there an imagefor the quick reply w/ quote that's compatible with black backgrounds?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Not instead of $Avatar, but in addition to $Avatar 
|
|
|
|
Joined: Sep 2000
Posts: 18
Junior Member
|
Junior Member
Joined: Sep 2000
Posts: 18 |
Well, I meant placing it after $report_icon, instead of after $Avatar. 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
How's about a drop-down listing of the post icons on either the right or left? Would add less than 1k to the download, probably less than 300bytes  Would also keep the forums from being a blanket of icon01.gif's 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I thought about that, but then I thought that most users won't know what the numbers mean anyway  Then I'll have to add a preview image, then they will check every icon till they get to the deserved one, and it will take much bandwidth I could add names instead, but it's tough to choose names, believe me 
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Adding a choice few wouldn't hoit. 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
|
|
|
|
Joined: Dec 2001
Posts: 37
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 37 |
link is no worky 
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
|
|
|
|
Joined: Dec 2001
Posts: 37
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 37 |
I get this message after I implimented this feature You are attempting to reach a page that does not exist.
» Please use your browser's back button to return.
I rebuilt stats cleared cache all that stuff... Did I overlook something?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Hmm, when did you get that error? 
|
|
|
|
Joined: Dec 2001
Posts: 37
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 37 |
Just now, everything works fine, just when I use the quick reply box, I get that message. Im using JCtemplates :::shrugs:::
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Hmm, URL? 
|
|
|
|
Joined: Dec 2001
Posts: 37
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 37 |
|
|
|
|
Joined: Dec 2001
Posts: 37
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 37 |
Never mind I figured it out on my own. Had to figure out where to put $quick_reply with jctemplates
|
|
|
|
Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
|
Spotlight Runner-Up
Joined: Mar 2002
Posts: 451 |
Would it be possible to add a link to the smilie legend that "DPK's SmilieMod" installs below "HTML is not enabled." and "UBB Code is enabled."? If so could anyone explain to me how to go about doing this..? I tried and got an error with ubb_lib_posting.cgi when i'd edited public_topic_page.pl, so I won't be trying it again, I'll leave it to the professionals.. 
|
|
|
|
Joined: Aug 2002
Posts: 97
Member
|
Member
Joined: Aug 2002
Posts: 97 |
Works great thanks. But I get this when I click the profile page: CGIPath/ubb_profile.cgi: syntax error at CGIPath/ubb_profile.cgi line 952, near "||" syntax error at CGIPath/ubb_profile.cgi line 977, near "} else"
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Can you post lines 945-980?
|
|
|
|
Joined: Aug 2002
Posts: 97
Member
|
Member
Joined: Aug 2002
Posts: 97 |
my $pntf_hidden = ($in{pntf_hidden} =~ m/^(0|1)$/ ? $in{pntf_hidden} : 0 ); my $quickreply = ($in{quickreply} =~ m/^(0|1)$/ ? $in{quickreply} : 1 ); chomp($user_profile[35]);
# set new cookie, if necessary if (($user_profile[35] != $pntf_hidden) || ($lc_email ne $lc_old_email) || ($new_password ne $user_profile[1]) || ($public_name ne $old_public_name) || ($avhide != $oldavhide) || ($quickreply ne $user_profile[61])) { || ($lc_email ne $lc_old_email) || ($new_password ne $user_profile[1]) || ($public_name ne $old_public_name) || ($avhide != $oldavhide)) { my $cookie2; if (($lc_email ne $lc_old_email) && ( $vars_registration{EmailVerify} eq "ON" )) { $cookie2 = cookie( -name => "ubber$vars_config{Cookie_Number}", -value => "", -path => '/' ); } else { $cookie2 = cookie( -name => "ubber$vars_config{Cookie_Number}", -value => [$user_profile[0], $new_password, $public_name, $in{DaysPrune}, $in{u}, $pntf_hidden, $avhide, "", "", "", $quickreply], -path => '/', -expires => '+2y' ); } print header( -cookie => [$cookie2], -charset => "$masterCharset", -type => "text/html", );
} else {
#print qq%Content-type: text/htmlnn%;
|
|
|
|
Joined: Aug 2002
Posts: 97
Member
|
Member
Joined: Aug 2002
Posts: 97 |
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Find: code:
if (($user_profile[35] != $pntf_hidden) || ($lc_email ne $lc_old_email) || ($new_password ne $user_profile[1]) || ($public_name ne $old_public_name) || ($avhide != $oldavhide) || ($quickreply ne $user_profile[61])) {
Replace with: code: [qb]if (($user_profile[35] != $pntf_hidden) || ($quickreply ne $user_profile[61]) [/qb]
|
|
|
|
Joined: Aug 2002
Posts: 97
Member
|
Member
Joined: Aug 2002
Posts: 97 |
thanks Ill try it tonight I tried it and it worked thanks Big thanks Now to find out why stats arent functioning. Ill double check the code editing first though.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|