Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 4 Years, 3 Months ago Guest can add username from quick reply
#1
Solved: 4 Years, 3 Months ago
Hi, my forum settings allow guests to change their username and in the new reply page of my forum's mobile version there is no option for smilies, code buttons and the rest so I removed the newreply link from showthread, so what I want is for a text box to be ontop the Quick reply Box where guest can and their usernames
For example

Username: |______________|

{quick reply}
______________________________________________________
|
|
|
|
|
|
|______________________________________________________




Or

{QUICK REPLY........... }


______________________________________________________
|......Username: |______________|
|..............................______________________________________
| message:...........|
| type your............|
| message............|
..............................|
..............................|
..............................|
|________________.|.._____________________________________



Preferably the second, I hope my illustration is understandable, I couldn't get a image that gives the picture of what I need
Reply
#2
Solved: 4 Years, 3 Months ago
I think it's requide a plugin.. look here http://community.mybb.com/post-998606.html, that user have the same problems.
Reply
#3
Solved: 4 Years, 3 Months ago
here are the steps to do this. 
1:- download template conditional plugin from here Template conditional 
install activate . 
2:- goto admin cp >>>template >>> select your theme template >>> show thread templates >>> showthread_quickreply 
3:- find this in showthread_quickreply template 
<textarea style="width: 100%; padding: 4px; margin: 0;" rows="8" cols="80" name="message" id="message" tabindex="1" align="center"></textarea>{$codebutquick}
now just above this add this conditional. 
<if $mybb->user['uid'] == 0 then>
{$lang->username}: <input type="text" name="username" class="textbox" /><br />
</if>
now save template and you're done.
Reply
#4
Solved: 4 Years, 3 Months ago
I will try it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)