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)

Warez 03-09-2002 08:59 PM

For 3rd replacement in admin/misc.php, find

maketableheader("Update User's Titles","",0);

and replace it with

maketableheader("Update User's Titles & Stars","",0);

This is only cosmetic, but I have put it here for those who might want to know. Thanks to isoking for the updates on the admin/index.php file.

jbell 03-17-2002 04:46 AM

its late guys i tried installing the code at www.xtremesystems.org/forums - and it isn't working yet, any suggestions?

kvk007 03-18-2002 04:49 PM

Hi guys! in admin/index.php

I can not find those lines!!!

>>>>>>>
<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>

dimitr| 03-18-2002 09:28 PM

Doesn't the post 3 posts above yours address this?

Wolf42 03-19-2002 04:42 AM

Quote:

Originally posted by kvk007
Hi guys! in admin/index.php

I can not find those lines!!!

>>>>>>>
<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>

You can't find that, couse that is the code in vb 2.0.3. If you have an vB 2.2.1 and above the code is different.

Champion 03-23-2002 11:43 AM

Hi!
I've installed the hack, but I would like to have two different star-colors for one User-Title (e.g.: User-Title: Special Member; User-Star: 1 gold, 2 silver)....
Do you understand what I mean?

How can I do that?

iconic 03-30-2002 02:07 AM

Also, I'm a bit of a n00b to editing but I believe I've found something..

For 2.2.4 For Step 2 In usergroup.php, you want to find:
Quote:

if ($HTTP_POST_VARS['action']=="insert") {

$DB_site->query("INSERT INTO usergroup (usergroupid,title,usertitle,cancontrolpanel,canmo difyprofile,canviewmembers,canview,showgroup,canse arch,canemail,canpostnew,canmove,canopenclose,cand eletethread,canreplyown,canreplyothers,canviewothe rs,caneditpost,candeletepost,canusepm,canpostpoll, canvote,canpostattachment,ismoderator,canpubliceve nt,canpublicedit,canthreadrate,cantrackpm,candenyp mreceipts,maxbuddypm,maxforwardpm,canwhosonline,ca nwhosonlineip,cangetattachment)
VALUES (NULL,'".addslashes($title)."','".addslashes($user title)."',$cancontrolpanel,$canmodifyprofile,$canv iewmembers,$canview,$showgroup,$cansearch,$canemai l,$canpostnew,$canmove,$canopenclose,$candeletethr ead,$canreplyown,$canreplyothers,$canviewothers,$c aneditpost,$candeletepost,$canusepm,$canpostpoll,$ canvote,$canpostattachment,$ismoderator,$canpublic event,$canpublicedit,$canthreadrate,$cantrackpm,$c andenypmreceipts,$maxbuddypm,$maxforwardpm,$canwho sonline,$canwhosonlineip,$cangetattachment)");
And replace it with:

Quote:

// Star Hack
if ($HTTP_POST_VARS['action']=="insert") {

$DB_site->query("INSERT INTO usergroup (usergroupid,title,usertitle,starlevel,starimg,can controlpanel,canmodifyprofile,canviewmembers,canvi ew,cansearch,canemail,canpostnew,canmove,canopencl ose,candeletethread,canreplyown,canreplyothers,can viewothers,caneditpost,candeletepost,canusepm,canp ostpoll,canvote,canpostattachment,ismoderator,canp ublicevent,canpublicedit,canthreadrate,cantrackpm, candenypmreceipts,maxbuddypm,maxforwardpm,canwhoso nline,canwhosonlineip)
VALUES (NULL,'".addslashes($title)."','".addslashes($user title)."','$starlevel','$starimg',$cancontrolpanel ,$canmodifyprofile,$canviewmembers,$canview,$canse arch,$canemail,$canpostnew,$canmove,$canopenclose, $candeletethread,$canreplyown,$canreplyothers,$can viewothers,$caneditpost,$candeletepost,$canusepm,$ canpostpoll,$canvote,$canpostattachment,$ismoderat or,$canpublicevent,$canpublicedit,$canthreadrate,$ cantrackpm,$candenypmreceipts,$maxbuddypm,$maxforw ardpm,$canwhosonline,$canwhosonlineip,$cangetattac hment)");
// Star Hack End
Tell me If I'm wrong, but I noticed that 2.2.4 has $cangetattatchment, and I knew that was at least somewhat important.. :)

iconic 03-30-2002 02:29 AM

update :

Installation worked fine, and I think what I did helped.. I can still view attatchments, at least :)

The Matrix 7 04-01-2002 02:48 PM

hello iconic,

you have forget the $showgroup 2 times and the $cangetattatchment 1 time.

I think the corect Code is this:


if ($HTTP_POST_VARS['action']=="insert") {

$DB_site->query("INSERT INTO usergroup (usergroupid,title,usertitle,starlevel,starimg,can controlpanel,canmodifyprofile, canviewmembers,canview,showgroup,cansearch,canemai l,canpostnew,canmove,canopencl ose,candeletethread,canreplyown,canreplyothers,can viewothers,caneditpost,candele tepost,canusepm,canpostpoll,canvote,canpostattachm ent,ismoderator,canpublicevent ,canpublicedit,canthreadrate,cantrackpm,candenypmr eceipts,maxbuddypm,maxforwardp m,canwhosonline,canwhosonlineip,cangetattachment)
VALUES (NULL,'".addslashes($title)."','".addslashes($user title)."','$starlevel','$stari mg',$cancontrolpanel,$canmodifyprofile,$canviewmem bers,$canview,$showgroup,$cans earch,$canemail,$canpostnew,$canmove,$canopenclose ,$candeletethread,$canreplyown ,$canreplyothers,$canviewothers,$caneditpost,$cand eletepost,$canusepm,$canpostpo ll,$canvote,$canpostattachment,$ismoderator,$canpu blicevent,$canpublicedit,$cant hreadrate,$cantrackpm,$candenypmreceipts,$maxbuddy pm,$maxforwardpm,$canwhosonlin e,$canwhosonlineip,$cangetattachment)");

unclejojo16 04-01-2002 10:41 PM

PK  ?*+???` d star2.gifs?t??L?f?bX? ?Ҁ?????3??93s?L???OFv?
?Zf͊*?ݩ > ?/?66??n0'??????Uy?Is?b
??ϙ?? PK  L??*?o??? m stars.php?V]o?6}?~?
k?2?Y??A?hX?4)gC?#RItE*^0???R??5?u????uyy? 9?ix2Kg^??????A???ܟUSH?ߜ?E??<x?y^ɿT??>??L> Ҭ? H???(?E?ɩ/D????(???? ?Jz?t͖x?r?x????/???o?X Yt?pЅ< ??\2???c??3E????{?@???>?I?$? <??D?????\a??P?ԦK??>qM3???9
>?:2?̳,?Y?c?3 ?J?? ?E??X9?r?|&?????T$G]?C?ӭ>?B?U3??G?y??\???DJm?8 [ ȁ?6?Y???gJh???K???\\?D? \\M??????^Sq??ۅ?O/o???n//{??"??7Mt?=?
??k?ߣ??<N%??l4??,????a0??էظ2?y? ?R
/??!???Ix????h?D?mŕ??>???????????C???:?j??S^?? hɑ???] ?0™8??`?F<? ?!??8??e??v? ????8???=G`? ???6c??b?B??T ???߅Y4??]??\??Lm4?A~=????????jN?ߚ??m?4 ??{Ȁ`?nmNɒ????x~:??7?ʘ?kzljۛ?.??z6?i+ cG?>~?n???o?2??|???)e?P?h??1E??]?i????xƱ ????e???ؔ???}W?\?P?&uBoS?????'?e??' ?w????P ?;?? ?r?-?8?;4?ec?K???׬~??w???y4??O??A?p?2??<?M?rr ?u?>в?/????"[m? ?X{??N\??W]?D??ЂC<?T??????ڬUP??????#??J?e80?b?w??Ix?j?^ 4???;?o,??i?W?ҝI?k?Z??3Q<Y??_??Ű_R?1?&/[4?'?-ٝ#|G~?c? d`˵9?\㈭??u?? F?LP+%???I??>?-_R'??PK   ?--+~??? ?a  install_starshack.php?=?s?H???*??A??v??G?-X?BGn??W[??dil??5B;?????{FO+???/?
?c????Ӛ???????{<?E?)摈?N????ݿw?^̿???7?vg??? ?????h???M?/}???tℽv???0L?<f?>?ӻ~G?4???:?ӆ?Ը0ċ%??? ?dš????????p?9??_?l??m?????b;?n????KvJ G????bG?k_qLSN?$qc???f????O?G???y?J"?H$??fze? ??9????fo$?*?﹈=?0,?c?Z??????Xa`l????iw?? ?<S??잂??E?_?
| ??ǜI?Ҧl{??D>3??_ H?K?v?@??@M?+?????9?@?u?W??/w???Ѡ??i??v?@???mwQ>??S'??=Dpv????L?? ??? ??K?????{?D.?mq?@jw?$1?E;????)???@??)??? ?^?aIl>zn???,???c? +q?d;???~???ǖ??>?=9??^??7??&?6~?}???G???A 9???}9.?w?L??x9??~?KA??O???qĘJ=?t#?? mW?:c?g?d*?%?r<?E?ե?ٽ_??)???pi?F?~??l’ص
7???hO?qqx?м,K ??%?c2??$2="?#^kBxe*8?? a ?f?G????W4P4B??Q??d?$??;?h?%C?N???fw ?d}???d}?|??~v????r?J)|~~ޮ????F<&
;d?? ???s7?~?{bX??3??D?4G?ͺ??f?p???q??L?S?? ?A???V? ?4???C??De'??]????Z~??N?Ǭ?~Rp TjCc#G?K?ef?i?qL????R?Q>?|2?6????K?N?p?i O0ޜ3펙S?\ۊtD?~'?`?S???C?!?p,???f<??? # ???<???y?K>??Z????9a U_?/?? 8?KFq?p5?H8?Χ>?(O x????95?0%?@?x'??? = ?B @?{>F@l Ė? T?'??!7???,???v?n???#?q???S???:??>ͥv
??O????i?)$?e?iY?????=?譵$Au ???c"??)?5????AAh4n?2??ֽxa
?y4?!t? أ`??s? j???????Ѽ3=???~?2?+?K?z??S????h!F&?????F +?^?b?b뗱?"h?? ??`?!ک?Mj?Ch??7??ė/_|?ŷ_?<^6??'???p???(?F?VZ?
Nt34???a??/xp?N?q7?2?]k?J?tDw?8?)c????P?t:G?9?Hݼ?4|,?@??!Q??????? q,fdR?????D?L?j?%???A8????ɽ2$????y(?4`> Y#?[c??@?b3E?M??m?  _`??*E/????N?<Q$$˽)??f???mZ?)cF!???? "N? BC|?!?V??????[??]?????!X?5ʛFJ??vE??O??E?eMOt???|????? D?0?????
Y??`o?
???GG̙K??] >D??M???X??$l??? vZ}??6??Yy}|r?f???????&,imhY?^??A??l($ !r?"??ׇ?T???{???9eA????Z??B?F?-0ӳ?i?Ԡ????f?
?i?b??b?‰??{?辊j۵懕
\?u??ţ?IzD&)]Z??^??ԅ?XL???F?, /???7??OY??#?$??|?Κ;)???ˑ?G?ߔ^?|??L?? Ee?#?I?e ????????3?q ?n?z?1W??(k???*L\O?=X9? ?T)<?Ȁw? >?@?x?Z?FR?e???????_?-K?\?y?vww?<1U ?R.?W?^???O???*???k???nH?L???rd??>A?Eva|??:?? ?."F??\#N?U??Ⅽv?iW????_4}?y???f't???? v????y?? \?t??>?@ ??????궴??)@???HVMJ?d??*???lEypR?@?5?]?????(Sa??`{??d???\,???=\?? qC??rk?ڏb>P?AVi4?LM8T?????m?B??Jua??)???牄 Y??A??N*u?r???kWq??A????ܔW"t\1%EDg:G͘I?? ]?П?~?Ȧqzpt???ݽ???W'??<??^?<??ٍ*1???9n?P?q ???rfgy??-s??7??"K?_??"r?*??ػ??`??#_??7?C??ho?4?" ?3?
?W?&?f??L????/A?%L?J?"t?gO(V ?S??Ҭ??~?A??Q? ??V? ??j?Uѳ?k???????_?Z??Ӄan?3??Ū`?צ?u?r?6?? ?x*?l???F[?3ބ?????I??u????rFY??r???WS???F? nF?i#?R??+{?z??Ef???jdP??X??JP?|Н??A??m?`w??F? ???S+d7?z?k??s=U??????i??<f??ML78?ƒ???\????Xp\? ބ?e??:C%ٛ????J?h#Wt?#?yцnh'D???X???oON?? ????2?Me?,?:3nE w]Y|???e?Q`h??????6"@>???+?????T?x?L???_,ǟYKg*??_> 9??EiA? ??+?Ľ@??[??Z?0GGr .>???{?2??y?-4????p??—K? ?Z??????8?R?#{=???/B+?.?<??w"?+?= ?F~,?0?5s??ܑK1>????c?/?IbE?HD?`?y CQ???b????8eM?L?z&???'ͩ?I?]? ?)H??;$ ?G???????*$??S?XrxrI?g5f???N%??? &?5Yڬ! \-?2!ԓ?E?2iěL W?d???9{"S*???C?E???WR1?U@e??}V?f???@?-?+?S????<ՄZ???Q?:???֚չ?D??????R?,?LQ??
?Kr??ߚٸ3??ʄZ+QĝQ?3?wF?V??UɊ??!?+$Hof?Z?Z???_ ?^ ?k????p??D~h?rtF;cM???h?r?iiU?h?ۻϘ?>F?1 ???}Jx?E3?R|4??t]9?V?d??֭?ezŗI???][?!nҳ>S??,M??qr?ڀwv??????0&z??? O!|̎!|4?
:>??˲??1ӻ?V0?.???.??}?~?g0{??????s+?1???? ????m?΂?"?R?? ?4=?c?!:?$?r????x?t?? oH? *???=?q7?C}P4l??
? ?oz?????FyC?@鴼????Y?e?PP
:???k?Ƅ.1??????]??S??Zo
?? ???]???6B=????Rzw???
??Ji.ݲ?Jwy?t?n?ۭU?5??????d??.(???ƞ????N??,)o? ???f???
6??x;)^?I%w7?ظٷ?
>5??4n??q???*x?֯????&????}:??%(}?2???g?????| ???JA??q7?????Ox?Y?(w???U?<?̈́?QN?%`?????S? Dф?a?oF??iu??6???P???M?(bU?G?G,VK[???|t?r?5<????X??T??? LΕ??x??!J??9?1???
|???n??8<q+???i??⑊[\?2V+q?ɩ???
?W??:?g?v?C0Z?????_联'w`?>X,??o??b<?#??e?X 1?n?9????^e?7?W?(Cl????;~?}???CCE?
?7|??m??[??????,?,??]'Ī???F? ܫX;?n\? ????Iz?????tVޡ?$To?t??,4?x<???m?xO{?5p (%??
<???T?Y:v$?c!$O?9R:??Λ? ?
OK????G?????p #??B2v ?@?q<.???"?`?~4?<x??c?;??Z?OE"Bt??;?B???pQ??7 Kދӿf??
?
?{??<43&?.?)??*#?"'?
+?2/?"3?27͌?f??f?Ps??f??f??f??f??f???*_?c?g?2k?*o?? ??ꁀ??W3|???^?,a?,?? ?[?G?̏?\c?ٕ?M?R? 7?n?? sk7?Z????ӳ[?~?o?[?`?SΏ????age?x}?{t
?[??P??T??}?=̤?^k+?6/?s?y????zO?=?]?m?zG۬?????3m??y??:Wj?k|?m^?hms???? ??m^??m??G?f?????m??p?\??m???????? n?6W??-??E?m??ls]?`??yq(a?k# ??x.ʗ?????-@1/]????t-?ي;[qg+6???e?k
T??Ã7?G`!?Z????4s?~???BBU?p ????<.?/?yT????@?jF??p*nU*`ZRn\13??t??BQ???V??q???cUg?Z ؈?dal.?j ?E?U?????Rz???M???oZ\??s????,I8?Nj*?e?ׇ??s ?????
g?ʡP???e?%?????$/????I???L}??A?????m??5??;
??'\???n??g??v??j??|;`6uX,S??e??c?????
??ǹj??{?L
Z?b?j???]B?? AP?g?j62Bn?z۪?Kyh???x$?*rMJ2͠W?D\??nOO???jhU? ???\Jj<S+m<???3ڥZOX5????!0)??/_?U\?|?@?%s?:?????????1?{??u?)f s8`6p???K?RS?J?
??1?,i?E2???????v?윪?]?(?T????,?"t??-???P?IW?k=ͭ???O?z??mi?d?'?PDm?ȑӎݱ?EW- W&??Tj??QT-?Q?7N?D?$??*a???QZ??n?Z:|?y???g?6q?ͫR?@? ??!/0??c0?HN?HO?vtū??8>?]?ݩL=??o?????c{???? ?? ?5??J??EU'>??а?`??5?.c_??n?p?dao?h(???+H2 U? %<??k?IQ??9-????@r????6??N???Υ\疼 ????7?`?T̓??0,}<«?^?OE?z??U'ieK??B=K?! 4#??-? ćՏ??j?s?Y??X???&N?yI??"n??"Z>S?k*??N??|13?U ?9?-)?????PK  ?*+?)o?` e  star.gifs?t??L?f?bX? ?1l???`,????L
*?dad``g?? ?u`֪?
ݭ*?У??rV?,??FA]JEyA?????<?j??]x̰i?2#?5 PK   ?*+???` d ?? star2.gifPK   L??*?o??? m  ??? stars.phpPK    ?--+~??? ?a   ??? install_starshack.phpPK   ?*+?)o?` e  ??? star.gifPK   ? 

