vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Pip System (https://vborg.vbsupport.ru/showthread.php?t=55675)

mx3 07-28-2003 07:00 AM

It isn't? How many posts does the user have?

Hostc 07-28-2003 07:02 AM

Posts: 65535

:p

mx3 07-28-2003 07:04 AM

ok...
find:
PHP Code:

} elseif($post[posts] >=' 5501' AND $post[posts] <= '10000') {
$pipcount=15;
$showpips="<img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip>"

add under:
PHP Code:

} elseif($post[posts] > '10000') {
$pipcount=16;
$showpips="<img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip>"

Tell me if that works...



And i don't really think there are many boards out there with members that have post counts that high :p

Hostc 07-28-2003 07:19 AM

I know, but if a user had more posts then whats set in the functions.php it wouldn't show the image ;)

Hostc 07-28-2003 07:22 AM

You mean


Find:

PHP Code:

} elseif($post[posts] >=' 5501' AND $post[posts] <= '5500') {
$pipcount=15;
$showpips="<img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip><img src=$pip>"

? ;)

Hostc 07-28-2003 07:29 AM

Yep that works :D

P.S: Don't forget to update the zip.

assassingod 07-28-2003 07:48 AM

Quote:

Today at 07:42 AM Hostc said this in Post #3
Isn't that what the "Stars" in the image folder are for?
Technically, no, but there have been hacks out that are similar to this that uses stars. Also, vBulletinTemplates.com had a modification to use stars as well.

minder 07-28-2003 07:25 PM

another way to do this without a hack is the way i have made the rank stars on my forum.....


in the admin cp

When defining the ranks, simply ad a <br>followed by an img tag for the appropriate star image. For example:
Starting at 0 posts:
Forum Newbie<br><img src="images/stars/1star.gif">
Starting at 51 posts:
Forum Member<br><img src="images/stars/2star.gif">

You would then make appropriate images and place them in forums/images/stars.

regards
rob
:smoke:
my forum

Oblivion Knight 07-28-2003 07:33 PM

Quote:

Today at 09:25 PM minder said this in Post #38
another way to do this without a hack is the way i have made the rank stars on my forum.....


in the admin cp

When defining the ranks, simply ad a <br>followed by an img tag for the appropriate star image. For example:
Starting at 0 posts:
Forum Newbie<br><img src="images/stars/1star.gif">
Starting at 51 posts:
Forum Member<br><img src="images/stars/2star.gif">

You would then make appropriate images and place them in forums/images/stars.

regards
rob
:smoke:
my forum

You can only have so many stars doing it this way since there is a limit to how many characters you can enter in the rank field.. Though of course this can be fixed with a small MySQL database query.. ;)

minder 07-28-2003 07:38 PM

Quote:

Today at 02:03 AM Oblivion Knight said this in Post #39
You can only have so many stars doing it this way since there is a limit to how many characters you can enter in the rank field.. Though of course this can be fixed with a small MySQL database query.. ;)
i dont see what u mean?
as you are linking to an image file and that image could have say 10 or even 20 stars

maybe im wrong as im new to vb

regards
rob
:smoke:


All times are GMT. The time now is 11:59 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.01148 seconds
  • Memory Usage 1,757KB
  • 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
  • (3)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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