• Page 1 of 2
  • 1
  • 2
  • »
Tagboard 'Name' Field
Kyoshi
Posts: 6
Reputation: 0

Message # 1 | 2:09 AM
Is there a way to have the user to no be able to change the 'Name' but when they post the user name that they are logged in with will still appear? I do not want the users of my site to be able to change their name on the tagboard for obvious reasons, pretending to be other users, stuff like that. Please help, all help is greatly appreciated.
AchuuBlesiu
Posts: 1
Reputation: 0

Message # 2 | 6:33 AM
Just go into Main>Customize Design>Form For Adding New Messages, and remove all the text that refers to the "Name" field down near the bottom. Sorry I can't remember the exact text, but it should be quite easy for you to pick out.

Wow I may have helped someone biggrin maybe

here's the code for mine just to help give you an idea of what i removed by comparing it to yours.

Code

<table border="0" cellpadding="2" cellspacing="1" width="100%">
<tr><td><select id="mchatRSel" onchange="setT(this);" class="mchat" size="1" title="Autorefresh" style="font-size:7pt;width:50px;margin:0;padding:0;border:1px solid black;height:18px"><option value="0">--<option value="15">15sec<option value="30">30sec<option value="60">1min<option value="120">2min</select></td>
<td width="70%" align="right">
<a class="noun" href="$ACTION_URL$" onclick="window.location.reload();return false;" title="Refresh"><img border="0" align="absmiddle" src="http://src.ucoz.net/img/fr/mcr.gif" width="13" height="15"></a>
<?if($SMILES_URI$)?> <a class="noun" href="javascript:void('smiles')" onclick="ffoc(document.forms.addform.message,2);wasclk[2]=2;window.open('$SMILES_URI$','csmiles','scrollbars=1,width=250,height=350,left=0,top=0');  return false;" title="Insert smiley"><img border="0" align="absmiddle" src="http://src.ucoz.net/img/fr/mcs.gif" width="13" height="15"></a><?endif?>
<?if($BBCODES_URI$)?> <a class="noun" target="cbbcodes" href="javascript:void('BB-codes')" onclick="window.open('$BBCODES_URI$','cbbcodes','scrollbars=1,width=550,height=450,left=0,top=0');  return false;" title="BB-Codes"><img border="0" align="absmiddle" src="http://src.ucoz.net/img/fr/mcb.gif" width="13" height="15"></a><?endif?>
 <a class="noun" href="javascript:void('Message control')" onclick="window.open('$MSGCTRL_URI$','mchatCtrl','scrollbars=1,width=550,height=550,left=0,top=0');  return false;" title="Messages management"><img border="0" align="absmiddle" src="http://src.ucoz.net/img/fr/mcm.gif" width="15" height="15"></a>
</td></tr></table>
<input type="text" maxlength="0" name="uname" size="8" class="mchat" id="mchatNmF" value="" onfocus="ffoc(this,0)" onblur="fblur(this,0)" title="$STR_NAME$" style="width:0%;margin:0;padding:0px;border:0px solid black;height:0px">
<?if(($FIELDS_MASK$&3))?><input type="text" maxlength="60" name="email" size="9" class="mchat" id="mchatEmF" value="" onfocus="ffoc(this,1)" onblur="fblur(this,1)" title="$STR_EMAIL$" style="width:47%;margin:0;padding:1px;border:1px solid black;height:20px"><?endif?><br>
<?if(($FIELDS_MASK$&4))?><input type="text" maxlength="60" name="custom1" size="9" class="mchat" id="mchatC1F" value="" onfocus="ffoc(this,3)" onblur="fblur(this,3)" title="$STR_CUSTOM1$" style="width:47%;margin:0;padding:1px;border:1px solid black;height:20px"><?endif?>
<?if(($FIELDS_MASK$&8))?><input type="text" maxlength="60" name="custom2" size="9" class="mchat" id="mchatC2F" value="" onfocus="ffoc(this,4)" onblur="fblur(this,4)" title="$STR_CUSTOM2$" style="width:47%;margin:0;padding:1px;border:1px solid black;height:20px"><?endif?>
<input type="text" maxlength="$MAX_MESSAGE_LEN$" name="message" size="22" class="mchat" id="mchatMsgF" value="" onfocus="ffoc(this,2)" onblur="fblur(this,2)" title="$STR_MESSAGE$" style="width:70%;margin:0;padding:1px;border:1px solid black;height:20px">
<input type="submit" value="Post" class="mchat" id="mchatBtn" style="width:40px;height:20px;margin:0;border:2px solid black" onclick="return checkform(this.form);">

If you wish to see it in action take a look at my site biggrin http://Nameless.Clan.su

Post edited by AchuuBlesiu - Tuesday, 2008-12-23, 6:41 AM
Sunny
Posts: 9296
Reputation: 456

Message # 3 | 9:33 AM
Kyoshi, find the following in the original code and edit it as shown in red:

Quote
<input type="text" maxlength="60" name="uname" size="8" class="mchat" id="mchatNmF" value="" onfocus="ffoc(this,0)" onblur="fblur(this,0)" title="$STR_NAME$" style="display:none;width:47%;margin:0;padding:1px;border:1px solid black;height:20px">

When adding a message, a nickname of the user who adds it will be inserted automatically


I'm not active on the forum anymore. Please contact other forum staff.
[R]Hustler
Posts: 1
Reputation: -1

Message # 4 | 0:28 AM
How can i get rid of the Part where it Says $Name$ and Just let the Person Type in the Tag Board When they $Login$
Huh cause i had someone call me a Fag on my website when i was at school i was just wondering

Btw im not a Faggot like that [GIRLS]Vera there website is www.girlsclan.ucoz.com which i think is GAY!

So how do i get rid of that and make wat i said up top

Post edited by [R]Hustler - Sunday, 2009-02-15, 0:28 AM
iLee
Posts: 111
Reputation: 0

Message # 5 | 0:43 AM
You can make it so they can only use the tag board when logged in. This will then allow them to put their name but it will also show their profile...

Just go to

CP > Customize Design > Site Pages > F3 Find <?if($CHAT_BOX$)?>

Then behind

Code
<?if($CHAT_BOX$)?>

Put this

Code
<?if($USER_LOGGED_IN$)?>

Now go to the end of Tag board where it says <?endif?> add this before it.

Code
<?else?> Please Log In To View The Tag Board <?endif?>


Or you could do an alternative and keep the table there.

CP > Customize Design > Site Pages > F3 Find $CHAT_BOX$

Change it to

Code
<?if($USER_LOGGED_IN$)?>$CHAT_BOX$<?else?> Please log in to use the tagboard.<?endif?>

Use your brain before you post ~Lee
Please use search, ~Lee
Post edited by iLee - Sunday, 2009-02-15, 0:52 AM
Sunny
Posts: 9296
Reputation: 456

Message # 6 | 9:49 AM
Quote (|R|Hustler)
How can i get rid of the Part where it Says $Name$

http://www.forum.ucoz.com/forum/21-3335-1

Quote (|R|Hustler)
Just let the Person Type in the Tag Board When they $Login$

Just adjust user group settings so that Guests won't be able to add new entries to the Tag Board.


I'm not active on the forum anymore. Please contact other forum staff.
Rezwan73
Posts: 58
Reputation: -1

Message # 7 | 5:10 PM
Hi
there is a Name field and a Email field in Tag board. I want these two field be enabled only for guests not for the registered users. Is it Possible? If yes, then how?

Sunny
Posts: 9296
Reputation: 456

Message # 8 | 8:59 AM
http://forum.ucoz.com/forum/37-471-1
I'm not active on the forum anymore. Please contact other forum staff.
Rezwan73
Posts: 58
Reputation: -1

Message # 9 | 9:43 PM
Hi,
I have tried the conditional codes but was unsuccessful. Can u please help me? my design is "Design # 812".
I want these two field (Name field and Email field in Tag board) be enabled only for guests not for the registered users.

Sunny
Posts: 9296
Reputation: 456

Message # 10 | 11:57 AM
Rezwan73, unfortunately $USER_LOGGED_IN$ code is not available in Tag Board template and I don't know another way to do what you want.
I'm not active on the forum anymore. Please contact other forum staff.
Norgorath
Posts: 2
Reputation: 0

Message # 11 | 0:29 AM
ya im having trouble with the chatbox too. i would like to get rid of the email/WWW and the name fields. and have it just login to chat.
Dartz
Posts: 1931

Message # 12 | 1:10 AM
And where is problem doing that?
[... With uCoz since December 2 2007 ...]
Norgorath
Posts: 2
Reputation: 0

Message # 13 | 11:26 AM
like can i get rid of the name and email/www fields? the way they are talking on here isnt helping me much.
Dartz
Posts: 1931

Message # 14 | 12:16 PM
CP » Tag Board » Module settings » Additional fields for messages.

UnMark: E-mail, Site.


And for name, how people will be able to submit their message?


[... With uCoz since December 2 2007 ...]
Post edited by Dartz - Thursday, 2009-08-27, 12:17 PM
Sunny
Posts: 9296
Reputation: 456

Message # 15 | 8:38 AM
Norgorath, as for name field - read my post above (#3).
I'm not active on the forum anymore. Please contact other forum staff.
  • Page 1 of 2
  • 1
  • 2
  • »
Search: