1
Aianda
Re: trouble with the $xoops_module_header
  • 2007/5/16 2:25

  • Aianda

  • Just popping in

  • Posts: 71

  • Since: 2004/2/12


in modules/news/includes/functions.php

added:

$content .= '<script type="text/javascript" src="http://www.haloscan.com/load/launchpad33"></script>';

above:

$xoopsTpl->assign('xoops_module_header', $content);


thank you skenow.

that issue had been a plague for ages



2
Aianda
Re: trouble with the $xoops_module_header
  • 2007/5/15 22:39

  • Aianda

  • Just popping in

  • Posts: 71

  • Since: 2004/2/12


the issue there is being unable to access the <head></head> part of the document



3
Aianda
trouble with the $xoops_module_header
  • 2007/5/15 21:46

  • Aianda

  • Just popping in

  • Posts: 71

  • Since: 2004/2/12


Hello I was wondering how to utilise the $xoops_module_header statement properly in the main theme.html file.

I am using the news module and would like that module to display a simple piece of html (shown below) in the head of that module's pages, but rather than put that HTML in the main theme.html file and have it show up in all pages, I am seeking to utilise the header.php of that module.

So far what I've done is made that /modules/news/header.php like this:


include_once '../../mainfile.php';
echo "<script type='text/javascript' src='http://www.haloscan.com/load/launchpad333'></script>"; //this is the new line to be included at the top of each news module page


Yet when I turn the module's cache off, that HTML Javascript reference doesn't show up in the generated page code, and I am expecting it given the main theme.html template has the following code in it:

<!-- RMV: added module header -->
<{$xoops_module_header}>

What am I doing wrong? Does my news module need to be updated? I have tried to work this through but have not been able to so far, please help.



4
Aianda
the middle radio buttons for block placement
  • 2006/12/13 13:59

  • Aianda

  • Just popping in

  • Posts: 71

  • Since: 2004/2/12


Hi there,

In the newest version of XOOPS there are now three additional radio selectors to use when positioning a block in the middle of the page:


-0-0-0
0-----0
-0-0-0


what are these for? checking the theme template reveals no changes.

Which ones are the best to use?

Thanks-in-advance.



5
Aianda
Re: vulnerability discovered after site hack
  • 2006/12/10 17:10

  • Aianda

  • Just popping in

  • Posts: 71

  • Since: 2004/2/12


Can't remember. Must have read it here. Just remember making the choice based on security :( ??

thanks anyway JCDunnart.



6
Aianda
Re: vulnerability discovered after site hack
  • 2006/12/10 16:51

  • Aianda

  • Just popping in

  • Posts: 71

  • Since: 2004/2/12


i am using 2.0.13.2 because it's meant to be more secure, are you saying it's not?



7
Aianda
vulnerability discovered after site hack
  • 2006/12/10 16:35

  • Aianda

  • Just popping in

  • Posts: 71

  • Since: 2004/2/12


Hi, my site LaunchpadIsrael.com was recently hacked and the index.php file was replaced. This is what the system admin had to say:

I found a file in your w2/images/ folder called tmp1.php. This file appears to have uploaded via the vulnerability mentioned below. I could not verify if this version had a backport security fix for the issue, but the XML-RPC issue is actually quite common amongst CMSs before a certain date.

Also, you may want to check the galleries and make sure that only authorized users can upload files. A trick that is commonly used it to upload a file which is actually a php script, but with a GIF headers or as a RAR file. The server will still execute the file is the extension does not match.

--
http://secunia.com/advisories/16339/

"Some vulnerabilities have been reported in XOOPS, which can be exploited by malicious people to cause a DoS (Denial of Service) or compromise a vulnerable system.

The vulnerabilities are caused due to vulnerable versions of PHPMailer and XML-RPC being used."

---

Is xoopsgallery known to be vulnerable, to malicious uploads?

https://xoops.org/modules/repository/singlefile.php?cid=36&lid=1272

Although, my site has users, it is a browse only.

any tips or feedback?



8
Aianda
Re: RSSCenter Module
  • 2006/10/26 15:24

  • Aianda

  • Just popping in

  • Posts: 71

  • Since: 2004/2/12


This module doesn't display properly.

When displaying a feed or single item, the html code of each post is stripped *no matter whether you specify it to do it or not.* This is because this module summarises the content of an item and never actually displays the actual content. That summary always has its html stripped.

When you specify it to display in different ways, the XOOPS theme is removed and it doesn't actually display as clicked:

eg

Single Link

* Summary
* Content allowed HTML tags
* Summary with UTF-8
* Content allowed HTML tags with UTF-8


Those links above are not reflective of the results.

This module hasn't been tested, unless my XOOPS 2.0.13.2 is not meant for this module.



9
Aianda
updates to news block templates don't get used in page creation
  • 2006/10/12 12:23

  • Aianda

  • Just popping in

  • Posts: 71

  • Since: 2004/2/12


I have updated the recent news block template and it is not used when drawing up a page, rather the original one is used.

I have tried everything regarding getting the update through,eg turning on update template, turning off cache, and deleting template cache files and cache files. Other template changes for other modules work. Any tips to get changes going?


http://launchpadisrael.wajsbrem.com/



10
Aianda
xoops.org member email change
  • 2006/10/10 10:08

  • Aianda

  • Just popping in

  • Posts: 71

  • Since: 2004/2/12


Hi, to change my email address attached to this XOOPS account, how do I do that?




TopTop
(1) 2 3 4 5 »



Login

Who's Online

241 user(s) are online (159 user(s) are browsing Support Forums)


Members: 0


Guests: 241


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