The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#3
|
|||
|
|||
![]() Quote:
How damaging would that fix be in terms of server load on the master? does threads/posts still get read from the slave? --------------- Added [DATE]1494610398[/DATE] at [TIME]1494610398[/TIME] --------------- Is there way to code it to where it would only query the master when the current script is the registration page, but uses the slave query for everything else. That way it should have no significant impact on the server. --------------- Added [DATE]1494622018[/DATE] at [TIME]1494622018[/TIME] --------------- Quote:
if(THIS_SCRIPT == 'register'){ $user = $vbulletin->db->query_first($query); }else{ $user = $vbulletin->db->query_first_slave($query); } |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|