REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Paypal integration plugin and SHOUTcast integration??
#1
Hey

I was wondering is there a plugin which would allow users to purchase a paid subscription to my forum? When they purchase they get a choice of usergroups to join?

A bit like the Vb thing where you pick a usergroup set by admin then pay then are in that usergroup

also is there anything that will allow me to integrate a SHOUTcast radio with my MyBB forum

also a bit like Vb Tongue

Thanks alot in advance

Joe
#2
I am working on a paypal subscription but it's not ready yet nor do I have a date for release.

I am not familiar with any shoutcast integration plugins.
#3
wow great i really need that plugin and i'm sure many others could benefit from it aswell

thanks for reply

Joe
#4
thanks 4 helping us out labrocca
#5
paypal will give you code to add off there own site?
#6
I look forward to the paypal add on as I like many truly need such a feature.
#7
Well I just did slots and lottery. 1.4 shouldn't be too far off and I really want to wait for it to do the paypal integration. There is suppose to be some serious admincp changes and the paypal mod will certainly require a lot of admin stuff.
#8
I could do with a Shoutcast thing
I have a own Internet radio so it would help
I have a Code but i dont know if it would work here i found it on a Nuke site !!

Block:
Code:
<?php
[quote]
/************************************************************************/
/* MrFluffy's SUN fm Modi Block                                         */
/*                                                                      */
/*                        (c) 2005 by MrFluffy                          */
/*                       http://nuke-platinum.de                        */
/*                                                                      */
/*                      MrFluffy aka aconrads                           */
/*      [email protected] - http://nuke-platinum.de [DE]       */
/*   [email protected] - http://www.conrads-berlin.de [DE/EN/FR]   */
/************************************************************************/

if ( !defined('NUKE_FILE') ) {
    Header("Location: ../index.php");
    die();
}

include ('includes/sc_config.php');

$shoutcast = new ShoutCast();
$shoutcast->host = $sc_host;
$shoutcast->port = $sc_port;
$shoutcast->passwd = $sc_pwd;
if ($shoutcast->openstats()) {
    if ($shoutcast->GetStreamStatus()) {
        $offline = FALSE;
        $modi = $shoutcast->GetAIM();
    } else {
        $offline = TRUE;
    }
} else {
    $offline = TRUE;
}

switch ($modi)
{
    case "Hauptstudio Berlin":
    $mimg = "http://sun.sitepimpers.de/suncam.jpg";
    $mname = "Michael Mihm";
    $mstudio = "Hauptstudio Berlin";
    break;

    case "MrFluffy":
    $mimg = "http://sun.sitepimpers.de/suncam_2.jpg";
    $mname = "Axel Conrads";
    $mstudio = "Studio Berlin I";
    break;

    default:
}

$content ="\n\n<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
$content .="<tr><td><img src=\"images/blocks/block_moderator_01.gif\" border=\"0\" width=\"152\" height=\"31\" alt=\"\" /></td></tr>\n";
$content .="</table>\n";
$content .="<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td colspan=\"2\">\n";
$content .="<center><a href=\"mailto:[email protected]?subject=Mein%20Musikwunsch%20und%20Gruß\"><img src=\"" . $mimg . "\" border=\"0\" width=\"140\" alt=\"" . $mstudio . "\" /></a></center></td></tr>\n";
$content .="<tr><td width=\"109\">&nbsp;&nbsp;" . $mname . "</td><td width=\"43\" height=\"69\" valign=\"top\"><img src=\"images/blocks/block_moderator2_04.gif\" border=\"0\" alt=\"\" />\n";
$content .="</td></tr></table>\n\n";

?>

Config-Datei:
Code:
<?php
/*
    Shoutcast class include file
    07/03/30 MrFluffy
*/

$sc_host = "[Server-IP]";
$sc_port = "[Server-Port]";
$sc_pwd = "[Admin-PW]";

?>
...this is where the Details for the Shoutcast server goes im .

In the secound block there are the Titleinfo and the Player Icons...

Playerblock:
Code:
<?php

/************************************************************************/
/* MrFluffy's SUN fm Radio Block                                        */
/*                                                                      */
/*                        (c) 2005 by MrFluffy                          */
/*                       http://nuke-platinum.de                        */
/*                                                                      */
/*                      MrFluffy aka aconrads                           */
/*      [email protected] - http://nuke-platinum.de [DE]       */
/*   [email protected] - http://www.conrads-berlin.de [DE/EN/FR]   */
/************************************************************************/

if ( !defined('NUKE_FILE') ) {
    Header("Location: ../index.php");
    die();
}

require_once('includes/shoutcast.class.php');
include ('includes/sc_config.php');

$shoutcast = new ShoutCast();
$shoutcast->host = $sc_host;
$shoutcast->port = $sc_port;
$shoutcast->passwd = $sc_pwd;
if ($shoutcast->openstats()) {
    if ($shoutcast->GetStreamStatus()) {
        $offline = FALSE;
        $modi = $shoutcast->GetAIM();
        $lastplayed = $shoutcast->GetSongHistory();
        $currentsong = utf8_decode($shoutcast->GetCurrentSongTitle());
    } else {
        $offline = TRUE;
    }
} else {
    $offline = TRUE;
}

if ($currentsong == "http://www.mikexmedia.de/SUN_Aktuell/SUN_News.mp3") $currentsong = "SUN&middot;fm News";
if ($currentsong == "http://www.mikexmedia.de/SUN_Aktuell/SUN_Wetter.mp3") $currentsong = "SUN&middot;fm Wetter";

// history

$i=0;
$a=0;
if (is_array($lastplayed)) {
    while ($a<3)
    {
        if ( !eregi("SUN_", $lastplayed[$i]['title']) ) {
            if ($lastplayed[$i]['title'] == "http://www.mikexmedia.de/SUN_Aktuell/SUN_News.mp3") $lastplayed[$i]['title'] = "SUN&middot;fm News";
            if ($lastplayed[$i]['title'] == "http://www.mikexmedia.de/SUN_Aktuell/SUN_Wetter.mp3") $lastplayed[$i]['title'] = "SUN&middot;fm Wetter";
            $displayhistory .= "<strong><big>&middot;</big></strong> " . utf8_decode($lastplayed[$i]['title']) . "<br />";
            $i++;
            $a++;
        } else {
            $i++;
        }
    }
} else {
    $displayhistory = "History nicht verfügbar...";
}

$content ="\n\n<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
$content .="<tr><td><img src=\"images/blocks/block_radio_01.gif\" border=\"0\" width=\"152\" height=\"37\" alt=\"\" /></td></tr>\n";
$content .="</table>\n";
$content .="\n\n<table width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\"><tr><td>\n";
$content .="\n\n<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td>\n";
$content .="<span style=\"font-size: 9pt; color: #990018; font-weight: bold\">Aktueller Titel:</span></td></tr>\n";
if ($currentsong == "") $currentsong = "Nicht verfügbar";
if (eregi("SUN_", $currentsong)) $currentsong = "Programm";
$content .="<tr><td><a href=\"http://www.sun-fm-stream.de:10224/listen.pls\">" . $currentsong . "</a><br /><br /></td></tr>\n";
$content .="<tr><td><span style=\"font-size: 9pt; color: #990018; font-weight: bold\">Die letzten drei Titel:</span></td></tr>\n";
$content .="<tr><td>" . $displayhistory . "<br /><br /></td></tr>\n";
$content .="<tr><td><span style=\"font-size: 9pt; color: #990018; font-weight: bold\">SUN&middot;fm h&ouml;ren!</span></td></tr>\n";
$content .="<tr><td><center><a href=\"http://listen.sun-fm.de/listen.pls\"><img src=\"images/blocks/stream_winamp.gif\" border=\"0\" alt=\"Winamp\" /></a>&nbsp;&nbsp;";
$content .="<a href=\"http://www.sun-fm.de/reallisten.ram\"><img src=\"images/blocks/stream_real.gif\" border=\"0\" alt=\"Realplayer\" /></a>&nbsp;&nbsp;";
$content .="<a href=\"http://www.sun-fm.de/listen.asx\"><img src=\"images/blocks/stream_wmv.gif\" border=\"0\" alt=\"Windows Media\" /></a>&nbsp;&nbsp;";
$content .="<a href=\"http://listen.sun-fm.de/listen.pls\"><img src=\"images/blocks/stream_macos.gif\" border=\"0\" alt=\"iTunes\" /></a></center>";
$content .="</td></tr></table></td></tr></table>\n\n";

?>

The listen.pls (Winamp) is provided by Shoutcast For the Realplayer and Mediaplayer look like this...

reallisten.ram:
Code:
http://85.214.45.122:10224

listen.asx:
Code:
<ASX version = "3.0">
<Entry>
<Ref href = "http://85.214.45.122:10224" />
<Banner href="http://www.sun-fm.de/images/blocks/g_Sonne_80x100.gif">
<Abstract>Radio SUN-fm - EINFACH MEHR RADIO!</Abstract>
</Banner>
</Entry>
</ASX>
...[/quote]
Hope you can work with this Wink !


Possibly Related Threads...
Thread Author Replies Views Last Post
  IPN Paypal Subscriptions labrocca 125 85,565 Jan 15, 2009, 09:40 PM
Last Post: mybb34
  Ignore Posts Plugin labrocca 37 22,402 Aug 14, 2008, 04:34 PM
Last Post: labrocca
  plugin help ohliam 2 2,776 Jul 12, 2008, 02:10 PM
Last Post: ciorax
  PM on Registration and PM Subject plugin conflict Xtreme2damax 3 3,303 Jul 03, 2008, 02:43 PM
Last Post: judel
  [help] Download page plugin indiansword 1 2,829 Jun 11, 2008, 12:41 PM
Last Post: labrocca

Forum Jump:


Users browsing this thread: 1 Guest(s)