Deleating a Line in the Database for nuke

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Deleating a Line in the Database for nuke
Dshais_Lady
CZ Newbie
Dshais_Lady has been a member for over 18 year's 18 Year Member
Gender: Female
Website:
Status: Offline
Joined: Aug 25, 2005
0.00 posts per day
Posts: 11
Points: 536
   
Okay I have this problem. I may not be posting it in the right place, but this is the thing, I have several members that do not want to show there on line status when in my site but tend to create problems with other chatters there. what I want to do is remove the
user_allow_viewonline line from the database so all reg users will be able to be seen on line instead of a blank spot, Can I go into my database and remove that from the nuke user structure without having a major problem with the database?
I can't seem to find it anywhere else in the site that I can deactivate this feature and it seems to only be creating more problems...

I would be grateful for any help in this matter,

Thanks a lot

Sandy



Back to top Reply with quote
#2   re: Deleating a Line in the Database for nuke
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 55
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.09 posts per day
Posts: 643
Points: 57,200
   
hello

why they dont hide their online status from Your Accont setup ?with one click




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#3   
Dshais_Lady
CZ Newbie
Dshais_Lady has been a member for over 18 year's 18 Year Member
Gender: Female
Website:
Status: Offline
Joined: Aug 25, 2005
0.00 posts per day
Posts: 11
Points: 536
   
um that is what there doing and I do not want them to be able to do that? I want to stop them from doing that and hiding?

Sandy



Back to top Reply with quote
#4   re: Deleating a Line in the Database for nuke
echo
CZ Wiz
 Codezwiz Site Donator
echo has been a member for over 20 year's 20 Year Member
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
Backup all the original files involved first...then give this a shot: [ Register or login to view links on this board. ]



Back to top Reply with quote
#5   re: Deleating a Line in the Database for nuke
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 55
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.09 posts per day
Posts: 643
Points: 57,200
   
oops sorry i misunderstood

besides echo's suggetion this may also work ( i didnt try it)


open modules/Your_Account/index.php

find (around +900 th lines )

echo "<tr><td bgcolor='$bgcolor2'><b>"._HIDEONLINE.":</b></td><td bgcolor='$bgcolor3'>";
   if ($userinfo['user_allow_viewonline'] == 1) {
       echo "<input type=\"radio\" name=\"user_allow_viewonline\" value=\"0\">"._YES." &nbsp;"
      ."<input type=\"radio\" name=\"user_allow_viewonline\" value=\"1\" checked>"._NO."";
   } elseif ($userinfo['user_allow_viewonline'] == 0) {
       echo "<input type=\"radio\" name=\"user_allow_viewonline\" value=\"0\" checked>"._YES." &nbsp;"
      ."<input type=\"radio\" name=\"user_allow_viewonline\" value=\"1\">"._NO."";
   }
   echo "</td></tr>";



and comment out it like



//echo "<tr><td bgcolor='$bgcolor2'><b>"._HIDEONLINE.":</b></td><td bgcolor='$bgcolor3'>";
   //if ($userinfo['user_allow_viewonline'] == 1) {
    //   echo "<input type=\"radio\" name=\"user_allow_viewonline\" value=\"0\">"._YES." &nbsp;"
      //."<input type=\"radio\" name=\"user_allow_viewonline\" value=\"1\" checked>"._NO."";
   //} elseif ($userinfo['user_allow_viewonline'] == 0) {
    //   echo "<input type=\"radio\" name=\"user_allow_viewonline\" value=\"0\" checked>"._YES." &nbsp;"
   //   ."<input type=\"radio\" name=\"user_allow_viewonline\" value=\"1\">"._NO."";
   //}
   //echo "</td></tr>";


then create a test account and check



_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#6   re: Deleating a Line in the Database for nuke
Dshais_Lady
CZ Newbie
Dshais_Lady has been a member for over 18 year's 18 Year Member
Gender: Female
Website:
Status: Offline
Joined: Aug 25, 2005
0.00 posts per day
Posts: 11
Points: 536
   
Okay I tried echos idea, but seems becasue I am platinum it doesnt have the file it sent me to find. so I will try the second idea and see if it works, I cant let one or two people ruin the site for everyone,


Sandy



Back to top Reply with quote
#7   Re: re: Deleating a Line in the Database for nuke
echo
CZ Wiz
 Codezwiz Site Donator
echo has been a member for over 20 year's 20 Year Member
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   


Originally posted by Dshais_Lady @ Mon Oct 31, 2005 2:38 am:

Okay I tried echos idea, but seems becasue I am platinum it doesnt have the file it sent me to find.

In the future it would be very wise to mention you are running Nuke Platinum...makes it easier for everyone.



Back to top Reply with quote
#8   re: Deleating a Line in the Database for nuke
Dshais_Lady
CZ Newbie
Dshais_Lady has been a member for over 18 year's 18 Year Member
Gender: Female
Website:
Status: Offline
Joined: Aug 25, 2005
0.00 posts per day
Posts: 11
Points: 536
   
I am sorry, I though I did but it was in another post I made, forgive me for that,

sandy



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum