Next Step: Hardlinks MediaWiki-Discussion -> vBulletin-Forum
In perhaps four hours I will have time to finish the following code, for this purpose:
PHP Code:
// Discussion-Forum no yet created?
$sql = 'SELECT `forumid` FROM `forum` WHERE
`parentid` = "[ID_ParentForum]" AND `title` = "[Page Title]";
(...)
If (..) {
//Create Forum (better but don’t know how to do:
// Create only when clicked, perhaps through Java-Script
}
// Create formating
// More than 0 Threads?
If (..) {
// Exist-Formated
} else {
// Not-Exist-Formated
}
// Create link
Does anyone already have some code for this? Any information which helps me save some time very appreciated - so perhaps I can finish this even this evening
In a first step the code has to be put in sthe style-php, where the Discussion-Link is beeing created. This point I already managed. The whole code/solution will be placed here.
Bruno