vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Help Me Please!! (https://vborg.vbsupport.ru/showthread.php?t=50597)

DigitalDesktops 03-21-2003 09:40 PM

Help Me Please!!
 
I am looking for a multi rank hack for my board but so far I have not been able to find one.

if someone knows anywhere I can get one please e-mail me or reply in here.

flup 03-22-2003 06:19 AM

From the AdminCP you are able to set up to a million ranks.
Each on a postcout or a special rank [wich means you [the admin] have to set for a user]

DigitalDesktops 03-27-2003 09:16 PM

what I mean is so that I can have different rank insignias for different races.

I seen something similar for Ikonboard a while ago but not seen one for vB.

Erwin 03-28-2003 04:56 AM

I think there is one for vB - do a search...

DigitalDesktops 03-28-2003 10:32 AM

I found LoB's one but it don't come with instructions or any kind of help file.

as you might have guessed I am a n00b when it comes to PHP & MySQL.

Brad 03-28-2003 12:13 PM

You can do this:

in /admin/functions.php find:

PHP Code:

if ($post[icq]!="") {
            eval(
"\$post[icqicon] = \"".gettemplate("icq")."\";");
        } else {
            
$post[icq]=""

Below that add:

PHP Code:

 if ($post[posts]>0) { 
   
$post[customrank]="newbie";
   } elseif (
$post[posts]>10) {
    
$post[customrank]="not so much of a newbie";
   } elseif (
$post[posts]>20) {
    
$post[customrank]="getting there";
   } else { 
    
$post[customrank]="Non-newbie"

Then add $post[customrank] anywhere in the postbit template.

You will need to edit the code to suit your needs. basicly the numbers are the amount of posts a member needs to have the rank, the text is the title itself.


All times are GMT. The time now is 08:41 AM.

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.01075 seconds
  • Memory Usage 1,720KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete