homepage Welcome to WebmasterWorld Guest from 54.204.168.212
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / Community Building and User Generated Content
Forum Library, Charter, Moderators: rogerd

Community Building and User Generated Content Forum

    
vBulletin - what type of code?
OO or procedural?
PeteM

10+ Year Member



 
Msg#: 3626796 posted 9:43 pm on Apr 14, 2008 (gmt 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

 

rogerd

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



 
Msg#: 3626796 posted 11:19 pm on Apr 14, 2008 (gmt 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.

rocknbil

WebmasterWorld Senior Member rocknbil us a WebmasterWorld Top Contributor of All Time 5+ Year Member



 
Msg#: 3626796 posted 3:59 pm on Apr 16, 2008 (gmt 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.)

PeteM

10+ Year Member



 
Msg#: 3626796 posted 7:02 pm on Apr 16, 2008 (gmt 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

hyperkik

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3626796 posted 2:46 pm on May 2, 2008 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Community Building and User Generated Content
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved