Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 10 Sep 2016, 14:39
Oskar20x2 Oskar20x2 is offline
 
Join Date: Jun 2013
Custom plugin points inlinemod hook problem

I need some help, the plugin works well if you moderate only 1 thread, but when you select 2 or more threads only adds the first.

How captured values array of threads and userid?, this is my code:

hook: inlinemod_approvethread

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Sorry for my English...
Reply With Quote
  #2  
Old 10 Sep 2016, 14:59
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
In vB 4.2.x, the array of threads by id that were selected via inline moderation are in the array:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

To turn them into a comma-delimited list for the purposes of a query, then use the line:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

It may be the same in vB 3.x.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #3  
Old 10 Sep 2016, 15:23
Oskar20x2 Oskar20x2 is offline
 
Join Date: Jun 2013
Thanks MarkFL, I'll try.

edit...
some example?

Last edited by Oskar20x2; 10 Sep 2016 at 15:41.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 10:29.

Layout Options | Width: Wide Color: