MyBB Community Forums
Guest can add username from quick reply - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Guest can add username from quick reply (/thread-173284.html)



Guest can add username from quick reply - fredzy - 07-18-2015

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


RE: Guest can add username from quick reply - JackLod - 07-18-2015

I think it's requide a plugin.. look here http://community.mybb.com/post-998606.html, that user have the same problems.


RE: Guest can add username from quick reply - Samuel117 - 07-19-2015

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.


RE: Guest can add username from quick reply - fredzy - 07-20-2015

I will try it