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)

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 08:48 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.01110 seconds
  • Memory Usage 1,779KB
  • 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
  • (5)bbcode_code_printable
  • (4)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete