51
Cavan
Re: Posts disappeared from newbb!!!
  • 2005/4/16 15:08

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


Sometimes an upgrade doesn't 'fix' anything: It's not the end all, be all solution that most people think it is nor does it FIX THE PROBLEM I'm currently having. What's to say that this won't happen with upgrading to newbb2? I've seen enough posts about people losing old posts after upgrading that it's convinced to not bother with it, especially since newbb1 has worked flawlessly (up 'til yesterday).

Synchronizing the posts has no affect on this issue: Zero. Zilch. Nothing.

And as far as the posts dropping off after 100 days, where is this setting? I've never seen it and it certainly isn't in any of the module settings. Seriously though, I'm going to lose posts after 100 days? For our site needs, that's unacceptable.

Don't misunderstand me: I appreciate the input but I'm still getting nowhere...If this can't be fixed, I'm going to have to shut the site down and revamp it, only without Xoops.



52
Cavan
Posts disappeared from newbb!!!
  • 2005/4/16 8:21

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


I haven't a clue why this happened, so maybe someone can explain it and tell me how to fix this ASAP:

Our site has been live for only two weeks now and today I found that several rather important newbb (version 1) posts are no longer appearing on the site!

All of the 'missing' post's text is still in the XOOPS database (xoops_bb_posts_text), so what is going on here? In one forum (one that is very much needed), two posts remain but where are the others? Another forum is missing posts as well. I made NO CHANGES to this module today (or even recently) and I can't believe that this has happened. This is very frustrating.

Having these forums available to our registered users is critical for us, so HOW DO I GET THESE MISSING POSTS TO DISPLAY AGAIN? Can someone please help with this or am I out of luck? I'd really appreciate some help.



53
Cavan
Can't find the right template to edit in MyAlbum module...
  • 2005/4/16 4:41

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


In the module MyAlbum, which template is associated with /modules/myalbum/submit.php? I have one more layout change but just can't seem to find where to edit this in the modules templates.



54
Cavan
Membership 0.6 MySQL syntax error
  • 2005/4/14 18:47

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


I installed the Membership 0.6 module, mainly because I want to alter it (change attributes of displayed fileds) to suit my site's needs, but...I'm certainly no expert on MySQL, but the error message I get when creating the tables is driving me nuts...I took a look at it but I can't see the error PHP MyAdmin states is there. Here's the table structure for the Membership 0.6 module (installing Membership 0.6 via my site's admin backend doesn't create any tables in the database---I had to do this separately from the module installation, so maybe that had something to do with it?):

