Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-11-2009, 09:43 AM
Alexey? Alexey? is offline
 
Join Date: Oct 2008
Location: ISRAEL
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default showgroups mod or script

Hey everybody
A few days ago i found a forum that his showgroups desinged very nice,
this is whe website
http://www.fxp.co.il/showgroups.php
Do you know how to do that?
What i mean is the administrator wiil have a small box.
and the other groups will have bigger and smaller
Do you know how to do that?
Reply With Quote
  #2  
Old 02-11-2009, 09:53 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks pretty default to me.

More members or longer data in a group will grow/shrink the boxes as they are not set to a fixed length.
Reply With Quote
  #3  
Old 02-11-2009, 10:08 AM
Alexey? Alexey? is offline
 
Join Date: Oct 2008
Location: ISRAEL
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i didnt meant that.
what i mean is the size of the "tcat" \header for each group name
Attached Files
File Type: (85.8 KB, 0 views)
Reply With Quote
  #4  
Old 02-11-2009, 03:11 PM
Alexey? Alexey? is offline
 
Join Date: Oct 2008
Location: ISRAEL
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any one?
Reply With Quote
  #5  
Old 02-11-2009, 04:25 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seriously looks default to me. I compared it to my usergroups pages and the height of the headers looks the same.
Reply With Quote
  #6  
Old 02-11-2009, 05:55 PM
Alexey? Alexey? is offline
 
Join Date: Oct 2008
Location: ISRAEL
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

but cant you see the diffrent in the group name?
each gorup has a deiffrent size of box.
the widht size
Reply With Quote
  #7  
Old 02-11-2009, 07:04 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The width? I thought when you mentioned the tcat, you meant the height of that row.

I suppose you could set the width of the table based on the usergroup or something - I think you would do it in the showgroups_usergroup template. (if $user['groupid'] is equal to XXXX then 90%, if $user['groupid'] is equal to YYYY then 80%, etc)

(Do you really think that looks nice? My first thought was that the guy did something wonky to his page when he centered it and threw the box width off cuz I think it looks 'wrong' when things are different widths.)
Reply With Quote
  #8  
Old 02-12-2009, 03:49 AM
Alexey? Alexey? is offline
 
Join Date: Oct 2008
Location: ISRAEL
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In my country is look very good.
But i cant understand where put the code you gave me.
Whet i put it in showgroups_usergroup template it make an error
Reply With Quote
  #9  
Old 02-12-2009, 04:22 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Paste the code you tried here and we'll see if we can see what is wrong.
Reply With Quote
  #10  
Old 02-12-2009, 09:07 AM
Alexey? Alexey? is offline
 
Join Date: Oct 2008
Location: ISRAEL
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
(if $user['6'] is equal to XXXX then 90%, if $user['8'] is equal to YYYY then 80%, etc)
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="3">$user[title]</td>
</tr>
<tr>
<td class="thead">&nbsp;</td>
<td class="thead" width="100%">$vbphrase[user_name]<if condition="$show['locationfield']"> / $vbphrase[location_perm]</if></td>
<if condition="$show['contactinfo']"><td class="thead">הודעה פרטית</td></if>
</tr>
$usergroupbits
</table>
<br />
this is my showgroups_usergroup template
and my error is this
Quote:
The following error occurred when attempting to evaluate this template:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/agooz2/domains/mydomain.com/public_html/includes/adminfunctions_template.php(3929) : eval()'d code on line 1

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
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 01:13 AM.


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.04701 seconds
  • Memory Usage 2,272KB
  • 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
  • (2)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
  • (1)postbit_attachment
  • (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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete