Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 20 Dec 2015, 12:12
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Real name: Peter
Get a specific forumbit via a $forumid

Hello all!

I want to get a specific forumbit row (like forum home forumbits: title, last post, stats etc), let's say for forumid, $forumid. I detect function construct_forum_bit (file: includes/functions_forumlist.php), but it don't return something:

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

.. any idea? What I miss?
Reply With Quote
  #2  
Old 20 Dec 2015, 16:09
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
From what I just found, it returns a string of HTML for all of the forums which are children of $forumid. If $forumid points to a forum with no children, then a NULL string is returned.
__________________
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

Last edited by MarkFL; 20 Dec 2015 at 16:24.
Reply With Quote
  #3  
Old 20 Dec 2015, 16:19
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Real name: Peter
Thanks for your reply MarkFL

So, I have to develop from scratch what I want to do?
Just see those function and think that I could do what I want with an integrated function...

Thank you
Reply With Quote
  #4  
Old 20 Dec 2015, 16:28
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Scandal View Post
Thanks for your reply MarkFL

So, I have to develop from scratch what I want to do?
Just see those function and think that I could do what I want with an integrated function...

Thank you
Yeah, I would likely write a db query joining the forum and thread tables to get that information.
__________________
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
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 00:49.

Layout Options | Width: Wide Color: