View Single Post
  #13  
Old 03-05-2009, 01:26 PM
Ahmet Turan Ahmet Turan is offline
 
Join Date: Dec 2006
Location: Mersin
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you tried to do something with the sample code but did not.

The code is given below the code of social groups are the admin panel.
Can you do this by looking arrangement

Thanx

Admincp --- Stil edit ---- my template ---- SOCIALGROUPS

PHP 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

<form action="group.php?$session[sessionurl]do=grouplist" method="post">
<
table class="tborder" id="sg_grouplist" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" style="clear: both">
<
tr>
    <
td class="tcat" width="100%" colspan="6">
        <
div style="float:$stylevar[right]class="normal">$vbphrase[search_groups] <input type="text" class="bginput" name="filtertext" value="$filters[text]style="font-size: 11px;" />&nbsp;<input type="submit" class="button" value="$vbphrase[go]/></div>
        
$grouplisttitle
        
<if condition="$category_name">
            <
span style="font-weight:normal"><phrase 1="$category_name">$vbphrase[in_category_x]</phrase></span>
        </if>
    </
td>
</
tr>
<if 
condition="$grouplist">
    <
tr>
        <
td class="thead" width="100%">
            <if 
condition="$show['category_names']"><span style="float:$stylevar[right]"><a href="$orderlinks[category]">$vbphrase[category]</a$sortarrow[category]</span></if>
            <
a href="$orderlinks[name]">$vbphrase[group_name]</a$sortarrow[name]
        </
td>
        <
td class="thead" align="center" nowrap="nowrap">
            <
a href="$orderlinks[members]">$vbphrase[group_members]</a$sortarrow[members]
        </
td>
        <if 
condition="$show['gminfo']">
            <
td class="thead" align="center" nowrap="nowrap">
                <
a href="$orderlinks[discussions]">$vbphrase[discussions]</a$sortarrow[discussions]
            </
td>
            <
td class="thead" align="center" nowrap="nowrap">
            <
a href="$orderlinks[messages]">$vbphrase[messages]</a$sortarrow[messages]
            </
td>
        </if>
        <if 
condition="$show['pictureinfo']"><td class="thead" align="center" nowrap="nowrap">
            <
a href="$orderlinks[pictures]">$vbphrase[pictures]</a$sortarrow[pictures]
        </
td></if>
        <if 
condition="$show['gminfo']"><td class="thead" align="center" nowrap="nowrap">
            <
a href="$orderlinks[lastpost]">$vbphrase[last_post]</a$sortarrow[lastpost]
        </
td></if>
    </
tr>
    
$grouplist
    
<else />
    <
tr>
        <
td class="alt1" align="center" colspan="6">$vbphrase[no_groups_to_display]</td>
    </
tr>
</if>

<
tr>
    <
td colspan="6" align="center" class="tfoot smallfont">
        <
strong><a href="group.php?$session[sessionurl]do=search">$vbphrase[advanced_search]</a></strong>
         &
nbsp;
        <
strong><a href="groupsubscription.php?$session[sessionurl]">$vbphrase[subscribed_discussions]</a></strong>
    </
td>
</
tr>
</
table>

<
input type="hidden" name="s" value="$session[sessionhash]/>
<
input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]/>
<
input type="hidden" name="dofilter" value="1" />
</
form>

<
br />

<
div class="floatcontainer">
    <if 
condition="$pagenav">
    <
div id="discussion_pagenav">
        
$pagenav
    
</div>
    </if>

    <if 
condition="$show['creategroup']">
    <
div class="action_links">
        <
a href="group.php?$session[sessionurl]do=create" rel="nofollow">$vbphrase[create_a_new_group]</a>
    </
div>


    </if>
</
div>

$footer
</body>
</
html
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01311 seconds
  • Memory Usage 1,864KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete