View Single Post
  #18  
Old 09-29-2009, 12:24 PM
christian8a's Avatar
christian8a christian8a is offline
 
Join Date: May 2007
Location: Washington State
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yotsume View Post
INSTALLED!

This needs cleaned up. The person's username is so large is scary! You are missing a small font code in your templates. You are using this: <span class="bigusername"> WHY???

For anyone who wants to remove the jumbo username just remove the code in red below from the template: user_random_latest

Code:
<span class="bigusername"><a href="$vboptions[bburl]/member.php?u=$user[userid]"><b>$user[musername]</b></a></span><br />
BUG #1: If a members is already a friend they should not show in this mod. You need to update this please to correct this.

This will force us to use this mod for new members only obviously. (CORRECTION: Even is set as new members those members who are already on our friends list as still showing in the list with a link to Add As Friend) Sorry but this mod has a few bugs that need worked out. I think we are missing a few "<If Condition>" statements here...

BUG #2: When you set this module to display new members is it not showing my actual latest registered members. WHY? It shows new members but not my most recent members who have registered and have been excepted... What criteria is this making the list of new members from? A member that has just joined my site is not on this list and I have it set to show 10. This new member should be at the top of the list since she just joined???

I look forward to your support. I need to configure this so my real latest members who do not have avatars will display. How can I achieve this?

SUGGESTION: This mod need to have a scroll bar so we can have a list of 30 new members displayed and not stretch our homepage. Can you please help me to code that change? Also, the Add As Friend link in the block needs to go across the bottom and should not break to use two lines. I think you have it setup in the template to have a specific width so the avatar is in it's own column... I am going to recode that so the link is across the full width of the bottom of each cell of this block. That will make this much cleaner looking. (NOTE: I set the width of the block to be 70% instead of 75% and this made the link show on one line. see my second screenshot)

Please see my attached screenshot. I have highlighted your link in a red box that breaks to two lines. I also highlighted in red how the link to add as freiend should be coded. How can we make that happen?

I would like to have this as a center block as well with a better layout so I can add in more custom fields. I will have to draw up a layout and see about this...

Being able to add custom fields is awesome!
Im sorry for leaving some default options there, I totally forgot how ugly some default stuff that vbulletin puts like that big username, you just gotta change the class="bigusername" to other CSS that you can make or just change to class="smallfont"

The "Bug1" is not a bug, is made like that, random people will display all random people on the site, it will be an option to make it like you say but maybe could be added later. The conditionals is actually something I could figure out now and find a fix so it doesnt display Ad as Friend link if they are already friends.

The "Bug2" is also not a bug, this mod will display only newest people, IF they have uploaded an avatar already, otherwise it will show the newest member with avatar. Just you dont want a question mark for every member that joins, IMO. It can be added later too.

The suggestion is good, but this mod is actually intended to show between 1 to 3 members as seen in most of the sites, 5 being the most so it keeps the looking for a just people suggestion type of mod. I can help you out in adding the scroll bar, is very easy but yea can be just an external addont to this. I will look for the code and will post here the scroll bar for you

You have to play with it a bit, is very simple to modify stuff on it... see screenshot of how mine looks, neat and simple just diplaying 1 member.
Feel free to ask more questions, ill help in what I can :up:
Attached Images
File Type: jpg Scr.jpg (6.0 KB, 0 views)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01318 seconds
  • Memory Usage 1,816KB
  • Queries Executed 12 (?)
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_code
  • (1)bbcode_quote
  • (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_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete