The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#72
|
|||
|
|||
You MUST upload your star images to a new directory called "stars" inside your "images" directory. If your images directory is not called "images" and is not directly inside your forums directory, you must change this in where it appears below (it only appears once, under the showthread.php section):
Change images/stars/ to path/to/images/ Then you must change it in the stars.php file, towards the bottom. This time, though, you must preceed your path with .. because you are going up one directory (stars.php goes in your admin directory!) Example: ../path/to/images/ First, make changes to all the files mentioned in this file. They are: newthread.php, newreply.php, admin/misc.php, admin/index.php, admin/usergroup.php, register.php, and the postbit template. Once you have completed this, upload those files (obviously you can't upload the template <grin> ) to your site, and then upload mysql.php and stars.php to your admin directory. i am trying to install the star hack on to my board what does that mean????? like i have no clue |
#73
|
||||
|
||||
Which part don't you understand?
|
#74
|
||||
|
||||
In admin/usergroup.php
it says to replace this if ($action=="insert") { $DB_site->query("INSERT INTO usergroup (usergroupid,title,usertitle,cancontrolpanel,canmo difyprofile,canviewmembers,canview,cansearch,canem ail,canpostnew,canmove,canopenclose,candeletethrea d,canreplyown,canreplyothers,canviewothers,canedit post,candeletepost,canusepm,canpostpoll,canvote,ca npostattachment,ismoderator,canpublicevent,canpubl icedit,canthreadrate) VALUES (NULL,'".addslashes($title)."','".addslashes($user title)." ',$cancontrolpanel,$canmodifyprofile,$canviewmembe rs,$canview,$cansearch,$canemail,$canpostnew,$canm ove,$canopenclose,$candeletethread,$canreplyown,$c anreplyothers,$canviewothers,$caneditpost,$candele tepost,$canusepm,$canpostpoll,$canvote,$canpostatt achment,$ismoderator,$canpublicevent,$canpublicedi t,$canthreadrate)"); I have some different code in my file though if ($HTTP_POST_VARS['action']=="insert") { $DB_site->query("INSERT INTO usergroup (usergroupid,title,usertitle,cancontrolpanel,canmo difyprofile,canviewmembers,canview,cansearch,canem ail,canpostnew,canmove,canopenclose,candeletethrea d,canreplyown,canreplyothers,canviewothers,canedit post,candeletepost,canusepm,canpostpoll,canvote,ca npostattachment,ismoderator,canpublicevent,canpubl icedit,canthreadrate,cantrackpm,candenypmreceipts, maxbuddypm,maxforwardpm) VALUES (NULL,'".addslashes($title)."','".addslashes($user title)." ',$cancontrolpanel,$canmodifyprofile,$canviewmembe rs,$canview,$cansearch,$canemail,$canpostnew,$canm ove,$canopenclose,$candeletethread,$canreplyown,$c anreplyothers,$canviewothers,$caneditpost,$candele tepost,$canusepm,$canpostpoll,$canvote,$canpostatt achment,$ismoderator,$canpublicevent,$canpublicedi t,$canthreadrate,$cantrackpm,$candenypmreceipts,$m axbuddypm,$maxforwardpm)"); $action="modify"; echo "<p>Record added</p>"; } I'm a little stuck here.... so I just kinda stopped midway thru the process till i can get some expert help as this is my first vB hack...... (i am however upgrading my board to 2.0.1 today.... if you think that will change anything let me know |
#75
|
||||
|
||||
Make sure you have downloaded the latest file from the first post in this thread.
You should probably wait until you've successfully upgraded to 2.0.1 to install the hack - it will mean less work for you in the end. |
#76
|
||||
|
||||
yeah good call turbo..... i just sent you a PM.... hope ya get it soon
i could use a little help |
#77
|
||||
|
||||
ok i finally got 2.0.1 installed and it fixed THAT problem... but presented another one.....in the MISC.PHP file
my originl file: [DO NOT POST THE SOURCE OF ENTIRE FILES] What it tells me to change i do NOT have for some reason.... and by using the ORIGINAL one from the 2.0.1 version... and editing it..... i got a database error.... EVERYTHING ELSE WAS DONE EXACTLY as it should have been...... i used to do hacks on UBB..... so I'm not (totally incompetant... but i may not be able to speel that word anyhow....... anyideas as to why... that 1 file would be different.....and not have the variables i need to change (my baord is working great by the way....) I just wanted to add stars. Well... if anyone can help.... I would appreciate it |
#78
|
||||
|
||||
like a charm
|
#79
|
|||
|
|||
installed and all is fine got no errors but still see no starts
btw: i have seen them on win2k server but not on linux any ideas? vbb: 2.0.1 |
#80
|
||||
|
||||
Dolemite: Two things - first please edit the code out of your post as it against the license to post it like that. Second you are editing the wrong misc.php file - you need to edit the one in the admin folder, not the main forums folder.
|
#81
|
||||
|
||||
sorry i didnt realize i could not post the code
i apploagize |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|