The long awaited fix. When user info and permissions gets submitted, it clears. I wonder why? It is printing a null variable, not the field in which the data is held, clearing the profile information. Two possible fixes:
1) Remove the null variable 2) Add in the null variable
To make things easy, we will do the first. cpanel4.cgi find:
Code
code:
replace with:
Code
code:
Replace the profile number to the one of the usertext hack.
------------------ UBBDEV Moderator OCCUPATION: Programmer, webmaster.
Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop
Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.
same here, i'm sick of changing peoples status'. i have karma ratings install on my ubb. karma changes the entire profile membership save routines and as hard as i've tried to get custom status's to work with it, i keep getting the dang server errors.
Some men live for others and make their presence known Some men live in seclusion and choose to live alone... Some men live for justice and walk inside the law But of these men, the group I'm in are the men behind the wall... - Gato Suertudo
Ok. I have a heavily modified version that has Allhacks, amoungst others installed. I have no problem installing the script. But when I get the text put in the box and post a msg, it then pops up with the AIM. I have used the next highest number which is 19 instead of 15.
I am at a loss.
I don't have the version I am working on public as of yet since I am wanting to have it looking good first. So no link to give you to look at.
This message has been edited by Jaxx on January 01, 2001 at 01:02 AM
OK, good to see someone's still working on this hack
I got some info, a revelation if you will.
While installing a 5.47C UBB I, the first hack I added was this custom user hack. As expected, through the control panel, I couldn't see the user text...thus, if I submitted a change, all users on that page would have their user text erased What I learned was, if I clicked "Veiw all registered users" miraculously, the user text for anyone who had it would show up in the control panel If I asked the control panel for any form of sorting of users to display, no utext.
My revelation (hey, it was to me) is that if there is no searching of the profiles done, just a listing, it works. If they are searched for any variable and then listed, no utext.
I have no idea what this means, but I'm sure you guys might get some ideas. If ya do, lemme know!!
Another bug in this hack is that it allows swear words such as the f word even though the script specifies for to Censor Check. I even tested it out here; it even showed up.
Can anyone help?
I've tried fixing the line the print lines to print MEMBERSHIP ($usertextn"); but to no avail.
I manage to apply a 'hotfix', that is swear words (and HTML) will be saved into the member file but not displayed in threads. Will anyone be interested in this?
where the number 17 should be replaced by the number where your Custom Title is stored in each member's profile. Also the & lt and the & gt must be pushed together to get rid of the space.
LMK if you have any problems with this hack.
qasic
This message has been edited by qasic on January 06, 2001 at 11:43 AM
Logically it should have. AIM me the source you've pasted in. Perhaps I can spot an error. Did you remember to put change the profile number and push the letters together?
In ubbmisc.cgi (one that had been originally modified with the instructions provided in the original hack), look for:
Code
code:
Underneath, put
Code
code:
Look for:
Code
code:
Underneath, put
Code
code:
Look for:
Code
code:
Replace it with:
Code
code:
This should be done TWICE.
Now in ubb_library2.pl (as hacked in the original hack)
Find:
Code
code:
Underneath, place:
Code
code:
Make sure you have changed 17 to the appropriate number and pust the & and the lt & gt together in ALL the code snippets (there are 3).
NOW, it should work! Please remember to retype in your own custom user text (and save)as the orginal hack had it set to replace the < and > with the apropriate HTML code.
LMK how this goes!
This message has been edited by qasic on January 07, 2001 at 04:29 PM
Put simply (without a technical explanation), after you apply this hack, you'll need to go to your profile, and re-type your Custom User Text (for some people, not for others). A minor annoynace at best.
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.