Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

vBulletin integration?

Featured Replies

Hey all, haven't been on the forum since a long time. Anyways, I've just come upon a project, and for the homepage, I plan to display recently posted news on the forum's news category. The forum uses vBulletin, anyone know how this can be done? A link to a guide/tutorial would be useful (which I failed to find after a few googles).

 

Thanks.

Firstly you can create your own custom vBulletin pages easily, you haven't stated whether you know how to do that? I mean have you made any progress at all or are you staring at the whole thing thinking "damn where do I start?"

 

 

Anyway, if you can figure out how to create a custom page on a real basic level, the rest is pretty simple.

 

 

First, you would query the threads (or posts) table to return x posts within whatever parameters you require (you'll need to do a join query really) with a limiter.

 

So lets say you have a news forum (id 5) and want to grab the latest 10 posts, you'd query the post table for posts within forum id 5 (or query the post table joining the thread table for thread details). You would filter by postdate in descending order with a limit of 10.

 

Then cycle through the results and display.

 

 

To display you would use vBulletins built in template engine which is a doddle, you create the templates in the admin system (looking at other templates to see how replacement variables and conditionals work).

 

Templates are registered as objects, any replacement variables within the template are registered in the declaration and the parsed templates stored into variables and injected into one final template call which calls the "shell" template and outputs it to the screen.

 

You can see how to do this easily from looking at vBulletin's code. Something like the forum display has lots of template calls and isn't that complex. You'll see how the flow and process works.

 

Also you don't have to create your own or use vBulletins methods; though its advisable if you can. (technically speaking you should, and follow their structure).

 

Last time I used it, it was a semi procedural, semi OO solution (not MVC) so its a bit big and messy, but its fairly easy to see whats going on really.

 

 

And now, if I am entirely honest... vBulletin is a massive solution and if you cannot figure it out from guidance like I've given above and looking at how other scripts work, you might be playing a dangerous game with it. In which case, I'd get onto vbulletin.org and talk to people there, take your time and learn it; I also believe there are extensions for vBulletin that do what you suggest.

 

What you are suggesting to do is easy, however playing with extensions and integrations with software like that is a bit risky if you don't understand whats going on in the code thats already there; if that makes sense.

Edited by FizixRichard

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.