vBulletin

Thank you for visiting. This is our website archive. Please visit our main website by clicking the banner above.
vBulletin FAQ is dedicated to helping the forum owner build, manage and profit from his vBulletin Forum
vBulletin Web Hosting - Free skins and styles for your vBulletin - Search Engine Optimization




Need help with condition

cpvr
09-14-2007, 10:49 PM
<if condition="$show['memberinfo']">
<meta name="keywords" content="$userinfo[username], virtual pet list" />
<meta name="description" content="$userinfo[username] created his own profile at Virtual pet list.com. Create your own profile today!" />
<else />
</if>
I'm trying to make create its own description for a user's profile. Am I using the right code for ['memberinfo'] or is it something else? I tried placing it in the header but it wouldn't work, and by placing it in the MEMBERINFO it would have two sets of descriptions, etc.

What can I do?

Joeychgo
09-15-2007, 12:38 AM
could it be $memberinfo ?

cpvr
09-15-2007, 08:49 AM
I'm not sure that's why I'm asking here. Is it supposed to be the "headerinfo" template or? I'll try that though.

That didn't work either:


<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $vboptions[templateversion]" />
<if condition="$show['threadinfo']">
<meta name="keywords" content="$threadinfo[title]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$threadinfo[title] $foruminfo[title_clean]" />
<else />

<if condition="$show['foruminfo']">
<meta name="keywords" content="$foruminfo[title_clean]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$foruminfo[description_clean]" />
<else />
<meta name="keywords" content="$vboptions[keywords]" />
<meta name="description" content="$vboptions[description]" />
</if>
<if condition="$show['memberinfo']">
<meta name="keywords" content="$memberinfo[username] , virtual pet list" />
<meta name="description" content="$memberinfo[username] created his own profile at Virtual pet list.com. Create your own profile today!" />

</if>
</if>

Am I doing something wrong in the code?

Noppid
09-15-2007, 11:44 AM
Try using the script name instead.

cpvr
09-15-2007, 06:43 PM
The script name is memberinfo right?

Noppid
09-16-2007, 08:28 AM
Not sure, dont have it open. Look in member.php for it.


vBulletin

seo book

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum