|
Joined: Jun 2001
Posts: 50
Member
|
Member
Joined: Jun 2001
Posts: 50 |
This is an adaptation of Leshrac's Preview Post hack that will work with 6.1 The actual code was not altered, but there were a few spots where number values were off a little (compared to what was already there), and I also added the code so you can choose which button it goes by (upper or lower, or both). Original Thread (For 6.0): https://www.ubbdev.com/ubb/ultimatebb.php?ubb=get_topic&f=24&t=000013 Download Link: http://members.aol.com/razorback423/ubbhacks/preview_post.txt PS. Again, I apologize if anyone objects to be posting the modified code without contacting the original author.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
LD: He doesn't have to XHTML it, it's just a suggestion.
|
|
|
|
Joined: Jun 2001
Posts: 50
Member
|
Member
Joined: Jun 2001
Posts: 50 |
Oh thats all i need to do? Okay I'll give it a shot. 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Just a note that in lines like: You can't use just '"' because of the 'message .= "...";', so use: or [ 10-24-2001: Message edited by: LK ]
|
|
|
|
Joined: Apr 2001
Posts: 43
Member
|
Member
Joined: Apr 2001
Posts: 43 |
Seems to work except instead of saying Preview in the button it sez Submit Query?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
BASE tag isn't closed. Use: Use the code I gave you above. INPUT isn't closed, lowercase HIDDEN/POST... And what's that < before value? TEXT/SIZE/MAXLENGTH aren't lowercased. And again, what's that < before value? 12/45 aren't quotted, VIRTUAL isn't lowercased... There are some others... Also, don't change the 'FIND' parts 
|
|
|
|
Joined: Jun 2001
Posts: 50
Member
|
Member
Joined: Jun 2001
Posts: 50 |
Okay I'm fixing those, BUT most of your fixes are for the FIND lines, and the ones that are already there were the ones on my UBB, so I'm gonna keep the two instructions seperate.
|
|
|
|
Joined: Jun 2001
Posts: 50
Member
|
Member
Joined: Jun 2001
Posts: 50 |
Wasnt me... I dont remember doing that...if it happened it was a side-effect of Mass Replace. Okay I did all your fixes...I'm uploading the new copy. Thanks for the help, LK! [ 10-24-2001: Message edited by: Outback2K1 ]
|
|
|
|
Joined: Apr 2001
Posts: 43
Member
|
Member
Joined: Apr 2001
Posts: 43 |
Any ideas about the problem Im having?
|
|
|
|
Joined: Mar 2000
Posts: 204
Member
|
Member
Joined: Mar 2000
Posts: 204 |
Sorry to be picky, but you might be misleading people by saying it's XML Compliant (Which it's not). It's XHTML Compliant (Which it probably isn't completely compliant yet, but it sure isn't XML). You might want to change that.
Just thought I'd point that out.
-Never Underestimate The Power Of Stupid People In Large Groups.
|
|
|
|
Joined: Jun 2001
Posts: 50
Member
|
Member
Joined: Jun 2001
Posts: 50 |
Sorry...for some reason I get them backwards sometimes...
|
|
|
|
Joined: Jun 2001
Posts: 50
Member
|
Member
Joined: Jun 2001
Posts: 50 |
Works fine for me...did you add the wordlets?
|
|
|
|
Joined: Apr 2001
Posts: 43
Member
|
Member
Joined: Apr 2001
Posts: 43 |
Yup Im gonna back track thru and see if I can find where I screwed up
|
|
|
|
Joined: Jul 2001
Posts: 272
Member
|
Member
Joined: Jul 2001
Posts: 272 |
This is what happened after trying to add in the Preview Post hack. What should I do to fix it: ![[Linked Image]](http://www.futurelooks.com/images/preview.jpg)
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Make sure you put this: into vars_wordlets.cgi
|
|
|
|
Joined: Nov 2001
Posts: 33
Junior Member
|
Junior Member
Joined: Nov 2001
Posts: 33 |
uh yea when i hit either Preview buttons it just makes the post, it doent show me a preview
and also i didnt cross them the add reply or add new topic buttons also just post it as normal
i aso het this error when trying to edit my posts
Error An error has occured:
/home/gamingsocietyx/cgi-bin/ubb2/ubb_edit_post.cgi: Can't modify subroutine entry in concatenation at /home/gamingsocietyx/cgi-bin/ubb2/ubb_edit_post.cgi line 429, near "qq!!;"
Please inform the board administration of this error so that they may fix the problem. Thank you!
:::::::::EDIT:::::
ok i fixed that problem now i can edit posts but, the previous text does NOT show up for editing NOR do the message icons at all
[ 11-18-2001: Message edited by: ssilenthill ]
|
|
|
|
Joined: Apr 2001
Posts: 43
Member
|
Member
Joined: Apr 2001
Posts: 43 |
Has anyone tried this hack in 6.1.0.3? Any problems?
|
|
|
|
Joined: Apr 2001
Posts: 43
Member
|
Member
Joined: Apr 2001
Posts: 43 |
Ok after 10 beers i decided to try it and all went well  Works perfect
|
|
|
|
Joined: Feb 2001
Posts: 61
Member
|
Member
Joined: Feb 2001
Posts: 61 |
I have this working on 6.1.0.3 with no problems.
I also have this in a MultiHack automatic install file for MK 2.0 which should be out of beta in the next few days. Once MultiHack 2.0 is released I will make sure that file gets posted here at UBBDev.
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
quote:</font><hr>Originally posted by snip1er: I have this working on 6.1.0.3 with no problems.
I also have this in a MultiHack automatic install file for MK 2.0 which should be out of beta in the next few days. Once MultiHack 2.0 is released I will make sure that file gets posted here at UBBDev.<hr></blockquote>
Make sure you have LK's fix on it.
Having this: <blockquote><font size="1" face="Verdana, Helvetica, Arial">code: instead of this(which is still in the current instuctions):
|
|
|
|
Joined: Nov 2001
Posts: 99
Member
|
Member
Joined: Nov 2001
Posts: 99 |
ok I have a problem just exactly like Splitfyre, what's wrong I use the multihack and manual, and btw it shows that little button and then when you click on it it just post the topic and not preview it
|
|
|
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: 449
Joined: February 2008
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|