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
  #372  
Old 02-05-2003, 12:53 AM
Darker Lord Darker Lord is offline
 
Join Date: Sep 2002
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Um, when I am installing, when I go to this step:

**Find

maketableheader("Update Users Info</b> - </b>updates user titles<b>","",0);

**and replace with

maketableheader("Update Users Info</b> - </b>updates user titles and stars<b>","",0);

This is in the file Admin/Misc.php

Anyhow, that line can't be found. Please help!
Reply With Quote
  #373  
Old 02-19-2003, 03:31 PM
Shadow_NL Shadow_NL is offline
 
Join Date: Mar 2002
Location: The Netherlands
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I'm editing my files I also need to edit this:

root/newthread.php

Step 2 of 2 find:

$DB_site->query("UPDATE user SET
".iif ($foruminfo[countposts],"posts=posts+1,","")."
$dotitle"."lastpost='".time()."' WHERE userid='$bbuserinfo[userid]'");

I couldn't find it, till I noticed that I already changed it with Zajako's RPG hack to:

// Zajako's Rpg hack pay per post
$DB_site->query("UPDATE user SET ".iif ($foruminfo[countposts],"posts=posts+1,","")." $dotitle"."lastpost='".time()."',rpgmoney=rpgmoney +'$moneynewthread' WHERE userid='$bbuserinfo[userid]'");
}
// end zajako's rpg hack pay per post

How can I edit this to the right code which is needed to install this stars hack? I don't want to drop Zajako's RPG hack ofcourse.

Thanks in advance.
Reply With Quote
  #374  
Old 02-27-2003, 08:16 PM
Jacko's Avatar
Jacko Jacko is offline
 
Join Date: Mar 2002
Location: UK
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Marcel tha Mast
yes and it works!
may i ask how :cheeky:
Reply With Quote
  #375  
Old 03-02-2003, 05:21 PM
Jacko's Avatar
Jacko Jacko is offline
 
Join Date: Mar 2002
Location: UK
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone got this to work on 2.2.9 yet??

if so can they MSN me??
Reply With Quote
  #376  
Old 03-12-2003, 10:25 PM
monstergamer's Avatar
monstergamer monstergamer is offline
 
Join Date: Feb 2003
Location: around the corner
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i ran the installer and it finesh but idont see any thing
Reply With Quote
  #377  
Old 03-13-2003, 01:22 AM
Serge's Avatar
Serge Serge is offline
 
Join Date: Jan 2002
Location: The Matrix
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Shadow_NL
When I'm editing my files I also need to edit this:

root/newthread.php

Step 2 of 2 find:

$DB_site->query("UPDATE user SET
".iif ($foruminfo[countposts],"posts=posts+1,","")."
$dotitle"."lastpost='".time()."' WHERE userid='$bbuserinfo[userid]'");

I couldn't find it, till I noticed that I already changed it with Zajako's RPG hack to:

// Zajako's Rpg hack pay per post
$DB_site->query("UPDATE user SET ".iif ($foruminfo[countposts],"posts=posts+1,","")." $dotitle"."lastpost='".time()."',rpgmoney=rpgmoney +'$moneynewthread' WHERE userid='$bbuserinfo[userid]'");
}
// end zajako's rpg hack pay per post

How can I edit this to the right code which is needed to install this stars hack? I don't want to drop Zajako's RPG hack ofcourse.

Thanks in advance.
Ok well the only thing that you added with Zajako's hack is:

PHP Code:
rpgmoney=rpgmoney+'$moneynewthread' 
If you could post the change you have to make I can give you something to replace with because it is just a matter of finding the differences and makeing it that way.
Reply With Quote
  #378  
Old 03-17-2003, 05:24 PM
Shadow_NL Shadow_NL is offline
 
Join Date: Mar 2002
Location: The Netherlands
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Find:

$DB_site->query("UPDATE user SET
".iif ($foruminfo[countposts],"posts=posts+1,","")."
$dotitle"."lastpost='".time()."' WHERE userid='$bbuserinfo[userid]'");
}

CHANGE it to:

// Zajako's Rpg hack pay per post
$rpgadmin = $DB_site->query_first("SELECT * FROM rpgmoneyadmin");
$payme=$rpgadmin[newthread];
$DB_site->query("UPDATE user SET ".iif ($foruminfo[countposts],"posts=posts+1,","")." $dotitle"."lastpost='".time()."',rpgmoney=rpgmoney +'$payme' WHERE userid='$bbuserinfo[userid]'");
}
// end zajako's rpg hack pay per post
Reply With Quote
  #379  
Old 03-18-2003, 04:35 AM
catocom2 catocom2 is offline
 
Join Date: Aug 2002
Location: Gainesville, Georgia
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need a slight bit of help on the index.php.

I installed this hack way back at ver 2.0.0.
It worked fine until I hada hacker crash my database for me. :ermm:
Anyway I'v installed updates up to 2.0.3, and ran the
forum for quite a while without stars, although the old
stars.php, and my star graphics where in place.
(also the database tables were still ok.)
I recently upgraded to 2.3.0, and decided to try this
again.
I did the upgrade, and ther were some slight changes, but I
got it working great.
The only problem I have is I made the new stars catigory
in the index.php, but since it's change so much I can't figure
out how to get the "add" & "modify" catigories under the header.
I uploaded the new stars.php, and if I go directly to it, everything
is in place. I just would like to get to it through the admin cp.

Thanks
This is still a great hack. :banana:

I stuck this in the index ????
Code:
//<!-- Stars Hack -->
maketableheader("User Stars");
makenavoption("Modify","stars.php?action=add","|");
makenavoption("Modify","stars.php?action=modify");
//<!-- Stars Hack End -->
Reply With Quote
  #380  
Old 03-18-2003, 04:46 AM
catocom2 catocom2 is offline
 
Join Date: Aug 2002
Location: Gainesville, Georgia
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

eh
nevermind I forgot I save this text file...
Got it working. :banana:

Code:
//Stars Hack
makenavoption("Add","stars.php?action=add","<br>");
makenavoption("Modify","stars.php?action=modify","<br>");
makenavselect("User Stars");
//End Stars Hack
Adaption Instructions by damicatz

Thanks Tubedogg and damicatz.
Reply With Quote
  #381  
Old 03-18-2003, 08:19 AM
floridaideal floridaideal is offline
 
Join Date: Aug 2002
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi all

I am really getting down with this hack, I went by the instructions and have changed all the files and used the modified code but then I started getting errors.

First was my registration, I could not see a way out so I replaced my hacked registration page with the original one. All seems ok and no difference to the hack.....or will it?

Now I just tried to modify a user group and I am getting '
Parse error: parse error, unexpected $ in /home/virtual/site76/fst/var/www/html/forum/admin/usergroup.php on line 308'

I did everything by the book, btw is there a copy of the stars.txt file that I can download so I can have another go and editing the files, the only information was in the installation file which I cant read again without wiping my tables.

Please someone, I am in urgent need of some help, thank you.
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 09:02 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.05557 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_code
  • (1)bbcode_php
  • (2)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
  • (11)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