Jump to content

Recommended Posts

Posted

@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,

dbtable.jpg

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,

boardsc.jpg

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...

Posted

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.

Posted

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

Posted

@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...

Posted

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

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...