Profile promotion

In group: HTML user Group
If you want to give your users the possibility to promote their profile, for example: on their personal website, then you can provide your user a simple html code snippet which they can place on their own website.
 
You can create a HTML block widget and place it on their profile page. It looks something like this:
 

 

The code which you need to add to the HTML is:
 
<div style="font-size:14px; text-align:left; font-weight:normal; padding: 15px; margin:0; background:#ECDFBF;">
<center>
Profile Promotion!<br><br>
<img src="HERE-YOUR-URL-TO-THE-SITEICON">
<br><br>
Use this html code on your website:
<br><br>
<font size="1">
<p id="site_profile"></p>

<script>document.getElementById("site_profile").innerHTML = "&lt;a href=\"" + window.location.href +"?ref=promo\"&gt;&lt;img src=\"HERE-YOUR-URL-TO-THE-SITEICON\"&gt;&lt;/a&gt;";</script>
</font>
</center>

</div>
 
REMARK:
1. change the HERE-YOUR-URL-TO-THE-SITEICON into the full path to the icon.
2. the part "?ref=promo" means that you can check which users have place the html code on their website. You can check this in your server log files.
Posted in on 03/23/18 at 07:49
Comments (1)
Mark  
thanks for sharing!
No login
Login or register to post your comment
Cookies on mooCommunity - Social Networking Script.
This site uses cookies to store your information on your computer.