6061
Mamba
Re: XOOPS 2.6.0 Alpha 3 for Testing
  • 2015/2/9 6:02

  • Mamba

  • Moderator

  • Posts: 11377

  • Since: 2004/4/23


Quote:
is this new block officially in xoops 2.6 ?

Blocks will get a major rewrite in XOOPS 2.6.0.

Please see comment from Richard in this news
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



6062
Mamba
Re: Custom PHP Page with no header and footer
  • 2015/2/9 5:55

  • Mamba

  • Moderator

  • Posts: 11377

  • Since: 2004/4/23


Quote:
i dont want to apply the theme.html layout.. dont want the header, footer, etc

I think, the easiest way would be to just copy and rename the /default theme, and then modify the theme.html by removing what you don't want, but still taking advantage of the other elements included in the theme?

But this is just my guess, and maybe some of our theme gurus can provide you with a better advise?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



6063
Mamba
Re: How do I delete email field of the comments ?
  • 2015/2/9 5:46

  • Mamba

  • Moderator

  • Posts: 11377

  • Since: 2004/4/23


Quote:
How do I delete email field of the comments ?

Start by looking in the file:

\include\comment_form.php

You can probably comment out the line:

$cform->addElement(new XoopsFormText(_CM_EMAIL'com_email'5060$com_email), true);

but you would basically hack the core, so it would be your responsibility to test if it doesn't break anything. And make sure that you document all the changes, because if you upgrade XOOPS in the future, you'll have to do it again.

Quote:
How do I add a field name (sender) in the comments section?

You already have the field called "Name" - just rename it to "Sender"

Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



6064
Mamba
Re: New Responsive Admin Theme
  • 2015/2/9 5:19

  • Mamba

  • Moderator

  • Posts: 11377

  • Since: 2004/4/23


We don't plan any official changes in Admin 2.5.x, as we are focusing on XOOPS 2.6.0

Of course, once Timgno is done with his Admin theme, you will be able to download it and use it in your installation.

Eduardo (aka Bitcero) is working on a new Admin theme for XOOPS 2.6.0 based on his Common Utilities
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



6065
Mamba
Re: Issue instaling XOOPS 2.5.7.1
  • 2015/2/9 5:13

  • Mamba

  • Moderator

  • Posts: 11377

  • Since: 2004/4/23


Hi Fabou,

thank you for you interest in XOOPS.

Some hosts seem to have problems with generating the "mainfile.php" file.

In this case, do not rename any files to "mainfile.php", but instead copy the "mainfile.php" from /extras, and then try to install again.

Also, do NOT rename the "secure.dist.php" to "secure.php". XOOPS needs that and it takes care of everything.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



6066
sabahan
Re: New Responsive Admin Theme
  • 2015/2/9 4:24

  • sabahan

  • Quite a regular

  • Posts: 317

  • Since: 2006/3/4 5


this should be in xoops next version

nice



6067
sabahan
Re: XOOPS 2.6.0 Alpha 3 for Testing
  • 2015/2/9 4:19

  • sabahan

  • Quite a regular

  • Posts: 317

  • Since: 2006/3/4 5


is this new block officially in xoops 2.6 ?

this will be great if it is



6068
sabahan
Custom PHP Page with no header and footer
  • 2015/2/9 4:12

  • sabahan

  • Quite a regular

  • Posts: 317

  • Since: 2006/3/4 5


i have this custom php page fro xoops...How do i have page with no header and footer, just some simple white background

i dont want to apply the theme.html layout.. dont want the header, footer, etc

i just want to have a white background with my html/php content

i want to use multilingual tag in my custom page so i can't use a normal html file

is this possible ?


include("../../mainfile.php"); 
include(
XOOPS_ROOT_PATH."/header.php"); 

$meta_keywords ""
$meta_description ""
$pagetitle ""

if(isset(
$xoTheme) && is_object($xoTheme)) { 
    
$xoTheme->addMeta'meta''keywords'$meta_keywords); 
    
$xoTheme->addMeta'meta''description'$meta_description); 
} else {    
// Compatibility for old Xoops versions 
    
$xoopsTpl->assign('xoops_meta_keywords'$meta_keywords); 
    
$xoopsTpl->assign('xoops_meta_description'$meta_description); 


$xoopsTpl->assign('xoops_pagetitle'$pagetitle); 

//this will only work if your theme is using this smarty variables 
$xoopsTpl->assign'xoops_showlblock'0); //set to 0 to hide left blocks 
$xoopsTpl->assign'xoops_showrblock'0); //set to 0 to hide right blocks 
$xoopsTpl->assign'xoops_showcblock'1); //set to 0 to hide center blocks 
?> 

htmml or php content 

include(XOOPS_ROOT_PATH."/footer.php"); 
?>



6069
sova
How do I delete email field of the comments ?
  • 2015/2/9 3:57

  • sova

  • Not too shy to talk

  • Posts: 149

  • Since: 2010/4/13


How do I delete email field of the comments ?
How do I add a field name (sender) in the comments section?



6070
fabou78
Issue instaling XOOPS 2.5.7.1
  • 2015/2/8 21:26

  • fabou78

  • Friend of XOOPS

  • Posts: 43

  • Since: 2012/6/16


Hi,

I am having some issues installing 2.5.7.1 on a brand new Linux Ubuntu Server

PHP 5.5.9
mysql 5.5.41

If I run the following commands and launch the webinstall I get a blank page

chmod 777 uploads
chmod 777 uploads/avatars/
chmod 777 uploads/images/
chmod 777 uploads/ranks/
chmod 777 uploads/smilies/
mv mainfile.dist.php mainfile.php
chmod 777 mainfile.php
chmod 777 include/license.php
chmod 777 xoops_lib/modules/protector/configs/
chmod 777 xoops_data/caches
chmod 777 xoops_data/caches/xoops_cache
chmod 777 xoops_data/caches/smarty_cache
chmod 777 xoops_data/caches/smarty_compile
chmod 777 xoops_data/configs
chmod 777 xoops_data/data
mv xoops_data/data/secure.dist.php xoops_data/data/secure.php
chmod 777 xoops_data/data/secure.php


whith this error;

[Sun Feb 08 21:09:05.214629 2015] [:error] [pid 1138] [client 192.168.1.107:57179] PHP Warning: require(/data/secure.php): failed to open stream: No such file or directory in /var/www/html/xoops/mainfile.php on line 68
[Sun Feb 08 21:09:05.214848 2015] [:error] [pid 1138] [client 192.168.1.107:57179] PHP Fatal error: require(): Failed opening required '/data/secure.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/xoops/mainfile.php on line 68

Now if I do not rename "mainfile.dist.php" to "mainfile.php" but make it writable at least the webinstall page is showing fine and I can go through the install process until I get an error message saying that it can't write to mainfile.php

Then I am back to blank page and can' t see error messages on the apache2 log

Please note that I have enabled "display_errors" & "error_reporting" in php.ini

Regards,

Fabou








TopTop
« 1 ... 604 605 606 (607) 608 609 610 ... 29425 »



Login

Who's Online

467 user(s) are online (135 user(s) are browsing Support Forums)


Members: 0


Guests: 467


more...

Donat-O-Meter

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

Latest GitHub Commits