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 for vB2.2.1 (english/german) (https://vborg.vbsupport.ru/showthread.php?t=34626)

Radon3k 02-13-2002 07:07 PM

Ok I uploaded the "stars.php" and "mysql.php" into my admin folder....I ran the script, same thing...It's not doing anything still...

Rapclick 02-14-2002 02:25 AM

i just succesfully installed stars on my vb2.2.2 :)
everything works fine exept for a small error in the control panel, users that register after this hack was installed do not show up when i search for users... its as if thier not there...or not in the database......

Wolf42 02-14-2002 04:58 AM

@Radon3k
Did you changed the PHP-Files too?

@Rapclick
I just registered on your board. Try if you find me. The nick is same like in this board. ;)

Radon3k 02-14-2002 07:38 PM

Ok...The good news is that it's successfully working on my test forums, yay! :) Bad news, I can't figure out how to assign stars to admins and mods, any help Wolf? Thanks! :)


Edit: Forgot to mention that I went into "modify user groups" and for Administrators and Moderators, but I don't see where you add it...Nothing in there has changed...So how do I give them their own stars and stuff if in the user groups there is no place to add it? Thanks! :)

Rapclick 02-14-2002 09:01 PM

no it said it couldnt find you, and also i have about 80 members now and this count stopped at 40 in the admin cp when the stars was installed...

Rapclick 02-14-2002 10:33 PM

also there seems to be that problem with new registration...did you get that too? :confused:

Radon3k 02-14-2002 11:15 PM

No problems with registration as of yet....Just problems with giving admins and mods their own stars....Did you get this to work?

Rapclick 02-15-2002 01:32 AM

yes mine works fine, jus in your admin cp click modify usergroups, and there is a new field thier for the stars... mine worked great... hey are u running 2.2.2? or 2.2.1?

Wolf42 02-15-2002 06:48 AM

Quote:

Originally posted by Radon3k
Ok...The good news is that it's successfully working on my test forums, yay! :) Bad news, I can't figure out how to assign stars to admins and mods, any help Wolf? Thanks! :)


Edit: Forgot to mention that I went into "modify user groups" and for Administrators and Moderators, but I don't see where you add it...Nothing in there has changed...So how do I give them their own stars and stuff if in the user groups there is no place to add it? Thanks! :)

Got to your admin/usergroup.php. It has to look like this:
PHP Code:

// ###################### Start add #######################
if ($action=="add") {

  
doformheader("usergroup","insert");
  
maketableheader("Add new usergroup");

  
makeinputcode("Title","title");
  
makeinputcode("User Status<br>Use this to override the default 'ladder' of user status titles","usertitle");
  
makeinputcode("Stars shown<br>Use this to override the default 'ladder' of stars","starlevel");
  
makeinputcode("Star image shown<br>Give this group a unique star image - do not add the .gif after the image name!","starimg");
  
makeyesnocode("Viewable on <a href=\"../showgroups.php?s=$session[sessionhash]\" target=\"_blank\">Show Groups</a>?","showgroup",1); 

and
PHP Code:

// ###################### Start edit #######################
if ($action=="edit") {

  
$usergroup=$DB_site->query_first("SELECT * FROM usergroup WHERE usergroupid=$usergroupid");

  
doformheader("usergroup","doupdate");
  
makehiddencode("usergroupid","$usergroupid");
  
maketableheader("Edit usergroup: </b>$usergroup[title]<b>","",0);

  
makeinputcode("Title","title",$usergroup[title]);
  
makeinputcode("User Status<br>Use this to override the default 'ladder' of user status titles","usertitle",$usergroup[usertitle]);
  
makeinputcode("Stars shown<br>Use this to override the default 'ladder' of stars","starlevel",$usergroup[starlevel]);
  
makeinputcode("Star image shown<br>Give this group a unique star image - do not add the .gif after the image name!","starimg",$usergroup[starimg]); 

Your AdminCP (Modify Usergroups) must look like the Attachement. If you want to assign other stars to your Admins/Mods just upload a different star-image (ie admin.gif or mod.gif) in your images/stars-folder.

Wolf42 02-15-2002 07:12 AM

Quote:

Originally posted by Rapclick
no it said it couldnt find you, and also i have about 80 members now and this count stopped at 40 in the admin cp when the stars was installed...
http://forums.rapclick.com/member.ph...info&userid=67

I am there! :D

Got to your AdminCP and run
Code:

/admin/user.php?s=&action=find
This should show all user.


All times are GMT. The time now is 11:31 AM.

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.01233 seconds
  • Memory Usage 1,753KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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