Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 26 Jul 2017, 01:43
Alice Alice is offline
 
Join Date: Mar 2013
Real name: Alice
Help Converting from MyBB to vBulletin

Hello,

I am looking for a little assistance with converting this code from mybb to vbulletin.


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

Basically, this is for the launcher of a computer game, its to allow the launcher to fetch threads from an announcement forum and display them on the launcher.

Thank you,

Last edited by TheLastSuperman; 31 Jul 2017 at 05:37.
Reply With Quote
  #2  
Old 26 Jul 2017, 22:05
Rafa-el's Avatar
Rafa-el Rafa-el is offline
 
Join Date: Feb 2010
Location: Nicaragua
Real name: Rafael Benard
Which version of vB?
Reply With Quote
  #3  
Old 26 Jul 2017, 22:23
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
vBulletin 4 according to the thread prefix. You can try something like below assuming you don't use a table prefix and that you want the latest 15 posts. I also moved the forumid check to the query instead of the check in the PHP code.

This is untested by the way.


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

__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.

Last edited by TheLastSuperman; 31 Jul 2017 at 05:38.
Reply With Quote
  #4  
Old 27 Jul 2017, 19:18
Alice Alice is offline
 
Join Date: Mar 2013
Real name: Alice
Originally Posted by Dave View Post
vBulletin 4 according to the thread prefix. You can try something like below assuming you don't use a table prefix and that you want the latest 15 posts. I also moved the forumid check to the query instead of the check in the PHP code.

This is untested by the way.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Do I need any file inclusions like global.php?

--------------- Added 27 Jul 2017 at 19:36 ---------------

Oh also: I have the code here: https://swghope.com/forums/launcher_news.php - I'm wondering if we can either remove the url text completely or have it display the full url instead of it being cutoff, right?

Thanks,
Reply With Quote
  #5  
Old 30 Jul 2017, 23:44
GHRake GHRake is offline
 
Join Date: Sep 2015
Real name: Anomander Rake
plz tell me that's not your actual DB username and password!
Reply With Quote
  #6  
Old 31 Jul 2017, 05:38
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
Removed database username + password ^.
__________________
Daddy Does Dios and Figs!
https://www.linkedin.com/in/thelastsuperman

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote
  #7  
Old 01 Aug 2017, 03:38
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by TheLastSuperman View Post
Removed database username + password ^.
Mike, post #4 needs to be edited as well.
__________________
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
  #8  
Old 01 Aug 2017, 14:34
Alice Alice is offline
 
Join Date: Mar 2013
Real name: Alice
No no, that was the information from an old database, thats why it was posted. The myBB database was taken offline a awhile ago.
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 02:47.

Layout Options | Width: Wide Color: