miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Search | Statistics | Manual |
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /   

adding forgot password after password box in New topic

Author Anonymous
Guest
#1 | Posted: 24 Oct 2005 01:23 
Hi,

I trying to work out how to add this

a href="{$indexphp}action=sendpass">Forgot your password?</a

so that it appears in the box you use to post a New topic after the name and pasword box.

Ive added it to main_post_form but this doesn't work as it still show up when you are logged in.

Can anybody advise me on this

Thanks

Eleb

Author Team
8-)
#2 | Posted: 24 Oct 2005 11:10 | Edited by: Team 
You need to paste some kind of short plugin in bb_plugins.php:

/* password link near login/logout */
if($user_id==0) $pwdLink="<a href=\"{$indexphp}action=sendpass\">Forgot your password?</a>";
else $pwdLink='';

then insert {$pwdLink} in the place you want.

Author Tihon
Registered
#3 | Posted: 13 Oct 2007 13:59 
I would like to insert a link "Forgot password" just after "Enter into forums" button and "Enter into forums/ Send message" button. How can I do it? Where I have to paste {$pwdLink}?

Author Paul
Lead Developer
#4 | Posted: 15 Oct 2007 03:03 | Edited by: Paul 
I suppose the templates are user_login_form.html and main_post_area.html

Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications / adding forgot password after password box in New topic Top
This topic is closed. New replies are not allowed.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB