vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Portal Software - Ap - Groups (https://vborg.vbsupport.ru/showthread.php?t=182845)

kaptanblack 06-17-2008 10:00 PM

Ap - Groups
 
Ap - Groups

I didnt like view default vbulletin groups page and i decided make this plugin...

Mark as Installed - Nominate for MOTM

Install

Please read the readme.txt file.

Ap - Groups

Go to your admin cp, then:
vBulletin Options -> Ap - Groups ->

Modifications Info

Plugin : 5
Template : 3
Setting : 3

Versions:
v1.0 - 18 June 2008
- First release

v1.1 - 18 June 2008
- Some template bugs fixed
- Phrase bug fixed
- Added "Groups Description Cut"

v1.5 - 20 June 2008
- Some template bugs fixed
- Phrase bug fixed
- Changed "Groups Description Cut" with "Groups Comments Cut"
- Added "Active Groups Name Cut"
- Added "Popuplar Groups Name Cut"
- Added "Latest Post - Groups Name Cut"
- Some php codes changed
- Style 1 Deleted, Style 2 Actived

DEMO: http://www.aktifpaylasim.com/gruplar

ShiZoPhreN 06-18-2008 11:36 AM

Thanks, it is very nice... =) *me clicks installed*

redraider 06-18-2008 12:04 PM

I am not sure what this does? Does it provide blocks for latest groups and popular groups or does it change the layout of the groups ?

Hasann 06-18-2008 12:16 PM

Quote:

Originally Posted by redraider (Post 1552520)
I am not sure what this does? Does it provide blocks for latest groups and popular groups or does it change the layout of the groups ?

first thank you kaptanblack for this gr8 hack keep it up good work
@redraider; yes it does change the layout of the social groups and add 3 statistics blocks
you can see online demo at here http://www.vbulletin-turkey.com/foru...p.php?langid=1

User: Sylar
Pass: 123456789

edenx 06-18-2008 01:18 PM

Nice

kaptanblack 06-18-2008 01:20 PM

Quote:

Originally Posted by Hasann (Post 1552524)
first thank you kaptanblack for this gr8 hack keep it up good work
@redraider; yes it does change the layout of the social groups and add 3 statistics blocks
you can see online demo at here http://www.vbulletin-turkey.com/foru...p.php?langid=1

User: Sylar
Pass: 123456789

