Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-18-2009, 10:00 PM
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
Location: Long Beach, CA
Posts: 997
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Social groups on profile question..?

I have an issue..

Quote:
Originally Posted by Gamelobby View Post
On the profile where it lists a persons social groups that they belong to, it only shows a dash like this

User-Created Social Groups: (6)
-
-
-
-
-
-

No text links to the actual groups...? (but the dash is a link still.!?)

Any thoughts or ideas.?
Thanks
Quote:
Originally Posted by Gamelobby View Post
Any idea what might be causing it..?
Here is the code from Memberinfo_block_group

Code:
<if condition="$block_data['membergroupcount']">
	<div class="alt1 smallfont block_row">
		<span class="group_count">($block_data[membergroupcount])</span> $vbphrase[public_usergroups]:
		<ul class="list_no_decoration group_list" id="public_usergroup_list">
			$block_data[membergroupbits]
		</ul>
	</div>
</if>
<if condition="$block_data['socialgroupcount']">
	<div class="alt1 smallfont block_row">
					<span class="group_count">($block_data[socialgroupcount])</span> $vbphrase[user_created_social_groups]:
		<ul class="list_no_decoration group_list" id="social_group_list">
			$block_data[socialgroupbits]
		</ul>
	</div>
</if>
<if condition="!$block_data['membergroupcount'] AND !$block_data['socialgroupcount']">
	<div class="alt1 smallfont block_row">$vbphrase[you_not_member_any_groups]</div>
</if>
<if condition="$block_data['show_join_link']">
	<div class="alt2 smallfont block_row block_footer"><a href="group.php$session[sessionurl_q]">$vbphrase[join_social_groups]</a></div>
</if>
You can delete this & PM me if that is better.

Thanks in advance.
Reply With Quote
  #2  
Old 02-18-2009, 10:02 PM
Aclikyano Aclikyano is offline
 
Join Date: Apr 2006
Posts: 481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wish I could help you I am having problems with social groups right now also..
Reply With Quote
  #3  
Old 02-18-2009, 11:38 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 that spits out the groups:
$block_data[socialgroupbits]

And that is made up of calls to the template "memberinfo_socialgroupbit". Is that template a default template?
Reply With Quote
  #4  
Old 02-19-2009, 12:41 AM
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
Location: Long Beach, CA
Posts: 997
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure.. it looks like it could have been edited.

Here is my "memberinfo_socialgroupbit"
Quote:
<li class="smallfont"><if condition="$showgrouplink"><a href="group.php?$session[sessionurl]groupid=$socialgroup[groupid]"></if>- $socialgroup[name_html]<if condition="$showgrouplink"></a></if><br /></li>
Reply With Quote
  #5  
Old 02-19-2009, 02:15 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's definitely been edited if that is all there is to it. You can also tell by going to edit that template and then selecting View History > Compare and comparing it to the default template. You should revert that template (when you revert, your will lose the contents so if for some reason you want to save that, copy it into a text editor.)
Reply With Quote
  #6  
Old 02-19-2009, 02:34 AM
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
Location: Long Beach, CA
Posts: 997
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Revert worked great.. it made them images instead of text links.. thats even better.!!
Thanks.!
Reply With Quote
  #7  
Old 02-19-2009, 04:08 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If it's been edited - you may want to think of what you edited as you may have something imported you added there.
Reply With Quote
  #8  
Old 02-19-2009, 04:44 AM
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
Location: Long Beach, CA
Posts: 997
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the heads up.. but i dont remember what i did to make it change in the first place.
Reply With Quote
  #9  
Old 03-04-2009, 05:27 AM
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
Location: Long Beach, CA
Posts: 997
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have another question about this.. is there an option to limit how many groups will show on this page.?

Although it seems like it should be in the ACP options, I dont see it anywhere.
Do i have to edit the code in one of these templates..?

- memberinfo_socialgroupbit
- memberinfo_socialgroupbit_text
- memberinfo_publicgroupbit
- memberinfo_membergroupbit
- memberinfo_block_groups
- MEMBERINFO

Thanks..

I just switched skins so i have a lot of things going on.
Reply With Quote
  #10  
Old 03-04-2009, 02:01 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gamelobby View Post
I have another question about this.. is there an option to limit how many groups will show on this page.?
I believe you would have to actually modify the code to change that. Right now, I think it shows avatars of the groups you are in until you hit 12 groups. At that point, it starts only listing the group names.
Reply With Quote
Reply


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 02:51 PM.


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.04288 seconds
  • Memory Usage 2,259KB
  • Queries Executed 13 (?)
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
  • (1)bbcode_code
  • (4)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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