Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-24-2002, 05:51 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default --Please read-- Stars Hack for 2.2.6

I know there's a stars hack out there but it's for 2.2.1 and it's full of bugs on 2.2.6 so this is my request which will probably help out so many people out there

Just like the stars hack for 2.2.1 but for 2.2.6 with no bugs

Please no one tell me to go post in the stars hack thread because many people have posted bugs etc but many don't ever get fixed and it's not getting updated so please

Thanks a MAJOR bunch to whoever does this
Reply With Quote
  #2  
Old 08-24-2002, 05:57 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tha Rock what kind of bugs are you experiencing? because i believe that i did a clean install of that not too long ago... i would gladly make one compatible if you can give me a list of what need to be fixed regards

g-force2k2
Reply With Quote
  #3  
Old 08-24-2002, 06:30 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well i'm not going to install it because i've read about bugs and such, so I don't want to take the risk...I was just thinking it's about time for it to be recoded? Surely it's not that much code?
Reply With Quote
  #4  
Old 08-24-2002, 06:39 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, my set up is a bit different, I don't have normal stars, instead I have bars which contain different colours, etc...

So I only have one image for each ranking not a set number of stars

So what my request really is is a hack that will allow me to assign a graphic to each user post ranking, AND to Moderators, SuperMods, Admins and userid=8 [custom group I made]

So really I am asking for pretty much a new hack...?

And be able to change it all through the CP of course

So g-force, if this is possible and you create it, thanks very much
Reply With Quote
  #5  
Old 08-24-2002, 06:44 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

are we talking about just something on the postibit? or would you prefer to have it show in other locations as well?

g-force2k2
Reply With Quote
  #6  
Old 08-24-2002, 07:52 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just the postbit under their custom title or title...
Reply With Quote
  #7  
Old 08-25-2002, 05:23 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tha Rock then you can just user the admin/functions.php to make your own type of hack...

find:

PHP Code:
// do ip addresses 
under it add:

PHP Code:
if($bbuserinfo[posts] >= 0) {
  
$post[specialimg] = "<img src=\"[url here].[extension here]\" border=\"0\">";
} elseif(
$bbuserinfo[posts] >= 50) {
  
$post[specialimg] = "<img src=\"[url here].[extention here]\" border=\"0\">";

and you can keep that going and user whichever posts that you want and different images etc... i hope you get my point...

then after if you want to user custom images for moderators... smods and administrators...

under my other coding add:

PHP Code:
if($bbuserinfo[usergroupid] == 6) { // Image for Administrators
  
$post[specialimg] = "<img src=\"[url here].[extention here]\" border=\"0\">";
} elseif(
$bbuserinfo[usergroupid] == 7) { // Image for Smods
  
$post[specialimg] = "<img src=\"[url here].[extention here]\" border=\"0\">";
} elseif(
$bbuserinfo[usergroupid] == 5) { // Image for Moderators
  
$post[specialimg] = "<img src=\"[url here].[extention here]\" border=\"0\">";

then in the postbit template where ever you want the image to show just place:

PHP Code:
$post[specialimg
hope that helps you on your request

g-force2k2
Reply With Quote
  #8  
Old 08-25-2002, 09:50 AM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's useful, however we'd find it easier if it was an option in the AdminCP to change
Reply With Quote
  #9  
Old 08-25-2002, 09:54 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bee you emm pee spells B.U.M.P
Reply With Quote
  #10  
Old 08-25-2002, 09:55 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay but do you mind if it runs extra queries then?

regards...

g-force2k2
Reply With Quote
Reply


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 10:11 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.04704 seconds
  • Memory Usage 2,263KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete