vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Referrals In Postbit (https://vborg.vbsupport.ru/showthread.php?t=108558)

Developer 04-26-2006 10:06 AM

Version 1.1.0 Released fixs all bugs, added a new field in user table to add in it the total number of referrals to avoid using query for each post and you have first to uninstall the old plugin then install the new product and make sure overwrite set on no, after this u've to run this script admincp/misc.php?do=referrals to insert number of referrals into the new field, then do the new template edit

Boofo 04-29-2006 08:49 AM

Will you have to always manually update the referrals in the Admin CP or just the first time?

Developer 04-29-2006 09:13 AM

Nop, first time only
after that automatically in registration using datamanger it will add + 1 to the field in user's table.(look at the product)

Boofo 04-29-2006 09:33 AM

Great! I'll give it a shot then. ;)

Boofo 04-29-2006 03:27 PM

Quote:

Originally Posted by Developer
Nop, first time only
after that automatically in registration using datamanger it will add + 1 to the field in user's table.(look at the product)

I got to looking at the code and was wondering if there wasn't a way to have that query run on install and not show up in the Maintenace tools at all, if it isn't supposed to be run after the first time. Someone is gonna accidentally run that again, it's bound to happen. ;)

Or am I missing it altogether about that query and what it does?

Zachery 04-29-2006 09:18 PM

You could run it again, noting bad should happen. It basicly rebuilds the entire count and sets it even.

Boofo 04-29-2006 10:32 PM

Quote:

Originally Posted by Zachery
You could run it again, noting bad should happen. It basicly rebuilds the entire count and sets it even.

What do you mean even?

FunaGuy 05-02-2006 07:50 AM

Installed!
Working Properly :)

Zachery 05-02-2006 12:47 PM

Quote:

Originally Posted by Boofo
What do you mean even?

You could run the update counter all day long, it would be horrible for preformance but besides that it wouldn't do anything bad or destory the counts.

The Chief 05-02-2006 01:34 PM

works awesome, thanks!

/me clicks install


All times are GMT. The time now is 01:40 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.03618 seconds
  • Memory Usage 1,727KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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