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)
-   -   vB Stars Hack (https://vborg.vbsupport.ru/showthread.php?t=50708)

SharronH 04-03-2003 04:37 AM

Hi, which file is the "postbit" template? TIA

TLfuRy 04-03-2003 10:12 AM

Look under 'templates' in the admin cp (very bottom of the left menu).

FlyingDutchman 04-03-2003 04:02 PM

Quote:

03-31-03 at 05:04 PM TLfuRy said this in Post #20
I like this hack, but I would like to change it slightly so that it only displays one row of stars. Say, 1 star for every 100 posts. I've messed around a little bit trying to do this, but haven't been able to get it to work properly. Any ideas? I'm not concerned with multiple color stars or anything.

Thanks.

with the hack installed, in the postbit template, find:

Code:

<smallfont>$post[usertitle]$stars[phatimage]$stars[greenimage]$stars[pinkimage]$stars[yellowimage]</smallfont><br><br>
REPLACE with:

Code:

<smallfont>$post[usertitle]$stars[greenimage]</smallfont><br><br>

now, in the vb options, set the 'Stars Hack Number' to 1...
enjoy ;) (you can change the image, right one is: '3rd Star Image
')
(ok, this will still use all the code (some is useless now ;)) but i have no time at this moment, so this quick (and 100% working) fix will do i guess ;))

TLfuRy 04-03-2003 04:22 PM

Thanks for the reply. I tried what you said, but now the number of stars doens't really seem to have much relevance to their post count. I have users with 1 star that have over 4000 posts...and users with 1200 posts and 6 stars.

Did I do something wrong?

JeffyJoe 04-12-2003 07:31 AM

Great hack...

was messin around with the other ones - never could get them going right...
this one installed very easily :) using vbhacker
(I had to manually edit the postbit - due to different codes from my forum skin)
(yes I'm a newbie to this, but learning fast)
because of this (i think),,, I had to run the query's again as the vbstars options, didn't show up in my vb options...

now for a newbie question:

when I did this the vb stars options showed double.
how do I get rid of double options?

(i'm guessing it is just a matter of running another query, but I don't know what it should be)

here's a pic of my problem:

FlyingDutchman 04-12-2003 08:15 PM

edit admin/config.php and set $debug to 1

now you can edit the options in the admin cp (3 new links will show up)
i think you'll find your way around with this ;)
if you don't, just tell me ;)

(and don't forget to set $debug to 0 or anything again afterwards!!!!!)

JeffyJoe 04-17-2003 05:34 PM

any Ideas?

DeadBeat 05-17-2003 03:19 PM

OK I think I have everything installed correctly but in admin control panel I see the VB Stars Hack title but there are no options under it and i have it set to debug 1 ......

Any ideas?

cYbercOsmOnauT 06-04-2003 05:27 PM

[x]installed

Nice nice Dutchman.. but why does it always say "The star image for the 1st star range, you earn..." in all ranges?

I translated your queries into german and attached the file here. Feel free to use it for the other german speakers who wants to install your great hack. :)

bilco105 06-15-2003 02:29 PM

Hi, I just installed your mod. It shows up fine in the admin console. Yet when I look at someones post it isn't there

I followed the instructions to a "t"

Any ideas why it doesn't work


All times are GMT. The time now is 07:59 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.01072 seconds
  • Memory Usage 1,735KB
  • 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_code_printable
  • (1)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