vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Social groups on profile question..? (https://vborg.vbsupport.ru/showthread.php?t=205846)

Gamelobby 02-18-2009 10:00 PM

Social groups on profile question..?
 
I have an issue..

Quote:

Originally Posted by Gamelobby (Post 1747211)
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 (Post 1748487)
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. :)


Aclikyano 02-18-2009 10:02 PM

wish I could help you I am having problems with social groups right now also..

Lynne 02-18-2009 11:38 PM

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?

Gamelobby 02-19-2009 12:41 AM

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>

Lynne 02-19-2009 02:15 AM

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.)

Gamelobby 02-19-2009 02:34 AM

Revert worked great.. it made them images instead of text links.. thats even better.!! :)
Thanks.!

Dismounted 02-19-2009 04:08 AM

If it's been edited - you may want to think of what you edited as you may have something imported you added there.

Gamelobby 02-19-2009 04:44 AM

Thanks for the heads up.. but i dont remember what i did to make it change in the first place.

Gamelobby 03-04-2009 05:27 AM

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. :)

Lynne 03-04-2009 02:01 PM

Quote:

Originally Posted by Gamelobby (Post 1759838)
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.


All times are GMT. The time now is 06:52 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.02132 seconds
  • Memory Usage 1,737KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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