Topic: Providing member personal url and code to promote his profile
LOL - I thought I already posted this tutor, but can't find. Maybe I forgot to press the submit button.
The following coding was done to provide members with their personal URL and to promote their profile on other sites (at the same time, promoting your own site). For this to work, I believe you need to have search engine friendly URLs turned on in vldPersonals.
If you are a css guru, the coding below may make you shutter but it works. Please note that you have to change the URL in the code to your site's URL.
You also may want to change the wording to fit your needs. Also be sure to change the anchor text in the url to keywords that is appropriate for search engines to find your site.. Obviously, not everyone's site is a Filipina Lady and Asian Dating site -- so use keywords for your site.
Tested in 2.5.3

In member_sections_card.tpl I added the following so it displays the member's pesonal URL in member_profile.tpl.
<dt>Personal URL:</dt>
<dd><a href="http://www.filipina-lady.net/{member_username}">http://www.filipina-lady.net/{member_username}</a></dd>
--------------------------------------------------------
Adding coding in members_profile.tpl to promote their profile.
Find: <!-- END profile_groups --> (note: my member_profile.tpl had <!-- END profile_groups --> listed twice. I added the code below the second one).
Add below <!-- END profile_groups -->:
<table width="60%" border="0" cellspacing="5">
<tr>
<td bgcolor="#CCCCCC">To find love on other sites, copy & paste the following code in the html document:</td>
</tr>
<tr>
<td style="border:1px solid #FF0000;"><a href="http://www.filipina-lady.net/{member_username}">{member_username}'s Profile at Filipina Lady and Asian Dating</a></td>
</tr>
<tr>
<td bgcolor="#CCCCCC">To love on forums, copy & paste the following code in post or your signature:</td>
</tr>
<tr>
<td style="border:1px solid #FF0000;">[url=http://www.filipina-lady.net/{member_username}]{member_username}'s Profile at Filipina Lady and Asian Dating[/url]</td>
</tr>
</table>Note: I wanted to make the above so when a member clicks his mouse, it selects the coding for him. I believe I have to put the code in a form and use javascript to do that. Maybe another time.
Example of what the forum code would look like when posted in a forum post.
mimzkytomcats's Profile at Filipina Lady and Asian Dating
Can't demo html since this is not a html document.
Happy SEO
Last edited by db3204 (2009-05-25 16:01:09)