Thanks for your description (=

Shill360 06-18-2008 01:29 PM

I'm having issues with layout.

I'm using a fluid template and i'm getting issues with how the blocks are put together on the groups page.

Here is a screenshot

https://vborg.vbsupport.ru/

Hasann 06-18-2008 01:34 PM

Quote:

Originally Posted by Shill360 (Post 1552565)
I'm having issues with layout.

I'm using a fluid template and i'm getting issues with how the blocks are put together on the groups page.

Here is a screenshot

try this buddy

replace SOCIALGROUPS with this code

HTML Code:

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $custompagetitle</title>
</head>
<body>
$header
$navbar

<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td width="30%" valign="top">

<form action="group.php?$session[sessionurl]do=grouplist" method="post">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr><td class="tcat">$vbphrase[search_groups]</td></tr>
<tr><td class="alt1">
<input type="text" class="bginput" name="filtertext" value="$filters[text]" style="font-size: 11px;" />&nbsp;<input type="submit" class="button" value="$vbphrase[go]" />
</td>
</tr>
</table>

<br />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="tcat">
<span style="float: right">$vbphrase[members]</span>$vbphrase[ap_popular_groups]
</td>
</tr>
$ap_pop_grupbit
</table>

<br />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="tcat"><span style="float: right">$vbphrase[posts]</span>$vbphrase[ap_mostactive_groups]</td>
</tr>
$ap_ak_grupbit
</table>

<br />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="tcat">$vbphrase[ap_latestpost_group]</td>
</tr>
$ap_grupmesajlarbit
</table>

</td>

<td width="70%" valign="top">
<if condition="$show['errors']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr align="$stylevar[left]">
        <td class="tcat">
                        $vbphrase[errors_occured_with_search]
        </td>
</tr>
<tr>
        <td class="alt1">
                        <ol>$errorlist</ol>
        </td>
</tr>
</table>
<br />
</if>

<if condition="$mygroup_bits">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" style="margin-bottom:20px">
<tr>
<td class="tcat" colspan="3" valign="top">$vbphrase[you_are_a_member_of_the_following_groups]</td>
</tr>
<tr>
        <td class="thead" width="100%">$vbphrase[group_name]</td>
        <td class="thead" align="center" nowrap="nowrap">$vbphrase[joined_group]</td>
        <td class="thead" align="center" nowrap="nowrap">$vbphrase[options]</td>
</tr>
$mygroup_bits
</table>
</if>



<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
        <td class="tcat" width="100%" colspan="5">
                $grouplisttitle
        </td>
</tr>
<if condition="$grouplist">
        <tr>
                <td class="thead" width="100%">
                        <span style="float:$stylevar[right]"><a href="$sorturl&amp;order=desc&amp;sort=created">$vbphrase[group_created]</a> $sortarrow[created]</span>
                        <a href="$sorturl&amp;order=asc&amp;sort=name">$vbphrase[group_name]</a> $sortarrow[name]
                </td>
                <td class="thead" align="center" nowrap="nowrap">
                        <a href="$sorturl&amp;order=desc&amp;sort=members">$vbphrase[group_members]</a> $sortarrow[members]
                </td>
                <if condition="$show['gminfo']"><td class="thead" align="center" nowrap="nowrap">
                        <a href="$sorturl&amp;order=desc&amp;sort=messages">$vbphrase[messages]</a> $sortarrow[messages]
                </td></if>
                <if condition="$show['pictureinfo']"><td class="thead" align="center" nowrap="nowrap">
                        <a href="$sorturl&amp;order=desc&amp;sort=pictures">$vbphrase[pictures]</a> $sortarrow[pictures]
                </td></if>
        </tr>
        $grouplist
        <else />
        <tr>
                <td class="alt1" align="center" colspan="5">$vbphrase[no_groups_to_display]</td>
        </tr>
</if>

<tr>
        <td colspan="5" align="center" class="tfoot smallfont">
                <if condition="$show['creategroup']">
                        <strong><a href="group.php?$session[sessionurl]do=create">$vbphrase[create_a_new_group]</a></strong> &nbsp;
                </if>
                &nbsp; <strong><a href="group.php?$session[sessionurl]do=search">$vbphrase[search_groups]</a></strong>
        </td>
</tr>
</table>

</td>
</tr>
</table>

<if condition="$pagenav">
<div style="margin-top: $stylevar[cellpadding]px">$pagenav</div>
</if>

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


$footer
</body>
</html>


Shill360 06-18-2008 01:37 PM

Perfect, thankyou Hasann :)

kaptanblack 06-18-2008 01:38 PM

Quote:

Originally Posted by Shill360 (Post 1552565)
I'm having issues with layout.

I'm using a fluid template and i'm getting issues with how the blocks are put together on the groups page.

Here is a screenshot

http://www.shill.im/issuesgroups.jpg


Open socialgroups_mygroups_bit template

Change all codes with this codes:


###########################

<tr>
<td class="alt1" width="100%">
<a href="group.php?$session[sessionurl]groupid=$mygroup[groupid]">$mygroup[name]</a>
<div class="smallfont">Join Date: $mygroup[joindate]</div>
<if condition="$show['group_options']">
<if condition="$show['edit_group']">
<a href="group.php?$session[sessionurl]do=edit&amp;groupid=$mygroup[groupid]">$vbphrase[edit_group]</a>
</if>
<if condition="$show['delete_group']">
| <a href="group.php?$session[sessionurl]do=delete&amp;groupid=$mygroup[groupid]">$vbphrase[delete_group]</a>
</if>
<if condition="$show['leave_group']">
| <a href="group.php?$session[sessionurl]do=leave&amp;groupid=$mygroup[groupid]">$vbphrase[leave_social_group]</a>
</if>
<else />
$vbphrase[n_a]
</if>
</td>
</tr>

#########################


All times are GMT. The time now is 03:19 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.01315 seconds
  • Memory Usage 1,788KB
  • 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_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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