11
mouacy
Re: CBB 308 Forum Manager problem Not Edit + Add
  • 2007/3/5 20:56

  • mouacy

  • Not too shy to talk

  • Posts: 138

  • Since: 2002/11/2


Still needs help... can't edit forum:

url /newbb/admin/admin_forum_manager.php?op=mod&forum=27

admin_forum_manager.php shows blank page in IE7, and ask to be download in FireFox 2.0

Someone must have a solution to correct this.



12
mouacy
PDdownloads function for alphabetical letter not working right
  • 2007/3/5 5:50

  • mouacy

  • Not too shy to talk

  • Posts: 138

  • Since: 2002/11/2


Original code:

function PDd_letters()
{
    global 
$xoopsModule;
    if (empty(
$mydirname)){
        include 
'mydirname.php';
    }

    
$letterchoice "<div>" _MD_PDD_BROWSETOTOPIC "</div>";
    
$letterchoice .= "[  ";
    
$alphabet PDd_getLetters();
    
$num count($alphabet) - 1;
    
$counter 0;
    while (list(, 
$ltr) = each($alphabet))
    {
        
$letterchoice .= "<a href='" XOOPS_URL "/modules/[b]$mydirname[/b]/viewcat.php?list=$ltr'>$ltr</a>";
        if (
$counter == round($num 2))
        
$letterchoice .= " ]<br />[ ";
        elseif (
$counter != $num)
        
$letterchoice .= "&nbsp;|&nbsp;";
        
$counter++;
    }
    
$letterchoice .= " ]";
    return 
$letterchoice;
}


Link on alphabet shows:http://www.mydomain.com/modules//viewcat.php?list=alphabet

The module name does not show.

So I have to hardcode in the module name PDdownloads to make it work.

$letterchoice .= "<a href='" XOOPS_URL "/modules/[b]PDdownloads[/b]/viewcat.php?list=$ltr'>$ltr</a>";


Any other idea on how to fix this?



13
mouacy
Need help coding XOOPS SESSION
  • 2007/3/1 21:59

  • mouacy

  • Not too shy to talk

  • Posts: 138

  • Since: 2002/11/2


Here is the complete code for the file.

Quote:

<?php
$xoopsOption['pagetype'] = "user";
include "../mainfile.php";
include "../header.php";

if (empty($xoopsModuleConfig['anonpost']) && !is_object($xoopsUser)) {
redirect_header("../index.php", 0, _NOPERM);
exit();
}

$user_name = $xoopsUser->getVar("uname");

//phpfreechat script begins
require_once dirname(__FILE__)."/src/phpfreechat.class.php";
$params = array();
$params["nick"] = $user_name;
$params["serverid"] = $_SESSION['chat_serverid'];
$chat = new phpFreeChat( $params );
$chat->printJavascript();
$chat->printStyle();
$chat->printChat();

//include XOOPS footer
include "../footer.php";
?>


I need to replace the
Quote:

$params["serverid"] = $_SESSION['chat_serverid'];

to make it uses the XOOPS default session.

How?



14
mouacy
xcGallery 2.0.2 user permission
  • 2007/2/28 21:59

  • mouacy

  • Not too shy to talk

  • Posts: 138

  • Since: 2002/11/2


I was using xoopsgallery but since moving to a new server with PHP5.0.4, my xoopsgallery no longer work.

I decided to tried xcGallery 2.0.2, but other users cannot add pictures to the album I created. And I do not want them to create their own album.

How do I configure xcGallery to allow all users to upload pictures without having their own personal albums?



15
mouacy
Re: xoopsgallery 1.3.3 comment problem
  • 2007/2/23 17:25

  • mouacy

  • Not too shy to talk

  • Posts: 138

  • Since: 2002/11/2


I had the same problem a while back, and I ended up editing some of the php files to replace the "amp;" with "&" to make the comment work. But I moved my site to a different server on php 5.0.4 and my gallery is now blank.

The php file you should look at is the one that involved in posting the comment to the database. Can't remember which one.



16
mouacy
CBB 308 Forum Manager problem
  • 2007/2/23 17:03

  • mouacy

  • Not too shy to talk

  • Posts: 138

  • Since: 2002/11/2


My CBB 3.0.8 was installed and configured, and it works fine. The problem is (1) when I click on the pencil icon to edit the forum, the save pop-up box show up asking me to save the admin_forum_manager.php file. (2) When I click to add a subforum, I get a blank page.

Server info:
PHP 5.0.4
MySQL 4+
XOOPS 2.0.16

Does anyone know anyway to fix those problems?



17
mouacy
CBB 308 and PHP 5.0.4
  • 2007/2/13 20:47

  • mouacy

  • Not too shy to talk

  • Posts: 138

  • Since: 2002/11/2


Does CBB 308 run in PHP 5.0.4?



18
mouacy
Re: blank pages on register.php, user.php, and all pm php files after upgrade to 2.0.16
  • 2007/2/2 17:16

  • mouacy

  • Not too shy to talk

  • Posts: 138

  • Since: 2002/11/2


I figure out mine. I switched to the default templates and everything worked so I compare my theme with the default theme and made the changes on some of the {if ....} condition and mine works.

Check the theme too. If your case is similar, fixing the theme might help.



19
mouacy
Re: blank pages on register.php, user.php, and all pm php files after upgrade to 2.0.16
  • 2007/1/30 20:42

  • mouacy

  • Not too shy to talk

  • Posts: 138

  • Since: 2002/11/2


These are the error I got when trying to view message:

Notice: Only variable references should be returned by reference in file /kernel/module.php line 124
Notice: Only variables should be assigned by reference in file /viewpmsg.php line 56


and the files are original 2.0.16 files.

viewmessage.php line 56 read:

$pm_arr =& $pm_handler->getObjects($criteria);

module.php line 124 read:

114 function &getInfo($name=null)
115 {
116 if ( !isset($this->modinfo) ) {
117 $this->loadInfo($this->getVar('dirname'));
118 }
119 if ( isset($name) ) {
120 if ( isset($this->modinfo[$name]) ) {
121 return $this->modinfo[$name];
122 }
123 $return = false;
124 return $return;
125 }
126 return $this->modinfo;
127 }



20
mouacy
blank pages on register.php, user.php, and all pm php files after upgrade to 2.0.16
  • 2007/1/30 20:33

  • mouacy

  • Not too shy to talk

  • Posts: 138

  • Since: 2002/11/2


After upgrading from 2.0.15 to 2.0.16, I got blank pages on the following files:

register.php, user.php, and all profile and inbox files.

Can somebody give me some pointers?

Host information:
MySql 3+
PHP 4

Upgraded the following:

Core: XOOPS 2.0.15 --> 2.0.16
Mod: CBB 3.0.5 --> 3.0.8
Others: Framework and XOOPSeditor




TopTop
« 1 (2) 3 4 5 ... 14 »



Login

Who's Online

161 user(s) are online (73 user(s) are browsing Support Forums)


Members: 0


Guests: 161


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits