miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | 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 
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
Partaker
#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 
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
 Share Topic's Link

This topic is closed. New replies are not allowed.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Proceed with the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