FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » disable "invisible mode" (and override settings)
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
disable "invisible mode" [message #161203] Mon, 23 November 2009 16:08 Go to next message
vguser is currently offline  vguser   Norway
Messages: 2
Registered: November 2009
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
ok so i want to disable invisible mode -

i have removed the following from register.tmpl so users cannot choose this option any longer.

<tr class="RowStyleA"><td>{MSG: register_invisible_mode}<br /><span class="SmallText">{MSG: register_invisible_mode_desc}</span></td><td>{TEMPLATE-DATA: invisible_mode_radio}</td></tr>

Whats the code for overriding this function totally so that the users that have chosen this prior to the removal of the function and new users have "no" as default for invisible mode?


Re: disable "invisible mode" [message #161204 is a reply to message #161203] Mon, 23 November 2009 17:09 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Go to the SQL Manager and run:

UPDATE fus30_users SET users_opt = users_opt & ~32768;


I haven't tested this, so you may want to backup your DB first!
Re: disable "invisible mode" [message #161208 is a reply to message #161204] Tue, 24 November 2009 13:42 Go to previous messageGo to next message
vguser is currently offline  vguser   Norway
Messages: 2
Registered: November 2009
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
ouch - in running FUDforum 2.7.6.and are not able to upgrade - any other ways?
Re: disable "invisible mode" [message #161209 is a reply to message #161208] Tue, 24 November 2009 14:02 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Sorry, free support is only for 3.0.0 or users trying to upgrade to the latest release.
Re: disable "invisible mode" [message #167576 is a reply to message #161203] Tue, 17 July 2012 03:53 Go to previous messageGo to next message
pips is currently offline  pips   Ireland
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Ok,

Is this still valid for the latest version of FUD?
I'd like to remove the invisible mode as well (and for all users to have it OFF)

I think this would be a good ACP option

Regards
Re: disable "invisible mode" [message #167581 is a reply to message #167576] Wed, 18 July 2012 12:03 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Yes, the SQL is still valid.
Re: disable "invisible mode" [message #167583 is a reply to message #161203] Wed, 18 July 2012 13:06 Go to previous messageGo to next message
pips is currently offline  pips   Ireland
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Quote:
?590 ?1342631000?(/vhosts/nomad-forum.com/httpdocs/fudforum/include/theme/defaul t/db.inc:110 <br />
/vhosts/nomad-forum.com/httpdocs/fudforum/adm/admsql.php:120<br />
) 1146: Table 'nomadforum.fus30_users' doesn't exist<br />
Query: UPDATE fus30_users SET users_opt = users_opt &amp; ~32768<br />
_POST: array (
'SQ' =&gt; '0aad9c436a32d67a99c0261783e36e88',
'txtb' =&gt; 'UPDATE fus30_users SET users_opt = users_opt &amp; ~32768;',
)<br />
Database version: 5.0.32-Debian_7etch12-log<br />
[Referring Page] http://nomad-forum.com/fudforum/adm/admsql.php?&amp;SQ=0aad9c436a32d67a99c0261783e36e88<br />




SQL error running this
Re: disable "invisible mode" [message #167585 is a reply to message #167583] Wed, 18 July 2012 13:11 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
> Table 'nomadforum.fus30_users' doesn't exist.

'fus30_' is the table prefix Smile
Re: disable "invisible mode" [message #167586 is a reply to message #167585] Wed, 18 July 2012 13:40 Go to previous messageGo to next message
pips is currently offline  pips   Ireland
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Ok,
Changed Fus30_ to Fud30_

Quote:
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /vhosts/nomad-forum.com/httpdocs/fudforum/include/theme/default/db.inc on line 221
Statement executed. Affected rows: 0. Time taken: 0.0009 secs.

[Updated on: Wed, 18 July 2012 13:40]

Report message to a moderator

Re: disable "invisible mode" [message #167587 is a reply to message #167586] Wed, 18 July 2012 13:44 Go to previous messageGo to next message
pips is currently offline  pips   Ireland
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Scary biscuits messing with the SQL stuff Laughing

Hope i haven't broken anything Exclamation

[Updated on: Wed, 18 July 2012 13:45]

Report message to a moderator

Re: disable "invisible mode" [message #167588 is a reply to message #167587] Wed, 18 July 2012 13:52 Go to previous messageGo to next message
pips is currently offline  pips   Ireland
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
ION:

I don't seem to have any more invisible members?

Perhaps it worked after all Laughing Exclamation
Re: disable "invisible mode" [message #167589 is a reply to message #167588] Wed, 18 July 2012 13:59 Go to previous messageGo to next message
pips is currently offline  pips   Ireland
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Edit,

It did work Laughing


http://fudforum.org/forum/index.php?t=msg&goto=165357&&srch=inv isible+option#msg_165357


Frank you are a genius Laughing
Re: disable "invisible mode" [message #167590 is a reply to message #167589] Wed, 18 July 2012 14:21 Go to previous message
pips is currently offline  pips   Ireland
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Removed the option in the UCP by removing this:

<tr class="RowStyleA"><td>{MSG: register_invisible_mode}<br /><span class="SmallText">{MSG: register_invisible_mode_desc}</span></td><td>{TEMPLATE-DATA: invisible_mode_radio}</td></tr>

From the .tmpl and re-building.

Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Permissions always Yes
Next Topic: What is karma feature supposed to do anyway
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Oct 19 23:35:13 EDT 2017

Total time taken to generate the page: 0.00848 seconds