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 v0.2.3 (https://vborg.vbsupport.ru/showthread.php?t=19081)

tubedogg 06-02-2001 10:00 PM

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.

AnnaFan 06-03-2001 08:04 AM

Thanx man,

I hope this works :rolleyes:

AnnaFan 06-03-2001 08:24 AM

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.

freehtml 06-03-2001 08:25 AM

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

freehtml 06-03-2001 08:27 AM

Quote:

Originally posted by AnnaFan
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.

Go to your CP > Templates > Edit > Default > Postbit Templates > Postbit

Then modify as the code above..

AnnaFan 06-03-2001 08:30 AM

thanx freehtml :D

AnnaFan 06-03-2001 08:32 AM

Quote:

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?

AnnaFan 06-03-2001 08:38 AM

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:

freehtml 06-03-2001 09:00 AM

Quote:

Originally posted by AnnaFan


Hi freehtml,

I have no problems to change the code in my register.php. Which Version do you have?

Hi,

I am using vBulletin 2.0.0 final....

Can send me ur register.php??:)

AnnaFan 06-03-2001 09:19 AM

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?


All times are GMT. The time now is 05:18 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
  • Page Generation 0.03363 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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