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)
-   -   Stars v0.2.3 (https://vborg.vbsupport.ru/showthread.php?t=19081)

joecrow 08-25-2001 04:43 PM

can u repack the hack then

Bane 08-25-2001 04:49 PM

I'm sure tubedogg will. I dont have access to his post though.

tubedogg 08-25-2001 07:20 PM

It's fixed and updated.

tweak 08-26-2001 02:13 AM

Nice hack thanx man

LuBi 08-26-2001 06:45 AM

Yea this works great easy install my first hack. Check my site if you need an example. Thanks again Bane, thanks tubedogg.

MApI 08-27-2001 10:00 PM

As usually, great job ! & simple to install. Thx again.

VB 2.0.3

bye

tamarian 08-31-2001 06:08 PM

PHP Code:

Step 2 of 2 find

....  
PHP code

Just under that add


Should be

Replace with

If you add under, new users will be added to user table in duplicates.

AJR 09-01-2001 10:22 PM

Hey Tubedog... very nice hack! I installed this a few weeks ago and everything went off without a hitch!

Here's something you may want to update in your stars hack distribution...Show stars on announcements page. I'm using v2.0.3 but should work on v2.0.x

Open announcement.php (NOT admin/announcement.php)

find:
PHP Code:

  if ($post[receivepm]) {
       eval(
"\$post[pmlink] = \"".gettemplate("postbit_sendpm")."\";");
  } else {
       
$post[pmlink] = "";
  } 

Below it add:
PHP Code:

  $sli 0;
  while (
$sli $post[starlevel]) {
    
$post[stars] .= "<img src=\"images/stars/$post[starimg].gif\" border=\"0\">";
    ++
$sli;
  } 


In announcebit template add $post[stars] where you want the stars to appear.


That's it! Now the stars of those who put up announcements will show under their usertitle when viewing the announcement.

tamarian 09-02-2001 05:01 PM

Kevin,

This is exactly what I mentioned just 2 posts above :)

tubedogg 09-02-2001 05:08 PM

There was an error in the instructions supplied by Bane, as reported by tamarian.

To fix it, download the attached file and follow the instructions in it. The first post in this thread has been updated with the correct instructions in the zip file.


All times are GMT. The time now is 09:30 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.01451 seconds
  • Memory Usage 1,737KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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