miniBB Support Forums | 15 years on The Web
miniBB ®

miniBB

®
 
 | Forums | Register | Reply | Search | Statistics | Manual |
Specific miniBB Support Forums / Specific /   
 

Hyperlink to index (homepage forum) only

 
Author myseo
Partaker
#1 | Posted: 25 Feb 2013 12:01 
Hello, please I need add hyperlink on homepage, but no sitewide hyperlink. When I add link to index or footer, url has in all pages in forum. Please can you help me, how can I add url to index (homepage forum), but whitout sitewide? Thanks a lot

Author Jaime
Partaker
#2 | Posted: 25 Feb 2013 12:32 
Look over here :)

Author myseo
Partaker
#3 | Posted: 25 Feb 2013 15:33 
Jaimethx, but topis is about "who is online" I can not find nothing about non sitewide links.. thx

Author Jaime
Partaker
#4 | Posted: 25 Feb 2013 16:32 | Edited by: Jaime 
myseo:
but topis is about "who is online"

Sure, but you can also code snippet use elsewhere ...

You must read the posts in the topic ;-) See here ;-)

Put in bb_plugins

if($action=='') {
$myLinkOnFirstPage=<<<out
<a href="http://www.minibb.com">My special link on the first page</a>
out;
}

and in the footer-template

{$myLinkOnFirstPage}

Should work

Author myseo
Partaker
#5 | Posted: 26 Feb 2013 11:25 
wow, thanks a lot Jamie! watch out for others, Jamie forgot $, good is {$myLinkOnFirstPage}

Author Jaime
Partaker
#6 | Posted: 26 Feb 2013 13:23 
I am pleased that it now works by you.

Specific miniBB Support Forums / Specific /
 Hyperlink to index (homepage forum) only
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


 ?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

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