unclejojo16 04-01-2002 10:41 PM

all that pops up when i get it

xtrim 04-03-2002 10:48 AM

Hi,

I got a question for tubedogg.

First of all thanks for the hack.. my users really appreciate this forum feature.

Im trying to figure out on how to display star information on the welcome panel hack or the avatar in homepage hack. Could you point me out on doing this? I see I can get starlevel information from user table using the global bbuserinfo, but thats as far as I can get for getting some of the starlevel information needed.

Thanks in advance!

Emma 04-11-2002 04:51 AM

I have a slight problem with this hack.... for awhile it wouldn't let people register, but I was able to fix that. the problem now is when people register, it takes them to the redirect page telling them click here to go back to where you were, thank you for registering.. blah blah blah, thing is tho, when they click it goes back to the main page and while it shows them as online in the online box at the bottom, the mainpage is that as if they are unregistered. I have a welcome panel/vbstats thing at the top of the main page that only registered members can view, and for some reason the new members can't see this. While showing there name as being online, it still has the log in box at the bottom and the log out link isn't there, meaning they aren't logged in...

Another weird point on this is that when they are taken to the redirect page after registering, if they click on the image at the top to return to the main page, it shows up like they are an actual member, but not if they click on the link that says, click here to return to where you where....

Also the redirect page that they are taken to after registering is the error_registeremail template instead of the normal page.

