#36877
03/16/2000 12:08 AM
|
Joined: Jun 2000
Posts: 263
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 263 |
Ok. I've finally made that hacks. I hope it works fine. It did for me on 5.44a, but i might have left some things out. Ok. Here it goes: In ubbmisc.cgi find: Right after that add Then find and after that add Then in postings.cgi find and right after that add adn replace with Do those 2 last steps twice. Now, in "Preferences" you can select whether you want signature prechecked by default. Option will be stored in cookies, so users's browser must support cookies! Hope that works ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif)
|
|
|
#36878
03/16/2000 12:23 AM
|
Joined: Jan 2000
Posts: 60
Member
|
Member
Joined: Jan 2000
Posts: 60 |
hey, great idea/hack! i am thinking of doing this on the FONT SIZE. do you think it's possible?
<FONT COLOR="blue"> Free UBB Instalation
Contact on AIM: vmnweb </FONT c>
|
|
|
#36879
03/16/2000 12:25 AM
|
Joined: Jun 2000
Posts: 263
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 263 |
You mean, what font UBB will be displayed in for that user? Possible, but takes a lot of work, since you'd have to change almost everyother line of each file ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif) . But IS possible.
|
|
|
#36880
03/16/2000 12:35 AM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Nevermind, I'm just stupid. The hack is perfect. =) ------------------ Troy(Trekkan) RPG-Files Webmaster & Owner http://www.rpg-files.com
|
|
|
#36881
03/16/2000 12:40 AM
|
Joined: Jan 2000
Posts: 60
Member
|
Member
Joined: Jan 2000
Posts: 60 |
i don't know if the hack is working or not, but i have a add-on ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif) Well, it's will display the "Show Signature" only if the user has not yet set the preferences, else it won't display the "Show Signature" if the user has already set it to included signature. Humm, did i make it clear? anyway, here it is: ilya's code:replace with my code:ilya's code:He told you to replace with well, just replace this:Do those 2 last steps twice. Now, in "Preferences" you can select whether you want signature prechecked by default. Option will be stored in cookies, so users's browser must support cookies! Hope that works ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif)
<FONT COLOR="blue"> Free UBB Instalation
Contact on AIM: vmnweb </FONT c>
|
|
|
#36882
03/16/2000 12:52 AM
|
Joined: Jun 2000
Posts: 263
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 263 |
I was thinking about doing it that way, but decided to go with original one, since it would be more clear to the user, i think. But nice addon anyways
|
|
|
#36883
03/16/2000 1:11 AM
|
Joined: Feb 2000
Posts: 25
Member
|
Member
Joined: Feb 2000
Posts: 25 |
Very nice hack, thanks for posting it. I recently changed so that the sig was checked by default, but then started to notice how many people were leaving it checked off without having a sig in thier profile. This hack will solve that nicely ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif) ------------------ Chris Schreiber [email protected]Fast 4GL Systems, Inc. http://www.fast4gl.com/ UBB: http://www.progresstalk.com/
|
|
|
#36884
03/16/2000 1:13 AM
|
Joined: Jun 2000
Posts: 263
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 263 |
Glad you like it ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif) This is like my 3rd hack only. ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/biggrin.gif)
|
|
|
#36885
03/16/2000 5:43 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Ilya -- yes, and EXCELLENT hack... I will be installing this right now ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif) ------------------ I wish I were a Canuck All they have to do is drink beer, play hockey, and say "Eh" * No offense meant to any Canadians
|
|
|
#36886
03/17/2000 5:25 AM
|
Joined: Mar 2000
Posts: 3
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 3 |
ilya, i'm using 5.44 and it only autochecks when i'm posting replies not topics.
|
|
|
#36887
03/17/2000 5:47 AM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
Ilya - was that really only your 3rd hack? I thought you were a UBB veteren. Just a thought ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif)
|
|
|
#36888
03/17/2000 11:49 AM
|
Joined: Jun 2000
Posts: 263
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 263 |
I've been dealing with UBB for quite a whil (installed it a lot of times, modified, translated), but didn't write many hacks. The ones I write: "Last post by" in Ultimate.cgi Signature preferences Greetings by time
|
|
|
#36889
03/17/2000 12:00 PM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
Aaah - Very good hacks! Just a thought ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif)
|
|
|
#36890
03/18/2000 3:32 PM
|
Joined: Feb 2000
Posts: 116
Member
|
Member
Joined: Feb 2000
Posts: 116 |
I wish UBBMaster used this hack ------------------ Please Join My UBB
|
|
|
#36891
03/18/2000 4:33 PM
|
Joined: Jun 2000
Posts: 263
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 263 |
![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif) I'll tell him about it.
|
|
|
#36892
03/19/2000 5:55 AM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
I don't need it personally, but it would be a nice addition. Just a thought ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif)
|
|
|
#36893
03/19/2000 12:25 PM
|
Joined: Jan 2000
Posts: 64
Member
|
Member
Joined: Jan 2000
Posts: 64 |
here's something that was missed. after doing this hack, if a user goes to set prefrences, no default item is checked. this will fix it a little further down in ubbmisc.cgi you'll find this change it like this thats it
|
|
|
#36894
03/19/2000 1:37 PM
|
Joined: Jun 2000
Posts: 263
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 263 |
|
|
|
#36895
03/19/2000 2:32 PM
|
Joined: Jan 2000
Posts: 56
Member
|
Member
Joined: Jan 2000
Posts: 56 |
ilya: What I think Mutt is refering to is that when you go back to the preferences page it does not show that it has been enabled or not. Mutt: is not in version 5.39c. I really don't want to upgrade. Any other ideas how to get this to keep the choice checked? Parker
|
|
|
#36896
03/19/2000 6:01 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Parker, Its not in 5.44a either. =) But Mutt is right, I came back to this thread to specifically report this bug, but of course it was already mentioned. Anyone have any ideas as to a fix(Since I can't find the code either)? Maybe its not in ubbmisc but another file? ------------------ Troy(Trekkan) RPG-Files Webmaster & Owner http://www.rpg-files.com
|
|
|
#36897
03/19/2000 11:06 PM
|
Joined: Jan 2000
Posts: 64
Member
|
Member
Joined: Jan 2000
Posts: 64 |
I'd say that the code is there somewhere i'm on 5.44 at the bottom of the prefrences page after the submit button and before $footer is this code this is my modified version and you don't need all this. i posted the whole thing so that you could search for different parts. if you can't find it do it like ilya said would work fine.
|
|
|
#36898
03/21/2000 2:14 PM
|
Joined: Jan 2000
Posts: 43
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 43 |
This hack didnt work at all when i tried it, i followed every step and all, still didnt do the trick, don't know whats wrong but I got no errors either. It just wouldn't show in the profile.
Also how do you change the background and title image in the profile area, its driving me crazy!
Sometimes being dead to someone is a good thing.
|
|
|
#36899
03/21/2000 2:35 PM
|
Joined: Jun 2000
Posts: 263
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 263 |
It's not in profile, it's in Preferences!
|
|
|
#36900
03/21/2000 3:44 PM
|
Joined: Jan 2000
Posts: 43
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 43 |
goodness what a fool I am, thanks, i will try it again, can't believe i didnt figure that out!
Sometimes being dead to someone is a good thing.
|
|
|
#36901
03/25/2000 1:48 AM
|
Joined: Feb 2000
Posts: 2
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 2 |
I can't seem to get it to work. I did everything posted in this thread every way possible, tried everyones ideas. It started out with not saving which option i checked "yes" or "no" and not effecting anything in my forum. Then I tried Anonymous's code and still not working, although not exactly sure what to do with that last part but i tried it anyhow by just replacing that line with the $SigPref. Then I did Mutt's code, that made it save what option i picked in the prefrences, but it still doesnt do anything when I post a message.
Any ideas??
------------------ NekdDrgn
|
|
|
#36902
03/25/2000 3:34 AM
|
Joined: Jun 2000
Posts: 263
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 263 |
Does your browser support cookies? Do you have them turned on? ------------------ Thanks for reading! Ilya Administrator of Ubb Code Hackers Hideout Moderator of UBB Hacks Finished
|
|
|
#36903
03/31/2000 12:13 PM
|
Joined: Feb 2000
Posts: 2
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 2 |
Yes, I'm using IE5 and cookies work everywhere else. I had a few people that are registered on my board try it and it didn't work for them either. Is there anything specific I could check that you would know of? I've tried reinstalling the hack 3 times and this what I come to each time.
|
|
|
#36904
04/04/2000 10:29 AM
|
Joined: Feb 2000
Posts: 3
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 3 |
i cannot see if i set on or off now. nothing is checked! and the both addons above didnt work for me! i have ubb 5.44a and ie 5 (accepting cookies)
------------------
|
|
|
#36905
04/14/2000 2:51 AM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Worked Great Ilya... version # - 5.39c
Good Job...
|
|
|
#36906
04/14/2000 4:57 AM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
HMM seems not to work to well on 5.45b. I followed the steps and get no errors and even am able to switch it around in preferences but the damn thing just wont show up. And now my option to check it myself is gone so anyone get it to work in 5.45b+ yet let me know thanks Cracka
|
|
|
#36907
04/18/2000 9:19 AM
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Is this a good assumption then? This is not doable in version 5.45b?
|
|
|
#36908
04/22/2000 11:11 AM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
I like the idea of this add-on to the hack but I get a 500 error when I add this part of it and the error-loge reports Any suggestions? Also I wanted to add the option for new registrants so did the first step of the orignal instructions for register_lib.pl - top tip replace with my code:ilya's code:He told you to replace with well, just replace this:Do those 2 last steps twice. Now, in "Preferences" you can select whether you want signature prechecked by default. Option will be stored in cookies, so users's browser must support cookies! Hope that works 
------------------ TheNexus.co.uk - Freephone: 0800 458 2770 - ICQ#: 3303890 UK domains £15 and TLDs £20 from Domain4u.co.uk
|
|
|
#36909
04/22/2000 6:13 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Ilya: Thanks for the great signature hack, it works fine in 5.45C code. But, I'm trying to modify it to automatically place a check in the radio button that was the users preference. Say when you select "preferences" again after making your selection it doesn't show what choice you made before. It does check the box according to what you selected in the postings just like you said, but doesn't leave a check box on the preferences setting once it's been made. I tried the code on ubbcodehacking.com made by a user, but didn't find the code mentioned in the ubbmisc.cgi file. Could you shed some light on this and maybe give a hand in doing this? I'm new to code so I'm a little lost right now but learning a lot as I go. Do you have the code for the other mods you wrote or can point to the threads where they are? There are so many of them that it's hard to find and I'm not sure if it's the latest version you wrote. If you want to send them in an e-mail to me you can as well. Thanks for your help. Jeff
|
|
|
#36910
05/03/2000 7:12 PM
|
Joined: May 2001
Posts: 50
Member
|
Member
Joined: May 2001
Posts: 50 |
I fixed the bug where the set status of the signature doesn't appear set when you re-enter the preferences area.
It used pure CGI and it's working flawlessly.
If you need the hack, pm me for it.
|
|
|
#36911
05/13/2000 10:37 PM
|
Joined: Jan 2000
Posts: 7
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 7 |
Check out the re-documented hack below to make the check boxes stay checked after you set preferences.
|
|
|
#36912
05/16/2000 12:29 AM
|
Joined: Jan 2000
Posts: 7
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 7 |
Hello everyone, This is a re-documentation of the hack I listed yesterday. I left out some code. Sorry. ![[Linked Image]](http://ubbcodehacking.com/ubb/redface.gif) I figured out how to show it selected in your preferences after you choose an option for version 5.45c. (The mod Mutt was talking about.) In ubbmisc.cgi FIND:REPLACE that with:Then AFTER that add:Then change ilya's code from this:TO This:Basically your adding the $SigOn and $SigOff variables to the INPUT fields to tell the script whether or not to CHECK the checkbox if the preference is turned on. You can change the else statement by making on of the variables to CHECKED to make "signatures checked" or "Signatured unchecked" a default value. Hope I explained that ok, been a long day of coding. I hope this helps. ![[Linked Image]](http://ubbcodehacking.com/ubb/smile.gif) ------------------ James L. Murray VirtueTech, Inc. EMAIL: info@virtuetech.com WWW: http://www.virtuetech.com
|
|
|
#36913
05/17/2000 2:28 PM
|
Joined: Jul 2000
Posts: 10
Junior Member
|
Junior Member
Joined: Jul 2000
Posts: 10 |
Hi VirtueTech, I follow ur document of hack for sign precheck box at prefernece. I have tested so i went to preference click yes for signture is work BUT I found that i select NO then it wont work to save it. Then i check on Preference signture still YES. You can check on http://test2k.virtualave.net/cgi-bin/Ultimate.cgi?action=intro I believe something wrong VirtueTech's code. Please fix it. Thank you.
|
|
|
#36914
09/08/2000 11:25 AM
|
Joined: Sep 2000
Posts: 101
Member
|
Member
Joined: Sep 2000
Posts: 101 |
does this work with 5.46? ------------------ kaak [email protected]icq# 4032410
|
|
|
#36915
09/28/2001 4:53 PM
|
Joined: Jul 2001
Posts: 5
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 5 |
it works on UBB 5.47e with a bit of reworking in my board.
|
|
|
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: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|