UBB.Dev
Posted By: Gizmo [6.5] [finished] Quick Reply - 03/03/2003 6:04 AM
Original Author: Greg Hard and LK

Author: Gizzy (Gizmo@undergroundnews.com).

Description: This modification will impliment the "Quick Reply" feature as shown here on UBB Dev.

Requirements: Valid license, UBB™ 6.5.0, Vars_Wordlets_Mods.

Download: Text

Demo: Here, UGN Security

Note: I recieved a few emails about people wanting this ported to 6.5, I figured that since the code didn't drastically change from 6.4 that I'd get to it now.

Special Thanks: ADWOFF & Brett for testing and bug fixing.
Posted By: ADWOFF Re: [6.5] [finished] Quick Reply - 03/03/2003 8:49 AM
Hey Gizzy,

The good news is that when I applied this hack--I already had it installed, but had problems with the profile/registration--I can get into the profile area.

The bad news is no matter if I toggle "yes" or toggle "no" for showing the QuickReply, the QuickReply box remains in place.

Did I miss a step? What code should I look for?

Thanks!
Posted By: Gizmo Re: [6.5] [finished] Quick Reply - 03/03/2003 9:03 AM
Humm, odd... I'll poke at it in 10 minutes or so.
Posted By: Gizmo Re: [6.5] [finished] Quick Reply - 03/03/2003 9:08 AM
Umm now I'm really puzzled! lol, you're correct, its not hiding the Quick Reply... On an even odder note, you can't disable it in your profile either, so something is conflicting somewhere smirk...

::shouts for help::

Can someone please verify weather or not the 6.4 version does this? Or better yet, anyone want to try issue a fix? I'm not exactly sure whats wrong frown ...
Posted By: Brett Re: [6.5] [finished] Quick Reply - 03/03/2003 10:16 AM
I don't have this installed, but from looking at it, here's my thoughts.

Your saving the quick reply preference in the 13th user cookie place, but your checking the 10th. Replace all 'user_array[10]' in public_topic_page.pl or whatever it is with 'user_array[13]'.
Posted By: Gizmo Re: [6.5] [finished] Quick Reply - 03/03/2003 10:36 AM
Humm... The cookie place is set to be 61 (I believe), I've tried playing with the array to no avail, any help would be apreciated Brett, as always frown ...
Posted By: Brett Re: [6.5] [finished] Quick Reply - 03/03/2003 10:47 AM
No no, i see the cookie is set with the correct value, but the javascripts are just looking in the wrong place. Try this, it's untested, but if it doesn't work, i'll go install it.

[code][/code]
Posted By: Gizmo Re: [6.5] [finished] Quick Reply - 03/03/2003 10:57 AM
::points::
[code][/code]smirk

::tag:: you're it!
Posted By: Brett Re: [6.5] [finished] Quick Reply - 03/03/2003 12:02 PM
I just installed it, and it went fine with the changes i made. Gizzy, that part of the code is useless(that you quoted). tipsy
Posted By: Gizmo Re: [6.5] [finished] Quick Reply - 03/03/2003 12:12 PM
::mumble:: file will be updated in a little bit if this all works ::kicks UBB.Classic 6.5::
Posted By: ADWOFF Re: [6.5] [finished] Quick Reply - 03/03/2003 9:35 PM
Quote
quote:
Originally posted by Brett:
I just installed it, and it went fine with the changes i made.
Brett, thank you!

Gizzy, thank you, too!

Between the two of you, this is working for 6.5.0!

Thank YOU!
Posted By: Gizmo Re: [6.5] [finished] Quick Reply - 03/04/2003 7:46 AM
Ok, text is updated smile .

FYI, the 6.4 version works perfectly, it seems that we just needed to change something for 6.5 (which is odd, go figure)...

Thanks for your help Brett smile .
Posted By: AllenAyres Re: [6.5] [finished] Quick Reply - 03/04/2003 9:43 PM
hey, thank you for updating this, now I can use it thumbsup
Posted By: Gizmo Re: [6.5] [finished] Quick Reply - 03/04/2003 10:52 PM
Welcome allen smile ... It'd never have been completed without Brett's help wink ...

Now to seek assistance on the news fader and I'll have another mod ported smirk...
Posted By: AllenAyres Re: [6.5] [finished] Quick Reply - 03/05/2003 9:30 AM
smile

here's an mhp if someone wants it. It'll show errors for the last 2 steps because it's predicated on earlier steps being done tipsy

clicky

For the sections of code that was commented out, is there any reason to still add in commented out code?

example:
[code][/code]tipsy
Posted By: Gizmo Re: [6.5] [finished] Quick Reply - 03/05/2003 11:44 AM
Well, I figured I'd leave the comment there until they decide to use certain things, but I guess its not really needed anymore, just an extra step and all wink ...
Posted By: Brett Re: [6.5] [finished] Quick Reply - 03/05/2003 11:50 AM
I've noticed that some old code is being left in there, commented. I think the thinking was to help out hack author/readers in finding code that may have been replaced with something different.

But that part of the code, I'm thinking &exochomp is gonna be used instead of chomp from now on. (wish i got the trek joke out of that tho... smash )


(post #666 [Linked Image])
Posted By: Gizmo Re: [6.5] [finished] Quick Reply - 03/05/2003 12:02 PM
Rofl brett :x ::hides:: oh yeh, lookie at my title! hehehe smile ... its not announced yet though :x...

Brett, when you get a chance, could you try and see whats wrong with my News Fader mod? its not loading the total posts/topics for some reason smirk... I've never been so stumped on so many mods at once before lol...
Posted By: Brett Re: [6.5] [finished] Quick Reply - 03/05/2003 12:11 PM
heh, congrats!
Posted By: RANCH4x4 Re: [6.5] [finished] Quick Reply - 03/05/2003 10:34 PM
I installed this and it works great except for one thing.

Everytime I try to access a user's profile I get this error:

Error
An error has occured:

(RequireCode) CGIPath/ubb_profile.cgi: syntax error at CGIPath/ubb_profile.cgi line 3, near "# $Id"

Please inform the board administration of this error so that they may fix the problem. Thank you!


This is the only hack I have installed.
Posted By: Gizmo Re: [6.5] [finished] Quick Reply - 03/05/2003 10:42 PM
I unfortunately don't tet that problem at all... See my test board at:
http://www.promodtecnologies.com/cgi-bin/ubb/ultimatebb.cgi

Which other modifications have you applied? Specifically one's which use ubb_profile.cgi
Posted By: RANCH4x4 Re: [6.5] [finished] Quick Reply - 03/05/2003 10:55 PM
Errr. I just rehacked ubb_profile.cgi and all is well now, I must have just hacked something wrong before....

/me kicks himself in the head... smile
Posted By: Gizmo Re: [6.5] [finished] Quick Reply - 03/05/2003 11:49 PM
Lol, its fine, it happenes to the best of us smile ...
Posted By: messagedj Re: [6.5] [finished] Quick Reply - 03/19/2003 3:29 AM
many thnx for this hack man...

alot of users are really happy to see it running!


we owe you guys!
Posted By: messagedj Re: [6.5] [finished] Quick Reply - 03/19/2003 3:36 AM
BTW: after installing it... no errors at all...


keep m comming... !
Posted By: Gizmo Re: [6.5] [finished] Quick Reply - 03/19/2003 5:34 AM
Good to know smile ...
Posted By: messagedj Re: [6.5] [finished] Quick Reply - 03/20/2003 1:42 AM
well like i was saying... no errors at al...

but i was wrong...

the text

Message:

HTML is not enabled.
UBB Code™ is enabled.

Upload File Form

Show Signature
Disable Smilies

is not there... it is just gone... and something else... the date of the lastpost collum doest show up either anymore...


and something else, when i use the ubb accelerator the quickreply box will not showup at the screen.

http://www.djwebpages.com/cgi-bin/ubb/ultimatebb.cgi
you can login with:
user: ubbdev
pass: password

i guess it has something to do with vars_wordlets_mods.cgi or isnt that being used in 6.5 anymore?
Posted By: messagedj Re: [6.5] [finished] Quick Reply - 03/20/2003 2:15 AM
BTW: fixxed the date thing yet...

but i also found out thet the recent visitors are not shown when you press the forum home at the top....
Posted By: Gizmo Re: [6.5] [finished] Quick Reply - 03/20/2003 3:23 AM
Verify the instalation of mod wordlets. The onlyones that should be shown are:

Show Signature
Disable Smilies
Posted By: Gizmo Re: [6.5] [finished] Quick Reply - 03/20/2003 3:26 AM
mod wordlets are not standard in the UBB, you must install them on your own.
Posted By: ADWOFF Re: [6.5] [finished] Quick Reply - 04/05/2003 2:30 PM
frown I must have some stray code within my main board that is interefering with this hack ... I've tried installing it with the Multihack file ... manually (i.e. search for the code & replace it) ...

And then, when I test it out, I get the infamous white pages that I described before in the New Members' Forum. frown

I remove the hack, and the white pages disappear.


Can anyone give me a clue as to what I should be looking for that is obviously in conflict with this particular hack?

I can't leave it up and let you check it out--because I'm not going to deal with the white page issues on my main board; my test site doesn't have these issues--and I basically transferred the files from there to my main board. frown
Posted By: Gizmo Re: [6.5] [finished] Quick Reply - 04/18/2003 10:32 PM
I never had that error :-/... I guess it's why I only apply via txt's lol...

I have had it running on 6.5 with no problems at all.
Posted By: reakhavok Re: [6.5] [finished] Quick Reply - 05/06/2003 6:50 AM
in Public_topic_page.pl it says replace $preview_button with $preview_button &spellcheck_button ..I don't have a $preview_button .. I use JC templates and have installed several other hacks not sure where or when but i no longer have the $preview_button line....any ideas as to where i need to place the code??
Posted By: PrimeTime Re: [6.5] [finished] Quick Reply - 05/06/2003 1:05 PM
If you don't have the $preview_button then add the $spellcheck_button immediately after:

[code][/code]
Posted By: reakhavok Re: [6.5] [finished] Quick Reply - 05/06/2003 4:53 PM
GREAT!!! That got it. thanks PrimeTIme
Posted By: PrimeTime Re: [6.5] [finished] Quick Reply - 05/07/2003 2:55 AM
smile
Posted By: PrimeTime Re: [6.5] [finished] Quick Reply - 05/07/2003 3:04 AM
Hey ADWOFF. Still experiencing those same issues eh? Do these "white pages" appear when a user is logged in or as a guest?
Posted By: Ian Spence Re: [6.5] [finished] Quick Reply - 05/17/2003 12:55 AM
I made a qdown.gif for dark backgrounds. Here it is if someone wants it. [Linked Image]
Posted By: PKassab Re: [6.5] [finished] Quick Reply - 05/17/2003 7:56 AM
OK I got a problem I installed this hack and it worked fine, I then turned on the whos online feature and my partner changed the wordlets and now the quick reply box is missing it is nowhere to be found can anyone help me out?

Peter
Posted By: technoforum.de Re: [6.5] [finished] Quick Reply - 05/19/2003 9:59 AM
is it possible to turn the standardview in the users profile to OFF so just users turn this feature ON in case they'd like to use it? i think this mod/hack will make my bbs even more nicer to use *g*
Posted By: Ian Spence Re: [6.5] [finished] Quick Reply - 05/19/2003 10:21 AM
[code][/code]That should do it
Posted By: Ian Spence Re: [6.5] [finished] Quick Reply - 05/26/2003 6:39 AM
Did anyone else have a problem with the border between the header of the quick reply?

[Linked Image]
there should be a black border between the green and gray, does anyone know what I could have done wrong?
Posted By: PKassab Re: [6.5] [finished] Quick Reply - 05/30/2003 8:17 PM
Quote
quote:
Originally posted by PKassab:
OK I got a problem I installed this hack and it worked fine, I then turned on the whos online feature and my partner changed the wordlets and now the quick reply box is missing it is nowhere to be found can anyone help me out?

Peter
Can anyone help me out with this???

Peter
Posted By: Ian Spence Re: [6.5] [finished] Quick Reply - 05/30/2003 8:42 PM
look through all the wordlets he changed and see if any added a !, because that messed up some stuff for me too
Posted By: PKassab Re: [6.5] [finished] Quick Reply - 05/31/2003 3:47 PM
K i will try tht out thank you

Peter
Posted By: PKassab Re: [6.5] [finished] Quick Reply - 05/31/2003 4:01 PM
Nope that did not solve it i took all the ! out and its still missing.

Peter
Posted By: jlm Re: [6.5] [finished] Quick Reply - 06/01/2003 3:25 AM
I'm getting a lot of script errors so i don't know what i've done wrong frown

I get this when I go to profile:
/^(0|1$/: unmatched () in regexp at CGIPath/ubb_profile.cgi line 969.

I assume that's refering to this line:
my $quickreply = ($in{quickreply} =~ m/^(0|1)$/ ? $in{quickreply} : 1 );

but i can't see anything wrong with it.
Posted By: jlm Re: [6.5] [finished] Quick Reply - 06/01/2003 10:59 PM
I fixed the problem with this one
Posted By: Gizmo Re: [6.5] [finished] Quick Reply - 06/02/2003 10:54 AM
what was going on PKassab and JLM?
Posted By: PKassab Re: [6.5] [finished] Quick Reply - 06/03/2003 9:19 PM
My quick reply box disappered for everyone.

Peter
Posted By: Gizmo Re: [6.5] [finished] Quick Reply - 08/23/2003 1:34 AM
no, but it preserves its legasy! lol
Posted By: Mr. B Re: [6.5] [finished] Quick Reply - 08/24/2003 5:23 AM
I've installed it. and its workin fine

Thnx Gizzy
Posted By: paws Re: [6.5] [finished] Quick Reply - 09/12/2004 6:54 PM
I just installed it and whenever a new user registered it gave this error message on the board:
"Hack attempt logged or corrupt/altered member file found with extra fields"

The hack worked fine until a new member registered. I deleted all new registrations from after I installed and then it was fine. Any ideas on how to get around this?
Posted By: Ian Spence Re: [6.5] [finished] Quick Reply - 09/12/2004 7:14 PM
make sure you did the step in ubb_lib_files.cgi twice
Posted By: paws Re: [6.5] [finished] Quick Reply - 09/13/2004 9:57 AM
Yep, I double checked that. Anything else i could try?
© UBB.Developers