Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Joined: Feb 2000
Posts: 4,625
G
Member
OP Offline
Member
G
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™. smile

This version works for 6.3.0 - 6.3.1 as tested, though there may be bugs.

This hack requires modification wordlets now

Quote
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

Sponsored Links
Joined: May 2001
Posts: 6,708
Member
Offline
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. tipsy

Joined: Feb 2000
Posts: 4,625
G
Member
OP Offline
Member
G
Joined: Feb 2000
Posts: 4,625
Text file updated with a fix to QuickQuote.

Joined: Feb 2000
Posts: 4,625
G
Member
OP Offline
Member
G
Joined: Feb 2000
Posts: 4,625
File updated, new wordlets and html fixes.

Joined: Jul 2001
Posts: 99
P
Member
Offline
Member
P
Joined: Jul 2001
Posts: 99
Is there a MH file for this? I have sooo many hacks to implement after the upgrade... frown

Sponsored Links
Joined: Jan 2001
Posts: 56
P
Member
Offline
Member
P
Joined: Jan 2001
Posts: 56
Other than that, TIGHT HACK! smile

Joined: Apr 2001
Posts: 86
H
Member
Offline
Member
H
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
G
Member
OP Offline
Member
G
Joined: Feb 2000
Posts: 4,625
If someone confirms that I'll look into it.

Joined: Oct 2001
Posts: 572
E
Member
Offline
Member
E
Joined: Oct 2001
Posts: 572
Nice hack you guys. Very nice. I will install this one latter tonight. smile

Joined: Apr 2001
Posts: 86
H
Member
Offline
Member
H
Joined: Apr 2001
Posts: 86
freak.scene's board has the same error as me when trying to register. I found out when i tried to register there!
http://www.freakscene.net/cgi-bin/ubb/ultimatebb.cgi?ubb=agree

Sponsored Links
Joined: Feb 2000
Posts: 4,625
G
Member
OP Offline
Member
G
Joined: Feb 2000
Posts: 4,625
Alright i'll look into it.

Joined: Jun 2001
Posts: 2,849
R
Spotlight Winner
Offline
Spotlight Winner
R
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
L
LK Offline
Admin / Code Breaker
Offline
Admin / Code Breaker
L
Joined: Mar 2001
Posts: 7,394
Code
#Find:

$avline, #38
);

# Add below:

$thismemarray[61] = $quickreply;
Are you sure you put it BELOW and not ABOVE?

Joined: Feb 2000
Posts: 4,625
G
Member
OP Offline
Member
G
Joined: Feb 2000
Posts: 4,625
.

Joined: Mar 2001
Posts: 326
M
Member
Offline
Member
M
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
L
LK Offline
Admin / Code Breaker
Offline
Admin / Code Breaker
L
Joined: Mar 2001
Posts: 7,394
I'm very confused @ mark tipsy

This hack is for replying, not new topics tipsy Well, unless Greg added it to forum page?

Joined: Feb 2000
Posts: 4,625
G
Member
OP Offline
Member
G
Joined: Feb 2000
Posts: 4,625
No, i didn't. wink

Joined: Mar 2001
Posts: 326
M
Member
Offline
Member
M
Joined: Mar 2001
Posts: 326
Sorry, got confused between CompactReply and QuickReply =).

Joined: Sep 2000
Posts: 18
C
Junior Member
Offline
Junior Member
C
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
L
LK Offline
Admin / Code Breaker
Offline
Admin / Code Breaker
L
Joined: Mar 2001
Posts: 7,394
Not instead of $Avatar, but in addition to $Avatar tipsy

Joined: Sep 2000
Posts: 18
C
Junior Member
Offline
Junior Member
C
Joined: Sep 2000
Posts: 18
Well, I meant placing it after $report_icon, instead of after $Avatar. wink

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
Offline
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 smile Would also keep the forums from being a blanket of icon01.gif's smile


- Allen wavey
- What Drives You?
Joined: Mar 2001
Posts: 7,394
L
LK Offline
Admin / Code Breaker
Offline
Admin / Code Breaker
L
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 tipsy 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 tipsy

I could add names instead, but it's tough to choose names, believe me tipsy

Joined: Feb 2000
Posts: 4,625
G
Member
OP Offline
Member
G
Joined: Feb 2000
Posts: 4,625
Adding a choice few wouldn't hoit. wink

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Sure, if it's done similar to the smilie mod, 5-6 of the basic ones would keep the bandwidth to almost nothing. Use something like
smile
frown
laugh
shocked
wink

In there with the corresponding post icons that fit. yabb does something similar on their posting pages. Even 2-3 choices would be welcome smile


- Allen wavey
- What Drives You?
Joined: Dec 2001
Posts: 37
D
Junior Member
Offline
Junior Member
D
Joined: Dec 2001
Posts: 37
link is no worky frown

Joined: Feb 2000
Posts: 4,625
G
Member
OP Offline
Member
G
Joined: Feb 2000
Posts: 4,625
Will fix soon.

Joined: Dec 2001
Posts: 37
D
Junior Member
Offline
Junior Member
D
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
L
LK Offline
Admin / Code Breaker
Offline
Admin / Code Breaker
L
Joined: Mar 2001
Posts: 7,394
Hmm, when did you get that error? tipsy

Joined: Dec 2001
Posts: 37
D
Junior Member
Offline
Junior Member
D
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
L
LK Offline
Admin / Code Breaker
Offline
Admin / Code Breaker
L
Joined: Mar 2001
Posts: 7,394
Hmm, URL? tipsy

Joined: Dec 2001
Posts: 37
D
Junior Member
Offline
Junior Member
D
Joined: Dec 2001
Posts: 37

Joined: Dec 2001
Posts: 37
D
Junior Member
Offline
Junior Member
D
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
O
Spotlight Runner-Up
Offline
Spotlight Runner-Up
O
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.. smile

Joined: Aug 2002
Posts: 97
C
Member
Offline
Member
C
Joined: Aug 2002
Posts: 97
Works great thanks.

smile

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
L
LK Offline
Admin / Code Breaker
Offline
Admin / Code Breaker
L
Joined: Mar 2001
Posts: 7,394
Can you post lines 945-980?

Joined: Aug 2002
Posts: 97
C
Member
Offline
Member
C
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
C
Member
Offline
Member
C
Joined: Aug 2002
Posts: 97
*bump, and thoughts?

Joined: Mar 2001
Posts: 7,394
L
LK Offline
Admin / Code Breaker
Offline
Admin / Code Breaker
L
Joined: Mar 2001
Posts: 7,394
Find:
Quote
code:
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]
Code
if (($user_profile[35] != $pntf_hidden)
|| ($quickreply ne $user_profile[61])
[/qb]

Joined: Aug 2002
Posts: 97
C
Member
Offline
Member
C
Joined: Aug 2002
Posts: 97
thanks Ill try it tonight smile

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.

Page 1 of 3 1 2 3

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,558
Posts293,857
Members13,848
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,819
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 70
Gizmo 16
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2022 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Snapshot build 20220106)
Responsive Width:

PHP: 7.3.29 Page Time: 0.040s Queries: 95 (0.013s) Memory: 0.9932 MB (Peak: 1.1885 MB) Data Comp: Zlib Server Time: 2022-01-21 08:23:23 UTC
Valid HTML 5 and Valid CSS