YaBB Community and Support Forum
YaBB Home About YaBB Download YaBB YaBB Support Customize Your Forum Development Contribute to the Project
  Welcome, Guest. Please Login or Register


 
Pages: 1 2 
Topic Tools
 
Extended profile fields not saved correctly (Read 2,631 times)
 Feb 11th, 2013 at 4:55pm
There are no actions to perform.  

Homer J. S. 
God Member
*****
Offline
Posts: 1,949
Germany


YaBB 2.5
Extended profile fields not saved correctly
I activated extended profile fields. Then I created a multiline text box. No matter what I write into that text box in my profile, after I save the profile, it contains only a number and everything I typed is gone.

My .vars file contains for example

Code Select All
'ext_0',"997" 



while 997 is the number displayed in my profile. The number changes when I type something else and save - it seems that the number is identical with the remaining characters that can be typed. The max. is 1000. When I write "NES" the number that is saved is 997. When I type "SNES", the number is 996 and so on. So it seems that the script saves the wrong variable to the file?
« Last Edit: Feb 11th, 2013 at 5:02pm by Homer J. S. »  
My Homer is not a communist. He may be a liar, a pig, an idiot, a communist, but he is not a porn star.

www.silenthill-forum.de (YaBB 1.3.1 with 150+ mods)
www.retrogamerwelt.de (YaBB 2.5.2)
WWW 87313348  
IP Logged  
 Reply #1 - Feb 11th, 2013 at 6:11pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 1,863
Earth


YaBB 2.5
Re: Extended profile fields not saved correctly
A NEWLY DISCOVERED BUG in extended profiles. (Which just shows how few people actually use it since you're apparently the first person to run across it.  Wink )

There was a date/time bug in there since the time it was brought into the core and I just found another one nobody'd realized in the same section.
 
WWW  
IP Logged  
 Reply #2 - Feb 11th, 2013 at 6:24pm
There are no actions to perform.  

Homer J. S. 
God Member
*****
Offline
Posts: 1,949
Germany


YaBB 2.5
Re: Extended profile fields not saved correctly
Perhaps I really should become a tester  Grin

Is there a fix yet? Any code I could replace?
 
My Homer is not a communist. He may be a liar, a pig, an idiot, a communist, but he is not a porn star.

www.silenthill-forum.de (YaBB 1.3.1 with 150+ mods)
www.retrogamerwelt.de (YaBB 2.5.2)
WWW 87313348  
IP Logged  
 Reply #3 - Feb 11th, 2013 at 6:24pm
There are no actions to perform.  

xnoddyx 
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline
Posts: 1,552
UK:Scotland/livingston


YaBB 2.5
Re: Extended profile fields not saved correctly
This Topic was moved here from General Usage and Feature Troubleshooting by xnoddyx.
 
YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
WWW xnoddyx xnoddyx1  
IP Logged  
 Reply #4 - Feb 11th, 2013 at 6:36pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 1,863
Earth


YaBB 2.5
Re: Extended profile fields not saved correctly
Give me a little time - Since it's in 2.5.2 I do know I'm innocent (this time  Shocked)   Wink
 
WWW  
IP Logged  
 Reply #5 - Feb 11th, 2013 at 6:40pm
There are no actions to perform.  

Homer J. S. 
God Member
*****
Offline
Posts: 1,949
Germany


YaBB 2.5
Re: Extended profile fields not saved correctly
In the original mod for Y1 there were no bugs as far as I can tell. I use it for years now and it works just fine. So the bugs must be new in the Y2 version.
 
My Homer is not a communist. He may be a liar, a pig, an idiot, a communist, but he is not a porn star.

www.silenthill-forum.de (YaBB 1.3.1 with 150+ mods)
www.retrogamerwelt.de (YaBB 2.5.2)
WWW 87313348  
IP Logged  
 Reply #6 - Feb 11th, 2013 at 6:50pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 1,863
Earth


YaBB 2.5
Re: Extended profile fields not saved correctly
The original mod was fine - there were a few issues when it was brought into the core way back when.
 
WWW  
IP Logged  
 Reply #7 - Feb 11th, 2013 at 7:13pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 1,863
Earth


YaBB 2.5
Re: Extended profile fields not saved correctly
I can confirm this bug - when character limits are turned on in the multi-line text box, the number of remaining characters is saved instead of the text.
 
WWW  
IP Logged  
 Reply #8 - Feb 11th, 2013 at 7:35pm
There are no actions to perform.  

Homer J. S. 
God Member
*****
Offline
Posts: 1,949
Germany


YaBB 2.5
Re: Extended profile fields not saved correctly
I tried to find the bug but I don't understand enough of the code. Just figured out that the variable for the remaining chars is $options[0]
 
My Homer is not a communist. He may be a liar, a pig, an idiot, a communist, but he is not a porn star.

www.silenthill-forum.de (YaBB 1.3.1 with 150+ mods)
www.retrogamerwelt.de (YaBB 2.5.2)
WWW 87313348  
IP Logged  
 Reply #9 - Feb 11th, 2013 at 8:21pm
There are no actions to perform.  

xnoddyx 
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline
Posts: 1,552
UK:Scotland/livingston


YaBB 2.5
Re: Extended profile fields not saved correctly
This Topic was moved here from YaBB 2 - Bugs [Need Verification] by xnoddyx.
 
YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
WWW xnoddyx xnoddyx1  
IP Logged  
 Reply #10 - Feb 11th, 2013 at 9:54pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 1,863
Earth


YaBB 2.5
Re: Extended profile fields not saved correctly
I think it's a little more complex than that.  Sad

Edited:
What apparently happened - and I'm working on getting a new version of Extended Profiles put together and posted - When Extended Profiles was brought into the core, a line was edited that broke the date/time feature (completely). But it also allowed the code regarding the Multi-line text to be 'simplified'. For 2.5.2 the date/time part got fixed, but no one noticed (until now) that fixing that part broke the multi-line text section.  Luckily, the original mod had both working so we will have a version were they both work.  


« Last Edit: Feb 11th, 2013 at 10:31pm by Dandello »  
WWW  
IP Logged  
 Reply #11 - Feb 11th, 2013 at 10:53pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 1,863
Earth


YaBB 2.5
Re: Extended profile fields not saved correctly
And here's the zip
 
WWW  
IP Logged  
 Reply #12 - Feb 12th, 2013 at 3:42am
There are no actions to perform.  

xnoddyx 
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline
Posts: 1,552
UK:Scotland/livingston


YaBB 2.5
Re: Extended profile fields not saved correctly
can this be confirmed as fixed ?
 
YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
WWW xnoddyx xnoddyx1  
IP Logged  
 Reply #13 - Feb 12th, 2013 at 4:12am
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 1,863
Earth


YaBB 2.5
Re: Extended profile fields not saved correctly
I wouldn't mind if Homer put it through it's paces first.
 
WWW  
IP Logged  
 Reply #14 - Feb 12th, 2013 at 8:34am
There are no actions to perform.  

Homer J. S. 
God Member
*****
Offline
Posts: 1,949
Germany


YaBB 2.5
Re: Extended profile fields not saved correctly
...

Thanks, Dandello  Smiley
 
My Homer is not a communist. He may be a liar, a pig, an idiot, a communist, but he is not a porn star.

www.silenthill-forum.de (YaBB 1.3.1 with 150+ mods)
www.retrogamerwelt.de (YaBB 2.5.2)
WWW 87313348  
IP Logged  
Pages: 1 2 
Topic Tools
 

Get Yet another Bulletin Board at SourceForge.net. Fast, secure and Free Open Source software downloads Support This Project BoardMod - YaBB features and templates YaBB Codex - support on installation and usage YaBB Toolbar for your browser

YaBB Facebook Group Page

Vulnerability Scanner

Valid RSS Valid XHTML Valid CSS Powered by Perl
YaBB Chat and Support Community » Powered by YaBB 3.0 Beta!
YaBB Forum Software © 2000-2011. All Rights Reserved.