vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   problem profile (https://vborg.vbsupport.ru/showthread.php?t=197672)

cindy helmond 11-30-2008 02:50 PM

problem profile
 
1 Attachment(s)
hi i have a problem if a click on the user and get the latest post or tread started by users then i get this message ?

Code:

Invalid User specified. If you followed a valid link, please notify the administrator
see att
any idea to fix ?
thx

Lynne 11-30-2008 03:03 PM

You need to look in the page source and see what the link is and if that link it valid.

cindy helmond 11-30-2008 03:15 PM

Quote:

Originally Posted by Lynne (Post 1675792)
You need to look in the page source and see what the link is and if that link it valid.

Code:

forum/search.php?do=finduser&u=Array[userid]&starteronly=1

Lynne 11-30-2008 04:29 PM

And this is your problem:
u=Array[userid]

So, something is causing that variable to not be passed correctly. You should check your template that it is correct and then try disabling your plugins completely and see if that fixes it.

cindy helmond 11-30-2008 04:45 PM

Quote:

Originally Posted by Lynne (Post 1675858)
And this is your problem:
u=Array[userid]

So, something is causing that variable to not be passed correctly. You should check your template that it is correct and then try disabling your plugins completely and see if that fixes it.


thx but with template it is?

Lynne 11-30-2008 04:52 PM

To find the template - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code.

cindy helmond 11-30-2008 05:56 PM

see this code :
Template :
Code:

postbit_legacy
what i have to change ?
thx


Code:

$template_hook[postbit_start]
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
        <if condition="$show['announcement']">
                <td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">
                        <img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
                        <phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
                </td>
        <else />
                <td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[right]: 0px" $post[scrolltothis]>
                        <!-- status icon and date -->
                        <a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
                        $post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
                        $post[firstnewinsert]
                        <!-- / status icon and date -->
                </td>
                <td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px" align="$stylevar[right]">
                        &nbsp;
                        <if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
                        <if condition="$show['inlinemod']">
                                <input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
                        </if>
                </td>
        </if>
</tr>
<tr valign="top">
        <td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">

                        <div id="postmenu_$post[postid]">
                                <if condition="$show['profile']">
                                <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
                                <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
                                <else />
                                $post[musername]
                                </if>
                        </div>
<!--BEGIN VB STATUS-->
<!--BEGIN VB STATUS-->
<!--BEGIN VB STATUS-->
<if condition="$vbulletin->options['vbstatus_active']">

        <div class=smallfont>
        $post[username]
        <em id="vbstatus_$post[postid]">
        $post[vbstatus_status]
        <if condition="$bbuserinfo['userid']==$post['userid'] OR $vbstatus_isadmin==1">
                <if condition="$vbulletin->options['vbstatus_inline']">
                        <a href="javascript:Att_AjaxDiv('inline=1&userid=$post[userid]&postid=$post[postid]','vbstatus/vbstatus_ajax.php','vbstatus_$post[postid]')">Edit</a>

                <else />
                        <a href="javascript:Att_Ajax('userid=$post[userid]&postid=$post[postid]','vbstatus/vbstatus_ajax.php')">Edit</a>
                </if>
       
        </if>       
        </em>
        </div>


</if>
<!--END VB STATUS-->
<!--END VB STATUS-->
<!--END VB STATUS-->

                        <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
                        <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
                        $template_hook[postbit_userinfo_left]

                        <if condition="$show['avatar']">
                                <div class="smallfont">
                                        &nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
                                </div>
                        </if>

                        <div class="smallfont">
                                &nbsp;<br />
                                <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
                                <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
                                <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
                                <div>
                                        $vbphrase[posts]: $post[posts]
                                </div>
                                $template_hook[postbit_userinfo_right_after_posts]
                                <if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
                                <if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
                                $template_hook[postbit_userinfo_right]
                                <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
                        </div>

        </td>
        <if condition="$show['moderated']">
        <td class="alt2" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
        <else />
        <td class="alt1" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
        </if>
                $template_hook[postbit_messagearea_start]
                <if condition="$show['messageicon'] OR $post['title']">
                        <!-- icon and title -->
                        <div class="smallfont">
                                <if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
                                <if condition="$post['title']"><strong>$post[title]</strong></if>
                        </div>
                        <hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
                        <!-- / icon and title -->
                </if>

                <!-- message -->
                <div id="post_message_$post[postid]">
                        $ad_location[ad_showthread_firstpost_start]
                        $post[message]
                </div>
                <!-- / message -->

                <if condition="$show['attachments']">
                <!-- attachments -->
                        <div style="padding:$stylevar[cellpadding]px">

                        <if condition="$show['thumbnailattachment']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_thumbnails]</legend>
                                        <div style="padding:$stylevar[formspacer]px">
                                        $post[thumbnailattachments]
                                        </div>
                                </fieldset>
                        </if>

                        <if condition="$show['imageattachment']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_images]</legend>
                                        <div style="padding:$stylevar[formspacer]px">
                                        $post[imageattachments]
                                        </div>
                                </fieldset>
                        </if>

                        <if condition="$show['imageattachmentlink']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_images]</legend>
                                        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                        $post[imageattachmentlinks]
                                        </table>
                                        </fieldset>
                        </if>

                        <if condition="$show['otherattachment']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_files]</legend>
                                        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                        $post[otherattachments]
                                        </table>
                                </fieldset>
                        </if>

                        <if condition="$show['moderatedattachment']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[attachments_pending_approval]</legend>
                                        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                        $post[moderatedattachments]
                                        </table>
                                </fieldset>
                        </if>

                        </div>
                <!-- / attachments -->
                </if>

                $template_hook[postbit_signature_start]
                $ad_location[ad_showthread_firstpost_sig]

                <if condition="$post['signature']">
                <!-- sig -->
                        <div>
                                __________________<br />
                                $post[signature]
                        </div>
                <!-- / sig -->
                </if>

                $template_hook[postbit_signature_end]

                <if condition="$show['postedited']">
                <!-- edit note -->
                        <div class="smallfont">
                                <hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
                                <em>
                                        <if condition="$show['postedithistory']">
                                                <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>
                                        <else />
                                                <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>
                                        </if>
                                        <if condition="$post['edit_reason']">
                                                $vbphrase[reason]: $post[edit_reason]
                                        </if>
                                </em>
                        </div>
                <!-- / edit note -->
                </if>

        </td>
</tr>
<tr>
        <td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
                $post[onlinestatus]
                <if condition="$show['reputationlink']">
                        <span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
                        <if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
                </if>
                <if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
                <if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
                $post[iplogged]
                &nbsp;
        </td>
        <if condition="$show['moderated']">
        <td class="alt2" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px">
        <else />
        <td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px">
        </if>
                <!-- controls -->
                <if condition="$post['editlink']">
                        <img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
                        <a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
                </if>
                <if condition="$post['forwardlink']">
                        <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
                </if>
                <if condition="$post['replylink']">
                        <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
                </if>
                <if condition="$show['multiquote_post']">
                        <a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
                </if>
                <if condition="$show['quickreply'] AND !$show['threadedmode']">
                        <a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
                </if>
                <if condition="$show['moderated']">
                        <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
                </if>
                <if condition="$show['spam']">
                        <img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
                </if>
                <if condition="$show['deletedpost']">
                        <if condition="$show['managepost']">
                                <a href="postings.php?$session[sessionurl]do=managepost&amp;p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>
                        <else />
                                <img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
                        </if>
                </if>
                <if condition="$show['redcard']">
                        <a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
                <else />
                        <if condition="$show['yellowcard']">
                                <a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
                        </if>
                </if>
                $template_hook[postbit_controls]
                <!-- / controls -->
        </td>
</tr>
</table>
$template_hook[postbit_end]

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
                <td class="thead">$post[username]</td>
        </tr>
        <if condition="$show['profile']">
                <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
        </if>
        <if condition="$show['pmlink']">
                <tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
        </if>
        <if condition="$show['emaillink']">
                <tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
        </if>
        <if condition="$show['homepage']">
                <tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
        </if>
        <if condition="$show['search']">
                <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
        </if>
        <if condition="$post['userid'] AND $show['member']">
        <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
        </if>
        $template_hook[postbit_user_popup]
        </table>
</div>
<!-- / post $post[postid] popup menu -->


Lynne 11-30-2008 06:56 PM

The area you are showing in the first post image is not the postbit_legacy template. You need to find the template that is spitting out the incorrect code. It is going to be something like memberinfo_something.

cindy helmond 11-30-2008 08:32 PM

Quote:

Originally Posted by Lynne (Post 1675936)
The area you are showing in the first post image is not the postbit_legacy template. You need to find the template that is spitting out the incorrect code. It is going to be something like memberinfo_something.

ok but if a find that what i must search ?


Code:

forum/search.php?do=finduser&u=Array[userid]&starteronly=1 ?????

Lynne 11-30-2008 09:02 PM

You said the links for Get Latest Post and Get Latest Thread aren't working and that is the broken link you posted. So, you must search in your templates (or plugins cuz that isn't default vb code - unless you mistyped and meant Find all post and Find all threads) for where those links are coming from.

cindy helmond 11-30-2008 10:00 PM

Quote:

Originally Posted by Lynne (Post 1676013)
You said the links for Get Latest Post and Get Latest Thread aren't working and that is the broken link you posted. So, you must search in your templates (or plugins cuz that isn't default vb code - unless you mistyped and meant Find all post and Find all threads) for where those links are coming from.

hi lynne i think this is the code :

Code:

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
        $headinclude
        <title>$vboptions[bbtitle] - $custompagetitle</title>
        $socialgroups_css
</head>
<body>
$header
$navbar

<table width="100%" border="0" cellspacing="0" cellpadding="6">
  <tr>
    <td colspan="2"><div class="tborder content_block" id="social_group"><div class="tcat block_title">
                <if condition="$groupoptions['join'] OR $groupoptions['leave']">
                <span class="smallfont" style="float:$stylevar[right]">
                        <if condition="$groupoptions['join']">
                                        <a href="group.php?$session[sessionurl]do=join&amp;groupid=$group[groupid]">$vbphrase[join_group]</a>
                        <else />
                                <if condition="!$group['membertype'] AND $group['type'] == 'inviteonly'">
                                                $vbphrase[group_type_inviteonly]                                </if>
                        </if>
                        <if condition="$groupoptions['join'] AND $groupoptions['leave']">
                                &nbsp;|&nbsp;                        </if>
                        <if condition="$groupoptions['leave']"><a href="group.php?$session[sessionurl]do=leave&amp;groupid=$group[groupid]">$leavephrase</a></if>
                </span>                </if>
                $vbphrase[social_group]
        </div>

        <!-- group info -->
        <div class="alt1 block_row">
                <span class="smallfont" style="float: $stylevar[right];">$grouptypephrase</span>
                <h1 id="group_name">$group[name]</h1>
                <div id="group_creator" class="smallfont"><phrase 1="$ownerlink" 2="$group[creatorusername]">$vbphrase[group_created_by_x]</phrase></div>
                <if condition="$group['description']">
                        <p id="group_description">$group[description]</p>
                </if>
        </div></div></td>
  </tr>
  <tr>
    <td valign="top"><!-- messages -->
