miniBB ®

miniBB

®
Support Forums
  
 · Start · Sign in · 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:01Reply Quote
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:32Reply Quote
Look over here :)

Author myseo
Partaker
#3 · Posted: 25 Feb 2013 15:33Reply Quote
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:32Reply Quote
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:25Reply Quote
wow, thanks a lot Jamie! watch out for others, Jamie forgot $, good is {$myLinkOnFirstPage}

Author Jaime
Partaker
#6 · Posted: 26 Feb 2013 13:23Reply Quote
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

BB code for the Bold StyleBB code for the Italic StyleBB Code for the PictureBB code for the URLUpload a File

  ?
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 File and Picture Attachments add-on: extend your miniBB-forums, attaching images and files.