Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #41  
Old 03-26-2001, 07:14 PM
Guest
 
Posts: n/a
Default

what form will the ismoderator() function look like, as for the admin it leads to a gif would i add an elseif line for this function ?? if so could you show me the line of code to add ??
Hmmm does the moderator have an Usergroupid number.??

if ($post[usergroupid]==5 || $post[usergroupid]==6)
// Admin and Supermod Stars
$starsgif = '<img src="images/star2.gif" border=0 width="11" height="10">';


Thanx
Fuzzy
Reply With Quote
  #42  
Old 03-26-2001, 07:28 PM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by freddie
And if someone had 1000 posts are they going to have 20 stars?
Thx!!!
Reply With Quote
  #43  
Old 03-26-2001, 07:53 PM
Guest
 
Posts: n/a
Default

forgive my ignorance, but what the heck are stars?
Reply With Quote
  #44  
Old 03-27-2001, 06:21 AM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by bira
what the heck

huh????
Reply With Quote
  #45  
Old 03-27-2001, 04:46 PM
Guest
 
Posts: n/a
Default

Stars are little tiny stars that can appear under your name, this hack makes it so that the more posts you make, the more stars you get.

I have replaced stars with a bar graph as you can see here. http://www.thzclan.com/forums/showth...d=2&threadid=1

As people post more, their bar gets longer. Look under the user title.

Hope that helps.
Reply With Quote
  #46  
Old 03-27-2001, 04:55 PM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Blackjack
Stars are little tiny stars that can appear under your name, this hack makes it so that the more posts you make, the more stars you get.

I have replaced stars with a bar graph as you can see here. http://www.thzclan.com/forums/showth...d=2&threadid=1

As people post more, their bar gets longer. Look under the user title.

Hope that helps.
Thx
Reply With Quote
  #47  
Old 07-30-2001, 08:36 PM
Freddie Bingham's Avatar
Freddie Bingham Freddie Bingham is offline
 
Join Date: Oct 2001
Posts: 506
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have update the first post for instructions on how to install this on 2.0.2 - no other versions supported.
Reply With Quote
  #48  
Old 08-02-2001, 08:15 PM
DevilsMania.com
Guest
 
Posts: n/a
Default

installed but doesn't work to me...
Reply With Quote
  #49  
Old 11-24-2001, 12:34 AM
wacnstac wacnstac is offline
 
Join Date: Nov 2001
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's what I get when I run my board with this hack installed. Seems that the include doesn't work. The stars.php file is in my admin directory with proper permissions. Any ideas?

Warning: Failed opening './stars.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/msports/public_html/forum/admin/functions.php on line 56
Reply With Quote
Reply

Thread Tools
Display Modes

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 01:23 AM.


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.04251 seconds
  • Memory Usage 2,235KB
  • Queries Executed 14 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_onlinestatus
  • (9)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete