vbulletin

Login to vBulletin using htmlUnit

谁说我不能喝 提交于 2019-12-11 08:56:02
问题 I don't understand what the problem is with this code (ignore the socks proxy btw that's not the issue...) I'm trying to login to my vBulletin form so I can make a script which auto bans people and stuff. But when I run this it can't even find the login form, so I wrote a for loop to list all of the forms on the main page... It only managed to find the shout box, which is not what I want! Anyone have any idea of why it can't find the login form at the top of the page? public Application() {

Complex(?) Name Matching Regex for vBulletin

喜你入骨 提交于 2019-12-11 05:28:52
问题 I'm creating some custom BBcode for a forum. I'm trying to get the regular expression right, but it has been eluding me for weeks. Any expert advice is welcome. Sample input (a very basic example): [quote=Bob]I like Candace. She is nice.[/quote] Ashley Ryan Thomas Essentially, I want to encase any names (from a specified list) in [user][/user] BBcode... except, of course, those being quoted, because doing that causes some terrible parsing errors. The desired output: [quote=Bob]I like [user

How transaction level isolation affects performace in autocommit mode in MySQL?

旧街凉风 提交于 2019-12-10 10:54:27
问题 I have a VBulletin 4.x forum running on my server. Some forum tables were converted into InnoDB for performance reasons according to this instruction. Forum itself does not use transactions (no START TRANSACTION or BEGIN WORK in source code) at all and InnoDB tables are used just to prevent tables from locking on UPDATE queries. Forum is functioning in autocommit mode of course. Do I understand correctly, that I can change the default server transaction isolation level into READ UNCOMMITED in

How to integrate vBulletin auth with my site?

醉酒当歌 提交于 2019-12-09 07:14:16
问题 I need to use vBulletin auth system on the rest of my site. Does vB has any APIs for that? Im expecting to find something like that: if($vBulletin->isAuthenticated()) { // user authenticated } In case of vB does not have such API, is there any other ways to check if user is authenticated? 回答1: Basically, to ensure the user is logged in you need to look into cookies and match the session hash from vBulletin DB. This link has good information on that matter: http://www.saurdo.com/11/11

how to add wordpress header and footer in vbulletin 4.2

懵懂的女人 提交于 2019-12-08 13:55:29
I am working on the vbulletin 4.2 with wordpress. I need wordpress header and footer for that I got some tutorial on url :- http://bythegram.ca/2012/07/tutorials/wordpress-meets-vbulletin/ I have done accroding to the given tutorial but didnt get success. The files are included in the vbulletin forum page but they are not showing on vbulletin. Please help me out. Thanks in advance. Regards After a Long Search I got the solution... And I want to share it will all the person who is working with vbulletin... WordPress meet vBulletin: So you have a vBulletin Forum and a WordPress website but they

how to add wordpress header and footer in vbulletin 4.2

a 夏天 提交于 2019-12-08 07:51:34
问题 I am working on the vbulletin 4.2 with wordpress. I need wordpress header and footer for that I got some tutorial on url :- http://bythegram.ca/2012/07/tutorials/wordpress-meets-vbulletin/ I have done accroding to the given tutorial but didnt get success. The files are included in the vbulletin forum page but they are not showing on vbulletin. Please help me out. Thanks in advance. Regards 回答1: After a Long Search I got the solution... And I want to share it will all the person who is working

How transaction level isolation affects performace in autocommit mode in MySQL?

五迷三道 提交于 2019-12-06 09:45:12
I have a VBulletin 4.x forum running on my server. Some forum tables were converted into InnoDB for performance reasons according to this instruction . Forum itself does not use transactions (no START TRANSACTION or BEGIN WORK in source code) at all and InnoDB tables are used just to prevent tables from locking on UPDATE queries. Forum is functioning in autocommit mode of course. Do I understand correctly, that I can change the default server transaction isolation level into READ UNCOMMITED in this case and get some performance gains this way? Isotopp TL;DR: If your forum is slow, the

HTTP-SOVIET and HTTP-PACK?

空扰寡人 提交于 2019-12-06 05:44:13
问题 I found a couple vBulletin sites I administer getting hacked recently. They use the latest version of the 3.8 series (3.8.7 Patch Level 2). I am usually pretty good at finding the holes where they get in and patching them up, but this one is stumping me. They are injecting data into the MySQL tables. The attack always happens when they make a GET request to the faq.php script. I was able to save data when the attack occurs. This was the $_REQUEST , $_GET , $_POST , $_COOKIE , and $_SERVER

How to write an SQL query that counts the number of rows per month and year?

不想你离开。 提交于 2019-12-06 04:47:23
问题 Had anyone any idea how to query a vbulletin database to generate a report on the number of registrations per month/year to achive results like.. MM/YYYY Count 01/2001 : 10 02/2001 : 12 ... ... Thanks to those answers below.. My final version that works is as follows: SELECT COUNT(*) as 'Registrations', YEAR(FROM_UNIXTIME(joindate)) as 'Year', MONTH(FROM_UNIXTIME(joindate)) as 'Month' FROM vbfuser GROUP BY Year,Month 回答1: I am not familiar with vBulletin's database structure, but you should

How to write an SQL query that counts the number of rows per month and year?

蓝咒 提交于 2019-12-04 11:16:39
Had anyone any idea how to query a vbulletin database to generate a report on the number of registrations per month/year to achive results like.. MM/YYYY Count 01/2001 : 10 02/2001 : 12 ... ... Thanks to those answers below.. My final version that works is as follows: SELECT COUNT(*) as 'Registrations', YEAR(FROM_UNIXTIME(joindate)) as 'Year', MONTH(FROM_UNIXTIME(joindate)) as 'Month' FROM vbfuser GROUP BY Year,Month I am not familiar with vBulletin's database structure, but you should do something like this , assuming your user table has a date/datetime/timestamp created_date or reg_timestamp