View Full Version : install hack
a43079
12-25-2002, 05:10 PM
does anyone know where i can find the install hack like on this site if you install a hack you can click the install button...thx
Steve Machol
12-25-2002, 05:24 PM
That doesn't really 'install' the hack for you. It merely adds you to the database of people who have installed the hack.
Chris M
12-25-2002, 06:31 PM
@a43079 - All it is is just an "if/else" statement to show the "install" button in certain forums, and then a redirect to a page which sends a query to the database to update a certain field...
It's pretty simple enough to figure out:)
Satan
a43079
12-27-2002, 08:13 AM
does anyone have a sample
Chris M
12-27-2002, 01:14 PM
Of the if statement?
I can't remember what the variable for the "new thread" button is, so i am going to use "$newthreadbutton";)
if ($thread[forumid]=="X") {
$newthreadbutton="<img src=\"images/installbutton.gif\">";
}else{
$newthreadbutton="<img src=\"images/newthread.gif\">";
}
Satan
NTLDR
12-27-2002, 01:15 PM
The hack consists of a thread subscription type system with the edit hellsatan mentioned above.
DrkFusion
12-27-2002, 01:54 PM
I actually managed to do this, but different type way, to offer the users to be able to pick a thread as there favourite, and when they pick another one, it overrides the current one, and it also shows how many picked the thread as there favourite, and shows the top threads with the most people having it as there fav :) Also in the admin panel you get to specifiy in which forums you want it to have the ability for the user to pick the thread as favourite :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.