6261
Bleekk
tdmdownloads categories block
  • 2015/2/5 21:44

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


hi all,

I need a block which display all categories created in tdmdownloads module.

is someone there who is able to write such a block?


thanks!





6262
Bleekk
Re: New Responsive Admin Theme
  • 2015/2/5 11:33

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


cool, looks promising!
thank you!



6263
timgno
New Responsive Admin Theme
  • 2015/2/5 9:44

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


I give you a preview of the new admin responsive theme for XOOPS 2.5.8. or xoops 2.5.9

Resized Image


Resized Image


Resized Image


Resized Image


Resized Image


Resized Image


As you can see the line of debugging is off the end tag html and this must be changed from another part of the core just like Richard did in xoops 2.6

If you have suggestions are welcome

P.S: If images you don't see, go to this link https://www.flickr.com/photos/97994100@N04/sets/72157650236885259/



6264
timgno
Re: Where is this code?
  • 2015/2/3 22:26

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Ok is an oversight of versions bootstrap

Quote:
alert alert-error

is used in version 2.3 while

Quote:
alert alert-danger

is used in version 3.3

I did not notice that the documents are different



6265
timgno
Re: Where is this code?
  • 2015/2/3 22:20

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


My problem is another

I know that in the function xoops_error there is this piece of code:

but the background of this, if I use the property alert, bootstrap css, does not come out red



6266
Bleekk
Re: Where is this code?
  • 2015/2/3 20:42

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


in "yourXoops/admin.php"
if (strpos(XOOPS_PATH '/'XOOPS_ROOT_PATH '/') !== false || strpos(XOOPS_PATH '/'$_SERVER['DOCUMENT_ROOT'] . '/') !== false) {
        
xoops_error(sprintf(_AD_WARNINGXOOPSLIBINSIDEXOOPS_PATH));
        echo 
'';
    }

if (
strpos(XOOPS_VAR_PATH '/'XOOPS_ROOT_PATH '/') !== false || strpos(XOOPS_VAR_PATH '/'$_SERVER['DOCUMENT_ROOT'] . '/') !== false) {
        
xoops_error(sprintf(_AD_WARNINGXOOPSLIBINSIDEXOOPS_VAR_PATH));
        echo 
'';
    }


and the text variables are in "yourXoops/language/english/admin.php"
efine('_AD_WARNINGNOTWRITEABLE','WARNING: Folder %s is not writeable by the server. Please change the permission of this folder. in Unix (777), in Win32 (writable)');

define('_AD_WARNINGXOOPSLIBINSIDE','WARNING: Folder %s is inside DocumentRoot! For security considerations it is highly suggested to move it out of DocumentRoot.');


the xoops_error function which creates the html output is in:
"include/functions.php"



6267
timgno
Where is this code?
  • 2015/2/3 19:46

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Hi!

I was trying to change and create a new theme for cpanel and all file in admin system, but I can not find the line of code that follows:
<div class="errorMsg"><div>WARNINGFolder C:/UwAmp/www/xoops-2.5.8/htdocs/xoops_lib is inside DocumentRoot! <br />For security considerations it is highly suggested to move it out of DocumentRoot.div>div><br /><div class="errorMsg"><div>WARNINGFolder C:/UwAmp/www/xoops-2.5.8/htdocs/xoops_data is inside DocumentRoot! <br />For security considerations it is highly suggested to move it out of DocumentRoot.div>div><br />div>


I'm creating a new advanced bootstrap theme

Could you tell me please?

Thank You!



6268
HopeL
Re: DMS Error
  • 2015/2/2 23:19

  • HopeL

  • Just popping in

  • Posts: 29

  • Since: 2009/8/21


Thank you zyspec! That worked!



6269
zyspec
Re: DMS Error
  • 2015/2/2 23:10

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


By the way.... there's also several places where you need to replace the following too:

$HTTP_POST_VARS with $_POST
$HTTP_GET_VARS with $_GET
$HTTP_SERVER_VARS with $_SERVER



6270
zyspec
Re: DMS Error
  • 2015/2/2 19:18

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


You should be able to replace line 36 in ./dms/file_options.php

import_request_variables("P""post_");


with:
extract($_POSTEXTR_PREFIX_ALL"post_");


This code isn't real safe, but it should let you get up and running...

EDIT: By the way you'll find this exact same code in 13 other places that will also need to be replaced.




TopTop
« 1 ... 624 625 626 (627) 628 629 630 ... 29443 »



Login

Who's Online

140 user(s) are online (106 user(s) are browsing Support Forums)


Members: 1


Guests: 139


heyula

more...

Donat-O-Meter

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

Latest GitHub Commits