![]() |
Ok I'll try this when I get home. Maybe usergroup.php didn't upload right or something, but I didn't see that in my Admin CP. Will try again when I get home, thanks! :)
|
Ok it works...Don't know what I was doing, but great! Thanks for this great hack! Going to put it on my real board now that I know it works...Yippiee! Thanks! :)
|
"The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:"
This is the error I get when I installed it on my main board. In the Admin CP, I click on either "Add" or "Modify" and that's what I get. Why.....?????? |
Ok everything works now...I accidently added some code twice in "usergroup.php" so under the admins and mods it said two times instead of one "image name, how many"...that thing..heh...its fixed now and it all works...Great hack, thanks again! :)
|
I am fairly new at this, I love the star hack though. I have version 2.2.2 and I am not sure which star hack to use, yours or the other one... if I use yours, do I still have to use the other one or yours completely replaces the other one? Don't even know why I am confusing myself but I am confused LOL!
I guess what I am trying to ask is, do I have to first install tubedogg's hack then yours? Or can I just do yours? |
I started modifying the files however I am stuck at this
****In newreply.php**** **Find if ($bbuserinfo[userid]!=0) { I just can't find that entry, I have looked at it over 5 times and I can't find it. Help please! Also what do I do first, modify the files or go to go to http://www.your-domain.com/forum/admin/mysql.php in your browser and login? The instructions are not very clear on what is to be done first. Please help me! And what does this mean? ****Tipp-Anfang**** Keep the empty lines!! (Beim ver?ndern der Dateien, darauf achten, dass die Leerzeilen erhalten bleiben.) ****Tip-Ende**** |
I found it, it was pretty well hidden LOL!
On to admin/misc.php It says to find maketableheader("Update Users Info</b> - </b>updates user titles<b>","",0); Now this is what is in my misc.php (using version 2.2.2) // ###################### 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(); ?> There is nothing on maketableheader("Update Users Info</b> - </b>updates user titles<b>","",0); Am I missing something? Please help me out! |
In vB 2.2.2 its the line:
PHP Code:
|
Quote:
|
So do I have to install his first? I already did the first step of his, where the tables are created... I am up to modifying files but I have been having lots of trouble just finding lines in misc.php and index.php
Can you take a look at his thread? I have spend all day trying to figure out this hack and I am a bit disappointed that I have gotten nowhere so far. :( |
I noticed most of the steps on his hack are very similar to yours, that is why I was asking if I have to do his first, then yours or if I can just do the rehack you did without having to do his first.... please tell me hahaha, this would make things a lot easier to understand.
Is the stars.php the same for both hacks? Are there other lines that are different from 2.2.1 compared to 2.2.2? I got as far as misc.php and then got stuck there! |
Yupp, the stars.php is the same one. ;)
If you are running a vB 2.2.1 or up do not install tubedoff's hack, couse some DB_quere are different and the entries in the AdminCP (read above in this thread). This was the reason why I have rehacked his version. My instructions should work if you are using a original vB without hacks. If you have modifyed you scripts be carefull with the changes. Just follow the instructions and if you have done everthing corretly it should work. :D The german instruction is better couse I am from Austria, so my german is better than my english. :cool: If you have backups from original PHP-Files compare them with "Beyond Compare". If the new scripts are not working you can find the errors more easier. |
Wolf thanks for a great hack rehack LOL, I figured it all out and it is running smoothy!!! Finally, now I am a happy camper, thank you so much for your help and patience, you rule! :D
|
i tried running /admin/user.php?s=&action=find thats were im talking about it wont show you.... users fields like location and the points hack ceaced working on new users also.... hmm but the strange thing is i can acess them as members if they have loged in the passed 24 hours and all other methods just cant see a solid list
|
I can confirm this works great in vb2.2.2
|
This works just fine in 2.2.4. The only problem I had was I got a parse error on line 81 of /admin/usergroup.php. So I commented that line out and it works great! Thanks for this great hack! :)
|
@Radon3k
Yes, I noticed that the "$DB_site->query("INSERT INTO usergroup .... (line 80)" is not in one line. The is a CR before "VALUES (NULL ... (line 81)". If you leave that part of the quere you get an parse error. Changed instruction and updated to vB 2.2.4. |
Hi Wolf,
does it work with 2.2.5, too? Guess so, since not much changed from 2.2.4. Am upgrading right now :) thx, -Tom |
Hi Tom!
Da keine gravierenden Ă„nderungen in vB 2.2.5 sind funzt der Hack noch immer. |
Danke :)
Dann leg ich mal los... thx, -Tom |
Hey Wolf, this works just fine on 2.2.5 and I didn't have to edit out that line! Thanks! :)
|
Hi there..i cannot find this query in the Admin/misc.php
maketableheader("Update Users Info</b> - </b>updates user titles<b>","",0); it is not given for any reason in the misc.php...i also control all other misc.php`s in the directories...but really i did nothing wrong the only query here is shown is this one: maketableheader("Update User's Titles","",0); maybe you mean this ?? if someone gots the vbportal..please call me @ ICQ i got a porblem to get in the administration my ICQ: 148041353 |
The line is in admin/misc.php at 330 (vb2.2.5)! And that is the one you "could" change, you must not. Just a notice. ;)
|
Wolf42-
Excellent! Installed without a problem. :) |
ok, when new users try to join my forumz, they get an error about the database, and I get this e-mail...
can someone help me plz??? [PHP] Database error in vBulletin 2.2.5: Invalid SQL: INSERT INTO user (userid,username,password,email,styleid,parentemai l,coppauser,homepage,icq,aim,yahoo,signature,admin email,showemail,invisible,usertitle,joindate,cooki euser,daysprune,lastvisit,lastactivity,usergroupid ,timezoneoffset,emailnotification,receivepm,emailo npm,options,birthday,maxposts,startofweek,ipaddres s,pmpopup,referrerid,nosessionhash,starlevel,stari mg) VALUES (NULL,'Ace','king','Calebmoore@hotmail.com','1','' ,'0','http://','','','','','0','0','1','n00b','1022669217','1', '-1','1022669217','1022669217','2','0','1','1','0',' 15','1986-6-4','-1','2','209.68.64.69','0','0','1','','','0','0') mysql error: Column count doesn't match value count at row 1 mysql error number: 1136 Date: Wednesday 29th of May 2002 03:46:57 AM Script: http://www.xtreme-forumz.net/register.php Referer: http://www.xtreme-forumz.net/register.php [/PHP} |
PHP Code:
|
sry, that didn't help, there is some problem in register.php and my vb is 2.2.5
|
Which version of Stars have you installed on your vB? Tubedoggs (for 2.0.3) or my Rehack?
Sorry, in register.php the code should be: PHP Code:
|
contact me on AIM plz!!
|
can you explain how can I have two different kind of stars on two different styles?? plz, cuz I need the color mtach kind of thing, so I have made seprate stars for each style, I was wondering if its possible to do that...
|
Quote:
Quote:
Find in admin/functions.php: PHP Code:
PHP Code:
|
Quote:
|
It dosn't matter if the line saying "Update user Titles" or "Update User Titles and Stars", the effect is the same.
|
Thnx Wolf42!! I luv ya man..
|
hmm i think mines messing up the same as webmasta's because i have the gender hak installed in that line so i'm not sure to put it but mine looks like
PHP Code:
|
First: What is your problem or what error do you get?
Second: In with file do you have this line? |
ok well all that works fine and I get no errors but now when people post or I add a moderator I have to update counters everytime. Is this because of a mySql query or maybe using quick reply?
|
You only have to update counters if you change the usergroup of a user (eg make him Moderator and Mods have different stars) or you change the configuration of the stars (lower or rise the postcount for a starlevel).
|
ok well i have been testing on just raising a test members post then posting but even then when i get to the amount of posts they need to get a new star it wont go on with out updating counters. got any ideas?
|
It seams that there is something wrong with you newthred.php/newreply.php!
Can you post the part from your newthread.php between // update user stuff (about line 267 in 2.2.6 original) and // send email to moderators (about line 288 in 2.2.6 original). And the same from newreply.php (324 to 345). |
All times are GMT. The time now is 11:31 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|