61
pinchecl
Re: Download module with the ability to allow free as well as paid downloads
  • 2010/1/5 15:04

  • pinchecl

  • Friend of XOOPS

  • Posts: 193

  • Since: 2005/4/22


not quite an answer but a workaround: use wfdownloads, create, like mentioned before, a premium group.
Specify the price of the product and after receiving a payment add the client to the premium group. In wfdownload you create a categroy that is only accesible by the premium group. easy as that and workable I think...



62
pinchecl
Re: Delete all posts/comments from user
  • 2010/1/5 15:00

  • pinchecl

  • Friend of XOOPS

  • Posts: 193

  • Since: 2005/4/22


I just had to delete spam comments. So I did that in the database by searching the comments related to the userid, select them all and delete them. After that I searched for newsitems releated to the id (none) and then deleted the useraccount. So, some work but not the one by one proces...



63
pinchecl
Re: 2.4.3 and apostrophe
  • 2010/1/4 16:40

  • pinchecl

  • Friend of XOOPS

  • Posts: 193

  • Since: 2005/4/22


Trabis, although the solution does work there is a small glitch: it appears people can't use the shoutbox anymore if the configuration is set to the file option. If set to database option everything works.
No problem, just for you t know



64
pinchecl
Re: 2.4.3 and apostrophe
  • 2010/1/3 19:30

  • pinchecl

  • Friend of XOOPS

  • Posts: 193

  • Since: 2005/4/22


Thanks Trabis, that did the trick!



65
pinchecl
Re: 2.4.3 and apostrophe
  • 2010/1/3 16:45

  • pinchecl

  • Friend of XOOPS

  • Posts: 193

  • Since: 2005/4/22


Quote:
pinchecl wrote: Quote:
trabis wrote: When core has bugs, modules use code to avoid it. After bug is fixed this extra code becomes a bug itself. It seems that what is happening in cbb rank title. Please edit newbb/class/user.php and change line 91:
$ret = array();
    if(
$rank_id>0){
        
$ret["title"] = /*$myts->htmlspecialchars(*/$ranks[$rank_id]["rank_title"]/*)*/;
        
$ret["image"] = $ranks[$rank_id]["rank_image"];
    }else{
        foreach(
$ranks as $id=>$rank){
            if(
$rank["rank_min"]<=$posts && $rank["rank_max"]>=$posts && empty($rank["rank_special"])){
                
$ret["title"] = /*$myts->htmlspecialchars(*/$rank["rank_title"]/*)*/;
                
$ret["image"] = $rank["rank_image"];
                break;
            }
        }
    }
Ranks are already sanitised when using $ranks = $rank_handler->getObjects(null, true, false); The extra $myts->htmlspecialchars() is causing double encoding. What shoutbox are you using?
Thanks Trabis. I'm using shoutbox 4.0.5 The forum indeed now is displayed in the right way.
Any progresss in solving this?



66
pinchecl
Re: 2.4.3 and apostrophe
  • 2010/1/2 16:55

  • pinchecl

  • Friend of XOOPS

  • Posts: 193

  • Since: 2005/4/22


Quote:
trabis wrote: When core has bugs, modules use code to avoid it. After bug is fixed this extra code becomes a bug itself. It seems that what is happening in cbb rank title. Please edit newbb/class/user.php and change line 91:
$ret = array();
    if(
$rank_id>0){
        
$ret["title"] = /*$myts->htmlspecialchars(*/$ranks[$rank_id]["rank_title"]/*)*/;
        
$ret["image"] = $ranks[$rank_id]["rank_image"];
    }else{
        foreach(
$ranks as $id=>$rank){
            if(
$rank["rank_min"]<=$posts && $rank["rank_max"]>=$posts && empty($rank["rank_special"])){
                
$ret["title"] = /*$myts->htmlspecialchars(*/$rank["rank_title"]/*)*/;
                
$ret["image"] = $rank["rank_image"];
                break;
            }
        }
    }
Ranks are already sanitised when using $ranks = $rank_handler->getObjects(null, true, false); The extra $myts->htmlspecialchars() is causing double encoding. What shoutbox are you using?
Thanks Trabis. I'm using shoutbox 4.0.5 The forum indeed now is displayed in the right way. Any progresss in solving this?



67
pinchecl
2.4.3 and apostrophe
  • 2010/1/2 6:39

  • pinchecl

  • Friend of XOOPS

  • Posts: 193

  • Since: 2005/4/22


Since updating from 2.4.2 to 2.4.3 the apostrophe doesn't show in at least the shoutbox and newbb(at least in the static text). It is replaced by it's code . Any suggestions?

EDIT: in newbb itself it works without a problem.
If I look at user ranks however (displayed in the forum) I get the code not the character.



68
pinchecl
Re: oxygen misses text after update
  • 2010/1/1 12:39

  • pinchecl

  • Friend of XOOPS

  • Posts: 193

  • Since: 2005/4/22


ouch, could have thought of that myself. Thanks Voltan, that did it.



69
pinchecl
oxygen misses text after update
  • 2010/1/1 10:20

  • pinchecl

  • Friend of XOOPS

  • Posts: 193

  • Since: 2005/4/22


I have done an overall flawless update from 2.4.2 to 2.4.3. One thing though isn't like it should be. I'm using oxygen as my admin theme as I did before. The system overview icons at the top now do miss there text and the license doesn't show anything at all. Resized Image For the record: include/license.php is writable.



70
pinchecl
Re: search.php forbidden
  • 2009/12/30 18:43

  • pinchecl

  • Friend of XOOPS

  • Posts: 193

  • Since: 2005/4/22


As soon as I use the advanced search I get the "forbidden" message which basically means I have to edit my themes to use only the basic search (i.e. define a search field).
Anybody can help me solving this?

EDIT:

solved it. The message directed me to the protection settings so I checked my htaccess. Modified it and that solved the problem




TopTop
« 1 ... 4 5 6 (7) 8 9 10 ... 15 »



Login

Who's Online

229 user(s) are online (148 user(s) are browsing Support Forums)


Members: 0


Guests: 229


more...

Donat-O-Meter

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

Latest GitHub Commits