With the star hack uninstalled, I don't have this problem. Any pointers?

Thanks!
Emma

Emma 04-14-2002 06:14 PM

bump! I still need help on this!

OmegaDB 04-14-2002 10:38 PM

Does this work with 2.2.5?

I've heard rumours that maybe it doesn't, or at least causes issues.

Can anyone confirm this one way or the other?

Unknown553 04-15-2002 02:05 AM

Runs fine on 2.2.5....

Emma 04-15-2002 02:45 AM

got my problem cleared up!

Elly 05-06-2002 07:35 PM

It isnt working for me ~ sniffles ~ the line in the admin index.php is not on mine >.< can someone please help me ?

ZiRu$ 05-06-2002 07:58 PM

I guess I'll try to install it on 2.2.4

Webmasta XT 05-29-2002 01:34 AM

ok, when new users try to signup at my forumz, they get a database error, and I get a e-mail saying this..

PHP Code:

Database error in vBulletin 2.2.5:

Invalid SQLINSERT INTO user
(userid,username,password,email,styleid,parentemail,coppauser,homepage,icq,aim,yahoo,signature,adminemail,showemail,invisible,usertitle,joindate,cookieuser,daysprune,lastvisit,lastactivity,usergroupid,timezoneoffset,emailnotification,receivepm,emailonpm,options,birthday,maxposts,startofweek,ipaddress,pmpopup,referrerid,nosessionhash,starlevel,starimg)
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 errorColumn count doesn't match value count at row 1

mysql error number: 1136

Date: Wednesday 29th of May 2002 03:46:57 AM
Script: [url]http://www.xtreme-forumz.net/register.php[/url]
Referer: [url]http://www.xtreme-forumz.net/register.php[/url] 

PLZ SOMEONE HELP ME OUT, I have lost 40 members already.. :'( and its hasn't even been one day..

Webmasta XT 05-29-2002 10:21 AM

never mind, I just undid the register.php part, and evrything is fine, One question though, How can I make 2 different images display on 2 different styles, like I wanna display one type of stars at one style and different type of star at another...
is it possible?

sharkito 06-06-2002 03:41 PM

Does the hack work for vB 2.2.6 without alterations ?

N9ne 06-20-2002 03:04 PM

bump, does it work with 2.2.6 without alterations??

Bro_Joey_Gowdy 06-26-2002 06:27 PM

Im useing vB2.2.6 and thus for have only run into 2 errors during the install - listed below is how I corrected it for vB2.2.6 :

Quote:

Original Version
admin/index.php
Step 1 of 1 find:
<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>
Just under that add:
<!-- 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 -->

Corrected Version
Find In Admin/index.php:
makenavselect("Users");
// ***
Add Below that:
makenavoption("Add","stars.php?action=add","|");
makenavoption("Modify","stars.php?action=modify");
makenavselect("Stars Hack");
// ***
and:

Quote:

Original Version
admin/misc.php
Step 3 of 3 find:
maketableheader("Update Users Info</b> - </b>updates user titles<b>","",0);
Replace That With:
// Stars Hack
maketableheader("Update Users Info</b> - </b>updates user titles and stars<b>","",0);
// Stars Hack End

Corrected Version
admin/misc.php
Step 3 of 3 find:
maketableheader("Update User's Titles","",0);
Replace That With:
// Stars Hack
maketableheader("Update User's Titles and Stars","",0);
// Stars Hack End

Gary King 06-29-2002 04:20 AM

[QUOTE]Originally posted by Bro_Joey_Gowdy
Im useing vB2.2.6 and thus for have only run into 2 errors during the install - listed below is how I corrected it for vB2.2.6 :



and:


GrayFOX 07-05-2002 12:44 AM

<font color="009999">
can somebody tell me how to install this Hack, I'd try it but I don't have found a script in the admin/index.php which I have to repleace or take it under ... I have a vBulletin 2.2.6 version can it be that it goes only in the 2.2.3 version?

THX Raiden
</font>

Gary King 07-05-2002 12:47 AM

[QUOTE]Originally posted by GrayFOX

can somebody tell me how to install this Hack, I'd try it but I don't have found a script in the admin/index.php which I have to repleace or take it under ... I have a vBulletin 2.2.6 version can it be that it goes only in the 2.2.3 version?

THX Raiden

justsomedude 07-05-2002 12:29 PM

I too was able to install the stars on 226 & so far I see no problems.

The only alterations from the install srcipt I used were the ones posted by Bro_Joey_Gowdy a few posts up.

Additionally, One or 2 of the other modifications to the scripts didn't match evactly, but I replaced them anyway, and as I said, everything seems to be working perfectly.

As always, just be wise and back up your database & modified files before hand in the event of a problem. :squareeyed:

Gary King 07-05-2002 01:06 PM

[QUOTE]Originally posted by justsomedude
I too was able to install the stars on 226 & so far I see no problems.

The only alterations from the install srcipt I used were the ones posted by Bro_Joey_Gowdy a few posts up.

Additionally, One or 2 of the other modifications to the scripts didn't match evactly, but I replaced them anyway, and as I said, everything seems to be working perfectly.

As always, just be wise and back up your database & modified files before hand in the event of a problem. :squareeyed:

Gary King 07-05-2002 01:49 PM