# Table structure for table `memb_conf`
CREATE TABLE memb_conf (
  
att_id smallint(3unsigned NOT NULL auto_increment,
  
att_name varchar(100NOT NULL default '',
  
att_type varchar(10NOT NULL default 'char',
  
att_label varchar(30) default '',
  
att_desc varchar(255) default '',
  
att_active ENUM('0','1') DEFAULT '1' NOT NULL,
  
disp_width tinyint unsigned NOT NULL default '10',
  
disp_order tinyint unsigned NOT NULL default '1',
  
map_table varchar(100) default '',
  
map_field varchar(100) default '',
  
PRIMARY KEY  (att_id)
TYPE=MyISAM;

memb_attribs table holds the attributes for each member.

# Table structure for table `memb_attribs`
CREATE TABLE memb_attribs (
  
userid mediumint(8unsigned NOT NULL,
  
name varchar(100NOT NULL default '',
  
value_txt mediumblob default '',
  
value_date datetime,
  
PRIMARY KEY  (userid,name)
TYPE=MyISAM;



55
Cavan
Re: New field info not output to user profile
  • 2005/4/12 18:13

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


m0nty,

Here's a few bits from my register.php (FYI, I use XOOPS 2.0.7.3), lines 155-186:
//        OpenTable();
        
echo "<h5><strong><p>Please review the following information:</p></strong></h5>";
        echo 
_US_USERNAME.": ".$myts->makeTboxData4Preview($uname)."<br />";
        echo 
_US_NAME.": ".$myts->makeTboxData4Preview($name)."<br />";
        echo 
_US_LOCATION.": ".$myts->makeTboxData4Preview($user_from)."<br />";
        echo 
_US_EMAIL.": ".$myts->makeTboxData4Preview($email)."<br />";
        
//if ( $user_avatar != '' ) {
        //    echo _US_AVATAR.": <img src='uploads/".$user_avatar."' alt='' /><br />";
        //}
        
if ( isset($url) && $url != '' ) {
            
$url formatURL($myts->makeTboxData4Preview($url));
            echo 
_US_WEBSITE.": $url<br />";
        }
        
$f_timezone = ($timezone_offset 0) ? 'GMT '.$timezone_offset 'GMT +'.$timezone_offset;
        echo 
_US_TIMEZONE.": $f_timezone<br />";
        echo 
"<h5><strong><p><strong>If the above information to be correct, please click the Finish button below to receive your registration e-mail.</strong></p>
          <p>IMPORTANT NOTE: If you are using an online e-mail provider such as Yahoo, AOL or MSN, you may need to check your Trash or Junk mail folder for your registration e-mail. To prevent this from happening in the future, please add our web address to your Safe or Trusted sites list in your email settings.</p></strong></h5>"
;
        echo 
"<form action='register.php' method='post'>
        <input type='hidden' name='uname' value='"
.$myts->makeTboxData4PreviewInForm($uname)."' />
        <input type='hidden' name='name' value='"
.$myts->makeTboxData4PreviewInForm($name)."' />
        <input type='hidden' name='email' value='"
.$myts->makeTboxData4PreviewInForm($email)."' />";
        
//echo "<input type='hidden' name='user_avatar' value='".$myts->makeTboxData4PreviewInForm($user_avatar)."' />";
        
$user_viewemail = isset($user_viewemail) ? intval($user_viewemail) : 0;
        echo 
"<input type='hidden' name='user_viewemail' value='".$user_viewemail."' />
        <input type='hidden' name='timezone_offset' value='"
.(float)$timezone_offset."' />
        <input type='hidden' name='url' value='"
.$myts->makeTboxData4PreviewInForm($url)."' />
        <input type='hidden' name='location' value='"
.$myts->makeTboxData4PreviewInForm($user_from)."' />
        <input type='hidden' name='pass' value='"
.$myts->makeTboxData4PreviewInForm($pass)."' />
        <input type='hidden' name='vpass' value='"
.$myts->makeTboxData4PreviewInForm($vpass)."' />
        <input type='hidden' name='user_mailok' value='"
.intval($user_mailok)."' />
        <br /><br /><input type='hidden' name='op' value='finish' /><input type='submit' value='"
_US_FINISH ."' /></form>";
//        CloseTable();


these are lines 194-218 (same file):
case 'finish':
    include 
'header.php';
    
$uname trim($uname);
    
$email trim($email);
    
$name trim($name);
    
$pass trim($pass);
    
$vpass trim($vpass);
    
$stop userCheck($uname$email$pass$vpass);
    if ( empty(
$stop) ) {
        
$member_handler =& xoops_gethandler('member');
        
$newuser =& $member_handler->createUser();
        if ( isset(
$user_viewemail) ) {
            
$newuser->setVar('user_viewemail',$user_viewemail);
        }
        if ( isset(
$attachsig) ) {
            
$newuser->setVar('attachsig',$attachsig);
        }
        
$name = isset($name) ? $name '';
        
$newuser->setVar('name'$name);
        
$newuser->setVar('uname'$uname);
        
$newuser->setVar('email'$email);
        
$newuser->setVar('location'$user_from);
        if ( isset(
$url) && $url!='' ) {
            
$newuser->setVar('url'formatURL($url));
        }


Does this look okay? I don't see anything wrong here or maybe I'm just going blind...?

Edit: I can post the whole file if you like, just let me know. Thanks for helping out here.



56
Cavan
Re: New field info not output to user profile
  • 2005/4/12 4:14

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


No, didn't work. Okay, so this is what I have so far:

registerform.php, line 80
$reg_form->addElement(new XoopsFormText(_US_LOCATION"user_from"2625$user_from), true);


register.php, line 159
echo _US_LOCATION.": ".$myts->makeTboxData4Preview($user_from)."<br />";


register.php, line 181
<input type='hidden' name='location' value='".$myts->makeTboxData4PreviewInForm($user_from)."' />


this is/was already in userinfo.php
$xoopsTpl->assign('user_location'$thisUser->getVar('user_from'));


and this already in system_userinfo.html
<tr valign="top">
          <
td class="head"><{$lang_location}></td>
          <
td class="odd"><{$user_location}></td>
        </
tr>


So, what am I missing or am I still using the wrong variable somewhere?



57
Cavan
Re: New field info not output to user profile
  • 2005/4/12 3:53

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


The field user_from is already in the the xoops_users table, the location is already in the userinfo.php, so maybe I have the wrong variable somewhere?

Should I be using $user_from rather than $location in the register.php instead?

I'll try it and see what happens...



58
Cavan
New field info not output to user profile
  • 2005/4/12 2:57

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


I've added the field "Location" to the registration form, in registerform.php and register.php, but the information is not being output to the user's profile. What did I miss?



59
Cavan
Re: AMS 2.41...Issue with registered users submitting articles
  • 2005/4/8 6:40

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


Yeah, tried that, it only adds a border around the title on article.php page but it doubles its thickness on index.php page...I'm still looking...usually pretty good with stylesheets but this has got me wondering about the table class or lack thereof in article.html...maybe not?



60
Cavan
Re: AMS 2.41...Issue with registered users submitting articles
  • 2005/4/8 6:23

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


Hmm...Strange stylesheet problem with the article.php now---the border around the article on index.php is fine but when you click 'read more' and go to article.php, the border disappears. There's no difference in the classes used in the article.html or item.html so what's going on?




TopTop
« 1 ... 3 4 5 (6) 7 8 9 ... 21 »



Login

Who's Online

162 user(s) are online (114 user(s) are browsing Support Forums)


Members: 0


Guests: 162


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