181
tcnet
Re: wordbook module.
  • 2006/6/17 18:05

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


My pleasure!



182
tcnet
Re: A module to improve rss into my xoops site ?
  • 2006/6/14 17:28

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Xhld is a good module for displaying another website's rss feed on your site.



183
tcnet
Re: wordbook module.
  • 2006/6/14 12:41

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


The length of the abbreviated definition is set in the module's system preferences in "12. Length of string to show in random definitions". This variable sets the description length used in the module's blocks and in the letters and category pages.

An easy fix would be to set that variable to a high enough number so that it includes the full definition in the letters and category views. Unfortunately that would cause the full definition to display in the module's blocks as well.

If you want to reserve the short definition variable for block use, you will have to modify letters.php and category.php to use the full definition.

Somewhere around lines 106 and 192 in letters.php you will find the random length variable in use.
<code>
if ( !XOOPS_USE_MULTIBYTES )
{
$deftemp = cleanTags($definition);
$deftemp = $myts -> displayTarea ( substr ( $deftemp, 0, ( $xoopsModuleConfig['rndlength'] -1 ))) . "...";
$eachentry['definition'] = $deftemp;
}
</code>

The "clean tags line" removes images, links and other html tags from the short definition and the "rndlength" variable limits the string length.

Comment out those lines and replace with code that will display the full definition:
<code>
if ( !XOOPS_USE_MULTIBYTES )
{
// HACK for full definition
//$deftemp = cleanTags($definition);
//$deftemp = $myts -> displayTarea ( substr ( $deftemp, 0, ( $xoopsModuleConfig['rndlength'] -1 ))) . "...";

$deftemp = $myts -> displayTarea( $definition, $html, $smiley, $xcodes, 1, $breaks );

// END HACK for full definition
$eachentry['definition'] = $deftemp;
}
</code>

You may want to modify this code in category.php (line 139) to show the full definition in category view as well.



184
tcnet
Re: How to remove sub-menu items from a modulue (My Reviews)
  • 2006/6/13 11:47

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


The submenu is defined in the module's xoops_version.php file. Open modules/myreviews/xoops_version.php, look for $modversion['sub'] and comment out the items you don't want.



185
tcnet
Re: A really simple theme
  • 2006/6/8 19:09

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


You can demo many of the XOOPS themes athttps://xoops.org.es/decorados/modules/news/



186
tcnet
Re: How to Create a New Module: Where are the Docs ???
  • 2006/6/8 19:01

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12





187
tcnet
Re: Registrations
  • 2006/6/8 12:43

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Both the site admin and the new user should receive mails when the registration form is submitted and when the new user account is activated. You can test the site by registering yourself as a new member using a working email address and see if the script sends you a validation email.

If you don't get the mails, something is wrong with your settings in System Preferences/Mail Setup or User Info Settings. You might need to try PHP(mail)instead of SMTP delivery method.

To check if a new user is activated you can go to System Admin/Edit User, then select the new username and modify. If the account is not activated, XOOPS will display a message page instead of the users account admin.

Hope this helps.



188
tcnet
Re: 2 xoops questions guys (and gals) :-)
  • 2006/6/8 11:03

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Look for XOOPS control panel/ system admin / preferences / "meta tags and footer" to edit the system wide meta tags.



189
tcnet
Re: Registrations
  • 2006/6/8 3:54

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Have you entered your email information in admin panel/ preferences/ system / mail setup ?



190
tcnet
Re: 2 Minor things
  • 2006/6/8 3:37

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Not sure what version of Newbb you are using but try looking at admin panel/ newbb module / forums tab and edit the forum's "allowed extensions" to set what kind of file attachments are allowed in that forum.

You may also need to go to module permissions and set which users can upload attachments to that forum.

To display the attached images directly in the post go to module preferences and "Enable Media Features".




TopTop
« 1 ... 16 17 18 (19) 20 21 »



Login

Who's Online

239 user(s) are online (176 user(s) are browsing Support Forums)


Members: 0


Guests: 239


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