Register Members List Search Today's Posts Mark Forums Read

Showing results 1 to 25 of 43
Search took 0.01 seconds.
Search: Posts Made By: BulliM
Forum: vB5 Programming Discussions 29 Oct 2021, 15:01
Replies: 5
Views: 319
Posted By BulliM
I tried yesterday, but this doesn't work.

I tried yesterday, but this doesn't work.
Forum: vB5 Programming Discussions 29 Oct 2021, 02:47
Replies: 5
Views: 319
Posted By BulliM
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, 20:30
Replies: 5
Views: 319
Posted By BulliM
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, 10:07
Replies: 0
Views: 3,736
Posted By BulliM
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, 15:17
Replies: 2
Views: 1,851
Posted By BulliM
Okay, will see. THX, delicjous. :)

Okay, will see. THX, delicjous. :)
Forum: vB5 Programming Discussions 10 Nov 2020, 12:28
Replies: 2
Views: 1,851
Posted By BulliM
Post 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, 19:41
Replies: 3
Views: 331
Posted By BulliM
Simply do update again. Are ALL folders and files...

Simply do update again. Are ALL folders and files updated? Delete all old files and then upload all new files. Look at both config files. Are that one in root directory renamed to config.php? Is ...
Forum: vB5 Programming Discussions 11 Jun 2019, 18:10
Replies: 0
Views: 553
Posted By BulliM
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, 01:37
Replies: 4
Views: 1,051
Posted By BulliM
I use some JS for. You can use something like...

I use some JS for. You can use something like this, to select an other option by default:

if ($("h1:contains('Create')")) {
$('.js-content-entry-prefixes...
Forum: vB5 General Discussions 11 Apr 2019, 04:32
Replies: 0
Views: 153
Posted By BulliM
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, 18:29
Replies: 3
Views: 421
Posted By BulliM
Was helpful. Above this function is explained,...

Was helpful. Above this function is explained, what's to do. I'll try that. Thank you delicjous!
Forum: vB5 Programming Discussions 05 Feb 2019, 15:30
Replies: 3
Views: 421
Posted By BulliM
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, 22:10
Replies: 6
Views: 488
Posted By BulliM
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, 19:40
Replies: 6
Views: 488
Posted By BulliM
I get no email, because development server has no...

I get no email, because development server has no access to email services.

I get "That action could not be completed. Please try again, and if this occurs again please contact the system...
Forum: vB5 Programming Discussions 03 Feb 2019, 19:27
Replies: 4
Views: 314
Posted By BulliM
/member/123-username

/member/123-username
Forum: vB5 Programming Discussions 03 Feb 2019, 08:40
Replies: 6
Views: 488
Posted By BulliM
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, 08:17
Replies: 4
Views: 314
Posted By BulliM
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, 14:05
Replies: 6
Views: 488
Posted By BulliM
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, 10:24
Replies: 4
Views: 314
Posted By BulliM
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, 16:55
Replies: 6
Views: 285
Posted By BulliM
Delete only and single row from table if exists....

Delete only and single row from table if exists. $ means e.g. 1 or 51 or an other variable userid. In this table I store some data, who needs to be refreshed in intervals - only if they exist.
Forum: vB5 Programming Discussions 31 Jan 2019, 16:44
Replies: 6
Views: 285
Posted By BulliM
DELETE FROM database.table WHERE userid =$ LIMIT...

DELETE FROM database.table WHERE userid =$ LIMIT 1

So instead of updating, I prefer to delete and recreate this entry in this case, because I doesn't know, if this entry already is created.
Forum: vB5 Programming Discussions 31 Jan 2019, 16:37
Replies: 6
Views: 285
Posted By BulliM
Will look at. Thank you so far.

Will look at. Thank you so far.
Forum: vB5 Programming Discussions 31 Jan 2019, 11:46
Replies: 6
Views: 285
Posted By BulliM
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, 08:57
Replies: 17
Views: 1,120
Posted By BulliM
Die Vermutung hatte ich auch. Ich lade das Array...

Die Vermutung hatte ich auch. Ich lade das Array aber aus einer Datei. Will nicht jedesmal neu aus der DB laden. Bei mir lautet die Zeile also return file('path/file'); wo vorher die userids...
Forum: vB5 Programming Discussions 07 Dec 2018, 07:08
Replies: 17
Views: 1,120
Posted By BulliM
Ja, voll. Die vB-Templates nerven ganz schön. Das...

Ja, voll. Die vB-Templates nerven ganz schön. Das dauert noch, bis ich das kann.
Showing results 1 to 25 of 43

 

New To Site? Need Help?

All times are GMT. The time now is 23:50.

Layout Options | Width: Wide Color: