[8WR] XenPorta (Portal)

[8WR] XenPorta (Portal) 1.6.0

No permission to download
Hi

I have donated towards this great add-on but would like to remove the copyright notice, does anyone know the best way of doing that?

Thanks

see first post:

Creating these modifications is my primary source of income. If you appreciate the work here, please DONATE.

A donation of $50 (or more) earns you the right to remove the copyright for this mod from a single install.
 
Correct - I have donated already and would like to remove the copyright , I just dont now the "correct" way of doing it

Did you donated at least 50$ ? Did you talked to Jaxel because of removing the CR?
 
I cannot for the life of me figure out how to change the dimensions of a block area in a layout. My portal is stuck with 7 tiny little boxes incapable of showing pretty much anything. I've tried reinstalling, no good.
 
Anyone slese experiencing issues with the RecentMedia block? For some reason it suddenly does not show any images anymore one one of the sites I administrate for a client.

PortaMediaBroken.webp

I updated Porta and Medio, but no luck so far.
 
Still looking for help. Can someone explain how to change the size/position of a block in the default Portal layout (so I can use it without enabling global layouts and losing my forum sidebar)?
 
Thanks for looking. Additionally, can anyone explain why a custom layout called "Forum" with no ID (and having no other forum layouts) doesn't seem to be able to change my forum page? Or why enabling "Index (index > portal)", which appears to be the only way to create different portal layouts (which also have blocks that can't seem to be adjusted), also applies the portal layout to my entire site, even the forums, despite the Forums having its own layout?

I'm just trying to make a basic portal page with the RecentSlider (or hell, RecentNews, RecentThreads, I'll take what I can get) block taking up the left 2/3 of the page and some smaller blocks on the right, and it's driving me crazy. Pretty much every example of XenPorta I've seen has this, and I can't for the life of me figure out how.
 
I'm getting an error when merging threads Jaxel. I've seen it happen when trying to merge threads into any thread which is promoted or appears in the recent news block.

Does anyone else see this error?
Code:
Server Error Log
Error Info
ErrorException: Undefined index: join - library/EWRporta/Model/Post.php:11
Generated By: Wozza, Wednesday at 9:19 PM
Stack Trace
#0 /var/www/xxx/httpdocs/library/EWRporta/Model/Post.php(11): XenForo_Application::handlePhpError(60774)
#1 /var/www/xxx/httpdocs/library/Bookmarks/Model/Thread.php(29): EWRporta_Model_Post->getPostsInThread(Array, 60774, Array)
#2 /var/www/xxx/httpdocs/library/XenForo/Model/InlineMod/Thread.php(751): Bookmarks_Model_Thread->mergeThreads(Array, 60774, Array, NULL)
#3 /var/www/xxx/httpdocs/library/XenForo/ControllerPublic/InlineMod/Thread.php(294): XenForo_Model_InlineMod_Thread->mergeThreads()
#4 /var/www/xxx/httpdocs/library/XenForo/FrontController.php(310): XenForo_ControllerPublic_InlineMod_Thread->actionMerge(Object(XenForo_RouteMatch))
#5 /var/www/xxx/httpdocs/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch()
#6 /var/www/xxx/httpdocs/index.php(13): XenForo_FrontController->run()
#7 {main}
Request State
array(3) {
  ["url"] => string(53) "http://mydomain.com/inline-mod/thread/merge"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(7) {
    ["target_thread_id"] => string(5) "60774"
    ["create_redirect"] => string(0) ""
    ["save"] => string(13) "Merge Threads"
    ["threads"] => array(2) {
      [0] => string(5) "67883"
      [1] => string(5) "60774"
    }
    ["_xfConfirm"] => string(1) "1"
    ["redirect"] => string(51) "http://mydomain.com/find-new/8856/threads"
    ["_xfToken"] => string(57) "10570,1332965935,179764424cdb4183779ff40e5e095a9b26ce2043"
  }
}

Can someone please confirm?
 
Fatal error: Call to undefined function money_format() in C:\xampp\htdocs\library\EWRporta\Block\Donations.php on line 47
For those using the Donation block while on a Windows server or using XAMPP or WAMP in a Windows environment, I discovered a fix from PHP.net.

Simply open "Donations.php" from "[Xenforo directory]/library/EWRporta/Block" and paste this code after "<?php":
PHP:
function money_format($format, $number)
{
    $regex  = '/%((?:[\^!\-]|\+|\(|\=.)*)([0-9]+)?'.
              '(?:#([0-9]+))?(?:\.([0-9]+))?([in%])/';
    if (setlocale(LC_MONETARY, 0) == 'C') {
        setlocale(LC_MONETARY, '');
    }
    $locale = localeconv();
    preg_match_all($regex, $format, $matches, PREG_SET_ORDER);
    foreach ($matches as $fmatch) {
        $value = floatval($number);
        $flags = array(
            'fillchar'  => preg_match('/\=(.)/', $fmatch[1], $match) ?
                          $match[1] : ' ',
            'nogroup'  => preg_match('/\^/', $fmatch[1]) > 0,
            'usesignal' => preg_match('/\+|\(/', $fmatch[1], $match) ?
                          $match[0] : '+',
            'nosimbol'  => preg_match('/\!/', $fmatch[1]) > 0,
            'isleft'    => preg_match('/\-/', $fmatch[1]) > 0
        );
        $width      = trim($fmatch[2]) ? (int)$fmatch[2] : 0;
        $left      = trim($fmatch[3]) ? (int)$fmatch[3] : 0;
        $right      = trim($fmatch[4]) ? (int)$fmatch[4] : $locale['int_frac_digits'];
        $conversion = $fmatch[5];
 
        $positive = true;
        if ($value < 0) {
            $positive = false;
            $value  *= -1;
        }
        $letter = $positive ? 'p' : 'n';
 
        $prefix = $suffix = $cprefix = $csuffix = $signal = '';
 
        $signal = $positive ? $locale['positive_sign'] : $locale['negative_sign'];
        switch (true) {
            case $locale["{$letter}_sign_posn"] == 1 && $flags['usesignal'] == '+':
                $prefix = $signal;
                break;
            case $locale["{$letter}_sign_posn"] == 2 && $flags['usesignal'] == '+':
                $suffix = $signal;
                break;
            case $locale["{$letter}_sign_posn"] == 3 && $flags['usesignal'] == '+':
                $cprefix = $signal;
                break;
            case $locale["{$letter}_sign_posn"] == 4 && $flags['usesignal'] == '+':
                $csuffix = $signal;
                break;
            case $flags['usesignal'] == '(':
            case $locale["{$letter}_sign_posn"] == 0:
                $prefix = '(';
                $suffix = ')';
                break;
        }
        if (!$flags['nosimbol']) {
            $currency = $cprefix .
                        ($conversion == 'i' ? $locale['int_curr_symbol'] : $locale['currency_symbol']) .
                        $csuffix;
        } else {
            $currency = '';
        }
        $space  = $locale["{$letter}_sep_by_space"] ? ' ' : '';
 
        $value = number_format($value, $right, $locale['mon_decimal_point'],
                $flags['nogroup'] ? '' : $locale['mon_thousands_sep']);
        $value = @explode($locale['mon_decimal_point'], $value);
 
        $n = strlen($prefix) + strlen($currency) + strlen($value[0]);
        if ($left > 0 && $left > $n) {
            $value[0] = str_repeat($flags['fillchar'], $left - $n) . $value[0];
        }
        $value = implode($locale['mon_decimal_point'], $value);
        if ($locale["{$letter}_cs_precedes"]) {
            $value = $prefix . $currency . $space . $value . $suffix;
        } else {
            $value = $prefix . $value . $space . $currency . $suffix;
        }
        if ($width > 0) {
            $value = str_pad($value, $width, $flags['fillchar'], $flags['isleft'] ?
                    STR_PAD_RIGHT : STR_PAD_LEFT);
        }
 
        $format = str_replace($fmatch[0], $value, $format);
    }
    return $format;
}
It will act as the previously undefined money_format() function. :)

Remember to remove this code when uploading to a Linux-based server!
 
Top Bottom