<if condition="$show['groupmessages']">
        <if condition="$show['quickcomment']">
                $vBeditTemplate[clientscript]

                <div class="tborder content_block" id="social_group"><div class="thead block_row">$vbphrase[social_group_messages]</div>

                <form action="group.php?$session[sessionurl]do=message" method="post" name="vbform" id="message_form" class="alt1 smallfont block_row">
                        <div align="center">
                                <div style="max-width:$stylevar[formwidth]; width:auto !important; width:$stylevar[formwidth_usercp]">

                                        <div style="display:none" id="qc_error_div" class="tborder">
                                                <div class="alt1 block_title">
                                                        <div id="qc_error_header">$vbphrase[errors_occured_when_submitted]</div>
                                                        <div id="qc_error_list">&nbsp;</div>
                                                        <div id="qc_error_okay"><input type="button" class="button" value="$vbphrase[okay]" id="qc_hide_errors" /></div>
                                                </div>
                                        </div>

                                        <div class="smallfont messagetext">$vbphrase[message]: <if condition="$show['auto_moderation']"><span class="shade">$vbphrase[this_post_will_be_automatically_moderated]</span></if></div>
                                        <div id="$editorid" class="vBulletin_editor">$messagearea</div>
                                        <if condition="$allowed_bbcode"><div class="allowed_bbcode">$allowed_bbcode</div></if>
                                        <div class="submit_button">
                                                <input type="hidden" name="fromquickcomment" value="1" />
                                                <input type="hidden" name="s" value="$session[sessionhash]" />
                                                <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
                                                <input type="hidden" name="do" value="message" />
                                                <input type="hidden" name="groupid" value="$group[groupid]" />
                                                <input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
                                                <input type="hidden" name="parseurl" value="1" />
                                                <input type="hidden" name="lastcomment" value="$lastcomment" />
                                                <input type="hidden" name="allow_ajax_qc" value="$show[allow_ajax_qc]" />

                                                <input type="submit" id="qr_submit" value="$vbphrase[post_message]" name="sbutton" class="button" accesskey="s" onclick="clickedelm = this.value" />
                                                <input type="submit" id="qr_preview" value="$vbphrase[go_advanced]" name="preview" class="button" accesskey="x" onclick="clickedelm = this.value" />
                                        </div>
                                </div>
                        </div>

                        <div align="center" id="qc_posting_msg" style="display:none; margin-top:$stylevar[cellpadding]px">
                                <img class="inlineimg" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[posting_comment] - $vbphrase[please_wait]" />
                                <strong>$vbphrase[posting_message_please_wait]</strong>                        </div>
                </form>
        </if>

        <if condition="$messagebits">
                <div class="thead block_row" id="group_message_header">
                        <if condition="$show['inlinemod']"><a id="inlinemodsel">&nbsp;</a></if>
                        <if condition="$messagetotal"><phrase 1="$messagestart" 2="$messageend" 3="$messagetotal">$vbphrase[showing_gms_x_to_y_of_z]</phrase><else />&nbsp;</if>
                </div>

                <!-- inline moderation form -->
                <form action="group_inlinemod.php?groupid=$group[groupid]" method="post" id="group_message_inlinemod_form">
                        <ol class="alt1 list_no_decoration block_row" id="message_list">
                                $messagebits
                        </ol>

                        <if condition="$show['inlinemod'] OR $pagenav">
                                <div class="alt2 block_row" id="group_message_tab_footer">
                                        <table cellpadding="0" cellspacing="0" border="0" width="100%">
                                        <tr valign="bottom">
                                        <if condition="$show['inlinemod']">
                                                <td class="smallfont" id="inlinemod_comment_controls">
                                                        <div><label for="moderation_select_comments">$vbphrase[moderation]</label></div>
                                                        <select id="moderation_select_comments" name="do">
                                                                <if condition="$show['delete'] OR $show['undelete'] OR $show['approve']">
                                                                <optgroup label="$vbphrase[option]" id="moderation_select_comments_optgroup">
                                                                        <if condition="$show['delete']">
                                                                                <option value="inlinedelete" id="inlinemod_comment_controls_delete">$vbphrase[delete_messages]</option>
                                                                        </if>
                                                                        <if condition="$show['undelete']">
                                                                                <option value="inlineundelete" id="inlinemod_comment_controls_undelete">$vbphrase[undelete_messages]</option>
                                                                        </if>
                                                                        <if condition="$show['approve']">
                                                                                <option value="inlineapprove" id="inlinemod_comment_controls_approve">$vbphrase[approve_messages]</option>
                                                                                <option value="inlineunapprove" id="inlinemod_comment_controls_unapprove">$vbphrase[unapprove_messages]</option>
                                                                        </if>
                                                                </optgroup>
                                                                </if>
                                                                <optgroup label="____________________">
                                                                        <option value="clearmessage">$vbphrase[deselect_all_messages]</option>
                                                                </optgroup>
                                                        </select>
                                                        <input type="submit" value="$vbphrase[go]" id="gmessage_inlinego" class="button" />
                                                        <input type="hidden" name="s" value="$session[sessionhash]" />
                                                        <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />                                                </td>
                                        </if>
                                        <if condition="$pagenav">
                                                <td class="smallfont" align="$stylevar[right]">
                                                        $pagenav                                                </td>
                                        </if>
                                        </tr>
                                        </table>
                                </div>
                        </if>
        </if>

        <if condition="$show['quickcomment']">
                <script type="text/javascript" src="clientscript/vbulletin_quick_comment.js?v=$vboptions[simpleversion]"></script>
                <script type="text/javascript">
                <!--
                var quick_comment = new vB_QuickComment("message_form", $vboptions[postminchars]);
                //-->
                </script>
        </if>
        <if condition="$messagebits">
                <if condition="$show['inlinemod']">
                        <script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script>
                        <script type="text/javascript">
                        <!--
                        inlineMod_comment = new vB_Inline_Mod('inlineMod_comment', 'gmessage', 'group_message_inlinemod_form', '$vbphrase[go_x]', 'vbulletin_inline', 'message');
                        vBmenu.register("inlinemodsel");
                        //-->
                        </script>

                        <!-- inline mod selection popup -->
                        <ul id="inlinemodsel_menu" class="vbmenu_popup list_no_decoration" style="display:none">
                                <li class="thead first">$vbphrase[from_this_page]</li>
                                <li class="vbmenu_option" onclick="inlineMod_comment.check_all(true)">$vbphrase[select_all]</li>
                                <li class="vbmenu_option" onclick="inlineMod_comment.check_all(false)">$vbphrase[deselect_all]</li>
                                <li class="vbmenu_option" onclick="inlineMod_comment.check_all('invert')">$vbphrase[invert_selection]</li>
                                <li class="thead"><img src="$vboptions[cleargifurl]" alt="" width="1" height="1" /></li>
                                <li class="vbmenu_option" onclick="inlineMod_comment.check_all(true, 1)">$vbphrase[select_unapproved_posts]</li>
                                <li class="vbmenu_option" onclick="inlineMod_comment.check_all(true, 2)">$vbphrase[select_deleted_posts]</li>
                        </ul>
                        <!-- / inline mod selection popup -->
                </if>
                </form>
                <!-- / inline moderation form -->

        <else /><if condition="$show['quickcomment']">
                <div class="alt2 block_row">$vbphrase[group_has_no_messages]</div>
        </if></if>
