Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
http://www.h-realms.com/morec.txt
Thanks Kevin for keeping me in front of this computer untill i finished!

Sponsored Links
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
Good god. I just noticed that ELY made the same hack awhile ago. Its in the database. https://www.ubbdev.com/db/cgi/ultimatebb.cgi?ubb=get_topic&f=18&t=000013
My apologies to him/her. smile

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
wink

We need Ely to put that in a text file... smile

Is there a discussion thread here for it? and is it in finished form?

there doesn't seem to be a discussion thread for it... frown

We'll use this one... and give ely credit for it as well...


- Allen wavey
- What Drives You?
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
Nope, not here. Never was. He seems to be posting his hacks in the database but not the forums.
::feels embarrassed because i didnt see the thread::

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
yea its in the text file now.

Sponsored Links
Joined: Apr 2001
Posts: 20
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 20
Would it be possible to make some of those fields private? So I could ask new users for their adddresses, but keep the data private so only the admin can see it form the CP. Thanks.

Joined: Mar 2001
Posts: 136
Journeyman
Journeyman
Offline
Joined: Mar 2001
Posts: 136
Thanks for noticing my hack I made smile

Joined: Mar 2001
Posts: 136
Journeyman
Journeyman
Offline
Joined: Mar 2001
Posts: 136
I just went thru MasterMind's text and I found a typo in ubb_registration.cgi section.

a typo causes new users to have messed up profiles after they registered.


changes to ubb_registration should be this.


print MEMBERSHIP ("$in{user_ratings}n");
print MEMBERSHIP ("$mod_qn");
print MEMBERSHIP ("$in{private_message}n");
print MEMBERSHIP ("$in{private_message_notify}n");
print MEMBERSHIP ("yesn");


## just add this new code right after this ^^^^

print MEMBERSHIP ("$in{customfield5}n");
print MEMBERSHIP ("$in{customfield6}n");
print MEMBERSHIP ("$in{customfield7}n");
print MEMBERSHIP ("$in{customfield8}n");


Please replace whole ubb_registration.cgi section with my correction. it is already revisied at database smile

I also fixed my other mistake in ubb_registration.cgi






THISFIELD

} # end field


if (($vars_registration{custom8_field_use} ne "DEL") && ($vars_registration{customfield8} ne "") && ($user_profile[33] ne "")) {

print <





THISFIELD

} # end field
Joined: Mar 2001
Posts: 136
Journeyman
Journeyman
Offline
Joined: Mar 2001
Posts: 136
Quote
quote:
This can be easily done by editing Template file public_display_profile.pl


just remove the sections that you want to keep the stuff priavate.


remove those as a example


if (($vars_registration{custom7_field_use} ne "DEL") && ($vars_registration{customfield7} ne "") && ($user_profile[32] ne "")) {

print <


$vars_registration{customfield7}:



$user_profile[32]



$vars_registration{customfield8}:



$user_profile[33]

Joined: Nov 2000
Posts: 169
Member
Member
Offline
Joined: Nov 2000
Posts: 169
doe any one know a fix for the cp edit when you edit the user profile in cp it put yes in all the fields eek

some one help pleas!

[ July 15, 2001 12:55 PM: Message edited by: indoe ]


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
Sponsored Links
Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
Member / Blamoholic
Offline
Joined: Jan 2001
Posts: 1,309
how do u activate the 4 custom fields that already come with UBB?

Joined: Jan 2001
Posts: 75
Member
Member
Offline
Joined: Jan 2001
Posts: 75
indoe, none exist, the quickest thing I can think of is create a tiny standalone script that checks the members directory, opens each profile, checks the fields selected, and replaces them with yes, save the file...

If you still need this, and can't get help, i'll work on it for you, in my 'free' time 8).

Bookie, in the UBB CP -> Primary Settings -> Registration Settings....

Look at the bottom of the page, there are fields for the name, and if you want it available, or manditory..

[ July 15, 2001 02:30 PM: Message edited by: humble [ThC] ]

Joined: Nov 2000
Posts: 169
Member
Member
Offline
Joined: Nov 2000
Posts: 169
Quote
quote:
really. . .

MasterMind dose this mod do this to you?!?!?


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
Joined: Nov 2000
Posts: 169
Member
Member
Offline
Joined: Nov 2000
Posts: 169
Quote
quote:
bump!
laugh


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
Joined: Nov 2000
Posts: 169
Member
Member
Offline
Joined: Nov 2000
Posts: 169
Quote
quote:

YES/NO confused


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
Joined: Jan 2001
Posts: 75
Member
Member
Offline
Joined: Jan 2001
Posts: 75
indoe, which part of my quote do you have question about, maybe I can help you...

Joined: Nov 2000
Posts: 169
Member
Member
Offline
Joined: Nov 2000
Posts: 169
non of it I just want to know if he got this to work without any problems I think I found a way to fix it I and going to keep trying frown


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
Joined: May 2001
Posts: 315
Member
Member
Offline
Joined: May 2001
Posts: 315
I am with Indoe.. I have that same issue. Please help us and feed the children Mastermind! laugh

Joined: Aug 2001
Posts: 2
Junior Member
Junior Member
Offline
Joined: Aug 2001
Posts: 2
I'm also having probs editing people's profiles in the CP.

are you workin on this issue?


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)