Welcome to WebmasterWorld Guest from 23.22.140.143

Forum Moderators: rogerd

Message Too Old, No Replies

vBulletin - what type of code?

OO or procedural?

     
9:43 pm on Apr 14, 2008 (gmt 0)

Full Member

10+ Year Member

joined:Mar 16, 2004
posts: 283
votes: 0


I've pretty much mastered the art of hacking phpBB but a client wishes to migrate to vBulletin. Can anyone tell me how easy is is to hack (compared to phpBB). Is the vBulletin code procedural or OO?

Cheers, Pete

11:19 pm on Apr 14, 2008 (gmt 0)

Administrator

WebmasterWorld Administrator rogerd is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 2, 2000
posts:9685
votes: 0


PeteM, I can't answer your question directly but I can say that vBulletin has gone to a plugin approach with lots of hooks all over the code. This should make coding modifications easier and, in particular, make upgrading a modified board much less of a chore.

I think you'd find modifying the vBulletin code straightforward if you are used to phpBB.

3:59 pm on Apr 16, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 28, 2004
posts:7999
votes: 0


Start by looking at the vBulletin documentation:

[vbulletin.com...]

They have incorporated coding practices into their manual, showing you how to add your own custom coding.

Most of what you will do will never enter the actual PHP files. You will do a lot of editing in templates, including adding PHP code to them. These templates are stored in your database, so an upgrade doesn't affect your customization.

They have also incorporated an "if/else" method using a variation on XML style coding:

<if condition=$some_variable>
.....
<else />
</if>

It's all pretty compartmentalized, pretty easy to tweak (endlessly.)

7:02 pm on Apr 16, 2008 (gmt 0)

Full Member

10+ Year Member

joined:Mar 16, 2004
posts: 283
votes: 0


Thanks guys. My client has just purchased vBulletin so I should be able to start hacking soon.

BTW, anyone got any tips for migrating 500,000 messages from (a heavily modded) phpBB2 to vBulletin!

Pete

2:46 pm on May 2, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Aug 12, 2003
posts:850
votes: 0


If the URL's aren't modded, last I checked vBulletin offered a program to redirect users from the old phpBB thread URLs to the new vBulletin URLs. I've migrated a couple of forums to vBulletin - you can expect to lose some information in the process of migration (what and how much depends upon the former forum software and its version). You can run test imports into the new vBulletin database to see what happens, without affecting your old database.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members