Register Members List Search Today's Posts Mark Forums Read

Showing results 1 to 25 of 37
Search took 0.01 seconds.
Search: Posts Made By: BulliM
Forum: vB5 General Discussions 06 Nov 2019, 19:41
Replies: 3
Views: 163
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: 238
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: 644
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: 106
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: 249
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: 249
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: 237
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: 237
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: 162
Posted By BulliM
/member/123-username

/member/123-username
Forum: vB5 Programming Discussions 03 Feb 2019, 08:40
Replies: 6
Views: 237
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: 162
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: 237
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: 162
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: 148
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: 148
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: 148
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: 148
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: 774
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: 774
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.
Forum: vB5 Programming Discussions 07 Dec 2018, 05:55
Replies: 17
Views: 774
Posted By BulliM
It works like a charm. Thank you shka! Thank to...

It works like a charm. Thank you shka! Thank to all!

--------------- Added 1544164891 at 1544164891 ---------------

One problem left. Why I cannot use that array in a condition?

{vb:data...
Forum: vB5 Programming Discussions 06 Dec 2018, 14:03
Replies: 17
Views: 774
Posted By BulliM
I'll try that tomorrow. Thank you.

I'll try that tomorrow. Thank you.
Forum: vB5 Programming Discussions 06 Dec 2018, 12:10
Replies: 17
Views: 774
Posted By BulliM
Result: NULL

Result: NULL
Forum: vB5 Programming Discussions 06 Dec 2018, 11:35
Replies: 17
Views: 774
Posted By BulliM
Here:...

Here: https://www.vbulletin.com/docs/html/templates_externalfiles they say it is needed on 4+. Logic, 5>4.

I'll try.

EDIT: I get no result. Neither for {vb:raw $arrayofuserids} nor {vb:raw...
Forum: vB5 Programming Discussions 06 Dec 2018, 11:20
Replies: 17
Views: 774
Posted By BulliM
Hey noypiscripter, thanks, but this is not,...

Hey noypiscripter,

thanks, but this is not, what I ask for. I ask for an example, how to get the array from file into a variable in template. I set a hook:

ob_start();...
Forum: vB5 Programming Discussions 05 Dec 2018, 16:03
Replies: 17
Views: 774
Posted By BulliM
Make array usable in template

I need an array of userids in template "conversation_userinfo". This array is written in a html or php file.

HTML-File: 1,2,3,4....
PHP-File:echo array(1,2,3,4...);

It should be used like:
...
Showing results 1 to 25 of 37

 

New To Site? Need Help?

All times are GMT. The time now is 12:00.

Layout Options | Width: Wide Color: