The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Create and customize plug-in for VB4
By conversion of some areas to SSL I have problems with some external sites that are called. I want this future can only be accessed via HTTP. An example is to be found here http://www.vbulletin-germany.com/for...l=1#post170289 The problem is that it is written for VB3.
Hence my question, how should the script be rewritten as follows to make it work in VB4 Quote:
Code:
// normale HTTP-Anfragen if($_SERVER['SERVER_PORT'] == 80) { // Banner anzeigen $werbebanner = '<<< CODE 1 >>>'; // HTTPS-Anfragen } else { $rnd = rand(0, 1); // HTTPS Banner if($rnd == 0) { $werbebanner = '<<< CODE 2 a >>>'; } else { $werbebanner = '<<< CODE 2 b >>>'; } } --------------- Added [DATE]1325928690[/DATE] at [TIME]1325928690[/TIME] --------------- No idea ? |
#2
|
|||
|
|||
Have you tried it at all? I don't notice anything in that code that would need to be changed for vb4.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|