Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives

Reply
 
Thread Tools
Details »»

Version: , by weezle (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 08-22-2001 Last Update: Never Installs: 0
 
No support by the author.

look at this pic



can someone explain whats wrong with the stars hack and tell me how i can fix it.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 08-22-2001, 05:06 PM
weezle
Guest
 
Posts: n/a
Default

//START STARHACK!
if ($post[userid]==316) {
$stars .= "<img src=\"images/stars/blau.gif\">";
$stars .= "<img src=\"images/stars/blau.gif\">";
$stars .= "<img src=\"images/stars/blau.gif\">";
$stars .= "<img src=\"images/stars/blau.gif\">";
$stars .= "<img src=\"images/stars/blau.gif\">";
$stars .= "<img src=\"images/stars/blau.gif\">";
$stars .= "<img src=\"images/stars/blau.gif\">";
$stars .= "<img src=\"images/stars/blau.gif\">";
$stars .= "<img src=\"images/stars/blau.gif\">";
$stars .= "<img src=\"images/stars/blau.gif\"><br>";
$post[usertitle] = "<font color=\"blue\">$post[usertitle]in</font>"; }

elseif ($post[usergroupid]==5 || $post[usergroupid]==6) {
$stars .= "<img src=\"images/stars/admin.gif\">";
$stars .= "<img src=\"images/stars/admin.gif\">";
$stars .= "<img src=\"images/stars/admin.gif\">";
$stars .= "<img src=\"images/stars/admin.gif\">";
$stars .= "<img src=\"images/stars/admin.gif\">";
$stars .= "<img src=\"images/stars/admin.gif\">";
$stars .= "<img src=\"images/stars/admin.gif\">";
$stars .= "<img src=\"images/stars/admin.gif\">";
$stars .= "<img src=\"images/stars/admin.gif\">";
$stars .= "<img src=\"images/stars/admin.gif\"><br>";
$post[usertitle] = "<font color=\"#ffffff\">$post[usertitle]</font>"; }
elseif ($post[usergroupid]==7) {
$stars .= "<img src=\"images/stars/mod.gif\">";
$stars .= "<img src=\"images/stars/mod.gif\">";
$stars .= "<img src=\"images/stars/mod.gif\">";
$stars .= "<img src=\"images/stars/mod.gif\">";
$stars .= "<img src=\"images/stars/mod.gif\">";
$stars .= "<img src=\"images/stars/mod.gif\">";
$stars .= "<img src=\"images/stars/mod.gif\">";
$stars .= "<img src=\"images/stars/mod.gif\">";
$stars .= "<img src=\"images/stars/mod.gif\">";
$stars .= "<img src=\"images/stars/mod.gif\"><br>";
$post[usertitle] = "<font color=\"green\">$post[usertitle]</font>"; }
elseif ($post[posts] > 1999) {
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\"><br>"; }
elseif ($post[posts] > 999) {
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\"><br>"; }
elseif ($post[posts] > 799) {
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\"><br>"; }
elseif ($post[posts] > 599) {
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\"><br>"; }
elseif ($post[posts] > 399) {
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\"><br>"; }
elseif ($post[posts] > 299) {
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\"><br>"; }
elseif ($post[posts] > 199) {
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\"><br>"; }
elseif ($post[posts] > 99) {
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\"><br>"; }
elseif ($post[posts] > 49) {
$stars .= "<img src=\"images/stars/user.gif\">";
$stars .= "<img src=\"images/stars/user.gif\"><br>"; }
elseif ($post[posts] > 9) {
$stars .= "<img src=\"images/stars/user.gif\"><br>"; }
//END STARHACK!
Reply With Quote
  #13  
Old 08-22-2001, 05:10 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Like I thought.
Right after
PHP Code:
//START STARHACK! 
add
PHP Code:
$stars ""
Reply With Quote
  #14  
Old 08-22-2001, 05:11 PM
Sneakz
Guest
 
Posts: n/a
Default

Yeah,

PHP Code:
// --- Stars Hack 

    
$stars ""
now it has to work m8
Reply With Quote
  #15  
Old 08-22-2001, 05:23 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I modified the code a bit, and I suggest using this, as it is at least 3 times smaller:
PHP Code:
//START STARHACK!
$stars "";
if (
$post[userid]==316) { 
  for (
$i=0$i<10$i++) {
    
$stars .= "<img src=\"images/stars/blau.gif\">";
  }
  
$stars .= "<br>"
  
$post[usertitle] = "<font color=\"blue\">$post[usertitle]in</font>";
} elseif (
$post[usergroupid]==|| $post[usergroupid]==6) { 
  for (
$i=0$i<10$i++) {
    
$stars .= "<img src=\"images/stars/admin.gif\">";
  }
  
$stars .= "<br>"
  
$post[usertitle] = "<font color=\"#ffffff\">$post[usertitle]</font>";
} elseif (
$post[usergroupid]==7) { 
  for (
$i=0$i<10$i++) {
    
$stars .= "<img src=\"images/stars/mod.gif\">";
  }
  
$stars .= "<br>"
  
$post[usertitle] = "<font color=\"green\">$post[usertitle]</font>";
} else {
  if (
$post[posts] > 1999) { 
    
$stars .= "<img src=\"images/stars/user.gif\">";
  }
  if (
$post[posts] > 999) { 
    
$stars .= "<img src=\"images/stars/user.gif\">";
  } 
  if (
$post[posts] > 799) { 
    
$stars .= "<img src=\"images/stars/user.gif\">";
  } 
  if (
$post[posts] > 599) { 
    
$stars .= "<img src=\"images/stars/user.gif\">";
  } 
  if (
$post[posts] > 399) { 
    
$stars .= "<img src=\"images/stars/user.gif\">";
  } 
  if (
$post[posts] > 299) { 
    
$stars .= "<img src=\"images/stars/user.gif\">";
  } 
  if (
$post[posts] > 199) { 
    
$stars .= "<img src=\"images/stars/user.gif\">";
  } 
  if (
$post[posts] > 99) { 
    
$stars .= "<img src=\"images/stars/user.gif\">";
  } 
  if (
$post[posts] > 49) { 
    
$stars .= "<img src=\"images/stars/user.gif\">";
  } 
  if (
$post[posts] > 9) { 
    
$stars .= "<img src=\"images/stars/user.gif\"><br>";
  }
}
//END STARHACK! 

Sneakz, thanks for repeating me.
Reply With Quote
  #16  
Old 08-22-2001, 05:29 PM
weezle
Guest
 
Posts: n/a
Default

are you sure this is right:

//START STARHACK!
$stars = "";
if ($post[userid]==316) {
for ($i=0; $i<10; $i++) {
$stars .= "<img src=\"images/stars/blau.gif\">";

taken from the code u said to use.
Reply With Quote
  #17  
Old 08-22-2001, 05:32 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe my code is right. Try it and share with us...
Reply With Quote
  #18  
Old 08-22-2001, 05:40 PM
weezle
Guest
 
Posts: n/a
Default

still dont work
Reply With Quote
  #19  
Old 08-22-2001, 05:45 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works for me. Something else must be wrong.
Reply With Quote
  #20  
Old 08-22-2001, 05:47 PM
weezle
Guest
 
Posts: n/a
Default

if i give u ftp and cp access will u fix it
Reply With Quote
  #21  
Old 08-22-2001, 05:50 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I don't know what is wrong I cannot fix it.
Reply With Quote
Reply

Thread Tools

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 06:09 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07315 seconds
  • Memory Usage 2,324KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_onlinestatus
  • (11)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
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete