131
trspice
Re: News Module - User submission Bugs
  • 2007/4/16 18:43

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


I restored the storyform.inc.php to the original and then applied the mods you suggested and the extended textarea shows but still won't record an entry.

See image
Resized Image

Note the first article posted by 'anna' has no read more even though text was added to the extended area

The code change
//Extra info
//If admin -> if submit privilege
// if ($approveprivilege) {
    
$editor2=news_getWysiwygForm(_AM_EXTEXT'bodytext'$bodytext1560'bodytext_hidden');
    
$sform->addElement($editor2,false);

    if(
news_getmoduleoption('metadata')) {
        
$sform->addElement(new xoopsFormText(_NW_META_DESCRIPTION'description'50255$description), false);
        
$sform->addElement(new xoopsFormText(_NW_META_KEYWORDS'keywords'50255$keywords), false);
    }
// }


Nothing else has been changed in this file.

Xoops 2.0.16
Linux
php 4.4
mysql 4.0
There's nothing but science....
The Reggae Album



132
trspice
Re: Can a file include tag be used in a language file define?
  • 2007/4/16 17:34

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Thanks for the suggestions. Both still print the code on the page instead of the text from the file. Here is exactly what I am doing

I am using Userpages module and want to add significant amount of text to language/main.php line 38
define("_USERPAGE_EMPTY_PAGE","Disclaimer and rules");
There's nothing but science....
The Reggae Album



133
trspice
Can a file include tag be used in a language file define?
  • 2007/4/15 4:43

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


I have quite a bit of text that I want to be read from a language file. I am really just replacing the text of an existing definition.

I wanted to place the text in an external html file and use and include tag <{include file='thefile.html'}> to call it. Can this be done? If so how? I tried a few methods but all failed.
There's nothing but science....
The Reggae Album



134
trspice
Re: Cloning Debaser 0.92
  • 2007/4/15 3:55

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Make it media, thanks.
There's nothing but science....
The Reggae Album



135
trspice
Re: News Module - User submission Bugs
  • 2007/4/15 3:52

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Thanks. That fixed the HTML problem but the extended text form still won't work. There must be more going on in its core. It is acting really retarded like it wasn't complete but just thrown out to meet a deadline.

With the original storyform.inc.php the extended text area shows when a user clicks edit of the article they post. They enter text in it and then click submit and before the form is sent you literally see the text in the extended area stripped away. It doesn't display in the published article.

Is anyone willing to correct these bugs for a fee?
There's nothing but science....
The Reggae Album



136
trspice
Re: Cloning Debaser 0.92
  • 2007/4/14 19:55

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


I did all that and the same thing happens. Apparently somewhere it still wants to find functions.php in the debaser folder.

When I change the path of functions.php
include_once XOOPS_ROOT_PATH.'/modules/media2/include/functions.php';

in xoops_version.php back to the original debaser folder, the new clone shows in the list and installs ok but won't display the pages. IT really doesn't make logical sense especially when I've changed every possible instance of debaser DEBASER Debaser and the file names.

If you have a working clone I'll take that instead.
There's nothing but science....
The Reggae Album



137
trspice
Re: Cloning Debaser 0.92
  • 2007/4/13 23:10

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Can someone tell me what the XOOPS module system looks for in an uninstalled module to make it display in the uninstalled module list?

I changed all occurences of debaser to debaser2 and when it is uploaded it won't display in the list of uninstalled modules nor does the other modules that follow in alphabetical oreder. When I remove the folder from the modules folder the other modules show.
There's nothing but science....
The Reggae Album



138
trspice
Re: How can I change the path to the redirect page?
  • 2007/4/13 23:06

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Has anyone successfully eliminated the redirect page? XOOPS seems to be the only CMS that does this and I find it annoying and non-professional.

It seems like something that was thrown in after the program was completed and someone figured there need to be a 'no permission' message but it was too much to write it into the completed project. I can't imagine that this was purposely done.
There's nothing but science....
The Reggae Album



139
trspice
Re: News Module - User submission Bugs
  • 2007/4/13 22:02

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Thanks Lankford. that did display the second textarea. Another main fix is displaying the 'Allow HTML' checkbox for users. Without that it keeps returning codes within the articles.

I saw some other lines in that file and tried blocking them out but that didn't display the checkbox. Have you figured that out also?

Update:
I tried to use the extended text and it published without error but the 'Read More' link does not show in the summary.

Also I commented out the IF lines for $option_tray and now all the check boxes display for users but checking them does nothing as the HTML codes still show.
There's nothing but science....
The Reggae Album



140
trspice
News Module - User submission Bugs
  • 2007/4/13 17:40

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


When a user submits, only 'The Scoop' form is displayed. This causes the entire article to display as summary. The article has to be edited then the 'Extended Text' area and the 'scoop' are properly displayed.

Has anyone done a hack to make this work right on initial submission?

- I enabled TinyEditor in the preferences and when articles are published, the HTML code shows. There is no check box for the user to enable HTML. Then as admin when I edit the article and then enable HTML nothing change. I have to delete the article and repost for the enabled HTML to work.

If editor options are provided what else must be done to make it display without the codes.

- On editing any article the display date is checked by default and if not uncheked then it doesn't display and when I try to edit and change that it won't correct. I have to delete and repost. It's like it can't edit the database

Has others experienced these bugs? What is the fix for this?
There's nothing but science....
The Reggae Album




TopTop
« 1 ... 11 12 13 (14) 15 16 17 ... 19 »



Login

Who's Online

125 user(s) are online (79 user(s) are browsing Support Forums)


Members: 0


Guests: 125


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