wilth
20 Jul 2001, 09:30
Hy there,
we have a self-written newssystem and wanted to use our forum as archive and discussion place for news. So I wrote a little php script which creates a new thread for every newsitem. It's not a big deal:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
And we need a php function html2vb which converts the html to vbCode:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Of course you need to add str_replace for all of your vbCodes.
Hope someone is helped with that :). The best is that you don't need to modify your vBulletin source.
See it in action: http://lionsource.com
we have a self-written newssystem and wanted to use our forum as archive and discussion place for news. So I wrote a little php script which creates a new thread for every newsitem. It's not a big deal:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
And we need a php function html2vb which converts the html to vbCode:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Of course you need to add str_replace for all of your vbCodes.
Hope someone is helped with that :). The best is that you don't need to modify your vBulletin source.
See it in action: http://lionsource.com