miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | 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 
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="https://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


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
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
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