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)

Rapclick 01-18-2002 07:18 PM

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... :(

Chris 01-24-2002 01:41 PM

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.

Wolf42 01-24-2002 01:48 PM

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.

Chris 01-24-2002 01:50 PM

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

Appreciate it!

Rcooper 01-28-2002 12:04 AM

tubedogg, is this updated for 2.2.1? I can;t seem to find the code to change in index.php?

Massiel 02-12-2002 01:27 AM

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?

Massiel 02-17-2002 06:30 AM

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! :(

Massiel 02-17-2002 11:37 AM

Persistence pays off, please ignore my msg, I figured it out! Thanks !

Rachael 03-02-2002 02:34 PM

Massiel

I am having the same problem. What was your solution? Or can anyone else help?

isoking 03-02-2002 07:52 PM

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");
// ***


All times are GMT. The time now is 06:52 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.01559 seconds
  • Memory Usage 1,751KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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