phpbb Q *reposted*

liunx

Guest
@lstover<br /><br />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...<br /><br />Well, I've already tried messing with tables via phpmyadmin but I didn't get anywhere. This is a screenshot of my table,<br /><img src="http://www.cs.utsa.edu/~dsalazar/downloads/dbtable.jpg" border="0" class="linked-image" /><br /> 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. <br />But if you look at this screenshot from my board when I click register, <br /><img src="http://www.cs.utsa.edu/~dsalazar/downloads/boardsc.jpg" border="0" class="linked-image" /><br />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. <br /><br />BTW, I am running a different style, not the default subsilver...<!--content-->
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.<!--content-->
Great, thanks...<!--content-->
Wow, that's wierd. It worked for mine using the Cobalt theme. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/blink.gif" style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" /> <br /><br />I'll keep digging, too. What theme are you using for your board?<br /><br />Lianna<!--content-->
Lianna, I am using the default theme installed from cpanel,<br />and same results for me, unable to change. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/dry.gif" style="vertical-align:middle" emoid="<_<" border="0" alt="dry.gif" /><!--content-->
<a href="http://startrektendencies.section31.us/board/" target="_blank">http://startrektendencies.section31.us/board/</a><!--content-->
Bump <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /><!--content-->
Can you please state what you are trying to do?<br /><br />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?<br /><br />Jim<!--content-->
@Jimuni<br />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...<!--content-->
if you open up the coding where the buttons are it should have<br /> <br />value = "true"<br /><br />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<!--content-->
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...<br /><br />Thanks,<br />d<!--content-->
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!<br /><br />Jim<!--content-->
 
Back
Top