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
  #312  
Old 01-18-2002, 07:18 PM
Rapclick Rapclick is offline
 
Join Date: Jan 2002
Location: IL
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i am sorry for replying so many times but i really need someones help users at my website cannot log backin and are recievign errors...
Reply With Quote
  #313  
Old 01-24-2002, 01:41 PM
Chris Chris is offline
 
Join Date: Oct 2001
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excuse for my ignorance, but what in the heck does this hack do? I've read through page after page in this thread and didn't really see a description of what this hack does.

I may have well missed it, and if so, I apologize, but I want to know what it does. There seems to be quite a bit of interest in it.
Reply With Quote
  #314  
Old 01-24-2002, 01:48 PM
Wolf42's Avatar
Wolf42 Wolf42 is offline
 
Join Date: Nov 2001
Location: Vienna, Austria, Europe
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Chris
Excuse for my ignorance, but what in the heck does this hack do? I've read through page after page in this thread and didn't really see a description of what this hack does.

I may have well missed it, and if so, I apologize, but I want to know what it does. There seems to be quite a bit of interest in it.
It is genating stars dependig on the number of postings.
Reply With Quote
  #315  
Old 01-24-2002, 01:50 PM
Chris Chris is offline
 
Join Date: Oct 2001
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ahhhh...okay thanks Wolf! I figured it was something along those lines, but wasn't sure

Appreciate it!
Reply With Quote
  #316  
Old 01-28-2002, 12:04 AM
Rcooper Rcooper is offline
 
Join Date: Nov 2001
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tubedogg, is this updated for 2.2.1? I can;t seem to find the code to change in index.php?
Reply With Quote
  #317  
Old 02-12-2002, 01:27 AM
Massiel Massiel is offline
 
Join Date: Feb 2002
Location: Australia
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I am going to be trying to install this hack on my forums. I previously used UBB and had a star hack there.

This of course is quite different, so I am having some enquiries.

I have 8 user titles in my forums. I would then need 8 different color stars, one for each, one for the mods and one for the administrator. I notice the hack only has 2 stars with it. Would it work to add more then 2, if so, where are they added, does it need to be modified, and if so, how?

I am new at this but I just love this hack and if I had to choose one hack out of all the hundreds out there, this would be the one. Please help me out!

It just looks so complicated, it asks to modify all those files yet there is an installer to upload? I don't see any explanations on what to edit, or does this become obvious once you start the installation?
Reply With Quote
  #318  
Old 02-17-2002, 06:30 AM
Massiel Massiel is offline
 
Join Date: Feb 2002
Location: Australia
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I tried doing it and run into some problems, here they are, somebody please help me!

It says to find this in admin/index.php

<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable">
<?php maketableheader("User Titles"); ?>
</table>
<a href="usertitle.php?s=<?php echo $session[sessionhash]; ?>&action=add"> Add </a> |
<a href="usertitle.php?s=<?php echo $session[sessionhash]; ?>&action=modify"> Modify </a>
</td></tr>

I looked everywhere, many times, all I can find close to that is:

<table width="100%" border="0" cellspacing="0" cellpadding="<?php echo iif($cpnavjs,2,5); ?>" id="navtable">

Why can't I find it? I see others had no trouble installing this hack...

Now the other one is at misc.php, says to find this:

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

This is all there is there:

// ###################### Start user choices #######################
if ($action=="chooser") {

doformheader("misc","updateuser");
maketableheader("Update User's Titles","",0);
makeinputcode("Number of users to do per cycle: ","perpage","1000");
doformfooter("Update");

doformheader("misc", "updateposts");
maketableheader("Update User's Post Counts</b> - does not add non-posting forums to total. (This will recalculate all of your user's post counts based on their CURRENT posts in the database. Do not run this if you have pruned posts or manually changed post counts and you wish to maintain their current counts.)<b>", "", 0);
makeinputcode("Number of users to do per cycle: ","perpage","1000");
doformfooter("Update");

doformheader("misc","updateforum");
maketableheader("Update Forums Info</b> - update forum post counts<b>","",0);
makeinputcode("Number of forums to do per cycle: ","perpage","100");
doformfooter("Update");

doformheader("misc","updatethread");
maketableheader("Update Thread Info</b> - update thread post counts, original posters, last post date, attachment totals<b>","",0);
makeinputcode("Number of threads to do per cycle: ","perpage","2000");
doformfooter("Update");

doformheader("misc","buildsearchindex");
maketableheader("Rebuild search index</b> - (very intensive, but rarely needed)<b>","",0);
makeinputcode("Number of threads to do per cycle: ","perpage",100);
makeinputcode("Thread number to start at: ","startat",0);
makeinputcode("Total number of threads to process: <BR>(0 for unlimited)","doprocess",0);
makeyesnocode("Include automatic JavaScript<BR>redirect to next page?","autoredirect",1);
echo "<tr class='".getrowbg()."'><td colspan=2><p><i>If you are reindexing, you may want to empty the indexes.</i> <a href=\"misc.php?action=emptyindex\"><b>Click Here to do so!</b></a></td></tr>";
doformfooter("Re-index");

doformheader("misc","removedupe");

maketableheader("Remove dupe threads</b> - (relatively intensive, but useful after importing posts)<b>","",0);
makeinputcode("Number of threads to do per cycle: ","perpage","500");
doformfooter("Remove");
}

cpfooter();
?>

Any ideas of what is going on? Please help!
Reply With Quote
  #319  
Old 02-17-2002, 11:37 AM
Massiel Massiel is offline
 
Join Date: Feb 2002
Location: Australia
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Persistence pays off, please ignore my msg, I figured it out! Thanks !
Reply With Quote
  #320  
Old 03-02-2002, 02:34 PM
Rachael Rachael is offline
 
Join Date: Mar 2002
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Massiel

I am having the same problem. What was your solution? Or can anyone else help?
Reply With Quote
  #321  
Old 03-02-2002, 07:52 PM
isoking isoking is offline
 
Join Date: Mar 2002
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just to help u all. here is a little change i made myself....

Where is says
Find In Admin/index.php
<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable">
<?php maketableheader("User Titles"); ?>
</table>
<a href="usertitle.php?s=<?php echo $session[sessionhash]; ?>&action=add"> Add </a> |
<a href="usertitle.php?s=<?php echo $session[sessionhash]; ?>&action=modify"> Modify </a>
</td></tr>

And Replace With:
<!-- Stars Hack -->
<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable">
<?php maketableheader("User Stars"); ?>
</table>
<a href="stars.php?s=<?php echo $session[sessionhash]; ?>&action=add"> Add </a> |
<a href="stars.php?s=<?php echo $session[sessionhash]; ?>&action=modify"> Modify </a>
</td></tr>
<!-- Stars Hack End -->

IGNORE THIS ABOVE.. USE WHATS BELOW
****************************

Find In Admin/index.php:

makenavoption("Add","usertitle.php?action=add","|" );
makenavoption("Modify","usertitle.php?action=modif y");
makenavselect("User Titles");
// ***

Add Below that:

makenavoption("Add","stars.php?action=add","|");
makenavoption("Modify","stars.php?action=modify"," |");
makenavselect("Stars Hack");
// ***
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 05:56 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05113 seconds
  • Memory Usage 2,316KB
  • 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
  • (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
  • (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