View Full Version : Wrong Links
Invalid ID
05-10-2007, 02:44 PM
The Link for "New Posts" is shown as http://www.mydomain-name.com/search.php?do=getnew
and the link for "New" Reputation is shown as
http://www.mydomain-name.com/usercp.php
Whereas my forum is in "forum" directory, as
http://www.mydomain-name.com/forum
What should I do to change the links?
HMBeaty
05-10-2007, 02:45 PM
Go to your navbar template and change the links
dyna88
05-10-2007, 02:56 PM
AdminCP > vBa CMPS > Default Settings
Add usercp.php and search.php to the Navbar Replacements list
Invalid ID
05-11-2007, 12:28 AM
Thanks for your replies.
The links in the navbar are working fine, as I have already added usercp.php and search.php in the list.
The problem is where it says:
"Welcome, Smart Aleck.
You last visited: Yesterday at 09:48 PM
Spent Time On Board: 1 day 16 hour 52 min
44 New Posts since your last visit.
You have 1 New reputation comment.
The bold text are the links that miss one word 'forum'.
dyna88
05-16-2007, 03:57 PM
Check to see what the links are in the "adv_portal_welcomeblock" template
Invalid ID
05-23-2007, 04:51 PM
Thanks a lot... I tried to look for the mistake... can't find any... can you help me out... here's the code
<tr>
<td class="$bgclass">
<if condition="$mods['modcol'] == 1">
<if condition="!$show['guest']">
<if condition="$avatarurl">
<a href="$vboptions[bburl]/profile.php?do=editavatar"><img src="$avatarurl" border="0" alt="$vbphrase[edit_avatar]" /></a>
</td>
<td class="$altbgclass" valign="top" width="100%">
</if>
<if condition="$bbuserinfo['reputationdisplay'] OR ($bbuserinfo['rank'] AND $mod_options['portal_welcome_rank'])">
<div class="smallfont" style="float:$stylevar[right]">
<if condition="$bbuserinfo['reputationdisplay']">
$vbphrase[rep_power]: $reppower
<div align="$stylevar[right]" style="margin-bottom:5px">$bbuserinfo[reputationdisplay]</div>
</if>
<if condition="$bbuserinfo['rank'] AND $mod_options['portal_welcome_rank']">
<div align="$stylevar[right]" style="margin-top:5px; margin-bottom:5px">$bbuserinfo[rank]</div>
</if>
</div>
</if>
<span class="smallfont"><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_back_x]</phrase><br />
<phrase 1="$lastvisitdate" 2="$lastvisittime">$vbphrase[last_visited_x_at_y]</phrase><br />
<if condition="$mod_options['portal_welcome_newposts']">
<a href="$vboptions[bburl]/forum/search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts]</a>: $newposts<br />
</if>
<a href="$vboptions[bburl]/login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></span>
<if condition="$mod_options['portal_welcome_newpms'] AND $show['pmstats']">
</td>
</tr>
<tr>
<td class="thead" colspan="2"><a href="$vboptions[bburl]/private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td>
</tr>
<tr>
<td class="$bgclass" colspan="2"><span class="smallfont"><phrase 1="$bbuserinfo[pmunread]" 2="$bbuserinfo[pmtotal]" 3="$permissions[pmquota]">$vbphrase[x_new_have_y_of_z_allowed]</phrase></span>
</if>
<else />
<table width="100%" cellspacing="3" cellpadding="0">
<tr>
<td nowrap="nowrap"><span class="smallfont">$vbphrase[user_name]</span></td>
<td nowrap="nowrap"><input class="bginput" name="vb_login_username" size="12" type="text" /></td>
<td nowrap="nowrap"><span class="smallfont"><input checked="checked" class="bginput" name="cookieuser" id="cb_cookieuser" type="checkbox" value="1" />$vbphrase[remember_me]</span></td>
<td align="center" rowspan="2" width="100%"><phrase 1="$vboptions[bburl]">$vbphrase[not_a_member_yet_register_now]</phrase></td>
</tr>
<tr>
<td><span class="smallfont">$vbphrase[password]</span></td>
<td><input class="bginput" name="vb_login_password" size="12" type="password" /></td>
<td><input class="button" type="submit" value="$vbphrase[log_in]" /></td>
</tr>
</table>
</if>
<else />
<if condition="$bbuserinfo['userid']">
<span class="smallfont"><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_back_x]</phrase></span><br />
<if condition="$mod_options['portal_welcome_avatar']">
<div style="padding:4px">
<a href="$vboptions[bburl]/profile.php?do=editavatar"><img src="$avatarurl" border="0" alt="$vbphrase[edit_avatar]" /></a>
</div>
</if>
<div class="smallfont">
<phrase 1="$lastvisitdate" 2="$lastvisittime">$vbphrase[last_visited_x_at_y]</phrase><br />
<if condition="$mod_options['portal_welcome_newposts']">
<a href="$vboptions[bburl]/forum/search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts]</a>: $newposts<br />
</if>
<if condition="$bbuserinfo['reputationdisplay']">
<div style="margin-top:5px; margin-bottom:5px">$vbphrase[rep_power]: $reppower<br />
$bbuserinfo[reputationdisplay]</div>
</if>
<if condition="$bbuserinfo['rank'] AND $mod_options['portal_welcome_rank']">
<div style="margin-top:5px; margin-bottom:5px">$bbuserinfo[rank]</div>
</if>
<a href="$vboptions[bburl]/login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></div>
<if condition="$mod_options['portal_welcome_newpms'] AND $show['pmstats']">
</td>
</tr>
<tr>
<td class="thead"><a href="$vboptions[bburl]/private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td>
</tr>
<tr>
<td class="$altbgclass"><span class="smallfont"><phrase 1="$bbuserinfo[pmunread]" 2="$bbuserinfo[pmtotal]" 3="$permissions[pmquota]">$vbphrase[x_new_have_y_of_z_allowed]</phrase></span>
</if>
<else />
<div class="smallfont" style="padding:2px">$vbphrase[user_name]:<br />
<input class="bginput" name="vb_login_username" size="12" type="text" /><br />
$vbphrase[password]:<br />
<input class="bginput" name="vb_login_password" size="12" type="password" /><br />
<input checked="checked" class="bginput" name="cookieuser" id="cb_cookieuser" type="checkbox" value="1" />$vbphrase[remember_me]
<div style="margin-top:3px; margin-bottom:6px;">
<input class="button" type="submit" value="$vbphrase[log_in]" />
</div>
<phrase 1="$vboptions[bburl]">$vbphrase[not_a_member_yet_register_now]</phrase>
</div>
</if>
</if>
</td>
</tr>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.