![]() |
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. |
Thanx man,
I hope this works :rolleyes: |
Hi tubedogg,
what does this mean: ****In the postbit _template_**** **Find <smallfont>$post[usertitle]</smallfont><br> **Replace it with <smallfont>$post[usertitle]</smallfont><br>$post[stars]<br> I have not any file which is called postbit. Can you say me where to find this file (admin?). There is only a file which is called template.php in the admin directory. |
I can't find the code in my register.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,showsignatures,birthday,maxposts,startofweek,ipaddress,pmpopup,referrerid,nosessionhash) |
Quote:
Then modify as the code above.. |
thanx freehtml :D
|
Quote:
I have no problems to change the code in my register.php. Which Version do you have? |
Hi,
I changed everything successful but when I try to edit the stars for the user groups I have this error: There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser. An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists. We apologise for any inconvenience. This error is shown nearly on everything in the cp :confused: :confused: |
Quote:
I am using vBulletin 2.0.0 final.... Can send me ur register.php??:) |
Hi tubedogg,
works fine so good!! But I have an error when I want to make a new thread => Parse error: parse error in newthread.php on line 265 I think there is something wrong. Can you fix it please? |
Quote:
|
Quote:
|
Could you make it so that different levels can have different color stars instead of all of them having the same color stars and all that changes is the number?
|
Quote:
Also you could create one image that had multiple different color stars, and assign that image to be displayed once for a certain level - wallah, a bunch of different color stars for one level. |
Hi tubedogg,
great job man! Everything works fine now! Thanx. |
thx tubedogg
Can you Update the star.zip File? Big thx again... bye bye |
Updated.
|
PHP Code:
|
Yeah, my bad. Fixed.
|
IVE BEEN WAITING FOR THIS SOOOO LONG
THANX AGAIN U ROCK ;) i have to go try it right away now :D |
Quote:
|
Hi tubedogg,
does this hack work with PHP3? Oh... erm, could you please, please have a look at your 'who's online hack' thread, I'm having a hard time with it :o Thanks, -Tom |
In the user titles>admin, I can not seem to make it show some stars I want. It is just one star file that I want to be viewed in 5, but it won't.
|
Are you chaning it under User Groups > Admin > [edit] or User Titles? User titles won't do anything - to set a default for a group you need to edit it under User Groups.
|
How do you change it the right way then?
Here is how I am changing it: Under Administrator I click Edit and then I type it in. It does not work.:( Its frustraighting. Do you have to do it for each user, or the group such as the group admin. I am doing it by group. |
Hi, I have a problem, but I don't know what it is :) as far as I can tell I have done everything I am supposed to do, but they just aren't showing up...no errors or anything, they just don't appear? What do I do?
|
Did you Update Counters?
(Admin CP > Update Counters > Users & Stars) |
Yes, I did...please help :)
|
Do you have $post[stars] somewhere in your postbit template?
|
Yes...sorry about this...
|
Another hack installed and working. I'm going on a hack installation spree :D
Thanks for this one tubedogg. |
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...:( |
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.
|
The thing mentioned two posts up about register.php - that was my bad. I apparently missed that query when rewriting the directions. :o
Anyway, the correct query is now in the stars.txt file in the zip file. Sorry about that. |
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.
|
Thanks dakota :). Seen you round on a nother forum too. Bet you know. :) great job at that forum.
|
Hmm... For some reason it dislikes me.
|
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? :(( |
I'm assuming you copied and pasted out of the thread here instead of using the zip file.
Replace all this: PHP Code:
PHP Code:
|
Quote:
thnx. |
All times are GMT. The time now is 02:25 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|