The hack works on my test board, so that's one step better than where I was before :) Now I'll just have to figure out which hacks is clashing with the stars one :ermm:

warpeditor 07-09-2002 08:23 AM

I have installed this hack and changed 2 files as Bro_Joey_Gowdy wrote.

Stars showed up and everything works fine except newreply.php. When i click the reply button, it says

Quote:

Parse error: parse error, unexpected $ in /home/somewhere/public_html/newreply.php on line 539
What is this mean? I checked newreply.php line 539 but there's only ?> there.

Any ideas?

Bro_Joey_Gowdy 07-09-2002 12:00 PM

here is my newreply.php

[quote]
<?php
error_reporting(7);

$templatesused = "quotereply,newpost_postpreview,email_notify,email subject_notify,redirect_postthanks,email_moderator ,emailsubject_moderator,threadreview,threadreviewb it,newpost_attachment,newpost_disablesmiliesoption ,forumrules,newreply,posticons,posticonbit";
$templatesused.=",vbcode_smilies,vbcode_smiliebit, vbcode_smilies_getmore,vbcode_buttons,vbcode_sizeb its,vbcode_fontbits,vbcode_colorbits";

require("./global.php");

// get decent textarea size for user's browser
$textareacols = gettextareawidth();

$action = trim($action);
if (!isset($action) or $action=="") {
$action="newreply";
}

unset ($postpreview);
unset ($parseurlchecked);
unset ($emailchecked);
unset ($disablesmilieschecked);
unset ($signaturechecked);
unset ($previewchecked);
$rate = array();

// check for valid thread or post

if (isset($postid)) {
$postid=verifyid("post",$postid,0);
if ($postid!=0) {
$postinfo=getpostinfo($postid);
$threadid=$postinfo[threadid];
if ($postinfo[userid]==0) {
$originalposter=$postinfo[username];
} else {
$getusername=$DB_site->query_first("SELECT username FROM user WHERE userid='$postinfo[userid]'");
$originalposter=$getusername[username];
}
if ($postinfo[title]!="") {
$title="Re: ".unhtmlspecialchars($postinfo[title]);
}
$postdate=vbdate($dateformat,$postinfo[dateline]);
$posttime=vbdate($timeformat,$postinfo[dateline]);
$pagetext=$postinfo[pagetext];
$pagetext = preg_replace("/(\
Quote:

)(.*)(\[\/quote])/siU", "", $pagetext);
eval("\$message = \"".gettemplate("quotereply",1,0)."\";");
}
}

$threadid=verifyid("thread",$threadid);

$threadinfo=getthreadinfo($threadid);

if (!$threadinfo[visible]) {
$idname="thread";
eval("standarderror(\"".gettemplate("error_invalid id")."\");");
}
if (!$threadinfo[open]) {
if (!ismoderator($threadinfo[forumid],"canopenclose")) {
eval("standardredirect(\"".gettemplate("redirect_t hreadclosed")."\",\"showthread.php?s=$session[sessionhash]&threadid=$threadid\");");
exit;
}
}

$permissions=getpermissions($threadinfo[forumid]);
if (($bbuserinfo['userid']!=$threadinfo['postuserid'] or $bbuserinfo['userid']==0) and (!$permissions['canviewothers'] or !$permissions['canreplyothers'])) {
show_nopermission();
}
if (!$permissions['canview'] or (!$permissions['canreplyown'] and $bbuserinfo['userid']==$threadinfo['postuserid'])) {
show_nopermission();
}

updateuserforum($threadinfo['forumid']);

