section31 Posted January 20, 2003 Posted January 20, 2003 @lstover I apologize for taking to long to reply...some reason I didn't get an email...hehehe...either that or i deleted it by accident... Well, I've already tried messing with tables via phpmyadmin but I didn't get anywhere. This is a screenshot of my table, notice that all 4 fields are the same except for the user_popup_pm which has the default set to 0 which u told me to do with the user_notify field. But if you look at this screenshot from my board when I click register, 2 of the field values are set to no and the other 2 are set to yes. This lead me to the conclusion that it must be something else than simply just changing the default value in the tables from 1 to 0. BTW, I am running a different style, not the default subsilver... Quote
rayners Posted January 20, 2003 Posted January 20, 2003 I imagine that the defaults are being set somewhere in the PHP code then. Given time, I could probably track that down and either show you what to change or just provide the patched file for you. Quote
Lianna Posted January 21, 2003 Posted January 21, 2003 Wow, that's wierd. It worked for mine using the Cobalt theme. I'll keep digging, too. What theme are you using for your board? Lianna Quote
TCH-Don Posted January 21, 2003 Posted January 21, 2003 Lianna, I am using the default theme installed from cpanel, and same results for me, unable to change. <_< Quote
section31 Posted January 21, 2003 Author Posted January 21, 2003 http://startrektendencies.section31.us/board/ Quote
TCH-JimE Posted January 24, 2003 Posted January 24, 2003 Can you please state what you are trying to do? Is that you want to set defaults for the buttons? or that you want to make sure that they are always selected and the user can not change them? Jim Quote
section31 Posted January 24, 2003 Author Posted January 24, 2003 @Jimuni I'm sorry for not stating exactly what i wanted to do, I had to repost when the db crashed and didn't include as much detail as b4. Yes, I'm try to set those buttons to yes by default...mainly, the "always notify me of replies". So, I do want the user to be able to change them, but in case they skip that during registration it will be set to yes instead of no. So, any help is appreciated... Quote
Nicholas Posted January 25, 2003 Posted January 25, 2003 if you open up the coding where the buttons are it should have value = "true" beside the radiobutton, just change that one from 'true' to 'false' and change the one you want to select by default to value= 'true' , if you need more clarification let me know Quote
section31 Posted January 25, 2003 Author Posted January 25, 2003 I've already tried doing this in the past...the only 2 files i found with something related to those buttons were in templates/templatename/profile_add_body.tpl and the templates/templatename/admin/user_edit_body.tpl and the values didn't change a thing...U mind directing me to the file I need to edit... Thanks, d Quote
TCH-JimE Posted January 27, 2003 Posted January 27, 2003 If u want it so they can turn it off, then follow nicks advice. If u want it left on permentlay, just delete the line of code for it! Jim Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.