Forum: vB3 General Discussions
18 Feb 2022, 08:55
|
Replies: 7
Views: 245
|
Forum: vB5 Programming Discussions
29 Oct 2021, 14:01
|
Replies: 5
Views: 559
|
Forum: vB5 Programming Discussions
29 Oct 2021, 01:47
|
Replies: 5
Views: 559
Thanks for that. Will check that.
Seems...
Thanks for that. Will check that.
Seems not important, because any line like...
$var[$i]['FIELD'][$y] = $item['FIELD'];
...in my code, results in this error.
Only if all those (five) lines...
|
Forum: vB5 Programming Discussions
27 Oct 2021, 19:30
|
Replies: 5
Views: 559
PHP 7 To PHP 8 Issue
Since quite a while I get php 7.3 warnings in Nginx error.log:
As long as it works I ignored that. But when I update PHP to version 8, the sub site is no longer available. Seems that warning...
|
Forum: vB5 Programming Discussions
01 May 2021, 09:07
|
Replies: 0
Views: 3,813
Where in DB are avatars?
I just programming an extension and need access to information about avatars. Where in database are they stored?
EDIT: Just found in table customavatar. :D
|
Forum: vB5 Programming Discussions
10 Nov 2020, 14:17
|
Replies: 2
Views: 1,936
|
Forum: vB5 Programming Discussions
10 Nov 2020, 11:28
|
Replies: 2
Views: 1,936
API post an event
How to post an event by vBulletin API? What do I have to define, if I want to post automatically as event? My code so far:
$input = array(
'hvinput' => '',
'title' => 'Title of new event...
|
Forum: vB5 General Discussions
06 Nov 2019, 18:41
|
Replies: 3
Views: 363
|
Forum: vB5 Programming Discussions
11 Jun 2019, 17:10
|
Replies: 0
Views: 716
New Table + Cron
I've created a new table in database. In cron script I try to delete some rows from it. Problem is, that new table isn't defined in /core/vb/db/mysql/querydefs.php. If I define the new table there,...
|
Forum: vB5 Programming Discussions
12 Apr 2019, 00:37
|
Replies: 4
Views: 1,166
|
Forum: vB5 General Discussions
11 Apr 2019, 03:32
|
Replies: 0
Views: 171
Rebuild attachments
There are some posts including missing pictures that I would like to restore. Luckily I have a complete database dump so I can reconstruct everything. I've already restored the posts (tables node and...
|
Forum: vB5 Programming Discussions
05 Feb 2019, 17:29
|
Replies: 3
Views: 474
|
Forum: vB5 Programming Discussions
05 Feb 2019, 14:30
|
Replies: 3
Views: 474
Create new user account
I try to add new users by an own php script. Is there a vb method, to create new user accounts to vbulletin without using admincp ?
I have USERNAME, EMAILADRESS, PASSWORD and other defaults if...
|
Forum: vB5 Programming Discussions
03 Feb 2019, 21:10
|
Replies: 6
Views: 629
Result:
Debug: Error
<b>API...
Result:
Debug: Error
<b>API Error</b><br><b>Error:</b> invalid_query_definition_x<br><b>Args:</b><br><pre style="font-family:Lucida...
|
Forum: vB5 Programming Discussions
03 Feb 2019, 18:40
|
Replies: 6
Views: 629
|
Forum: vB5 Programming Discussions
03 Feb 2019, 18:27
|
Replies: 4
Views: 402
|
Forum: vB5 Programming Discussions
03 Feb 2019, 07:40
|
Replies: 6
Views: 629
My table has. userid is the primary key in an...
My table has. userid is the primary key in an added table (same database!). Different is, the searched column wasn't username but user_name. Surely I used that, too. Still cannot understand, why this...
|
Forum: vB5 Programming Discussions
03 Feb 2019, 07:17
|
Replies: 4
Views: 402
Nice solution.
Because profile userid is...
Nice solution.
Because profile userid is available in $vbulletin->scriptpath, my solution was:
$to = strpos($vbulletin->scriptpath,"-");
$pageuserid = substr($vbulletin->scriptpath,8,($to-8));...
|
Forum: vB5 Programming Discussions
02 Feb 2019, 13:05
|
Replies: 6
Views: 629
Cannot understand why this not work
Can anyone explain, why this works:
$info = vB::getDbAssertor()->getRow('user', array("userid" => $row['userid']), false, 'username');
and this not:
$info =...
|
Forum: vB5 Programming Discussions
01 Feb 2019, 09:24
|
Replies: 4
Views: 402
Userid in PHP-Module
I've extended user profile site with a PHP-Module, which includes a php file. In this file I need to compare two variables.
$vbulletin->userinfo['userid'];
$vbulletin->page['userid'];
First...
|
Forum: vB5 Programming Discussions
31 Jan 2019, 15:55
|
Replies: 6
Views: 326
|
Forum: vB5 Programming Discussions
31 Jan 2019, 15:44
|
Replies: 6
Views: 326
|
Forum: vB5 Programming Discussions
31 Jan 2019, 15:37
|
Replies: 6
Views: 326
|
Forum: vB5 Programming Discussions
31 Jan 2019, 10:46
|
Replies: 6
Views: 326
Suppress Database Error
vB results an error, when I try to delete a non existing row. DELETE FROM same_table AS a WHERE EXISTS (SELECT * FROM same_table AS b...) or @ before are not working. Any idea how to supress this...
|
Forum: vB5 Programming Discussions
07 Dec 2018, 07:57
|
Replies: 17
Views: 1,237
|