Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

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

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

does neone have a good stars hack for vbulletin version 2.0.3? if so, either post a url or something at least!!!

Show Your Support

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

Comments
  #12  
Old 08-08-2001, 06:03 PM
toLT
Guest
 
Posts: n/a
Default

They are Main administirator .. and mods put their status .... something like Crazy mod or just like that )

Hehe
Reply With Quote
  #13  
Old 08-08-2001, 10:40 PM
Dennis Wrenn Dennis Wrenn is offline
 
Join Date: Nov 2001
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In that case, you will have to check the usergroupid rather than the usertitle.

Admin = 6
Mod = 7
Super Mod = 5

Change the first seven lines(starting with //start starhack) to this
Code:
		//START STARHACK!
		if ($post[usergroupid]==6) {
		$post[usertitle]="$post[usertitle]<br><img src=\"images/star1.gif\" border=0><img src=\"images/star2.gif\" border=0><img src=\"images/star3.gif\" border=0><img src=\"images/star4.gif\" border=0><img src=\"images/star5.gif\" border=0>";
		}
		elseif ($post[usergroupid]==5) {
		$post[usertitle]="$post[usertitle]<br><img src=\"images/star1.gif\" border=0><img src=\"images/star2.gif\" border=0><img src=\"images/star3.gif\" border=0><img src=\"images/star4.gif\" border=0><img src=\"images/star5.gif\" border=0>";
		}
Reply With Quote
  #14  
Old 08-18-2001, 04:23 PM
Afterburner's Avatar
Afterburner Afterburner is offline
 
Join Date: Nov 2001
Location: 53?36'08"N 13?18'22"E
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great
Reply With Quote
  #15  
Old 08-18-2001, 04:32 PM
toLT
Guest
 
Posts: n/a
Default

Yep .. tnx man
Reply With Quote
  #16  
Old 08-18-2001, 05:01 PM
maverick1236 maverick1236 is offline
 
Join Date: Oct 2001
Location: NY
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i upgraded to 2.03 and found the stars hack for 2.01 didnt work-so i just borrowed showthread.php from 2.01 and replaced it-works great now
Reply With Quote
  #17  
Old 08-18-2001, 05:30 PM
Afterburner's Avatar
Afterburner Afterburner is offline
 
Join Date: Nov 2001
Location: 53?36'08"N 13?18'22"E
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ Maverick1236

If you use the showthread.php from 2.01 you havn´t any nav bars in a multiple sites thread to navigate between the different sites.
Reply With Quote
  #18  
Old 08-18-2001, 07:01 PM
maverick1236 maverick1236 is offline
 
Join Date: Oct 2001
Location: NY
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for pointing that out-i tried putting the code before the pm link in functions.php rather than after-and it worked-go figure
Reply With Quote
  #19  
Old 08-20-2001, 03:03 AM
Kehfera Kehfera is offline
 
Join Date: Feb 2002
Location: VA - East Coast - USA
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added the lines for the Admins and moderators and added 6 different customized titles. (just to play)

I had to adjust the information according to the post by Dennis when the USERGROUPID was needed for the title to work with the stars.

I also used a different group of stars with different colors for the ADMINS and Moderators.

Admin Stars = pend1.gif to pend5.gif
Super Mod Stars = pend6.gif to pend10.gif
Moderator Stars = pend11.gif to pend15.gif

The stars were made with Fireworks at 13 x 13 pixels. The backbround is transparent. After getting the star centered I adjusted the canvas size to 15 X 17 pixels to accomodate some spacing requirement. I exported the file as a gif.

All stars are in a zip file attached to this posting. I have also included the original Fireworks graphics for people who wish to change the color.

My titles for users are:

Seeker (Minimum Posts: 0) [edit] [remove]
Novice (Minimum Posts: 25) [edit] [remove]
Initiate (Minimum Posts: 50) [edit] [remove]
Member (Minimum Posts: 100) [edit] [remove]
Guide (Minimum Posts: 200) [edit] [remove]
Guru (Minimum Posts: 400) [edit] [remove]

These titles use all the same group of stars....pend16.gif, pend17.gif, pend18.gif, pend19.gif, pend20.gif

All total are the 3 indications for my groups and 6 user titles.

NOTES from TXT file ----------------------------------------------------------

Made by Wombag for all board in vbb

I modified the starhack 1.1.4 code to work with vB 2.0.3

1. Upload the file star.gif in your images directory.

2. Make a backup of functions.php in admin directory.

3. Open your functions.php file.


Insert the code starting //START STARHACK! at line 164 of functions.php.

This code should be inside getpostbit()

- Dennis

My additional notes ----------------------------------------------------------

I have 6 different user titles besides Administrator and Super Moderator

Admin = 6
Mod = 7
Super Mod = 5

I used a set of stars for each group.

1 - Red = Administrator - 7 point star.
2 - Green = Moderator - 5 point star
3 - Blue = Super Moderator - 7 point star.
4 - Yellow = User - 5 point star.

find the following code:------------------------------------------------------

if ($post[customtitle]==2) {
$post[usertitle] = htmlspecialchars($post[usertitle]);
}
add code:----------------------------------------------------------------------
//START STARHACK!
if ($post[usergroupid]==6) {
$post[usertitle]="$post[usertitle]<br><img src=\"images/pend1.gif\" border=0><img
src=\"images/pend2.gif\" border=0><img src=\"images/pend3.gif\" border=0><img src=\"images/pend4.gif\" border=0><img src=\"images/pend5.gif\" border=0>";
}
elseif ($post[usergroupid]==5) {
$post[usertitle]="$post[usertitle]<br><img src=\"images/pend6.gif\" border=0><img
src=\"images/pend7.gif\" border=0><img src=\"images/pend8.gif\" border=0><img src=\"images/pend9.gif\" border=0><img src=\"images/pend10.gif\" border=0>";
}
elseif ($post[usergroupid]==7) {
$post[usertitle]="$post[usertitle]<br><img src=\"images/pend11.gif\" border=0><img
src=\"images/pend12.gif\" border=0><img src=\"images/pend13.gif\" border=0><img src=\"images/pend14.gif\" border=0><img src=\"images/pend15.gif\" border=0>";
}
elseif ($post[posts]>400) {
$post[usertitle]="$post[usertitle]<br><img src=\"images/pend16.gif\" border=0><img
src=\"images/pend17.gif\" border=0><img src=\"images/pend18.gif\" border=0><img src=\"images/pend19.gif\" border=0><img src=\"images/pend20.gif\" border=0>";
}
elseif ($post[posts]>200) {
$post[usertitle]="$post[usertitle]<br><img src=\"images/pend16.gif\" border=0><img
src=\"images/pend17.gif\" border=0><img src=\"images/pend18.gif\" border=0><img src=\"images/pend19.gif\" border=0>";
}
elseif ($post[posts]>100) {
$post[usertitle]="$post[usertitle]<br><img src=\"images/pend16.gif\" border=0><img
src=\"images/pend17.gif\" border=0><img src=\"images/pend18.gif\" border=0>";
}
elseif ($post[posts]>50) {
$post[usertitle]="$post[usertitle]<br><img src=\"images/pend16.gif\" border=0><img
src=\"images/pend17.gif\" border=0>";
}
elseif ($post[posts]>25) {
$post[usertitle]="$post[usertitle]<br><img src=\"images/pend16.gif\" border=0>";
}
else {
$post[usertitle] = $post[usertitle];
}
//END STARHACK!

continued file code :----------------------------------------------------------

$jointime = (time() - $post[joindate]) / 86400; // Days Joined
if ($jointime < 1) { // User has been a member for less than one day.
$postsperday = "$post[posts]";
} else {
$postsperday = sprintf("%.2f",($post[posts] / $jointime));
}
Reply With Quote
  #20  
Old 08-20-2001, 03:13 AM
Kehfera Kehfera is offline
 
Join Date: Feb 2002
Location: VA - East Coast - USA
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The last post would not let me attach the stars file. Too large. I had to delete two of the original graphics. They are duplicates anyway - just different colors.
Attached Files
File Type: (21.4 KB, 53 views)
Reply With Quote
  #21  
Old 08-20-2001, 05:21 PM
LuBi LuBi is offline
 
Join Date: Oct 2001
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My stars are apearing below my userid's how can I move it below the posts.

Here is a link to my demo forum

Thing is, in my postbit it has $post[stars] below Posts so I mean it should work but for some reason it doesn't any help would be great.
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 09:48 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.13097 seconds
  • Memory Usage 2,327KB
  • Queries Executed 28 (?)
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)bbcode_code
  • (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
  • (1)postbit_attachment
  • (8)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_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
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete