Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #21  
Old 12-02-2008, 07:31 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #22  
Old 12-02-2008, 07:49 PM
cindy helmond cindy helmond is offline
 
Join Date: Feb 2006
Location: The Netherlands
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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
Reply With Quote
  #23  
Old 12-02-2008, 07:57 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #24  
Old 12-02-2008, 08:11 PM
cindy helmond cindy helmond is offline
 
Join Date: Feb 2006
Location: The Netherlands
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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] ??
Reply With Quote
  #25  
Old 12-02-2008, 09:18 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #26  
Old 12-02-2008, 09:33 PM
cindy helmond cindy helmond is offline
 
Join Date: Feb 2006
Location: The Netherlands
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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 View Post
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>
Reply With Quote
  #27  
Old 12-02-2008, 10:57 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #28  
Old 12-03-2008, 01:03 AM
cindy helmond cindy helmond is offline
 
Join Date: Feb 2006
Location: The Netherlands
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:28 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05025 seconds
  • Memory Usage 2,275KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_code
  • (4)bbcode_html
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete