vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   INSTALLED hack ... something very much similiar to the one used in vB.org ??? (https://vborg.vbsupport.ru/showthread.php?t=50995)

PurpleCow 03-30-2003 12:05 PM

INSTALLED hack ... something very much similiar to the one used in vB.org ???
 
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.


All times are GMT. The time now is 10:00 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
  • Page Generation 0.00926 seconds
  • Memory Usage 1,709KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete