Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by tubedogg tubedogg is offline
Developer Last Online: Dec 2016 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 06-02-2001 Last Update: Never Installs: 161
 
No support by the author.

Thanks to Bane there has been a complete reworking of the installation/instructions for this hack. It is now up to date for 2.0.3 and the installer runs exactly like the vB install/upgrade scripts do.

There is no demo as I don't currently use stars on my board.

For version: 2.0.3

Files needed: stars.php

Files to edit: newthread.php, newreply.php, admin/misc.php, admin/index.php, admin/usergroup.php, register.php and possibly stars.php

Templates to edit: postbit

Instructions: Upload install_starshack.php and stars.php to your admin directory. Go to example.com/admin/install_starshack.php and login, then follow the on-screen instructions.

Upgrade information: If you have previously installed the stars hack, make sure you choose the "upgrade" option on the screen mentioned in the instructions. If you have previously installed this version (using install_starshack.php), you MUST STILL use the upgrade option even if you are reinstalling or you will get database errors.

This hack is © 2001 Kevin Schumacher and may not be redistributed, modified or not, without prior permission.

Please DO NOT contact me via AIM, ICQ, PM, or email about this hack. Post your question/problem here and I will try to help you.

Feedback appreciated.

Show Your Support

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

Comments
  #32  
Old 06-06-2001, 01:56 AM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another hack installed and working. I'm going on a hack installation spree

Thanks for this one tubedogg.
Reply With Quote
  #33  
Old 06-06-2001, 06:57 PM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed the hack and it works great, expect that no one cant register anymore, ill get a mysql error:
this is the error:

Database error in vBulletin: Invalid SQL: INSERT INTO user (userid,username,password,email,styleid,parentemai l,coppauser,homepage,icq,aim,yahoo,signature,admin email,showemail,invisible,usertitle,joindate,cooki euser,daysprune,lastvisit,lastactivity,usergroupid ,timezoneoffset,emailnotification,receivepm,emailo npm,showsignatures,birthday,maxposts,startofweek,i paddress,pmpopup,referrerid,nosessionhash,starleve l,starimg) VALUES (NULL,'PaCaLyPsE','kwanie',lala@lala.com,'1','','0 ','http://','','','','','1','1','0','Beginner','991856220',' 1','-1','991856220','991856220','2','0','1','1','0','ye s','0','-1','1','169.12.167','0','0','1','1','1')
mysql error: Unknown column 'showsignatures' in 'field list'
mysql error number: 1054
Date: Wednesday 06th of June 2001 09:37:00 PM
Script: /board/register.php

pllllzzz help, no new member anymore.... i already received 9 of them...
Reply With Quote
  #34  
Old 06-06-2001, 08:59 PM
SSJ4 Saiya-jin
Guest
 
Posts: n/a
Default

I still cant get the stars to show for the admin user group. What I want is one star that changes to other colors. I want 6 of them to show, and I have filled in the information correctly for the administrator user group, but it still does not work. can some one please help.
Reply With Quote
  #35  
Old 06-06-2001, 10:16 PM
tubedogg's Avatar
tubedogg tubedogg is offline
 
Join Date: Oct 2001
Location: Medina, OH
Posts: 785
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The thing mentioned two posts up about register.php - that was my bad. I apparently missed that query when rewriting the directions.

Anyway, the correct query is now in the stars.txt file in the zip file. Sorry about that.
Reply With Quote
  #36  
Old 06-07-2001, 12:29 AM
Dakota's Avatar
Dakota Dakota is offline
 
Join Date: Oct 2001
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

SSJ4, Under User Groups and permissions go to modify, then esit the administrator section to how you want it. Then go to Update counters and press Update on the Update Users info box.
Reply With Quote
  #37  
Old 06-07-2001, 12:33 AM
SSJ4 Saiya-jin
Guest
 
Posts: n/a
Default

Thanks dakota . Seen you round on a nother forum too. Bet you know. great job at that forum.
Reply With Quote
  #38  
Old 06-07-2001, 12:43 AM
SSJ4 Saiya-jin
Guest
 
Posts: n/a
Default

Hmm... For some reason it dislikes me.
Reply With Quote
  #39  
Old 06-07-2001, 02:53 AM
SSJ4 Saiya-jin
Guest
 
Posts: n/a
Default

When ever some one tries to register i get this sent to me


Database error in vBulletin: Invalid SQL: INSERT INTO user
(userid,username,password,email,styleid,
parentemail,coppauser,homepage,icq,aim,yahoo,signa ture,adminemail,showemail,invisible,usertitle,join
date,cookieuser,daysprune,lastvisit,lastactivity,u sergroupid,timezoneoffset,emailnotification,receiv
epm,emailonpm,options,birthday,maxposts,startofwee k,ipaddress,pmpopup,referrerid,nosessionhash,starl evel,starimg)
VALUES
(NULL,'SS_4_Goku00','pokeball','ss_4_goku00@yahoo. com','1','','0','','','','','','1','1','0','Junior
Member','991885732','1','-1','991885732','991885732','2','0','1','1','0','15 ','0','-1','1','127.0.0.1','0','0','1')
mysql error: You have an error in your SQL syntax near 'join
date,cookieuser,daysprune,lastvisit,lastactivity,u sergroupid,timezoneoffset' at
line 1
mysql error number: 1064
Date: Thursday 07th of June 2001 03:48:52 AM
Script: /forum/register.php
Referer: http://www.guyverout.f2s.com/forum/register.php


How do I allow them to register? (
Reply With Quote
  #40  
Old 06-07-2001, 04:02 AM
tubedogg's Avatar
tubedogg tubedogg is offline
 
Join Date: Oct 2001
Location: Medina, OH
Posts: 785
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm assuming you copied and pasted out of the thread here instead of using the zip file.

Replace all this:
PHP Code:
$DB_site->query("INSERT INTO user (userid,username,password,email,".$newstylefield."parentemail,coppauser,homepage,icq,aim,yahoo,signature,adminemail,showemail,invisible,usertitle,joindate,cookieuser,daysprune,lastvisit,lastactivity,usergroupid,timezoneoffset,emailnotification,receivepm,emailonpm,options,birthday,maxposts,startofweek,ipaddress,pmpopup,referrerid,nosessionhash,starlevel,starimg) VALUES NULL,'".addslashes(htmlspecialchars($username))."','".addslashes($password)."','".addslashes(htmlspecialchars($email))."',".$newstyleval."'".addslashes(htmlspecialchars($parentemail))."','$coppauser','".addslashes(htmlspecialchars($homepage))."','".addslashes(htmlspecialchars($icq))."','".addslashes(htmlspecialchars($aim))."','".addslashes(htmlspecialchars($yahoo))."','".addslashes($signature)."','$adminemail','$showemail','$invisible','".addslashes($usertitle)."','".time()."','$cookieuser','".addslashes($prunedays)."','".time()."','".time()."','$newusergroupid','".addslashes($timezoneoffset)."','$emailnotification','$receivepm','$emailonpm','$options','".addslashes($birthday)."','".addslashes($umaxposts)."','".addslashes($startofweek)."','".addslashes($ipaddress)."','$pmpopup','".addslashes($testreferrerid['userid'])."','$nosessionhash')");
  
$userid=$DB_site->insert_id(); 
with the query on line 173 of stars.txt that starts
PHP Code:
  $DB_site->query("INSERT INTO user 
Reply With Quote
  #41  
Old 06-07-2001, 06:12 AM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by tubedogg
The thing mentioned two posts up about register.php - that was my bad. I apparently missed that query when rewriting the directions.

Anyway, the correct query is now in the stars.txt file in the zip file. Sorry about that.
it works great now.
thnx.
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 08:59 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.05460 seconds
  • Memory Usage 2,321KB
  • 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
  • (2)bbcode_php
  • (1)bbcode_quote
  • (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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (7)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
  • 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