Version: , by tubedogg
Developer Last Online: Dec 2016
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.
****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.
$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)
can its too long to post the register.php over here
****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.
Go to your CP > Templates > Edit > Default > Postbit Templates > Postbit
Originally posted by freehtml 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)
can its too long to post the register.php over here
Hi freehtml,
I have no problems to change the code in my register.php. Which Version do you have?
Originally posted by AnnaFan
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
Can you view the source of the error page and copy and paste it here? Or copy and paste the email you should have received?
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?
Originally posted by WEAPON
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?
This is already possible...change the "Star Image" for each level. You cannot make one level have 5 different color stars, but each level can have a different color star.
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.