|
Joined: Jan 2000
Posts: 114
Member
|
Member
Joined: Jan 2000
Posts: 114 |
From the installation instructions: HACK NAME : Preview Post DESCRIPTION : This hack allows users to preview their posts. The previews are displayed above the input box, and appear exactly as they would in an actual post, including all UBB Code⢠formatting. AUTHOR : Eddie Holman (Leshrac) - [email protected]VERSION : 1.01 If you feel you have contributed but not been given credit please email me - [email protected]REQUIREMENTS : A full version of the UBB, version 6.0 or later. DOWNLOAD URL : http://www.magictraders.com/ubb/preview_post.txt Note that this version does not use a JavaScript pop-up, as it's something I'm not a big fan of. I hear another version of this hack with that feature is in the works, however. If you find any bugs that aren't a result of user error, please let me know. This has worked flawlessly for me so far. [ March 19, 2001: Message edited by: Leshrac ]
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
I dont know why, but the new topic one works, but the reply one doesnt work. It posts the topic.
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
In ubb_new_reply page if ($in{prev}) { &reply_page; exit; }
not
if ($in{prev}) { &new_topic_page; exit; }
|
|
|
|
Joined: Jan 2000
Posts: 114
Member
|
Member
Joined: Jan 2000
Posts: 114 |
Thanks. That's what I get for trying to condense the install docs. 
|
|
|
|
Joined: Feb 2001
Posts: 35
Member
|
Member
Joined: Feb 2001
Posts: 35 |
I couldn't find: in public_edit_post.plI take you meant: anyway, installed it and tested it and it's great  five star hack that everyone should go install  great work Leshrac [ March 19, 2001: Message edited by: Mr. Spanky ]
Fear is the mind-killer. Fear is the little death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. And when it has gone past me I will turn to see fear's path. Where the fear has gone there will be nothing. Only I will remain.
|
|
|
|
Joined: Mar 2001
Posts: 29
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 29 |
A FEW THINGS:
1. I can preview NEW TOPICS but when I EDIT, it doesn't work.
2. When I add Smilies/Graemlins and preview, they show up as broken images (/cgi-bin/ubb6/biggrin.gif - should be /ubb6/biggrin.gif)
3. I have to turn flood check OFF in order to use preview or else I get the flood check warnings or I have to lower the flood check time which defats the purpose of using flood check.
|
|
|
|
Joined: Mar 2001
Posts: 37
Member
|
Member
Joined: Mar 2001
Posts: 37 |
ehhh, maybe this should head on over to the beta section.. but thats not for me to decide.. AA's job.
Nice ezboard... for me to poop on!
|
|
|
|
Joined: Feb 2001
Posts: 67
Member
|
Member
Joined: Feb 2001
Posts: 67 |
What Would UBB look like with out hacks?
|
|
|
|
Joined: Jan 2000
Posts: 114
Member
|
Member
Joined: Jan 2000
Posts: 114 |
All above mentioned bugs have been fixed. Please refer to the installation instructions and reapply the code changes to ubb_new_topic.cgi, ubb_new_reply.cgi, ubb_edit_post.cgi, and public_edit_post.pl.
Jedi Thrawn and Compboy: your posts are incredibly unhelpful. In the future, please do not waste your time and that of others if you have nothing useful to contribute.
|
|
|
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
Leshrac, Excellent work on the hack. One suggestion for the install documentation ... When editing the vars_wordlets.cgi file, if I put the preview wordlet is added at the end as it is indicated in your documentation, it will cause an error error. If you suggest to people to check the line above ends in a comma (and if not add one at the end), this might eliminate some problems. Nevertheless great hack and I *love* the no Javascript required part. qasic
|
|
|
|
Joined: Jan 2000
Posts: 114
Member
|
Member
Joined: Jan 2000
Posts: 114 |
Well, to be fair, I just say to add it to your wordlets file, not put it at the end. I'm assuming people should at least be able to exercise a small degree of common sense and put it in the logical place. :rolleyes:
|
|
|
|
Joined: Mar 2001
Posts: 29
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 29 |
Leshrac - All bugs fixed, roger. Excellent hack dude! Thanks very much!! 
|
|
|
|
Joined: Mar 2001
Posts: 15
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 15 |
Thank you, It looks awesome and works awesome. I hated the fact that I couldn't preview my posts. Thank you...
|
|
|
|
Joined: Sep 2000
Posts: 68
Member
|
Member
Joined: Sep 2000
Posts: 68 |
works great, thx leshrac ... who needs a javascript popup?
|
|
|
|
Joined: Dec 2000
Posts: 54
Member
|
Member
Joined: Dec 2000
Posts: 54 |
Thank you for the hack. It's working without any problems on my board. A general question--how many places would I need to change the coding in order to make the add reply and now the preview gray boxes converted into gif's?
|
|
|
|
Joined: Oct 2000
Posts: 807
Member
|
Member
Joined: Oct 2000
Posts: 807 |
works good...one more thing........incorporate this with the pm form as well! 
|
|
|
|
Joined: Feb 2001
Posts: 67
Member
|
Member
Joined: Feb 2001
Posts: 67 |
Again I Agree here ! Works 99%. But the hack doesn't incorporate the UBB codebuttons hack (yet) I would like to see this too (eg glow text). Keep up the good work..  [ March 20, 2001: Message edited by: Compboy ]
What Would UBB look like with out hacks?
|
|
|
|
Joined: Nov 2000
Posts: 915
Developer
|
Developer
Joined: Nov 2000
Posts: 915 |
well gee, screw my hack then, thnx....  les: nice hack  [ March 20, 2001: Message edited by: DPK ]
|
|
|
|
Joined: Mar 2000
Posts: 344
Member
|
Member
Joined: Mar 2000
Posts: 344 |
Very nice work! Worked on first try on my offline test version here. Great docs. 
|
|
|
|
Joined: Feb 2001
Posts: 67
Member
|
Member
Joined: Feb 2001
Posts: 67 |
A Q Do you have UBB buttons installed? if so does it work with it too?
What Would UBB look like with out hacks?
|
|
|
|
Joined: Jan 2001
Posts: 22
Junior Member
|
Junior Member
Joined: Jan 2001
Posts: 22 |
It does work with ubb code buttons.
[ March 21, 2001: Message edited by: Caldazar ]
|
|
|
|
Joined: Mar 2000
Posts: 344
Member
|
Member
Joined: Mar 2000
Posts: 344 |
I haven't played with UBB Code Buttons yet, so I can't personally confirm it works. 
|
|
|
|
Joined: Mar 2001
Posts: 41
Member
|
Member
Joined: Mar 2001
Posts: 41 |
Brilliant hack, works a treat, thanks 
|
|
|
|
Joined: Aug 2000
Posts: 18
Junior Member
|
Junior Member
Joined: Aug 2000
Posts: 18 |
Awesome Job! Works like a charm! Thanks!
Andrus
|
|
|
|
Joined: Aug 2000
Posts: 594
Member
|
Member
Joined: Aug 2000
Posts: 594 |
Thanks again Leshrac! Nice Job!
jeremiah
|
|
|
|
Joined: Mar 2001
Posts: 15
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 15 |
Hi Leshrac:
Great hack. I love it. It's working fine, now that I've installed it correctly.
Thanks,
Kerry
|
|
|
|
Joined: Mar 2001
Posts: 15
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 15 |
It works perfectly for a New Topic but when I press Add Reply to that same post and enter some text and select Preview I get nothing. It hangs there showing no activity on the browser's progress bar. Here's where I'm testing the Reply Preview. Mail Box Suggestions please. [email protected]
|
|
|
|
Joined: Mar 2001
Posts: 25
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 25 |
This worked perfectly for me! Thanks!
|
|
|
|
Joined: Mar 2001
Posts: 41
Member
|
Member
Joined: Mar 2001
Posts: 41 |
This is a good one to put in the Database! 
|
|
|
|
Joined: Sep 2000
Posts: 68
Member
|
Member
Joined: Sep 2000
Posts: 68 |
works fine with version 6.02.
|
|
|
|
Joined: Apr 2001
Posts: 83
Member
|
Member
Joined: Apr 2001
Posts: 83 |
HI have a question or two-you know how Newbe's are  . I am using 6.02 & wonder if I upgrade in the future will I have to reapply the Hack to each upgrade? Where is the proper place for the code as I don't know sqaut about programing? [ April 07, 2001: Message edited by: gene1938 ] [ April 08, 2001: Message edited by: gene1938 ]
|
|
|
|
Joined: Mar 2001
Posts: 145
Member
|
Member
Joined: Mar 2001
Posts: 145 |
Yes - that's the nature of hacks. 
|
|
|
|
Joined: Apr 2001
Posts: 83
Member
|
Member
Joined: Apr 2001
Posts: 83 |
edit 3:35pm looks like I found my screw upPlease disregard thanks  having troubles-hack seemed to work at 1st. but now when I reply & hit preview I get an empty mess with another post below from member #0(admin account? & date posted is 1920 TEST POST with the member # in the body of the post. I set up a test post account user: reg test, pass: abc123. Could some one look at this? The only step of the hack I am unsure about is the last step where you add "preview_post => "Preview" to the vars_wordlets.cgi. I added it in the middle as the directions did not specify a place & I am not a scripting wizard. FYI 6.03 on unix server gradient hack is only other 1 installed [ April 10, 2001: Message edited by: gene1938 ] [ April 10, 2001: Message edited by: gene1938 ]
|
|
|
|
Joined: Mar 2001
Posts: 145
Member
|
Member
Joined: Mar 2001
Posts: 145 |
BTW, I installed this today, and it worked great - first time! I installed it first, and then realized I did it on my test board, which was still at 6.02, and then I had to do it again for 6.03. Worked great both times! 
|
|
|
|
Joined: Sep 2000
Posts: 305
Member
|
Member
Joined: Sep 2000
Posts: 305 |
Ah the link works again  Pls disregard 
|
|
|
|
Joined: Sep 2000
Posts: 305
Member
|
Member
Joined: Sep 2000
Posts: 305 |
Installed and working 1st time. Excellent mod Leshrac  And love the no-javascript part  Thanks 
|
|
|
|
Joined: Mar 2001
Posts: 8
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 8 |
Thanks! It's working great.
Pentiums melt in your pc, not in your hand.
|
|
|
|
Joined: Jan 2001
Posts: 57
Member
|
Member
Joined: Jan 2001
Posts: 57 |
 I'm having some problems Leshrac.. You see... I installed it twice and the same thing happens everytime... whenever I press preview it posts the post or topic or edits or whatever.... Any reasons for why this may be happening? I have 6.02 with the following hacks: Avatar Last Reply By: In Forum Mods in All Forums The Dev Kit(var_wordlets_mods.cgi) No Double Posts The only one of those that I think can possibly conflict with your hack is the Double Post... but why would it? Please help as soon as possible...  EDIT: My board: http://ubbgp.hypermart.net/cgi-bin/ultimatebb.cgi?ubb=forum&f=13 (thats the link to the Guest Posters forum where you can post without registering) Please help ASAP! [ April 17, 2001 07:17 AM: Message edited by: Tosha ]
I'm am the EVER POWERFUL GOHAN!
|
|
|
|
Joined: Jan 2001
Posts: 57
Member
|
Member
Joined: Jan 2001
Posts: 57 |
PLEASE!! I BEG YOU!! HELP ME!!!!
*BUMP*
I'm am the EVER POWERFUL GOHAN!
|
|
|
|
Joined: Jan 2001
Posts: 57
Member
|
Member
Joined: Jan 2001
Posts: 57 |
OK .... just to tell you.. this hack is incompatible with the
"No Double Posts" hack!
I'm am the EVER POWERFUL GOHAN!
|
|
|
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,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|