</if>
<if condition="!$group['canviewcontent']">
        <div class="alt2 block_row">$vbphrase[must_join_to_view]</div>
</if></div></td>
    <td width="250" valign="top"><!-- members -->
        <div class="tborder content_block" id="social_group"><div class="thead block_row">
                <phrase 1="$members_shown" 2="$group[members]">$vbphrase[showing_x_of_y_members]</phrase>
        </div>

        <div class="alt1 block_row">
                <ul id="group_member_list">
                  <div align="center">$short_member_list_bits</div>
                </ul>
                </div>
        <div class="alt2 block_row"><a id="view_all_members_link" class="smallfont" href="group.php?$session[sessionurl]do=viewmembers&amp;groupid=$group[groupid]">$vbphrase[view_all_members]</a>
                      </div>
</div>
        <!-- pictures -->
        <div class="tborder content_block" id="social_group"><if condition="$show['pictures_block']">
        <div class="thead block_row">
       
                <if condition="$pictures_shown">
                        <phrase 1="$pictures_shown" 2="$group[picturecount]">$vbphrase[showing_x_of_y_pictures]</phrase>
                <else />
                        $vbphrase[group_pictures]                </if>
        </div>
        <div class="alt1 block_row">
                <if condition="$picturebits">
                        $picturebits
                         
                        <else />
                        $vbphrase[no_pictures_added_group_yet]
                        <if condition="$show['add_pictures_link']"><a href="group.php?$session[sessionurl]do=addpictures&amp;groupid=$group[groupid]">$vbphrase[add_pictures_to_this_group]</a></if>
                </if>
        </div>
        </if>
        <div class="alt2 block_row"><div id="picture_links" class="smallfont">
                        <a href="group.php?$session[sessionurl]do=grouppictures&amp;groupid=$group[groupid]">$vbphrase[view_pictures]</a>
                        <if condition="$show['add_pictures_link']">| <a href="group.php?$session[sessionurl]do=addpictures&amp;groupid=$group[groupid]">$vbphrase[add_pictures]</a></if>
                </div></div>
        </div></td>
  </tr>
  <tr>
    <td colspan="2" valign="top"><div class="tborder content_block" id="social_group"><div align="center"><if condition="$show['groupoptions']">
        <div class="tfoot block_row">
                <ul id="group_footer_links">
                        <if condition="$groupoptions['join']">
                                <li class="smallfont">
                                        <a href="group.php?$session[sessionurl]do=join&amp;groupid=$group[groupid]">$vbphrase[join_group]</a>
                                </li>
                        <else />
                                <if condition="$group['membertype'] != 'member' AND $group['type'] == 'inviteonly'">
                                        <li class="smallfont">
                                                $vbphrase[group_type_inviteonly]
                                        </li>
                                </if>
                        </if>
                        <if condition="$groupoptions['leave']"><li class="smallfont"><a href="group.php?$session[sessionurl]do=leave&amp;groupid=$group[groupid]">$leavephrase</a></li></if>
                        <if condition="$groupoptions['edit']"><li class="smallfont"><a href="group.php?$session[sessionurl]do=edit&amp;groupid=$group[groupid]">$vbphrase[edit_group]</a></li></if>
                        <if condition="$groupoptions['delete']"><li class="smallfont"><a href="group.php?$session[sessionurl]do=delete&amp;groupid=$group[groupid]">$vbphrase[delete_group]</a></li></if>
                        <if condition="$groupoptions['manage']">
                                <li class="smallfont">
                                        <a href="group.php?$session[sessionurl]do=manage&amp;groupid=$group[groupid]">$vbphrase[pending_and_invited_members]</a>
                                </li>
                        </if>
                        <if condition="$groupoptions['managemembers']">
                                <li class="smallfont">
                                        <a href="group.php?$session[sessionurl]do=managemembers&amp;groupid=$group[groupid]">$vbphrase[manage_members]</a>
                                </li>
                        </if>
                </ul>
        </div>
        <div></div>
        </if>
</div></div></td>
  </tr>
</table>

$footer
</body>
</html>

--------------- Added [DATE]1228089899[/DATE] at [TIME]1228089899[/TIME] ---------------

i revert the template but no s6 :(

Lynne 11-30-2008 11:18 PM

But where in that code are the links you are talking about that are broken? I don't see anything in that code that has the word "finduser" or "search" in it like your broken link.

cindy helmond 12-01-2008 01:35 AM

1 Attachment(s)
Quote:

Originally Posted by Lynne (Post 1676085)
But where in that code are the links you are talking about that are broken? I don't see anything in that code that has the word "finduser" or "search" in it like your broken link.


strange i disable plugins and the same is happening
see att

Lynne 12-01-2008 02:52 AM

Does this happen when using a totally default skin? And, I don't suppose you have any sort of SEO or anything like that? When you disabled your plugins, did you get rid of the htaccess for that also?

cindy helmond 12-01-2008 03:04 AM

Quote:

Originally Posted by Lynne (Post 1676154)
Does this happen when using a totally default skin? And, I don't suppose you have any sort of SEO or anything like that? When you disabled your plugins, did you get rid of the htaccess for that also?


yes i did strange problem i think

Lynne 12-01-2008 03:21 AM

*Something* is interferring with the default vbulletin code cuz default code does work and doesn't put array[postperday] in that page. If you disabled the modifications completely, and you are using a totally default style to look at the site, then really the only next thing to do is to put totally default vbulletin files back onto your site.

cindy helmond 12-01-2008 03:33 AM

Quote:

Originally Posted by Lynne (Post 1676169)
*Something* is interferring with the default vbulletin code cuz default code does work and doesn't put array[postperday] in that page. If you disabled the modifications completely, and you are using a totally default style to look at the site, then really the only next thing to do is to put totally default vbulletin files back onto your site.


so its meaning that i lose all my plugins?

Lynne 12-01-2008 04:08 AM

If you have file edits, then yes you would lose them. But, it sounds like that is the place where the problem is if you have checked everything else. You could just undo all the file edits you did right before this problem started.

cindy helmond 12-01-2008 10:24 AM

Quote:

Originally Posted by Lynne (Post 1676201)
If you have file edits, then yes you would lose them. But, it sounds like that is the place where the problem is if you have checked everything else. You could just undo all the file edits you did right before this problem started.

thx for help but i make dont change the edits because i have many edits :confused:
So the problem ? let it be !
thx lynne

cindy helmond 12-02-2008 06:26 PM

Quote:

Originally Posted by Lynne (Post 1676201)
If you have file edits, then yes you would lose them. But, it sounds like that is the place where the problem is if you have checked everything else. You could just undo all the file edits you did right before this problem started.

if you see the att can you get a orginal template for this profile view?
thx

Lynne 12-02-2008 07:31 PM

I don't understand what you mean, Cindy. If you want a totally default profile page, then you would revert all the memberinfo_xxxx templates. But, if you already checked the site using a default style and it didn't work, then reverting those templates will not make it work.

cindy helmond 12-02-2008 07:49 PM

Quote:

Originally Posted by Lynne (Post 1677253)
I don't understand what you mean, Cindy. If you want a totally default profile page, then you would revert all the memberinfo_xxxx templates. But, if you already checked the site using a default style and it didn't work, then reverting those templates will not make it work.


if a now where the link was and the template then it was easy to find the error but he is giving user x and that its not good if i know where to find the template thats give the error, and i dont no where to find the incorect url of the profiles

Lynne 12-02-2008 07:57 PM

The actual template that you are showing in the first post is 'memberinfo_block_statistics' You would find it by doing this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code.

But as I said, if a default template is not showing the page correctly, then I'm not sure what you think you can do to the template in that style to get it to show correctly.

cindy helmond 12-02-2008 08:11 PM

Quote:

Originally Posted by Lynne (Post 1677286)
The actual template that you are showing in the first post is 'memberinfo_block_statistics' You would find it by doing this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code.

But as I said, if a default template is not showing the page correctly, then I'm not sure what you think you can do to the template in that style to get it to show correctly.

so i have do that but what code i must searche this ?

Code:

Array [find_all_threads_started_by_x] ??

Lynne 12-02-2008 09:18 PM

This is the line in the template:
HTML Code:

            <li><a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo[userid]&amp;starteronly=1" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></li>
So, it's supposed to be a phrase. Search in your phrases to see if it is there. Maybe you wiped out some your phrases and that is the whole problem.

cindy helmond 12-02-2008 09:33 PM

Quote:

Originally Posted by Lynne (Post 1677328)
This is the line in the template:
HTML Code:

            <li><a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo[userid]&amp;starteronly=1" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></li>
So, it's supposed to be a phrase. Search in your phrases to see if it is there. Maybe you wiped out some your phrases and that is the whole problem.

in the templates i found this code :

Code:

[find_all_threads_started_by_x]</
in the memberinfo_block template

but no phrase

--------------- Added [DATE]1228260944[/DATE] at [TIME]1228260944[/TIME] ---------------

Quote:

Originally Posted by cindy helmond (Post 1677338)
in the templates i found this code :

Code:

[find_all_threads_started_by_x]</
in the memberinfo_block template statics

but no phrase

this is mine code from the memberinfo_block_statistics template:

Code:

<div class="alt1 block_row">
        $template_hook[profile_stats_first]

        <fieldset class="statistics_group">
                <legend>$vbphrase[total_posts]</legend>
                <ul class="list_no_decoration">
                        <li><span class="shade">$vbphrase[total_posts]:</span> $prepared[posts]</li>
                        <li><span class="shade">$vbphrase[posts_per_day]:</span> $prepared

[postsperday]</li>
                        <if condition="$prepared['lastposturl']">
                                <li>
                                        <span class="shade">$vbphrase[last_post]:</span> <a

href="$prepared[lastposturl]">$prepared[lastposttitle]</a> $prepared[lastpostdate] <span

class="time">$prepared[lastposttime]</span>
                                </li>
                        </if>
                        <li><a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo

[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[find_all_posts_by_x]

</phrase></a></li>
                        <li><a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo

[userid]&amp;starteronly=1" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase

[find_all_threads_started_by_x]</phrase></a></li>
                </ul>
        </fieldset>

        <if condition="$show['album_block']">
        <fieldset class="statistics_group">
                <legend>$vbphrase[albums]</legend>
                <ul class="list_no_decoration">
                        <li><span class="shade">$vbphrase[total_albums]:</span> $block_data

[albumcount]</li>
                        <li><span class="shade">$vbphrase[total_pictures]:</span> $block_data

[picturecount]</li>
                        <li><a href="album.php?$session[sessionurl]u=$prepared[userid]"><phrase

1="$prepared[username]">$vbphrase[albums_created_by_x]</phrase></a></li>
                </ul>
        </fieldset>
        </if>
        <if condition="$show['vm_block']">
        <fieldset class="statistics_group">
                <legend>$vbphrase[visitor_messages]</legend>
                <ul class="list_no_decoration">
                        <li><span class="shade">$vbphrase[total_messages]:</span> $prepared[vm_total]

</li>
                        <li><span class="shade">$vbphrase[most_recent_message]:</span> $prepared

[lastvm_date] <if condition="!$show['detailedtime']">$prepared[lastvm_time] </if></li>
                        <li><a href="#visitor_messaging" onclick="return vB_TabCtrls

['profile_tabs'].switch_tab('visitor_messaging');"><phrase 1="$prepared[username]">$vbphrase

[visitor_messages_for_x]</phrase></a></li>
                        <if condition="$show['post_visitor_message']"><li><a href="#visitor_messaging"

onclick="return goto_post_pm();"><phrase 1="$prepared[username]">$vbphrase

[post_a_visitor_message_for_x]</phrase></a></li></if>
                </ul>
        </fieldset>
        </if>

        <if condition="$show['usernote_block']">
        <fieldset class="statistics_group">
                <legend>$vbphrase[user_notes]</legend>
                <ul class="list_no_decoration">
                        <if condition="$show['usernote_data']">
                        <li><span class="shade">$vbphrase[total_user_notes]:</span> $prepared

[usernotecount]</li>
                        <li><span class="shade">$vbphrase[most_recent_user_note]:</span> $block_data

[note_lastdate]<if condition="!$show['detailedtime']"> <span class="time">$block_data[note_lasttime]

</span></if></li>
                        <li><a href="usernote.php?$session[sessionurl]u=$userinfo[userid]"><phrase

1="$prepared[username]">$vbphrase[user_notes_for_x]</phrase></a></li>
                        </if>
                        <if condition="$show['usernote_post']"><li><a href="usernote.php?$session

[sessionurl]do=newnote&amp;u=$userinfo[userid]">$vbphrase[post_a_user_note]</a></li></if>
                </ul>
        </fieldset>
        </if>

        $template_hook[profile_stats_pregeneral]

        <fieldset class="statistics_group">
                <legend>$vbphrase[general_information]</legend>
                <ul class="list_no_decoration">
                        <if condition="$prepared['lastactivitydate']">
                                <li><span class="shade">$vbphrase[last_activity]:</span> $prepared

[lastactivitydate] <if condition="!$show['detailedtime']"><span class="time">$prepared

[lastactivitytime]</span></if></li>
                        </if>
                        <if condition="$prepared['action']">
                                <li><span class="shade">$vbphrase[current_activity]:</span> $prepared

[action] $prepared[where]</li>
                        </if>
                        <li><span class="shade">$vbphrase[join_date]:</span> $prepared[joindate]</li>
                        <if condition="$vboptions['usereferrer']"><li><span class="shade">$vbphrase

[referrals]:</span> $prepared[referrals]</li></if>
                        <if condition="$prepared['homepage']">
                                <li><span class="shade">$vbphrase[home_page]:</span> <a

href="$prepared[homepage]" target="_blank">$prepared[homepage]</a></li>
                        </if>
                </ul>
        </fieldset>

        $template_hook[profile_stats_last]
</div>


Lynne 12-02-2008 10:57 PM

It's there, but it is showing with a line break in the middle:
HTML Code:

<li><a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo

[userid]&amp;starteronly=1"
rel="nofollow">
<phrase 1="$prepared[username]">$vbphrase

[find_all_threads_started_by_x]</phrase></a></li>

It should not have those line breaks (you can see $vbphrase on the line before). But again, you said it wasn't working using the default templates, which would not have that line break, so I don't think that is the problem.

cindy helmond 12-03-2008 01:03 AM

Quote:

Originally Posted by Lynne (Post 1677395)
It's there, but it is showing with a line break in the middle:
HTML Code:

<li><a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo

[userid]&amp;starteronly=1"
rel="nofollow">
<phrase 1="$prepared[username]">$vbphrase

[find_all_threads_started_by_x]</phrase></a></li>

It should not have those line breaks (you can see $vbphrase on the line before). But again, you said it wasn't working using the default templates, which would not have that line break, so I don't think that is the problem.

i have only 1 template i change that default one

--------------- Added [DATE]1228274536[/DATE] at [TIME]1228274536[/TIME] ---------------

yes its fixed !!! i revert the :

Code:

memberinfo_block_statistics
thx for help :rolleyes:


All times are GMT. The time now is 05:55 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.01689 seconds
  • Memory Usage 2,061KB
  • 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
  • (11)bbcode_code_printable
  • (4)bbcode_html_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (28)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