vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBadvanced CMPS (https://vborg.vbsupport.ru/forumdisplay.php?f=101)
-   -   Wrong Links (https://vborg.vbsupport.ru/showthread.php?t=146915)

Invalid ID 05-10-2007 02:44 PM

Wrong Links
 
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

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&amp;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&amp;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>



All times are GMT. The time now is 12:03 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01014 seconds
  • Memory Usage 1,766KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete