Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 10-22-2004, 09:29 PM
xg3 xg3 is offline
 
Join Date: Jan 2004
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Muliple Rank Sets

I'm looking for a hack that allows you to make multiple rank sets.

For a simple example, a user can choose..."Plant" or "Animal" category.

The rank images (stars or whatever) will correspond to whichever category he picked. For example, if a plant user has 10 posts, it will show a maple leaf, but a 10 post animal user will show a cat or something.

So different images corresponding to different categories at the same post counts.

It would be easy for the admin modify rank page..
10 posts: ____________ (url for plant category) ____________ (url for animal)
50 posts: ____________ (url for plant category) ____________ (url for animal)
Reply With Quote
  #2  
Old 10-22-2004, 09:45 PM
AN-net's Avatar
AN-net AN-net is offline
 
Join Date: Dec 2003
Location: AnimationTalk.com
Posts: 2,367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you can do this by creating usergroups for each
Reply With Quote
  #3  
Old 10-23-2004, 02:20 AM
xg3 xg3 is offline
 
Join Date: Jan 2004
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Creating usergroups is a hard way to do it though..since you would have to assign people manually and such. I don't think people can change their own usergroup? Can't someone find a way to allow rank sets based on a profile field or something?
Reply With Quote
  #4  
Old 10-23-2004, 02:52 AM
Gaffer's Avatar
Gaffer Gaffer is offline
 
Join Date: Nov 2001
Location: Australia
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there was a hack made for vb2.X which LoB made. i know LoB and have already asked him if he could help me convert it to vb3 but i've not seen him for a while

that said i've done one with public seletable usergroups.

look here
Reply With Quote
  #5  
Old 10-24-2004, 12:52 AM
xg3 xg3 is offline
 
Join Date: Jan 2004
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks a lot, it's a little complicated for the average user though, so if you're reading this and you're capable..please make a hack for this. Thanks!
Reply With Quote
  #6  
Old 10-24-2004, 06:13 AM
Barrikin Barrikin is offline
 
Join Date: Jun 2004
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

They way i did was for the image paths for the ranks in the admincp i put say xxx.jpg

Then i edited the templated and did something like this
HTML Code:
<img src="/images/ranks/$bbuserinfo[styleid]/$vb.ranks.var.from.admincp">
I'm sure its the wrong var names but i'm super tired and don't feel like loggin into my admincp to get it ;p


It works great. Only down side is you can't see the ranks in the admincp they will show up as broken images.


If it doesn't work send me a pm and i'll help ya when i wake up form my hangover. hah
:tired: :tired: :tired:
Reply With Quote
Reply

Thread Tools
Display Modes

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 09:53 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.03732 seconds
  • Memory Usage 2,198KB
  • Queries Executed 11 (?)
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
  • (1)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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_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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete