11
cpascal
how to add XoopsFormBreak
  • 2010/11/25 17:24

  • cpascal

  • Just popping in

  • Posts: 26

  • Since: 2010/3/20


hi
I like to know how to add the style code:

$modversion->addElement(new XoopsFormBreak(1_MD_DEFINE1.'  '._MD_DEFINE2 ));


xoops_version.php in a module xoops what file it is changed because I guess he must add this function in a file xoops

thank



12
cpascal
Re: XOOPS 2.5 RC - Testing and Bug Report
  • 2010/10/21 3:54

  • cpascal

  • Just popping in

  • Posts: 26

  • Since: 2010/3/20


to delete a banner (the xoops banner) +
to delete Customer xoops = buttons add disappear



13
cpascal
bug with banners sytem
  • 2010/10/13 21:06

  • cpascal

  • Just popping in

  • Posts: 26

  • Since: 2010/3/20


hi

bug with banners sytem, if banners have removes the buttons disappear and not delete account customers even difficult to put java code from google Adsense

So I think the problem with:
$verif_htmlbanner = ($_REQUEST["htmlbanner"] == 1) ? "1" "0";
$obj->setVar("htmlbanner"$verif_htmlbanner);
$obj->setVar("htmlcode"$_REQUEST["htmlcode"]);






14
cpascal
Re: catads 1.53.5 RC3 -Uninitialized string
  • 2010/10/9 17:27

  • cpascal

  • Just popping in

  • Posts: 26

  • Since: 2010/3/20


ok thank

I have just one last question in the preferences of Catads there is an option: Anonymous may post: yes or no -> config anoncanpost

which corresponds to:
in file ../catads/submit.php

if (!$xoopsModuleConfig['anoncanpost'] && !$xoopsUser){
        
redirect_header(XOOPS_URL."/user.php",3,_MD_CATADS_ONLY_MEMBERS);
        exit();
}



it seems that this option is useless and is not taken into account as allowed for anonymous file has ads must go to the permissions of the module therefore has what is this option?

otherwise everything else seems to work properly



15
cpascal
Re: catads 1.53.5 RC3 -Uninitialized string
  • 2010/10/9 14:59

  • cpascal

  • Just popping in

  • Posts: 26

  • Since: 2010/3/20


$topic_id $topic_title['topic_id'];//bug

= Uninitialized string offset: 0 in file /modules/catads/adslist.php

and

$topic_id = isset($topic_title) ? $topic_title['topic_id'] : ;//bug

= Uninitialized string offset: 0 in file /modules/catads/adslist.php


and

$topic_id = isset($topic_title['topic_id']) ? $topic_title['topic_id'] : ;

= good more message bug everything seems to work


a bit earlier I had another message
A session had already been started - ignoring session_start() in file ../modules/catads/adslist.php

Attention! I am not a php coder, but I'm trying to learn
so I replace
//session_start();
if (!session_id()) session_start();


more error message everything seems to work for now

thank you






16
cpascal
Re: catads 1.53.5 RC3
  • 2010/10/9 14:37

  • cpascal

  • Just popping in

  • Posts: 26

  • Since: 2010/3/20


hi Peekay

First of all thank you for your work on catads, wait version 1.53.5 RC4




17
cpascal
Re: catads 1.53.5 RC3 -Uninitialized string
  • 2010/10/9 14:32

  • cpascal

  • Just popping in

  • Posts: 26

  • Since: 2010/3/20


Hi Tarik and Peekay

thank you for your help I put it:

//$topic_id = $topic_title['topic_id'];//bug
$topic_id = isset($topic_title['topic_id']) ? $topic_title['topic_id'] : ;


more error message everything seems to work but obviously this is not the answer



18
cpascal
catads 1.53.5 RC3 -Uninitialized string
  • 2010/10/9 13:32

  • cpascal

  • Just popping in

  • Posts: 26

  • Since: 2010/3/20


hi

I have an error in .../modules/catads/adslist.php
error message:
Uninitialized string offset: 0 in file ... /modules/catads/adslist.php

corresponds to:
$topic_id $topic_title['topic_id'];//bug





19
cpascal
catads 1.53.5 RC3
  • 2010/10/9 12:56

  • cpascal

  • Just popping in

  • Posts: 26

  • Since: 2010/3/20


hi !
deletion ads ->ok

deletion ../uploads/catads/images/annonces/original/photo -> ok

deletion ../uploads/catads/images/annonces/original/thumb -> no good !!!

thumb images are not deleted when an announcement has removed the long run it could be a problem with the host



20
cpascal
Re: add a swf file
  • 2010/10/4 12:51

  • cpascal

  • Just popping in

  • Posts: 26

  • Since: 2010/3/20


hi

I make a correction on my test method: asXML had copied my data file to the root of my site which has distorted my other tests, so the only solution is found:

//fetches the file datas
$racine simplexml_load_file(''XOOPS_URL.'/modules/url/cartes/'.$xoopsConfig['language'].'/datas.xml'); 
//copied to the root of the site
$racine->asXml('datas.xml');




TopTop
« 1 (2) 3 »



Login

Who's Online

70 user(s) are online (42 user(s) are browsing Support Forums)


Members: 0


Guests: 70


more...

Donat-O-Meter

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

Latest GitHub Commits