PDA

View Full Version : INSTALLED hack ... something very much similiar to the one used in vB.org ???


PurpleCow
03-30-2003, 12:05 PM
Hello,

Is there a hack released to vB users which is used in vbulletin.org In the full releases forum ??

the hack is when a new hack is released, and when other vB users install it, they click on a Installed button. This helps tracking how many have installed the hack for their forums.

I want a similiar one for my marketplace, i am starting, probably...a bit more features that whats actually used in vb.org.

Kindly help me with a link.

Thanks much in advance

Cheers
:)

N9ne
03-30-2003, 12:35 PM
Well, I know how it can be created, but I don't have time to create it, but for those who think they know how to create it and want to, advise is that just check out how the thread rating function works, and sort of modify that so it fits.

PurpleCow
03-30-2003, 01:06 PM
N9ne :

I wish you help me out with this ??

Actually speaking...i wanted something more based on that hack, if doing whats available on vb.org is quite simple, then the extra features, i am looking at could be quite easier to add also.

Someone help me here Please !?

N9ne : I'll send you a PM with my request, if you can do it for me.
I understand you are quite busy, just my request.

Thanks much again.

Cheers
:)

Logician
03-30-2003, 07:29 PM
This is the algorithm for this hack:

Create a table with fields "recordid" "threadid" and "userid"

Hack showthread.php put a "install" button if forum is X. (or uninstall if user already installed)

If pressed, check (according to userid) if the pressed user has a record in that table. If yes give him error message or change his existing record according to your wish. If no add his record to the table.

When viewing a thread, check count recordid where threadid=X and display it as "X users installed this thread" etc.