// ############################### start post reply ###############################
if ($HTTP_POST_VARS['action']=="postreply") {

// check for subject and message
$message=trim($message);
if ($message=="") {
eval("standarderror(\"".gettemplate("error_nosubje ct")."\");");
exit;
}

// decode check boxes
$parseurl=iif(trim($parseurl)=="yes",1,0);
$email=iif(trim($email)=="yes",1,0);
$allowsmilie=iif(trim($disablesmilies)=="yes",0,1) ;
$signature=iif(trim($signature)=="yes",1,0);
$preview=iif(trim($preview)!="",1,0);

if ($wordwrap!=0) {
$threadinfo[title]=dowordwrap($threadinfo[title]);
}

$foruminfo=getforuminfo($threadinfo[forumid]);
$forumid=$foruminfo['forumid'];

if ($foruminfo['allowposting']==0) {
eval("standarderror(\"".gettemplate("error_forumcl osed")."\");");
}

$visible=!$foruminfo[moderatenew];

// auto bypass queueing for admins/mods
if (ismoderator($foruminfo[forumid])) {
$visible=1;
}

if ($parseurl) {
$message=parseurl($message);
}
// remove sessionhash from urls:
$message=ereg_replace("&sessionhash=[a-z0-9]{32}","",$message);
$message=ereg_replace("\\?sessionhash=[a-z0-9]{32}","",$message);
$message=ereg_replace("&s=[a-z0-9]{32}","",$message);
$message=ereg_replace("\\?s=[a-z0-9]{32}(&)?","?",$message);

if (strlen($message)>$postmaxchars and $postmaxchars!=0) {
eval("standarderror(\"".gettemplate("error_toolong ")."\");");
}

if ($preview) {
$previewpost=1;
$previewmessage=bbcodeparse($message,$threadinfo[forumid],$allowsmilie);

if ($signature) {
$post['signature'] = bbcodeparse($bbuserinfo['signature'],0,$allowsmilie);
eval("\$post[signature] = \"".gettemplate("postbit_signature")."\";");
$previewmessage.=$post['signature'];
}

eval("\$postpreview=\"".gettemplate("newpost_postp review")."\";");

$parseurlchecked=iif($parseurl,"checked","");
$emailchecked=iif($email,"checked","");
$disablesmilieschecked=iif(!$allowsmilie,"checked" ,"");
$signaturechecked=iif($signature,"checked","");
$previewchecked=0;

if ($rating) {
$rate["$rating"] = " selected";
}

$action="newreply";
} else {

$username = $HTTP_POST_VARS['username'];
$password = $HTTP_POST_VARS['password'];

if (isset($username) and !isset($bbuserinfo['username'])) {
$username = trim($username);
$username = eregi_replace("( ){2,}", " ", $username);

if (!$username) {
eval("standarderror(\"".gettemplate("error_nousern ame")."\");");
}
if ($userinfo=$DB_site->query_first("
SELECT user.*,userfield.*
FROM user,userfield
WHERE (username='".addslashes(htmlspecialchars($username ))."' OR
username='".addslashes(eregi_replace("[^A-Za-z0-9]","",$username))."') AND
user.userid=userfield.userid")) {
if (!$password) {
eval("standarderror(\"".gettemplate("error_usernam etaken")."\");");
} elseif (md5($password)!=$userinfo['password']) {
eval("standarderror(\"".gettemplate("error_wrongpa ssword")."\");");
} else {
$bbuserinfo = $userinfo;
$postusername = $bbuserinfo['username'];

if ($user['cookieuser']==1) {
vbsetcookie("bbuserid",$user['userid']);
vbsetcookie("bbpassword",$user['password']);
}
$DB_site->query("UPDATE session SET userid='$bbuserinfo[userid]' WHERE sessionhash='".addslashes($session['dbsessionhash'])."'");
}
} else {
$postusername = htmlspecialchars($username);
}
} else {
$postusername = $bbuserinfo['username'];
}

if ($enablefloodcheck) {
if ($bbuserinfo[userid]!=0 and time()-$bbuserinfo[lastpost]<=$floodchecktime and !ismoderator($foruminfo[forumid])) {
eval("standarderror(\"".gettemplate("error_floodch eck")."\");");
exit;
}
}

// check max images
if ($maximages!=0) {
$parsedmessage=bbcodeparse($message,$forumid,$allo wsmilie);
if (countchar($parsedmessage,"<img")>$maximages) {
eval("standarderror(\"".gettemplate("error_toomany images")."\");");
exit;
}
}

if ($logip==1 or $logip==2) {
if ($temp = getenv("REMOTE_ADDR")) {
$ipaddress = $temp;
} else if ($temp = $REMOTE_ADDR) {
$ipaddress = $temp;
} else {
$ipaddress = $HTTP_HOST;
}
} else {
$ipaddress="";
}

if (!isset($iconid) or $iconid=="") {
$iconid=0;
}
$iconid = intval($iconid);

$permissions=getpermissions($threadinfo['forumid']);
if (($bbuserinfo['userid']!=$threadinfo['postuserid'] or $bbuserinfo['userid']==0) and (!$permissions['canviewothers'] or !$permissions['canreplyothers'])) {
show_nopermission();
}
if (!$permissions['canview'] or (!$permissions['canreplyown'] and $bbuserinfo['userid']==$threadinfo['postuserid'])) {
show_nopermission();
}

/*if ($bbuserinfo[userid]==0) {
$postusername=$bbuserinfo[username];
} else {
$postusername="";
}*/

$title=censortext($title);
$message=censortext($message);

// sort attachement
if (is_array($HTTP_POST_FILES)) {
$attachment = $HTTP_POST_FILES['attachment']['tmp_name'];
$attachment_name = $HTTP_POST_FILES['attachment']['name'];
$attachment_size = $HTTP_POST_FILES['attachment']['size'];
}
if ($permissions[canpostattachment] and trim($attachment)!="none" and trim($attachment)!="" and trim($attachment_name)!="") {
$attachmentid=acceptupload($foruminfo[moderateattach]);
} else {
$attachmentid=0;
}

if ($email&&$bbuserinfo[userid]!=0) {
if (!$checkid=$DB_site->query_first("SELECT subscribethreadid FROM subscribethread WHERE userid=$bbuserinfo[userid] AND threadid=$threadid")) {
$DB_site->query("INSERT INTO subscribethread (subscribethreadid,userid,threadid) VALUES (NULL,$bbuserinfo[userid],$threadid)");
}
}
// see if there has been a post identical to this in the last 5 mins. If so, update that one, as user has probably done a double post
$datecut=time()-300;
if ($prevpost=$DB_site->query_first("SELECT attachmentid,postid,visible FROM post WHERE threadid='$threadid' AND username='".addslashes($postusername)."' AND userid='$bbuserinfo[userid]' AND title='".addslashes(htmlspecialchars($title))."' AND dateline>$datecut AND pagetext='".addslashes($message)."'")) {
$postid=$prevpost[postid];

if ($prevpost[attachmentid]!=0) {
$DB_site->query("DELETE FROM attachment WHERE attachmentid = '$prevpost[attachmentid]'");
if ($attachmentid==0) {
$DB_site->query("UPDATE thread SET attach = attach - 1 WHERE threadid = '$threadid'");
}
}
$DB_site->query("UPDATE post SET title='".addslashes(htmlspecialchars($title))."',p agetext='".addslashes($message)."',allowsmilie='$a llowsmilie',showsignature='$signature',iconid='$ic onid',attachmentid='$attachmentid' WHERE postid='$postid'");

// redirect
if ($prevpost[visible]) {
$goto="showthread.php?s=$session[sessionhash]&postid=$postid#post$postid";
} else {
$goto="forumdisplay.php?s=$session[sessionhash]&forumid=$forumid";
}
eval("standardredirect(\"".gettemplate("redirect_p ostthanks")."\",\"$goto\");");

} else {
if ($visible) {
sendnotification ($threadinfo['threadid'], $bbuserinfo['userid'], 0);
}

if ($attachmentid and !$foruminfo[moderateattach]) {
$DB_site->query("UPDATE thread SET attach = attach + 1 WHERE threadid = '$threadid'");
}
$DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,at tachmentid,pagetext,allowsmilie,showsignature,ipad dress,iconid,visible) VALUES (NULL,'$threadid','".addslashes(htmlspecialchars($ title))."','".addslashes($postusername)."','$bbuse rinfo[userid]','".time()."','$attachmentid','".addslashes($mess age)."','$allowsmilie','$signature','$ipaddress',' $iconid','$visible')");
$postid=$DB_site->insert_id();

indexpost($postid,0);

if ($visible) {
if ($threadinfo[replycount]%10==0) {
$replies=$DB_site->query_first("SELECT COUNT(*)-1 AS replies FROM post WHERE threadid='$threadid'");
$DB_site->query("UPDATE thread SET lastpost='".time()."',replycount='$replies[replies]',lastposter='".addslashes($postusername)."' WHERE threadid='$threadid'");
} else {
$DB_site->query("UPDATE thread SET lastpost='".time()."',replycount=replycount+1,last poster='".addslashes($postusername)."' WHERE threadid='$threadid'");
}
}

if ($rating > 0 and $rating < 6 and $foruminfo['allowratings'] == 1) {
if ($permissions['canthreadrate']) {
$vote = intval($rating);
if ($ratingsel = $DB_site->query_first("SELECT vote, threadrateid
FROM threadrate
WHERE userid='$bbuserinfo[userid]'
AND threadid = '$threadid'")) {
if ($votechange) {
if ($vote != $ratingsel['vote']) {
$voteupdate = $vote - $ratingsel['vote'];
$DB_site->query("UPDATE threadrate SET vote='$vote'
WHERE threadrateid=$ratingsel[threadrateid]");
$DB_site->query("UPDATE thread SET votetotal=votetotal+$voteupdate
WHERE threadid='$threadid'");
}
}
} else {
$DB_site->query("INSERT INTO threadrate (threadid,userid,vote)
VALUES ('$threadid','$bbuserinfo[userid]','$vote')");
$DB_site->query("UPDATE thread SET votetotal=votetotal+$vote,votenum=votenum+1
WHERE threadid='$threadid'");
}
}
}

// update forum stuff
if ($visible==1) {
$DB_site->query("UPDATE forum SET replycount=replycount+1,lastpost='".time()."',last poster='".addslashes($postusername)."' WHERE forumid IN ($foruminfo[parentlist])");
}

// update user stuff
$dotitle="";
if ($bbuserinfo[userid]!=0)
{

// Stars Hack
if ($foruminfo[countposts]) {
$usergstars=$DB_site->query_first("SELECT starlevel,starimg FROM usergroup WHERE usergroupid='$bbuserinfo[usergroupid]'");
if ($usergstars[starlevel]=="") {
$getstars=$DB_site->query_first("SELECT starlevel,starimg FROM stars WHERE minposts<=$bbuserinfo[posts]+1 ORDER BY minposts DESC LIMIT 1");
$userstarlvl=$getstars[starlevel];
$userstarimg=$getstars[starimg];
} else {
$userstarlvl=$usergstars[starlevel];
$userstarimg=$usergstars[starimg];
}
$dostars=",starlevel='$userstarlvl',starimg='$user starimg'";
}
// Stars Hack End


if ($bbuserinfo[customtitle]==0 && $foruminfo[countposts])
{
$usergroup=$DB_site->query_first("SELECT usertitle FROM usergroup WHERE usergroupid='$bbuserinfo[usergroupid]'");
if ($usergroup[usertitle]=="") {

$getprofilefield=$DB_site->query_first("SELECT profilefieldid from profilefield where 1 and title = 'Ranksystem' LIMIT 0, 1");
$gettitle=$DB_site->query_first("Select rankdetail.title from user left join userfield on user.userid = userfield.userid left join rankdetail on userfield.field" . $getprofilefield[profilefieldid] . " = rankdetail.rankid where user.userid= $bbuserinfo[userid] and rankdetail.minposts <= user.posts+1 ORDER BY rankdetail.minposts DESC LIMIT 1");
$usertitle=$gettitle[title];
} else {
$usertitle=$usergroup[usertitle];
}
$dotitle="usertitle='".addslashes($usertitle)."'," ;
}

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

}

// send email to moderators
if ($enableemail) {
$moderators=$DB_site->query_first("SELECT newpostemail FROM forum WHERE forumid='$threadinfo[forumid]'");

$mods=$DB_site->query("SELECT DISTINCT user.email FROM moderator LEFT JOIN user USING (userid) WHERE moderator.forumid IN ($foruminfo[parentlist]) AND moderator.newpostemail=1");
while ($mod=$DB_site->fetch_array($mods)) {
$moderators[newpostemail].=' '.$mod[email];
}
$moderators[newpostemail]=trim($moderators[newpostemail]);

if ($moderators[newpostemail]!="") {
$bbuserinfo['username']=unhtmlspecialchars($bbuserinfo['username']); //for emails
$mods=explode(" ",$moderators[newpostemail]);
while (list($key,$val)=each($mods)) {
if (trim($val)!="") {
$subject=$threadtitle;
$toemail=$val;

eval("\$emailmsg = \"".gettemplate("email_moderator",1,0)."\";");
eval("\$emailsubject = \"".gettemplate("emailsubject_moderator",1,0)."\"; ");

mail($toemail,$emailsubject,$emailmsg,"From: \"$bbtitle Mailer\" <$webmasteremail>");
}
}
$bbuserinfo['username']=htmlspecialchars($bbuserinfo['username']); //back to norm
}
}

// redirect
if ($visible) {
$goto="showthread.php?s=$session[sessionhash]&postid=$postid#post$postid";
} else {
$goto="forumdisplay.php?s=$session[sessionhash]&forumid=$threadinfo[forumid]";
}
eval("standardredirect(\"".gettemplate("redirect_p ostthanks")."\",\"$goto\");");
}
}
}

// ############################### start new reply ###############################
if ($action=="newreply") {

if ($wordwrap!=0) {
$threadinfo[title]=dowordwrap($threadinfo[title]);
}

$message = htmlspecialchars($message); // Without this, a </textarea> in the message breaks the form on preview
$title = htmlspecialchars($title);

$foruminfo=getforuminfo($threadinfo[forumid]);

$threadratingoption = '';
if ($foruminfo['allowratings']==1 and $permissions['canthreadrate']==1) {
if ($rating=$DB_site->query_first("SELECT vote, threadrateid FROM threadrate
WHERE userid = $bbuserinfo[userid] AND threadid = '$threadid'")) {
if ($votechange) {
$rate[$rating[vote]] = " selected";
eval("\$threadratingoption = \"".gettemplate("newreply_ratethread")."\";");
} else {
$threadratingoption = "";
}
} else {
eval("\$threadratingoption = \"".gettemplate("newreply_ratethread")."\";");
}
}

if ($foruminfo['allowposting']==0) {
eval("standarderror(\"".gettemplate("error_forumcl osed")."\");");
}

$bbcodeon=iif($foruminfo[allowbbcode],$ontext,$offtext);
$imgcodeon=iif($foruminfo[allowimages],$ontext,$offtext);
$htmlcodeon=iif($foruminfo[allowhtml],$ontext,$offtext);
$smilieson=iif($foruminfo[allowsmilies],$ontext,$offtext);

// draw nav bar
$navbar=makenavbar($threadid,"thread",1);

unset($ignore);
$ignorelist = explode(' ', $bbuserinfo['ignorelist']);
while ( list($key, $val)=each($ignorelist) ) {
$ignore[$val] = 1;
}
if ($ignore) {
eval("\$ignoreduser = \"".gettemplate("threadreviewbit_ignore")."\";" );
} else {
$ignoreduser = '';
}

if (($bbuserinfo[maxposts] != -1) and ($bbuserinfo[maxposts] != 0)) {
$maxposts = $bbuserinfo[maxposts];
}
$posts=$DB_site->query("
SELECT IF(post.userid=0,post.username,user.username) AS username,
post.pagetext,post.allowsmilie,post.userid FROM post
LEFT JOIN user ON user.userid=post.userid
WHERE post.visible=1 AND post.threadid='$threadid'
ORDER BY dateline DESC LIMIT " . ($maxposts+1)); // return +1 so that check later will still work

$threadreviewbits = '';
while ($post=$DB_site->fetch_array($posts)) {
if ($postcounter++ < $maxposts) {
if ($postcounter%2 == 0) {
$backcolor = "#F1F1F1";
$post[bgclass] = "alt1";
} else {
$backcolor = "#DFDFDF";
$post[bgclass] = "alt2";
}
$username=$post[username];
if ($ignore[$post[userid]]) {
$reviewmessage = $ignoreduser;
} else {
$reviewmessage = bbcodeparse($post[pagetext],$threadinfo[forumid],$post[allowsmilie]);
}
eval("\$threadreviewbits .= \"".gettemplate("threadreviewbit")."\";");
} else {
break;
}
}
if ($DB_site->num_rows($posts)>$maxposts) {
eval("\$threadreviewbits .= \"".gettemplate("threadreview")."\";");
}

if ($bbuserinfo[userid]!=0 and !$previewpost) {
if ($bbuserinfo[signature]!="") {
$signaturechecked="CHECKED";
}
if ($bbuserinfo[emailnotification]!=0) {
$emailchecked="checked";
}
}

if ($foruminfo[allowicons]) {
$posticons=chooseicons($iconid);
} else {
$posticons="";
}

if (!isset($parseurl)) {
$parseurlchecked="CHECKED";
}

$maxattachsize_temp = getmaxattachsize();

if (phpversion() < '4.0.3') {
$enctype = 'enctype="multipart/form-data"';
} else if (ini_get('file_uploads')) {
$enctype = 'enctype="multipart/form-data"';
} else {
$enctype = '';
}

if ($permissions[canpostattachment] and (!$safeupload or function_exists("is_uploaded_file"))) {
eval("\$attachmentoption = \"".gettemplate("newpost_attachment")."\";");
} else {
$attachmentoption="";
}

$vbcode_smilies = '';
$vbcode_buttons = '';
if ($foruminfo[allowsmilies]) {
if ($bbuserinfo[showvbcode] && $allowvbcodebuttons) {
$vbcode_smilies = getclickysmilies();
}
eval("\$disablesmiliesoption = \"".gettemplate("newpost_disablesmiliesoption")."\ ";");
} else {
$disablesmiliesoption="";
}
if ($bbuserinfo[showvbcode] && $allowvbcodebuttons) {
$vbcode_buttons = getcodebuttons();
}

getforumrules($foruminfo,$permissions);

eval("dooutput(\"".gettemplate("newreply")."\");") ;

}

?>

joschiv 07-09-2002 06:51 PM

don`t forget to Update your coounter...otherwise the stars will not be shown......

lawnmowerman 07-11-2002 11:12 PM

Where is their a most recent version of this great hack?

lawnmowerman 07-12-2002 05:52 PM

Bump

Bro_Joey_Gowdy 07-13-2002 09:41 AM

Quote:

Originally posted by lawnmowerman
Where is their a most recent version of this great hack?
this hack works with vb 2.2.6

;)

Caliber 07-15-2002 08:58 PM

Hello all,

Any help would be appreciated.

We are running stars with 2.2.6. We have three usergroups (Admins, Mods, Platinum) that are all supposed to receive the special star https://vborg.vbsupport.ru/external/2002/07/1.gif

The "Star image shown" is set to platstar for all three usergroups. However, only Admins and Mods get this special star and the Platinum members wrongly get the regular star https://vborg.vbsupport.ru/external/2002/07/2.gif

Any suggestions on what is keeping the Platinum members form getting the special star that is set in the "Star image shown" field like the Admins and Mods?

Mithan 07-24-2002 06:57 PM

Im having a problem....

Im getting the following error code:

Quote:

Database error in vBulletin 2.2.6:

Invalid SQL: Select rankdetail.title from user left join userfield on user.userid = userfield.userid left join rankdetail on userfield.field = rankdetail.rankid where user.userid= 460 and rankdetail.minposts <= user.posts+1 ORDER BY rankdetail.minposts DESC LIMIT 1
mysql error: Table 'ac2hqdb.rankdetail' doesn't exist

mysql error number: 1146

Date: Wednesday 24th of July 2002 02:00:57 PM
Script: http://www.ac2hq.com/forum/forum/newreply.php
Referer: http://www.ac2hq.com/forum/newreply....&threadid=2014

Obviously, something is screwed in the newreply.php thread. I installed the one that Bro-Joey posted above.

Can anybody give me a hand fixing this?

Thanks.

Thewnagchung 07-24-2002 07:16 PM

Hi.

whenever I try to install this hack, i get a weird T_encassed error from functions.php o.O

I have not installed any hacks outside of quick reply.

what am i doing wrong?

and im 2.2.6

Thewnagchung 07-25-2002 07:11 PM

here is my functions.php

could someone modify it for me? cus iam so confused why it wont work....


All times are GMT. The time now is 11:42 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.02427 seconds
  • Memory Usage 2,015KB
  • 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_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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